It shows some empty splash window, hides it and then start consuming 100% CPU without showing anything else The console says: (process:19641): Gdk-CRITICAL **: 01:18:25.521: gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed (process:19641): Gdk-CRITICAL **: 01:18:25.521: gdk_window_get_display: assertion 'GDK_IS_WINDOW (window)' failed (process:19641): Gdk-CRITICAL **: 01:18:25.522: gdk_cursor_new_from_pixbuf: assertion 'GDK_IS_DISPLAY (display)' failed Reproducible: Always Steps to Reproduce: Run audacity. Actual Results: gdb says that audacity is busy forever in `NumericTextCtrl::ComputeSizing(bool, int, int)` Backtrace: ... #8 0x00005555563264b5 in NumericTextCtrl::ComputeSizing(bool, int, int) () #9 0x00005555561c09bf in TimeToolBar::OnSize(wxSizeEvent&) () #10 0x00007ffff7a41c32 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () at /usr/lib64/libwx_baseu-3.2-gtk3.so.0 #11 0x00007ffff7a41dfb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () at /usr/lib64/libwx_baseu-3.2-gtk3.so.0 #12 0x00007ffff7a4244d in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib64/libwx_baseu-3.2-gtk3.so.0 #13 0x00007ffff7a424ce in wxEvtHandler::ProcessEventLocally(wxEvent&) () at /usr/lib64/libwx_baseu-3.2-gtk3.so.0 #14 0x00007ffff7a425d1 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib64/libwx_baseu-3.2-gtk3.so.0 #15 0x00007ffff7a43dfb in wxEvtHandler::SafelyProcessEvent(wxEvent&) () at /usr/lib64/libwx_baseu-3.2-gtk3.so.0 #16 0x00007ffff71adcb1 in wxWindow::DoSetSize(int, int, int, int, int) () at /usr/lib64/libwx_gtk3u_core-3.2-gtk3.so.0 #17 0x00005555561c5801 in ToolBar::ReCreateButtons() () #18 0x00005555561c66e3 in ToolBar::Create(wxWindow*) () #19 0x00005555561d465c in ToolManager::ReadConfig() () #20 0x00005555561d4f7d in ToolManager::CreateWindows() () #21 0x0000555555d22d53 in InitProjectWindow(ProjectWindow&) () #22 0x0000555555d23fc7 in ProjectManager::New() () #23 0x0000555555bd8dc8 in AudacityApp::InitPart2() () #24 0x0000555555bdb925 in AudacityApp::OnInit() () #25 0x00007ffff793a5f2 in wxEntry(int&, wchar_t**) () at /usr/lib64/libwx_baseu-3.2-gtk3.so.0 #26 0x0000555555b25066 in main ()
on my system it runs fine. and i get the same errors so i suppose they are not related: (process:12833): Gdk-CRITICAL **: 08:33:23.453: gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed (process:12833): Gdk-CRITICAL **: 08:33:23.453: gdk_window_get_display: assertion 'GDK_IS_WINDOW (window)' failed (process:12833): Gdk-CRITICAL **: 08:33:23.453: gdk_cursor_new_from_pixbuf: assertion 'GDK_IS_DISPLAY (display)' failed i also just checked the code of NumericTextCtrl (https://doxy.audacityteam.org/class_numeric_text_ctrl.html#ab1f3c15d99790a22946c451036eabff1) and there is only one loop that imo in theory could run endlessly, and that's on line 334. but to be sure, you'd have to debug the code.
The behavior is the same on 3.3.3.
Still occurs on 3.4.2-r1
(gdb) fin Run till exit from #0 0x00007ffff641a4e7 in wxGCDCImpl::DoGetTextExtent(wxString const&, int*, int*, int*, int*, wxFont const*) const () from /usr/lib64/libwx_gtk3u_core-3.2-gtk3.so.0 NumericTextCtrl::ComputeSizing (this=0x5555574aff30, update=update@entry=false, boxW=9, boxH=14, boxH@entry=16) at /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/src/widgets/NumericTextCtrl.cpp:343 343 in /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/src/widgets/NumericTextCtrl.cpp (gdb) next 341 in /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/src/widgets/NumericTextCtrl.cpp (gdb) 342 in /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/src/widgets/NumericTextCtrl.cpp (gdb) 343 in /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/src/widgets/NumericTextCtrl.cpp (gdb) 341 in /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/src/widgets/NumericTextCtrl.cpp (gdb) 342 in /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/src/widgets/NumericTextCtrl.cpp (gdb) 343 in /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/src/widgets/NumericTextCtrl.cpp (gdb) 341 in /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/src/widgets/NumericTextCtrl.cpp (gdb) 342 in /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/src/widgets/NumericTextCtrl.cpp (gdb) 343 in /var/tmp/portage/media-sound/audacity-3.4.2-r1/work/audacity-sources-3.4.2/src/widgets/NumericTextCtrl.cpp (gdb) p fontSize $1 = -9038202 ouch
you can test 3.7.0 (updated summary to the lowest version in the tree)