Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3819

Linux desktop app main thread frozen, other threads still executing

$
0
0

Hello, I have an linux desktop app that has become frozen (UI and event handlers are non responsive), however, other threads are executing.

GDB backtrace shows main thread is waiting for a mutex.

Thread 1 (Thread 0x7fb785b040 (LWP 192663) "redacted"):
#0  0x0000007fb791b694 in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x220be434) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x220be434) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x220be434, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x0000007fb791e1d0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x220be3d8, cond=0x220be408) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x220be408, mutex=0x220be3d8) at ./nptl/pthread_cond_wait.c:618
#5  0x0000007fba042b14 in ?? () from /redacted Libs/XojoGUIFrameworkARM64.so
#6  0x0000007fba040d74 in ?? () from /redacted Libs/XojoGUIFrameworkARM64.so
#7  0x0000007fba03dbb4 in ?? () from /redacted Libs/XojoGUIFrameworkARM64.so
#8  0x0000007fba03b1f0 in ?? () from /redacted Libs/XojoGUIFrameworkARM64.so
#9  0x0000007fba03ccd0 in ?? () from /redacted Libs/XojoGUIFrameworkARM64.so
#10 0x0000007fba022424 in ?? () from /redacted Libs/XojoGUIFrameworkARM64.so
#11 0x00000000006f4b14 in DesktopApplication._CallFunctionWithExceptionHandling%%o<DesktopApplication>p ()
#12 0x0000007fba022230 in ?? () from /redacted Libs/XojoGUIFrameworkARM64.so
#13 0x0000007fba0224d0 in ?? () from /redacted Libs/XojoGUIFrameworkARM64.so
#14 0x0000007fba01f328 in RuntimeRun () from /redacted Libs/XojoGUIFrameworkARM64.so
#15 0x000000000075c860 in REALbasic._RuntimeRun ()
#16 0x000000000170eb90 in _Main ()
#17 0x000000000170e3ac in main ()

I can see other threads are starting and completing.

[New Thread 0x7f8606ee40 (LWP 789853)]
[Detaching after vfork from child process 789854]
[Detaching after vfork from child process 789856]
[Thread 0x7f8606ee40 (LWP 789853) exited]
[Detaching after vfork from child process 789859]
[Detaching after vfork from child process 789865]

I can see that Shell.Execute commands are being run from these threads via htop tree view.

Does anyone have some insights on where to look or possible commands to run to gain more information? I currently have the process in GDB but it took about a month for it to hang so I want to make sure I don’t miss this opportunity.

Thanks!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 3819

Trending Articles