[Gambas-user] Signal and quit issue
Brian G
brian at westwoodsvcs.com
Wed Apr 20 14:44:51 CEST 2022
Should I post a bug, or is this a feature?
"Failure is the key to success;
each mistake teaches us something" .. Morihei Ueshiba
Brian G
----- On Apr 19, 2022, at 3:54 PM, Benoît Minisini g4mba5 at gmail.com wrote:
> Le 20/04/2022 à 00:00, Benoît Minisini a écrit :
>> Le 19/04/2022 à 23:59, Benoît Minisini a écrit :
>>> Le 19/04/2022 à 19:07, Brian G a écrit :
>>>> Here is the program, it does strange things if you run it in the ide
>>>>
>>>> Build the executable
>>>> Run it in bash
>>>> do a ctrl-c which does a quit, you will see that quit never returns
>>>> and you can resize, and hit ctrl-c as often as you like
>>>> it will not quit, seems to hang.
>>>>
>>>> Maybe you just can not do that from there...
>>>>
>>>> if you run it a few times in the IDE it will do a segfault 11... but
>>>> it all seems pretty random
>>>>
>>>> Maybe I am doing something wrong, it is generally like the app I had
>>>> causing the issue.
>>>> Maybe my coding is causing the issue.
>>>>
>>>>
>>>> "Failure is the key to success;
>>>> each mistake teaches us something" .. Morihei Ueshiba
>>>> Brian G
>>>>
>>>
>>> I have no problem at all when running your project from a terminal, or
>>> from the IDE... No hang at all when QUIT instruction is executed, just
>>> the program that quits normally. :-/
>>>
>>
>> OK, I didn't read your mail carefully. It hangs when hitting CTRL+C, but
>> not when typing "quit".
>>
>
> Strange: it seems that only the SIGINT signal (CTRL+C) hangs the
> interpreter. Other signals execute the QUIT instruction correctly...
>
> --
> Benoît Minisini
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
More information about the User
mailing list