Re: [Gambas-user] Problem with Process_Read
Brought to you by:
gambas
|
From: Jussi L. <jus...@gm...> - 2014-11-23 23:15:47
|
> 1) Can you try with revision #6671? It should not change anything, but > then we will run exactly the same code. > I did that and nothing seemed to change in regards of this problem, just like expected. 2) Can you uncomment the line #64 in the > '/trunk/main/gbx/gbx_c_process.c' source file before recompiling? That > way you will have many debugging message that will allow to know what > happens behind the curtain. > I recompiled with the debugging on, but this changed the situation. No more crash, but GambasTester gave error 239, which means the content of sTest was not "test" as expected. Instead the string contains "init_child_tty: /dev/pts/13\ntest\n", so I temporarily commented out the return line. Still, no more crashing. I attached output of non-crashing run, if there is any help from it. I will investigate more later. 3) In the future, will you modify your project to be purely command-line > (no dialog, no window, no GUI used at all)? Note that if you use a GUI > component, you use its event loop, not the one provided by the > interpreter. That may change the behaviour of bugs... > Yes I can do that, but not sure if I have understood this right... shouldn't there then be GambasTester for Qt4, GTK+ and for command line? Jussi |