View Issue Details

IDProjectCategoryView StatusLast Update
0009593ardourbugspublic2024-01-12 12:17
Reporterbragolin Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformMicrosoftOSWindowsOS Version10
Product Version8.2 
Summary0009593: ardour crashing with GLib-ERROR when starting with a session as argument
DescriptionI wanted to start Ardour directly into a session from command line, e.g.
"C:\Program Files\Ardour8\bin\ardour.exe" mySession
(the help says Usage: Ardour [ OPTIONS ] [ SESSION-NAME ] but I also tried with the full path to the ardour-file of the session with the same result.)

It starts up (showing the splashscreen) until in the commandline I can see:
Ardour: [INFO]: Loading bindings from C:\Program Files\Ardour8\share\ardour8\ardour.keys
Loading ui configuration file C:\Program Files\Ardour8\share\ardour8\clearlooks.rc

(ardour.exe:7176): GLib-ERROR **: 14:48:55.982: creating thread 'gmain': Error setting new thread priority: Falscher Parameter.

I also tried creating a windows shortcut to ardour with the argument which also results in ardour not starting up (I expect the same error)

When I give a non-existing session name, it shows the audio/midi setup and crashes after I press the start button.

When I give a session that used another audio setup before, I also receive the audio/midi setup and it crashes after I press the start button.
So it loads the session to some extend and then crashes.

Any help is very appreciated, I will support the best I can
Best regards
Steps To ReproduceStart windows cmd
enter the following:
"C:\Program Files\Ardour8\bin\ardour.exe" mySession
Additional InformationI am currently using the demo version
TagsNo tags attached.

Activities

bragolin

2024-01-04 14:09

reporter  

Ardour-8.2.0-crash-1704377198.txt (12,500 bytes)   
-------------------

Error occurred on Thursday, January 4, 2024 at 15:06:42.

Ardour.exe caused a Breakpoint at location 00007FF974EFB6D2 in module KERNELBASE.dll.

