Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893558 - media-sound/audacity-3.2.4: hangs at start
Summary: media-sound/audacity-3.2.4: hangs at start
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-08 00:22 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2024-04-01 09:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)`
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 ()
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 (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.
Comment 2 Sergey 'L29Ah' Alirzaev 2023-12-25 13:30:18 UTC
The behavior is the same on 3.3.3.