[Gambas-user] Quit, never exits the program, also never returns as it should

Benoît Minisini g4mba5 at gmail.com
Mon Apr 18 21:42:47 CEST 2022

Le 18/04/2022 à 20:52, Brian G a écrit :
> I am having an issue with Quit in a cli program, quit is called but the 
> gambas application never exits
> I can't see any reason for this and I am not sure where to look, Maybe a 
> _free or some other issue
> I am not sure how to debug this without looking into the QUIT process..
> Has anyone else seen this issue?
> "Failure is the key to success;
>   each mistake teaches us something"  .. Morihei Ueshiba
> Brian G

You must run your program with the 'gdb' debugger, and hit CTRL+C to 
stop it once the QUIT instruction has been executed. Then send the 
result of the 'bt' command to see where it is locked.


Benoît Minisini

More information about the User mailing list