[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My Gambas programs do not close any more


Le 26/01/2025 à 17:28, Christof Thalhofer a écrit :
Thank you. This is the output:

^C
Thread 1 "gbx3" received signal SIGINT, Interrupt.
0x00007ffff7ea5bbf in GI_poll (fds=0x5555561e4eb0, nfds=4, timeout=497) at ../sysdeps/unix/sysv/linux/poll.c:29 29    ../sysdeps/unix/sysv/linux/poll.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x00007ffff7ea5bbf in GI_poll (fds=0x5555561e4eb0, nfds=4, timeout=497) at ../sysdeps/unix/sysv/linux/poll.c:29 #1  0x00007ffff4b3036e in  () at /usr/lib/x86_64-linux-gnu/ libglib-2.0.so.0 #2  0x00007ffff4b304a3 in g_main_context_iteration () at /usr/lib/ x86_64-linux-gnu/libglib-2.0.so.0 #3  0x00007ffff5826435 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4  0x00007ffff57cd3ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/ lib/x86_64-linux-gnu/libQt5Core.so.5 #5  0x00007ffff57d5116 in QCoreApplication::exec() () at /usr/lib/ x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff686721d in  () at /usr/lib/gambas3/gb.qt5.so
#7  0x000055555557559b in  ()
#8  0x00007ffff7db7083 in __libc_start_main (main=0x555555574cc0, argc=1, argv=0x7fffffffde78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffde68) at ../csu/ libc-start.c:308
#9  0x000055555557579e in  ()

Can you see anything?

Alles Gute

Christof Thalhofer


Just that the interpreter is not in an infinite loop, but is polling some file descriptor. As if there is some window or a socket still opened somewhere.

It's hard to tell more. Maybe I should add some debugging option to let the interpreter print the list of watched file descriptors...

--
Benoît Minisini.


Follow-Ups:
Re: My Gambas programs do not close any moreBruce Steers <bsteers4@xxxxxxxxx>
Re: My Gambas programs do not close any moreChristof Thalhofer <chrisml@xxxxxxxxxxx>
References:
My Gambas programs do not close any moreChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: My Gambas programs do not close any moreBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: My Gambas programs do not close any moreChristof Thalhofer <chrisml@xxxxxxxxxxx>