AddrPC           Params
00007FF974EFB6D2 000000000B562BE0 000000000B565F60 0000000000000004  KERNELBASE.dll!DebugBreak
000000005B2EE2EA 0000000000000000 000000005B2BC330 0000000000000004  libglib-2.0-0.dll!g_abort  [/home/ardour/win-build-w64/glib-2.64.1/build/../glib/gutils.c @ 3104]
000000005B2BB824 000000000157D328 000000000000004F 000000000157D338  libglib-2.0-0.dll!_g_log_abort  [/home/ardour/win-build-w64/glib-2.64.1/build/../glib/gmessages.c @ 556]
000000005B2BC3D4 0000000000000002 0000000000000000 0000000000000000  libglib-2.0-0.dll!g_log_default_handler  [/home/ardour/win-build-w64/glib-2.64.1/build/../glib/gmessages.c @ 3123]
000000005B2BC6F1 000000000910CD70 000025B400000000 000000005B3467E2  libglib-2.0-0.dll!g_logv  [/home/ardour/win-build-w64/glib-2.64.1/build/../glib/gmessages.c @ 1350]
000000005B2BC898 00000000091134D0 00000000091134D0 0000000009113558  libglib-2.0-0.dll!g_log  [/home/ardour/win-build-w64/glib-2.64.1/build/../glib/gmessages.c @ 1415]
000000005B2DF96E 000000000B562BE0 000000000B565F60 000000000AB50B00  libglib-2.0-0.dll!g_thread_new  [/home/ardour/win-build-w64/glib-2.64.1/build/../glib/gthread.c @ 867]
000000005B2B7372 AAAAAAAAAAAAAAAB 0000000000000001 000000000AB50B00  libglib-2.0-0.dll!g_get_worker_context  [/home/ardour/win-build-w64/glib-2.64.1/build/../glib/gmain.c @ 6023]
000000005688816A 0000000000000000 000000005B2BB42A 000000000000004E  libgio-2.0-0.dll!g_task_get_type_once  [/home/ardour/win-build-w64/glib-2.64.1/build/../gio/gtask.c @ 2163]
0000000056888525 000000000000004E 000000005B2D62E0 000000000B563008  libgio-2.0-0.dll!g_task_get_type  [/home/ardour/win-build-w64/glib-2.64.1/build/../gio/gtask.c @ 609]
00000000568886DB 0000000000000030 000000005AB73570 0000000000000001  libgio-2.0-0.dll!g_task_new  [/home/ardour/win-build-w64/glib-2.64.1/build/../gio/gtask.c @ 714]
0000000056839E41 000000000910C7F0 0000000000000000 000000000B430F70  libgio-2.0-0.dll!g_file_real_query_info_async  [/home/ardour/win-build-w64/glib-2.64.1/build/../gio/gfile.c @ 5540]
000000005AB8402D 000000005693230D 0000000056932319 0000000004D4D880  libgtk-win32-2.0-0.dll!_gtk_file_system_get_info
000000005AB77FEB 000000000417AA70 0000000004D4B4A0 0000000000000000  libgtk-win32-2.0-0.dll!shortcuts_insert_file
000000005AB7B211 0000000000000000 000000000910BBF0 AAAAAAAAAAAAAAAB  libgtk-win32-2.0-0.dll!gtk_file_chooser_default_constructor
000000005AF8B95D 0000000004F96D10 0000000000000000 0000000000000001  libgobject-2.0-0.dll!g_object_new_internal  [/home/ardour/win-build-w64/glib-2.64.1/build/../gobject/gobject.c @ 1855]
000000005AF8D0CE 000000000BF0B0B0 0000000000000001 000000000BF0B0C0  libgobject-2.0-0.dll!g_object_new_with_properties  [/home/ardour/win-build-w64/glib-2.64.1/build/../gobject/gobject.c @ 2105]
000000005AF8D92B 0000000000000001 000000000BF0A9F0 000000005B3BC730  libgobject-2.0-0.dll!g_object_new  [/home/ardour/win-build-w64/glib-2.64.1/build/../gobject/gobject.c @ 1777]
000000005AB80F34 0000000000000000 000000000910C070 AAAAAAAAAAAAAAAB  libgtk-win32-2.0-0.dll!gtk_file_chooser_widget_constructor
000000005AF8B95D 0000000004F94FD0 0000000000000000 00000000052B28F0  libgobject-2.0-0.dll!g_object_new_internal  [/home/ardour/win-build-w64/glib-2.64.1/build/../gobject/gobject.c @ 1855]
000000005AF8D0CE 000000000910BB70 0000000000000003 000000000910BBA0  libgobject-2.0-0.dll!g_object_new_with_properties  [/home/ardour/win-build-w64/glib-2.64.1/build/../gobject/gobject.c @ 2105]
000000005AF8D92B 0000000000000003 00000000099DEBA0 000000000157DCE0  libgobject-2.0-0.dll!g_object_new  [/home/ardour/win-build-w64/glib-2.64.1/build/../gobject/gobject.c @ 1777]
000000005AB7B5CA 00000000052DC820 000000005B2A4F14 000000000000100B  libgtk-win32-2.0-0.dll!gtk_file_chooser_dialog_constructor
000000005AF8B95D 00000000052DC820 000000000157DFA0 0000000000000001  libgobject-2.0-0.dll!g_object_new_internal  [/home/ardour/win-build-w64/glib-2.64.1/build/../gobject/gobject.c @ 1855]
000000005AF8D6F9 00000000052BC490 00007FF9772BB3C7 000000000157E160  libgobject-2.0-0.dll!g_object_new_valist  [/home/ardour/win-build-w64/glib-2.64.1/build/../gobject/gobject.c @ 2262]
000000005AF8D912 0000000000000000 0000000000000000 0000000000000000  libgobject-2.0-0.dll!g_object_new  [/home/ardour/win-build-w64/glib-2.64.1/build/../gobject/gobject.c @ 1780]
000000005AB7BA04 0000000004D4C7E0 000000005AFAC79D 0000000000000000  libgtk-win32-2.0-0.dll!gtk_file_chooser_dialog_new
000000005AB69D58 0000000004D4D9E0 000000005A8C5320 00000000052BE3D0  libgtk-win32-2.0-0.dll!gtk_file_chooser_button_constructor
000000005AF8B95D 0000000004958A70 000000000157E3D0 0000000000000000  libgobject-2.0-0.dll!g_object_new_internal  [/home/ardour/win-build-w64/glib-2.64.1/build/../gobject/gobject.c @ 1855]
000000005AF8D2E2 0000000000000000 00007FF9763F9DD2 0000000000000100  libgobject-2.0-0.dll!g_object_newv  [/home/ardour/win-build-w64/glib-2.64.1/build/../gobject/gobject.c @ 2171]
000000005B1DD8C9 000000005B1F3B78 000000005B1F3B78 000000000157E520  libglibmm-2.4-1.dll!Glib::Object::Object
000000005A82427A 0000000000000000 0000000001C55640 000000000157E990  libgtkmm-2.4-1.dll!Gtk::Object::Object
000000005A89E039 0000000000000000 0000000000000000 0000000000000000  libgtkmm-2.4-1.dll!Gtk::Widget::Widget
000000005A7EE535 000000000157E5F0 00000000049A8628 00000000049A8608  libgtkmm-2.4-1.dll!Gtk::Container::Container
000000005A7D0D65 00000002FE3162B9 000000005A754C27 00000000049A85C8  libgtkmm-2.4-1.dll!Gtk::HBox::HBox
000000005A7FC64A 0000000004D36830 00007FF9763F9D40 000000000157E990  libgtkmm-2.4-1.dll!Gtk::FileChooserButton::FileChooserButton
000000000087CDFC 0000000004296380 0000000000000000 0000000001DF0000  Ardour.exe!DirectoryOption::DirectoryOption
000000000098FFEC 000000000A2F2030 00007FF9772B5BA1 0000000001C50000  Ardour.exe!RCOptionEditor::RCOptionEditor
000000000044A004 0000000004D36830 0000000004D42890 0000000001C502A8  Ardour.exe!ARDOUR_UI::setup_windows
000000000042A7B5 0000000004D36830 000000005865A160 0000000004D73700  Ardour.exe!ARDOUR_UI::post_engine
000000000042C155 0000000001D62EA0 0000000004D42890 0000000008141D50  Ardour.exe!ARDOUR_UI::engine_running
000000000042C241 000000000157F6D0 000000000157F6D0 000000000527F460  Ardour.exe!ARDOUR_UI::attach_to_engine
0000000000ABF47C 0000000000000000 0000000000000006 000000000157F6C0  Ardour.exe!StartupFSM::engine_running
0000000000AC1258 0000000004E84A40 000000007FFFFFFF 000000000157F8D0  Ardour.exe!StartupFSM::start_audio_midi_setup
0000000000AC461A 0000000000000000 000000000122C8C0 0000000004D53000  Ardour.exe!StartupFSM::start
0000000000481FF8 00000000010EFA31 000000000047AD20 0000000000000000  Ardour.exe!ARDOUR_UI::starting
00000000578FB3CF 0000000000000001 000000000157FBB0 000000000157FAF0  gtkmm2ext-0.dll!Gtkmm2ext::UI::run
0000000000EAE739 0000000000000002 0000000001CCE420 0000000001234768  Ardour.exe!main
00000000004013C7 0000000000000000 0000000000000000 0000000000000000  Ardour.exe!__tmainCRTStartup  [./build/x86_64-w64-mingw32-x86_64-w64-mingw32-crt/./mingw-w64-crt/crt/crtexe.c @ 339]
00000000004014CB 0000000000000000 0000000000000000 0000000000000000  Ardour.exe!WinMainCRTStartup  [./build/x86_64-w64-mingw32-x86_64-w64-mingw32-crt/./mingw-w64-crt/crt/crtexe.c @ 195]
00007FF975717344 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk
00007FF9772E26B1 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart

