View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008911 | ardour | bugs | public | 2022-05-08 13:27 | 2023-04-22 20:13 |
Reporter | robertaramar | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Linux | OS | Fedora | OS Version | 35 |
Product Version | 6.9 | ||||
Summary | 0008911: Session doesn't load (ERROR: Unexpected exception during session setup: tr1::bad_weak_ptr) | ||||
Description | When loading the session Narcotic.ardour, Ardour presents a "Loading Error" see "Ardour-Loading-Error.png" for details. On the console, it says: Log Messages: INFO: AlsaAudioBackend: adjusted output channel count to match device. INFO: AlsaAudioBackend: adjusted input channel count to match device. WARNING: AlsaMidiIO: Cannot acquire realtime permissions. WARNING: AlsaMidiIO: Cannot acquire realtime permissions. WARNING: AlsaMidiIO: Cannot acquire realtime permissions. WARNING: AlsaMidiIO: Cannot acquire realtime permissions. WARNING: AlsaMidiIO: Cannot acquire realtime permissions. WARNING: AlsaMidiIO: Cannot acquire realtime permissions. ERROR: AlsaSeqMidiIO: Device initialization failed. WARNING: AlsaMidiOut: failed to open midi device '144:0'. ERROR: AlsaSeqMidiIO: Device initialization failed. WARNING: AlsaMidiIn: failed to open midi device '144:0'. ERROR: AlsaSeqMidiIO: Device initialization failed. WARNING: AlsaMidiOut: failed to open midi device '145:0'. ERROR: AlsaSeqMidiIO: Device initialization failed. WARNING: AlsaMidiIn: failed to open midi device '145:0'. WARNING: AlsaMidiIO: Cannot acquire realtime permissions. WARNING: AlsaMidiIO: Cannot acquire realtime permissions. WARNING: AlsaAudioBackend: cannot acquire realtime permissions. INFO: harvid version: 803 INFO: Loading menus from /opt/Ardour-6.9.0/etc/ardour.menus ERROR: Unexpected exception during session setup: tr1::bad_weak_ptr | ||||
Steps To Reproduce | Launch Ardour, open this session. After clicking away the Loading-Error, if you try to load any other session that would normally load, you get an exception: Thread 1 "ArdourGUI" received signal SIGSEGV, Segmentation fault. 0x00007ffff3da0781 in gtk_radio_action_set_group () from /opt/Ardour-6.9.0/lib/libgtk-x11-2.0.so.0 | ||||
Additional Information | (gdb) bt #0 0x00007ffff3da0781 in gtk_radio_action_set_group () from /opt/Ardour-6.9.0/lib/libgtk-x11-2.0.so.0 0000001 0x00007ffff1ef37a7 in Gtk::RadioAction::set_group(Gtk::RadioButtonGroup&) () from /opt/Ardour-6.9.0/lib/libgtkmm-2.4.so.1 #2 0x00007ffff1ef3a67 in Gtk::RadioAction::RadioAction(Gtk::RadioButtonGroup&, Glib::ustring const&, Gtk::StockID const&, Glib::ustring const&, Glib::ustring const&) () from /opt/Ardour-6.9.0/lib/libgtkmm-2.4.so.1 #3 0x00007ffff1ef3b42 in Gtk::RadioAction::create(Gtk::RadioButtonGroup&, Glib::ustring const&, Glib::ustring const&, Glib::ustring const&) () from /opt/Ardour-6.9.0/lib/libgtkmm-2.4.so.1 0000004 0x00007ffff5b89b0d in ActionManager::register_radio_action(Glib::RefPtr<Gtk::ActionGroup>, Gtk::RadioButtonGroup&, char const*, char const*, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>) () from /opt/Ardour-6.9.0/lib/libgtkmm2ext.so.0 0000005 0x00005555559a6b7e in ?? () #6 0x00005555559bc407 in ?? () #7 0x000055555597ed33 in ?? () 0000008 0x000055555588ff40 in ?? () 0000009 0x000055555587fed4 in ?? () 0000010 0x0000555555848f51 in ?? () 0000011 0x000055555584ad1c in ?? () 0000012 0x000055555605de94 in ?? () 0000013 0x000055555606116e in ?? () 0000014 0x00007ffff1ebe5f5 in ?? () from /opt/Ardour-6.9.0/lib/libgtkmm-2.4.so.1 #15 0x00007ffff4a6c945 in g_closure_invoke () from /opt/Ardour-6.9.0/lib/libgobject-2.0.so.0 0000016 0x00007ffff4a7e01b in ?? () from /opt/Ardour-6.9.0/lib/libgobject-2.0.so.0 #17 0x00007ffff4a87c30 in g_signal_emit_valist () from /opt/Ardour-6.9.0/lib/libgobject-2.0.so.0 0000018 0x00007ffff4a88082 in g_signal_emit () from /opt/Ardour-6.9.0/lib/libgobject-2.0.so.0 0000019 0x00007ffff3cac80c in gtk_dialog_response () from /opt/Ardour-6.9.0/lib/libgtk-x11-2.0.so.0 0000020 0x00007ffff1f37b35 in ?? () from /opt/Ardour-6.9.0/lib/libgtkmm-2.4.so.1 0000021 0x00007ffff4a6c945 in g_closure_invoke () from /opt/Ardour-6.9.0/lib/libgobject-2.0.so.0 0000022 0x00007ffff4a7e01b in ?? () from /opt/Ardour-6.9.0/lib/libgobject-2.0.so.0 0000023 0x00007ffff4a87c30 in g_signal_emit_valist () from /opt/Ardour-6.9.0/lib/libgobject-2.0.so.0 #24 0x00007ffff4a88082 in g_signal_emit () from /opt/Ardour-6.9.0/lib/libgobject-2.0.so.0 0000025 0x00007ffff3eb43c0 in ?? () from /opt/Ardour-6.9.0/lib/libgtk-x11-2.0.so.0 0000026 0x00007ffff3d50cac in ?? () from /opt/Ardour-6.9.0/lib/libgtk-x11-2.0.so.0 0000027 0x00007ffff4a6c945 in g_closure_invoke () from /opt/Ardour-6.9.0/lib/libgobject-2.0.so.0 0000028 0x00007ffff4a7e5a0 in ?? () from /opt/Ardour-6.9.0/lib/libgobject-2.0.so.0 0000029 0x00007ffff4a8769b in g_signal_emit_valist () from /opt/Ardour-6.9.0/lib/libgobject-2.0.so.0 0000030 0x00007ffff4a88082 in g_signal_emit () from /opt/Ardour-6.9.0/lib/libgobject-2.0.so.0 0000031 0x00007ffff3ed564c in ?? () from /opt/Ardour-6.9.0/lib/libgtk-x11-2.0.so.0 0000032 0x00007ffff3d4f29d in gtk_propagate_event () from /opt/Ardour-6.9.0/lib/libgtk-x11-2.0.so.0 0000033 0x00007ffff3d4f723 in gtk_main_do_event () from /opt/Ardour-6.9.0/lib/libgtk-x11-2.0.so.0 0000034 0x00007ffff396bb4c in ?? () from /opt/Ardour-6.9.0/lib/libgdk-x11-2.0.so.0 0000035 0x00007ffff475db67 in g_main_context_dispatch () from /opt/Ardour-6.9.0/lib/libglib-2.0.so.0 0000036 0x00007ffff475ddd0 in ?? () from /opt/Ardour-6.9.0/lib/libglib-2.0.so.0 0000037 0x00007ffff475e0f2 in g_main_loop_run () from /opt/Ardour-6.9.0/lib/libglib-2.0.so.0 0000038 0x00007ffff3d4e3e7 in gtk_main () from /opt/Ardour-6.9.0/lib/libgtk-x11-2.0.so.0 0000039 0x00007ffff5baaa55 in Gtkmm2ext::UI::run(Receiver&) () from /opt/Ardour-6.9.0/lib/libgtkmm2ext.so.0 0000040 0x000055555580c814 in ?? () 0000041 0x00007fffee3d9f20 in __libc_start_call_main (main=main@entry=0x55555580c420, argc=argc@entry=1, argv=argv@entry=0x7fffffffd058) at ../sysdeps/nptl/libc_start_call_main.h:58 --Type <RET> for more, q to quit, c to continue without paging-- 0000042 0x00007fffee3d9fd0 in __libc_start_main_impl (main=0x55555580c420, argc=1, argv=0x7fffffffd058, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd048) at ../csu/libc-start.c:392 0000043 0x000055555581360a in ?? () | ||||
Tags | No tags attached. | ||||
related to | 0008227 | new | Ardour 6.0.0 crashes on session load |
|
|
|
The problem relates to MIDI learn, The bound control is not available at session load. deleting line 4738 in the session file makes the session load again<MIDIControllable id="19405" event="0xb0" channel="0" additional="0x14"/> |
|
Thanks, good to know. But is this still considered being a bug? And we're you able to reproduce the exception when, after closing the error dialog, loading a recently used session? |
|
Had a similar error on Ardour 7.3 ArchLinux and couldn't open the project. I had MIDI-learned a Faderport2 through QMidiRoute to drive some automation, then closed the project. Reopening without Faderport/QMidiRoute attached. ERROR: Unexpected exception during session setup: tr1::bad_weak_ptr I removed the lines <Controls> <MIDIControllable id="224482" event="0xb0" channel="0" additional="0x0"/> </Controls> from the *.ardour session file and was able to start the project again. The weekend is saved :) |
|
Can you describe in more detail what you're doing with MIDI learn that ends up with this problem? |
|
I have tried to reproduce this on a fresh session with the below steps, but unfortunately without success so far, so I can only describe what lead to the error: * I routed drum instrument tracks to a drum bus * I put LSP parametric EQ on that bus with a high shelf activated * I opened an automation lane for the frequency of that shelf * To automate that with my faderport2 I connected the faderport in Jack with QMidiRoute to convert Pitchbend events to Controller events (see screenshot) * I connected the QMidiRoute MIDI output channel via Jack with Ardour's "MIDI Control in" channel * Then I CTRL+Middle Mouse clicked the automation fader in Ardour's Edit window * When the MIDI-learn popup appeared ("operate controller now") I moved the fader of the Faderport * From there I was able to drive the high shelf of the EQ with the fader and record the automation * Then I closed the project, shut down the PC * When reopening the project the next day, without Faderport or QMidiRoute activated, the error message appeared |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-05-08 13:27 | robertaramar | New Issue | |
2022-05-08 13:27 | robertaramar | File Added: Ardour-Loading-Error.png | |
2022-05-08 13:27 | robertaramar | File Added: Narcotic.ardour | |
2022-05-10 16:06 | x42 | Note Added: 0026439 | |
2022-05-10 16:06 | x42 | File Added: Narcotic-2.ardour | |
2022-05-10 17:06 | robertaramar | Note Added: 0026440 | |
2022-10-22 18:48 | x42 | Relationship added | related to 0008227 |
2023-04-07 08:09 | MyLoFy | Note Added: 0027554 | |
2023-04-22 18:17 | paul | Note Added: 0027607 | |
2023-04-22 20:13 | MyLoFy | Note Added: 0027608 | |
2023-04-22 20:13 | MyLoFy | File Added: image.png |