I got another assertion failure: ASSERT INFO: ../src/unix/threadpsx.cpp(1483): assert "!m_isDetached" failed in Wait(): can't wait for detached thread
BACKTRACE: [1] wxThread::Wait(wxThreadWait) [2] matherr [3] matherr [4] __libc_start_main Backtrace with gdb: Thread 4 (Thread 0x7f667a874700 (LWP 31406)): #0 0x00007f6696420009 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007f669847799a in g_cond_wait_until (cond=cond@entry=0x2ae3df8, mutex=mutex@entry=0x2ae3df0, end_time=end_time@entry=15991606336) at /tmp/buildd/glib2.0-2.44.1/./glib/gthread-posix.c:1444 now = {tv_sec = 15976, tv_nsec = 606337187} span = {tv_sec = 14, tv_nsec = 999998813} sampled = 4 res = <optimized out> #2 0x00007f6698407889 in g_async_queue_pop_intern_unlocked (queue=queue@entry=0x2ae3df0, wait=wait@entry=1, end_time=end_time@entry=15991606336) at /tmp/buildd/glib2.0-2.44.1/./glib/gasyncqueue.c:422 retval = <optimized out> __FUNCTION__ = "g_async_queue_pop_intern_unlocked" #3 0x00007f6698407eab in g_async_queue_timeout_pop (queue=0x2ae3df0, timeout=timeout@entry=15000000) at /tmp/buildd/glib2.0-2.44.1/./glib/gasyncqueue.c:543 end_time = 15991606336 retval = <optimized out> #4 0x00007f669845a3ac in g_thread_pool_thread_proxy () at /tmp/buildd/glib2.0-2.44.1/./glib/gthreadpool.c:167 pool = <optimized out> local_wakeup_thread_serial = <optimized out> last_wakeup_thread_serial = <optimized out> have_relayed_thread_marker = <optimized out> free_pool = <optimized out> task = 0x2 pool = <optimized out> #5 0x00007f669845a3ac in g_thread_pool_thread_proxy (data=<optimized out>) at /tmp/buildd/glib2.0-2.44.1/./glib/gthreadpool.c:364 free_pool = <optimized out> task = 0x2 pool = <optimized out> #6 0x00007f6698459955 in g_thread_proxy (data=0x27a1a30) at /tmp/buildd/glib2.0-2.44.1/./glib/gthread.c:764 thread = 0x27a1a30 #7 0x00007f66966ef0a4 in start_thread (arg=0x7f667a874700) at pthread_create.c:309 __res = <optimized out> pd = 0x7f667a874700 now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140078119077632, 3897815560806414603, 0, 44975200, 23, 140078119077632, -3973538713952372469, -3973584152166319861}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> pagesize_m1 = <optimized out> sp = <optimized out> freesize = <optimized out> __PRETTY_FUNCTION__ = "start_thread" #8 0x00007f669642407d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7f6682a4f700 (LWP 31372)): #0 0x00007f669641b53d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f6698432ebc in g_main_context_iterate (priority=2147483647, n_fds=2, fds=0x7f667c1d9980, timeout=-1, context=0x27ea070) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:4103 poll_func = 0x7f66984423e0 <g_poll> max_priority = 2147483647 timeout = -1 some_ready = <optimized out> nfds = 2 allocated_nfds = 2 fds = 0x7f667c1d9980 #2 0x00007f6698432ebc in g_main_context_iterate (context=0x27ea070, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3803 max_priority = 2147483647 timeout = -1 some_ready = <optimized out> nfds = 2 allocated_nfds = 2 fds = 0x7f667c1d9980 #3 0x00007f6698433242 in g_main_loop_run (loop=0x27ea000) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:4002 __FUNCTION__ = "g_main_loop_run" #4 0x00007f668fef6af6 in gdbus_shared_thread_func (user_data=0x27ea040) at /tmp/buildd/glib2.0-2.44.1/./gio/gdbusprivate.c:274 data = 0x27ea040 #5 0x00007f6698459955 in g_thread_proxy (data=0x27a1b20) at /tmp/buildd/glib2.0-2.44.1/./glib/gthread.c:764 thread = 0x27a1b20 #6 0x00007f66966ef0a4 in start_thread (arg=0x7f6682a4f700) at pthread_create.c:309 __res = <optimized out> pd = 0x7f6682a4f700 now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140078255240960, 3897815560806414603, 0, 45207552, 22, 140078255240960, -3973626432753813237, -3973584152166319861}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> pagesize_m1 = <optimized out> sp = <optimized out> freesize = <optimized out> __PRETTY_FUNCTION__ = "start_thread" #7 0x00007f669642407d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f667ba93700 (LWP 31373)): #0 0x00007f669641b53d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f6698432ebc in g_main_context_iterate (priority=2147483647, n_fds=2, fds=0x7f66740008c0, timeout=-1, context=0x270e110) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:4103 poll_func = 0x7f66984423e0 <g_poll> max_priority = 2147483647 timeout = -1 some_ready = <optimized out> nfds = 2 allocated_nfds = 2 fds = 0x7f66740008c0 #2 0x00007f6698432ebc in g_main_context_iterate (context=context@entry=0x270e110, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3803 max_priority = 2147483647 timeout = -1 some_ready = <optimized out> nfds = 2 allocated_nfds = 2 fds = 0x7f66740008c0 #3 0x00007f6698432fcc in g_main_context_iteration (context=0x270e110, may_block=may_block@entry=1) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3869 retval = <optimized out> #4 0x00007f6698433009 in glib_worker_main (data=<optimized out>) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:5618 #5 0x00007f6698459955 in g_thread_proxy (data=0x7f667c001400) at /tmp/buildd/glib2.0-2.44.1/./glib/gthread.c:764 thread = 0x7f667c001400 #6 0x00007f66966ef0a4 in start_thread (arg=0x7f667ba93700) at pthread_create.c:309 __res = <optimized out> pd = 0x7f667ba93700 now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140078138078976, 3897815560806414603, 0, 140078651084896, 140078143771648, 140078138078976, -3973540690174199541, -3973584152166319861}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> pagesize_m1 = <optimized out> sp = <optimized out> freesize = <optimized out> __PRETTY_FUNCTION__ = "start_thread" #7 0x00007f669642407d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7f669a23ca40 (LWP 31341)): #0 0x00007f66966f679b in raise (sig=sig@entry=5) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37 resultvar = 0 pid = <optimized out> #1 0x00007f6698e11d5a in wxTrap() () at ../src/common/appbase.cpp:1067 #2 0x00007f66994e98c0 in wxGUIAppTraits::ShowAssertDialog(wxString const&) (this=<optimized out>, msg=...) at ../src/gtk/utilsgtk.cpp:332 dialog = 0x276d030 [GtkAssertDialog] dump = {<wxStackWalker> = {<wxStackWalkerBase> = {_vptr.wxStackWalkerBase = 0x7f6699a63df0 <vtable for StackDump+16>}, static ms_exepath = {static npos = 18446744073709551615, m_impl = L"", m_convertedToChar = {m_str = 0x0, m_len = 0}}, static ms_addresses = {0x7f6698f5d640 <wxStackWalker::SaveStack(unsigned long)+32>, 0x7f66994e97c1 <wxGUIAppTraits::ShowAssertDialog(wxString const&)+369>, 0x7f6698e14fa2 <ShowAssertDialog(wxString const&, int, wxString const&, wxString const&, wxString const&, wxAppTraits*)+2178>, 0x7f6698e18fc7 <wxAppConsoleBase::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*)+439>, 0x7f66994a7d30 <wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*)+16>, 0x7f6698e19692 <wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&)+530>, 0x7f6698e1852a <wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)+970>, 0x7f6698f6619b <wxThread::Wait(wxThreadWait)+75>, 0x50f45e, 0x4b2e9a, 0x41865d, 0x7f669635fb45 <__libc_start_main+245>, 0x419813, 0x0 <repeats 187 times>}, static ms_symbols = 0x27a4ab0, static m_depth = 13}, m_dlg = 0x276d030 [GtkAssertDialog]} result = <optimized out> returnCode = false __FUNCTION__ = "ShowAssertDialog" #3 0x00007f6698e14fa2 in ShowAssertDialog(wxString const&, int, wxString const&, wxString const&, wxString const&, wxAppTraits*) (file=..., line=line@entry=1483, func=..., cond=..., msgUser=..., traits=traits@entry=0x2ae93a0) at ../src/common/appbase.cpp:1319 msg = {static npos = 18446744073709551615, m_impl = L"../src/unix/threadpsx.cpp(1483): assert \"!m_isDetached\" failed in Wait(): can't wait for detached thread", m_convertedToChar = {m_str = 0x284f470 "../src/unix/threadpsx.cpp(1483): assert \"!m_isDetached\" failed in Wait(): can't wait for detached thread", m_len = 104}} s_bNoAsserts = false #4 0x00007f6698e18fc7 in wxAppConsoleBase::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*) (this=this@entry=0x283edd0, file=<optimized out>, line=1483, func=<optimized out>, cond=<optimized out>, msg=<optimized out>) at ../src/common/appbase.cpp:798 #5 0x00007f66994a7d30 in wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*) (this=0x283edd0, file=<optimized out>, line=<optimized out>, func=<optimized out>, cond=<optimized out>, msg=<optimized out>) at ../src/gtk/app.cpp:507 #6 0x00007f6698e19692 in wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&) (file=..., line=1483, func=..., cond=..., msg=...) at ../src/common/appbase.cpp:1110 s_bInAssert = 1 guard = {m_flag = @0x7f6699239de8, m_isInside = <optimized out>} #7 0x00007f6698e1852a in wxOnAssert(char const*, int, char const*, char const*, wchar_t const*) (file=file@entry=0x7f6698fce240 "../src/unix/threadpsx.cpp", line=1483, func=<optimized out>, cond=<optimized out>, msg=<optimized out>) at ../src/common/appbase.cpp:1195 #8 0x00007f6698f6619b in wxThread::Wait(wxThreadWait) (this=0x2b1bb40) at ../src/unix/threadpsx.cpp:1482 __FUNCTION__ = "Wait" #9 0x000000000050f45e in () #10 0x00000000004b2e9a in () #11 0x000000000041865d in () #12 0x00007f669635fb45 in __libc_start_main (main=0x4180e0, argc=2, argv=0x7ffc5cf3ec98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc5cf3ec88) at libc-start.c:287 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 3897815560806414603, 4298730, 140721867975824, 0, 0, -3895776963568387829, -3973583405192234741}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7ffc5cf3ecb0, 0x7f669a3d21a8}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1559489712}}} not_first_call = <optimized out> #13 0x0000000000419813 in () This happened when I maximized the window then used the mouse wheel. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)