Ardour.exe
ntdll.dll   	6.2.19041.3636
KERNEL32.DLL	6.2.19041.3636
KERNELBASE.dll	6.2.19041.3758
GDI32.dll   	6.2.19041.3636
win32u.dll  	6.2.19041.3803
gdi32full.dll	6.2.19041.3758
msvcp_win.dll	6.2.19041.3636
ucrtbase.dll	6.2.19041.3636
libatkmm-1.6-1.dll
USER32.dll  	6.2.19041.3636
libcairo-2.dll
libcairomm-1.0-1.dll
msvcrt.dll  	7.0.19041.3636
libfontconfig-1.dll
libcurl-4.dll
libgdk-win32-2.0-0.dll	2.24.25.0
libfftw3f-3.dll
ADVAPI32.dll	6.2.19041.3693
IMM32.dll   	6.2.19041.3636
sechost.dll 	6.2.19041.3636
ole32.dll   	6.2.19041.3636
libgdkmm-2.4-1.dll
RPCRT4.dll  	6.2.19041.3758
libglib-2.0-0.dll	2.64.1.0
combase.dll 	6.2.19041.3636
SHELL32.dll 	6.2.19041.3758
CRYPT32.dll 	6.2.19041.3636
libglibmm-2.4-1.dll
WLDAP32.dll 	6.2.19041.3636
libgobject-2.0-0.dll	2.64.1.0
WS2_32.dll  	6.2.19041.3636
libgtk-win32-2.0-0.dll	2.24.25.0
libgtkmm-2.4-1.dll
libintl-8.dll	0.19.3.0
liblo-7.dll
comdlg32.dll	6.2.19041.3758
libpango-1.0-0.dll	1.42.3.0
libpangocairo-1.0-0.dll	1.42.3.0
libpangoft2-1.0-0.dll	1.42.3.0
shcore.dll  	6.2.19041.3636
libpangomm-1.4-1.dll
SHLWAPI.dll 	6.2.19041.3636
libsigc-2.0-0.dll
lilv-0.dll
libxml2-2.dll
suil-0.dll
libatk-1.0-0.dll	2.14.0.0
libfreetype-6.dll
libpng16-16.dll
zlib1.dll   	1.2.13.0
libpixman-1-0.dll
MSIMG32.dll 	6.2.19041.3636
libwinpthread-1.dll	1.0.0.0
libgcc_s_seh-1.dll
audiographer-0.dll
canvas-0.dll
ardourcp.dll
libstdc++-6.dll
evoral-0.dll
gtkmm2ext-0.dll
midipp-4.dll
ptformat-0.dll
pbd-4.dll
temporal-0.dll
waveview-0.dll
widgets-0.dll
libgdk_pixbuf-2.0-0.dll	2.31.1.0
libgio-2.0-0.dll	2.64.1.0
libgmodule-2.0-0.dll	2.64.1.0
libffi-8.dll
ardour-3.dll
COMCTL32.dll	5.82.19041.3636
libiconv-2.dll	1.16.0.0
libgiomm-2.4-1.dll
IPHLPAPI.DLL	6.2.19041.3636
libfribidi-0.dll
libpangowin32-1.0-0.dll	1.42.3.0
libharfbuzz-0.dll
serd-0.dll
WINSPOOL.DRV	6.2.19041.3693
sord-0.dll
sratom-0.dll
liblzma-5.dll	5.2.2.0
libsndfile-1.dll	1.1.0.0
libsamplerate-0.dll
libarchive-13.dll
libgnurx-0.dll
bcrypt.dll  	6.2.19041.3636
dbghelp.dll 	6.2.19041.3636
WINMM.dll   	6.2.19041.3636
libjpeg-9.dll
libtiff-5.dll
DNSAPI.dll  	6.2.19041.3636
libraptor2.dll
libusb-1.0.dll	1.0.20.11004
rubberband-2.dll
libtag.dll
USP10.dll   	6.2.19041.3636
libFLAC-8.dll
libogg-0.dll
libvorbis-0.dll
libopus-0.dll
libvorbisenc-2.dll
libxslt-1.dll
libfftw3-3.dll
NSI.dll     	6.2.19041.3636
windows.storage.dll	6.2.19041.3758
Wldp.dll    	6.2.19041.3636
kernel.appcore.dll	6.2.19041.3758
bcryptPrimitives.dll	6.2.19041.3636
uxtheme.dll 	6.2.19041.3636
OLEAUT32.dll	6.2.19041.3636
CFGMGR32.dll	6.2.19041.3636
clbcatq.dll 	2001.12.10941.16384
propsys.dll 	7.0.19041.3636
profapi.dll 	6.2.19041.3636
secur32.dll 	6.2.19041.3636
SSPICLI.DLL 	6.2.19041.3636
mswsock.dll 	6.2.19041.3636
exchndl.dll 	0.9.2.0
PSAPI.DLL   	6.2.19041.3636
mgwhelp.dll 	0.9.2.0
VERSION.dll 	6.2.19041.3636
dbgcore.DLL 	6.2.19041.3636
CRYPTSP.dll 	6.2.19041.3636
rsaenh.dll  	6.2.19041.3636
CRYPTBASE.dll	6.2.19041.3636
avrt.dll    	6.2.19041.3636
ardour_cc121.dll
ardour_console1.dll
ardour_midisurface.dll
ardour_contourdesign.dll
SetupAPI.dll	6.2.19041.3636
WinUSB.DLL  	6.2.19041.1
hid.dll     	6.2.19041.3636
ardour_faderport.dll
ardour_faderport16.dll
ardour_faderport2.dll
ardour_faderport8.dll
ardour_generic_midi.dll
ardour_launchpad_mini.dll
ardour_launchpad_pro.dll
ardour_launchpad_x.dll
ardour_launch_control_xl.dll
ardour_mcp.dll
ardour_osc.dll
ardour_push2.dll
ardour_ssl_uf8.dll
ardour_us2400.dll
ardour_websockets.dll
libwebsockets.dll	4.3.0.0
pan1in2out.dll
pan2in2out.dll
panbalance.dll
panvbap.dll
dummy_audiobackend.dll
portaudio_callback_backend.dll
libportaudio-2.dll
TextShaping.dll
libclearlooks.la
mdnsNSP.dll 	3.0.0.10
rasadhlp.dll	6.2.19041.3636
fwpuclnt.dll	6.2.19041.3758
winmmbase.dll	6.2.19041.1
MMDevAPI.DLL	6.2.19041.3636
DEVOBJ.dll  	6.2.19041.3636
wdmaud.drv  	6.2.19041.1
ksuser.dll  	6.2.19041.1
AUDIOSES.DLL	6.2.19041.3636
powrprof.dll	6.2.19041.3636
UMPDC.dll
msacm32.drv 	6.2.19041.3636
MSACM32.dll 	6.2.19041.1
midimap.dll 	6.2.19041.3636
resourcepolicyclient.dll	6.2.19041.3636
msiltcfg.dll	5.0.19041.1
msi.dll     	5.0.19041.3636
Comctl32.dll	6.10.19041.3636
srpapi.dll  	6.2.19041.3636
ntmarta.dll 	6.2.19041.3636
SFC.DLL     	6.2.19041.3636
sfc_os.DLL  	6.2.19041.3636
ysusb_asio64.dll	2.0.4.0
WINTRUST.dll	6.2.19041.3636
MSASN1.dll  	6.2.19041.3636
MSCTF.dll   	6.2.19041.3636
textinputframework.dll	6.2.19041.3758
CoreUIComponents.dll	6.2.19041.3636
CoreMessaging.dll	6.2.19041.3636
wintypes.dll	6.2.19041.3636
Windows.UI.dll	6.2.19041.3636
WindowManagementAPI.dll
InputHost.dll	6.2.19041.3636
twinapi.appcore.dll	6.2.19041.3758
winhttp.dll 	6.2.19041.3636

Windows 6.2.9200
DrMingw 0.9.2

bragolin

2024-01-12 12:17

reporter   ~0028455

Resulting of a forum thread the cause seems to be the WinMME MIDI system. Setting it to None, everything works fine from the command line (except that MIDI is not available then of course).
The behaviour is the same on 3 different PCs where I did a fresh install of 8.2.0.
Opening the session from the GUI with activated WinMME midi works fine, from command line it doesn't

Issue History

Date Modified Username Field Change
2024-01-04 14:09 bragolin New Issue
2024-01-04 14:09 bragolin File Added: Ardour-8.2.0-crash-1704377198.txt
2024-01-12 12:17 bragolin Note Added: 0028455