Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 893558

Summary: media-sound/audacity-3.2.4: hangs at start
Product: Gentoo Linux Reporter: Sergey 'L29Ah' Alirzaev <zl29ah>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: UNCONFIRMED ---    
Severity: major CC: fordfrog,, richard
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Sergey 'L29Ah' Alirzaev 2023-02-08 00:22:28 UTC
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)`
#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/
#11 0x00007ffff7a41dfb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () at /usr/lib64/
#12 0x00007ffff7a4244d in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib64/
#13 0x00007ffff7a424ce in wxEvtHandler::ProcessEventLocally(wxEvent&) () at /usr/lib64/
#14 0x00007ffff7a425d1 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib64/
#15 0x00007ffff7a43dfb in wxEvtHandler::SafelyProcessEvent(wxEvent&) () at /usr/lib64/
#16 0x00007ffff71adcb1 in wxWindow::DoSetSize(int, int, int, int, int) () at /usr/lib64/
#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/
#26 0x0000555555b25066 in main ()
Comment 1 Miroslav Ć ulc gentoo-dev 2023-03-01 07:36:07 UTC
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 ( 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.
Comment 2 Sergey 'L29Ah' Alirzaev 2023-12-25 13:30:18 UTC
The behavior is the same on 3.3.3.