View Issue Details

IDProjectCategoryView StatusLast Update
0010057ardourbugspublic2025-12-12 23:14
Reporternils Assigned To 
PrioritynormalSeveritycrashReproducibilitysometimes
Status newResolutionopen 
Platformx86_64OSFedora LinuxOS Version43
Product Version9.0-rc 
Summary0010057: Crashes on startup after creating new project with empty template
DescriptionWhen I start Ardour 9rc (either self-built from git 9.0-rc1-42-gde542e9d29 or the nightly Ardour-9.0.rc1.42-dbg-x86_64), creating a new project from an empty template or loading an existing session crashes on me about half the time. To debug, I built with -DDEBUG_EARLY_SCTS_USE which makes the executable built locally from git crash with SIGUSR2 being raised, the nightly download receives a SIGFPE.
Steps To ReproduceRun Ardour, select “New” and “Empty Template”, or open an existing session.
Additional InformationTemporal::superclock_to_samples() attempts to divide by Temporal::superclock_ticks_per_second(), which is still zero. From the backtrace, it looks like motion events are being processed before Ardour is fully initialized, i.e. Temporal::reset() is called.
TagsNo tags attached.

Activities

nils

2025-12-12 18:37

reporter  

ard9-rc1.42-bt.txt (21,156 bytes)   
[Thread 0x7fff837fe6c0 (LWP 2771577) exited]

Thread 1 "ArdourGUI" received signal SIGFPE, Arithmetic exception.
0x00007ffff36d83fc in __divti3 () from /lib64/libgcc_s.so.1
Missing rpms, try: dnf --enablerepo='*debug*' install glibc-debuginfo-2.42-4.fc43.x86_64 libX11-debuginfo-1.8.12-1.fc43.x86_64 libstdc++-debuginfo-15.2.1-4.fc43.x86_64 libgcc-debuginfo-15.2.1-4.fc43.x86_64 libXext-debuginfo-1.3.6-4.fc43.x86_64 libXinerama-debuginfo-1.1.5-9.fc43.x86_64 libXrandr-debuginfo-1.5.4-6.fc43.x86_64 libxcb-debuginfo-1.17.0-6.fc43.x86_64 libXrender-debuginfo-0.9.12-3.fc43.x86_64 libXau-debuginfo-1.0.12-3.fc43.x86_64 pulseaudio-libs-debuginfo-17.0-7.fc43.x86_64 dbus-libs-debuginfo-1.16.0-4.fc43.x86_64 systemd-libs-debuginfo-258.2-1.fc43.x86_64 libasyncns-debuginfo-0.8-31.fc43.x86_64 libcap-debuginfo-2.76-3.fc43.x86_64 alsa-lib-debuginfo-1.2.15-4.fc43.x86_64 pipewire-jack-audio-connection-kit-libs-debuginfo-1.4.9-1.fc43.x86_64 pipewire-libs-debuginfo-1.4.9-1.fc43.x86_64 libXi-devel-debuginfo-1.8.2-3.fc43.x86_64 nss-mdns-debuginfo-0.15.1-27.fc43.x86_64 libselinux-debuginfo-3.9-5.fc43.x86_64 pcre2-debuginfo-10.47-1.fc43.x86_64 libXcursor-debuginfo-1.2.3-3.fc43.x86_64 libXfixes-debuginfo-6.0.1-6.fc43.x86_64 ladspa-swh-plugins-debuginfo-0.4.17-19.fc43.x86_64 ladspa-blop-plugins-debuginfo-0.2.8-39.fc41.x86_64 ladspa-cmt-plugins-debuginfo-1.16-34.fc43.x86_64 ladspa-debuginfo-1.17-8.fc43.x86_64 ladspa-vco-plugins-debuginfo-0.3.0-41.fc43.x86_64 ladspa-tap-plugins-debuginfo-0.7.0-38.fc43.x86_64 ladspa-zam-plugins-debuginfo-4.4-6.fc43.x86_64 ladspa-amb-plugins-debuginfo-0.8.1-18.fc43.x86_64 ladspa-mcp-plugins-debuginfo-0.4.0-36.fc43.x86_64 ladspa-rubberband-plugins-debuginfo-4.0.0-4.fc43.x86_64 ladspa-rev-plugins-debuginfo-0.8.1-1.fc43.x86_64 lsp-plugins-ladspa-debuginfo-1.2.24-1.fc43.x86_64 gsm-debuginfo-1.0.23-1.fc43.x86_64 ladspa-autotalent-plugins-debuginfo-0.2-51.fc43.x86_64 ladspa-fil-plugins-debuginfo-0.3.0-35.fc43.x86_64
(gdb) bt
#0  0x00007ffff36d83fc in __divti3 () from /lib64/libgcc_s.so.1
#1  0x0000555555d82d56 in PBD::muldiv_floor (v=0, n=48000, d=0)
    at ../libs/pbd/pbd/integer_division.h:119
#2  0x0000555555d7ead2 in Temporal::superclock_to_samples (s=0, sr=48000)
    at ../libs/temporal/temporal/superclock.h:48
#3  0x0000555555d82f9f in Temporal::timepos_t::samples (this=0x7fffffff76a0)
    at ../libs/temporal/temporal/timeline.h:90
#4  0x0000555555ffe30d in Editor::set_snapped_cursor_position (this=0x55555990f920, pos=...)
    at ../gtk2_ardour/editor.cc:2424
#5  0x00005555561236d3 in Editor::motion_handler (this=0x55555990f920, item=0x55555f2cfce0, 
    event=0x7fffffff7dd0, from_autoscroll=false) at ../gtk2_ardour/editor_mouse.cc:1817
#6  0x000055555609ed9c in Editor::canvas_drop_zone_event (this=0x55555990f920, event=0x7fffffff7dd0)
    at ../gtk2_ardour/editor_canvas_events.cc:1247
#7  0x0000555556049532 in sigc::bound_mem_functor1<bool, Editor, _GdkEvent*>::operator() (
    this=0x55555e23d6f8, _A_a1=@0x7fffffff7a50: 0x7fffffff7dd0)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/functors/mem_fun.h:2066
#8  0x0000555556043005 in sigc::adaptor_functor<sigc::bound_mem_functor1<bool, Editor, _GdkEvent*> >::operator()<_GdkEvent* const&> (this=0x55555e23d6f0, _A_arg1=@0x7fffffff7a50: 0x7fffffff7dd0)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:89
#9  0x00005555560980ad in sigc::internal::slot_call<sigc::bound_mem_functor1<bool, Editor, _GdkEvent*>, bool, _GdkEvent*>::call_it (rep=0x55555e23d6c0, a_#0=@0x7fffffff7a50: 0x7fffffff7dd0)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:451
#10 0x0000555556c86033 in sigc::internal::signal_emit1<bool, _GdkEvent*, ArdourCanvas::Item::EventAccumulator<bool> >::operator() (this=0x7fffffff7928, _A_slot=...)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/signal.h:856
#11 0x0000555556c855d7 in sigc::internal::slot_iterator_buf<sigc::internal::signal_emit1<bool, _GdkEvent*, ArdourCanvas::Item::EventAccumulator<bool> >, bool>::operator* (this=0x7fffffff78e0)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/signal.h:315
#12 0x0000555556c847fb in ArdourCanvas::Item::EventAccumulator<bool>::operator()<sigc::internal::slot_iterator_buf<sigc::internal::signal_emit1<bool, _GdkEvent*, ArdourCanvas::Item::EventAccumulator<bool> >, bool> > (this=0x7fffffff794f, first=..., last=...) at ../libs/canvas/canvas/item.h:258
#13 0x0000555556c83734 in sigc::internal::signal_emit1<bool, _GdkEvent*, ArdourCanvas::Item::EventAccumulator<bool> >::emit (impl=0x55555d46b0b0, _A_a1=@0x7fffffff7a50: 0x7fffffff7dd0)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/signal.h:875
#14 0x0000555556c8245f in sigc::signal1<bool, _GdkEvent*, ArdourCanvas::Item::EventAccumulator<bool> >::emit (this=0x55555f2cfd50, _A_a1=@0x7fffffff7a50: 0x7fffffff7dd0)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/signal.h:2951
#15 0x0000555556c815e1 in sigc::signal1<bool, _GdkEvent*, ArdourCanvas::Item::EventAccumulator<bool> >::operator() (this=0x55555f2cfd50, _A_a1=@0x7fffffff7a50: 0x7fffffff7dd0)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/signal.h:2967
#16 0x00007ffff53284fc in ArdourCanvas::GtkCanvas::deliver_event (this=0x55555ccf24c8, 
    event=0x7fffffff7dd0) at ../libs/canvas/canvas.cc:920
#17 0x00007ffff532a4a5 in ArdourCanvas::GtkCanvas::on_motion_notify_event (this=0x55555ccf24c8, 
    ev=0x55555c849d80) at ../libs/canvas/canvas.cc:1332
#18 0x00007ffff4780bb1 in Gtk::Widget_Class::motion_notify_event_callback (self=0x5555604e2a60, 
    p0=0x55555c849d80) at ../libs/tk/ytkmm/widget.cc:4520
#19 0x00007ffff3f728bf in _gtk_marshal_BOOLEAN__BOXED (closure=0x555557f678e0, 
    return_value=0x7fffffff8070, n_param_values=2, param_values=0x7fffffff8120, 
    invocation_hint=0x7fffffff80c0, 
    marshal_data=0x7ffff4780b10 <Gtk::Widget_Class::motion_notify_event_callback(_GtkWidget*, _GdkEventMotion*)>) at ../libs/tk/ytk/gtkmarshalers.c:84
#20 0x00007ffff3d347d2 in g_closure_invoke () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#21 0x00007ffff3d45e29 in ?? () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#22 0x00007ffff3d4fbb5 in g_signal_emit_valist ()
   from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#23 0x00007ffff3d50b22 in g_signal_emit () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#24 0x00007ffff40ea24a in gtk_widget_event_internal (widget=0x5555604e2a60, event=0x55555c849d80)
    at ../libs/tk/ytk/gtkwidget.c:5058
#25 0x00007ffff40e9d4c in IA__gtk_widget_event (widget=0x5555604e2a60, event=0x55555c849d80)
    at ../libs/tk/ytk/gtkwidget.c:4846
#26 0x00007ffff3f70926 in IA__gtk_propagate_event (widget=0x5555604e2a60, event=0x55555c849d80)
    at ../libs/tk/ytk/gtkmain.c:2457
#27 0x00007ffff3f6f3b4 in IA__gtk_main_do_event (event=0x55555c849d80)
    at ../libs/tk/ytk/gtkmain.c:1646
#28 0x00007ffff4d37198 in gdk_event_dispatch (source=0x555557ef1f00, callback=0x0, user_data=0x0)
    at ../libs/tk/ydk/x11/gdkevents-x11.c:2541
#29 0x00007ffff42fda73 in g_main_context_dispatch ()
   from /opt/Ardour-9.0.rc1.42-dbg/lib/libglib-2.0.so.0
#30 0x00007ffff42fdcf8 in ?? () from /opt/Ardour-9.0.rc1.42-dbg/lib/libglib-2.0.so.0
#31 0x00007ffff42fdd9f in g_main_context_iteration ()
   from /opt/Ardour-9.0.rc1.42-dbg/lib/libglib-2.0.so.0
#32 0x00007ffff3f6eb96 in IA__gtk_main_iteration () at ../libs/tk/ytk/gtkmain.c:1301
#33 0x0000555555dbdf61 in ARDOUR_UI::gui_idle_handler (this=0x555557ef29a0)
    at ../gtk2_ardour/ardour_ui.cc:2947
#34 0x0000555555ded172 in std::__invoke_impl<void, void (ARDOUR_UI::*&)(), ARDOUR_UI*&> (
    __f=@0x555560070190: (void (ARDOUR_UI::*)(class ARDOUR_UI * const)) 0x555555dbdf26 <ARDOUR_UI::gui_idle_handler()>, __t=@0x5555600701a0: 0x555557ef29a0) at /usr/include/c++/10/bits/invoke.h:73
#35 0x0000555555dea238 in std::__invoke<void (ARDOUR_UI::*&)(), ARDOUR_UI*&> (
    __fn=@0x555560070190: (void (ARDOUR_UI::*)(class ARDOUR_UI * const)) 0x555555dbdf26 <ARDOUR_UI::gui_idle_handler()>) at /usr/include/c++/10/bits/invoke.h:95
#36 0x0000555555de5112 in std::_Bind<void (ARDOUR_UI::*(ARDOUR_UI*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x555560070190, __args=...)
    at /usr/include/c++/10/functional:416
#37 0x0000555555dddffe in std::_Bind<void (ARDOUR_UI::*(ARDOUR_UI*))()>::operator()<, void>() (
    this=0x555560070190) at /usr/include/c++/10/functional:499
#38 0x0000555555dd8816 in std::__invoke_impl<void, std::_Bind<void (ARDOUR_UI::*(ARDOUR_UI*))()>&>(std::__invoke_other, std::_Bind<void (ARDOUR_UI::*(ARDOUR_UI*))()>&) (__f=...)
    at /usr/include/c++/10/bits/invoke.h:60
#39 0x0000555555dd2ef2 in std::__invoke_r<void, std::_Bind<void (ARDOUR_UI::*(ARDOUR_UI*))()>&>(std::_Bind<void (ARDOUR_UI::*(ARDOUR_UI*))()>&) (__fn=...) at /usr/include/c++/10/bits/invoke.h:110
#40 0x0000555555dcc1d9 in std::_Function_handler<void (), std::_Bind<void (ARDOUR_UI::*(ARDOUR_UI*))()> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/10/bits/std_function.h:291
#41 0x0000555555d97284 in std::function<void()>::operator() (this=0x55555aaaf160)
    at /usr/include/c++/10/bits/std_function.h:622
#42 0x0000555555da4e45 in std::__invoke_impl<void, std::function<void()>&> (__f=...)
    at /usr/include/c++/10/bits/invoke.h:60
#43 0x0000555555da4a0d in std::__invoke<std::function<void()>&> (__fn=...)
    at /usr/include/c++/10/bits/invoke.h:95
#44 0x0000555555da4026 in std::_Bind<std::function<void ()> ()>::__call<void>(std::tuple<>&&, std::_Index_tuple<>) (this=0x55555aaaf160, __args=...) at /usr/include/c++/10/functional:416
#45 0x0000555555da32de in std::_Bind<std::function<void ()> ()>::operator()<, void>() (
    this=0x55555aaaf160) at /usr/include/c++/10/functional:499
#46 0x0000555555da1ae2 in std::__invoke_impl<void, std::_Bind<std::function<void()>()>&> (__f=...)
    at /usr/include/c++/10/bits/invoke.h:60
#47 0x0000555555d9f146 in std::__invoke_r<void, std::_Bind<std::function<void()>()>&> (__fn=...)
    at /usr/include/c++/10/bits/invoke.h:110
#48 0x0000555555d9c87e in std::_Function_handler<void(), std::_Bind<std::function<void()>()> >::_M_invoke (__functor=...) at /usr/include/c++/10/bits/std_function.h:291
#49 0x0000555555d97284 in std::function<void()>::operator() (this=0x7fffffff8b00)
    at /usr/include/c++/10/bits/std_function.h:622
#50 0x00007ffff51d52f7 in AbstractUI<Gtkmm2ext::UIRequest>::call_slot (this=0x555557ef29a0, 
    invalidation=0x0, f=...) at ../libs/pbd/pbd/abstract_ui.inc.cc:462
#51 0x0000555555d97d2f in PBD::SignalWithCombiner<PBD::OptionalLastValue<void>, void()>::compositor (
    f=..., event_loop=0x555557ef29a0, ir=0x0) at ../libs/pbd/pbd/signals.h:321
#52 0x0000555555d95cde in PBD::SignalWithCombiner<PBD::OptionalLastValue<void>, void ()>::connect(PBD::ScopedConnectionList&, PBD::EventLoop::InvalidationRecord*, std::function<void ()> const&, PBD::EventLoop*)::{lambda()#1}::operator()() const (this=0x55555fe90ca0) at ../libs/pbd/pbd/signals.h:402
#53 0x0000555555d9f248 in std::__invoke_impl<void, PBD::SignalWithCombiner<PBD::OptionalLastValue<void>, void ()>::connect(PBD::ScopedConnectionList&, PBD::EventLoop::InvalidationRecord*, std::function<void ()> const&, PBD::EventLoop*)::{lambda()#1}&>(std::__invoke_other, PBD::SignalWithCombiner<PBD::OptionalLastValue<void>, void ()>::connect(PBD::ScopedConnectionList&, PBD::EventLoop::InvalidationRecord*, std::function<void ()> const&, PBD::EventLoop*)::{lambda()#1}&) (__f=...)
    at /usr/include/c++/10/bits/invoke.h:60
#54 0x0000555555d9c9ee in std::__invoke_r<void, PBD::SignalWithCombiner<PBD::OptionalLastValue<void>, void ()>::connect(PBD::ScopedConnectionList&, PBD::EventLoop::InvalidationRecord*, std::function<void ()> const&, PBD::EventLoop*)::{lambda()#1}&>(PBD::SignalWithCombiner<PBD::OptionalLastValue<void>, void ()>::connect(PBD::ScopedConnectionList&, PBD::EventLoop::InvalidationRecord*, std::function<void ()> const&, PBD::EventLoop*)::{lambda()#1}&) (__fn=...) at /usr/include/c++/10/bits/invoke.h:110
#55 0x0000555555d9a4f0 in std::_Function_handler<void (), PBD::SignalWithCombiner<PBD::OptionalLastValue<void>, void ()>::connect(PBD::ScopedConnectionList&, PBD::EventLoop::InvalidationRecord*, std::function<void ()> const&, PBD::EventLoop*)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (
    __functor=...) at /usr/include/c++/10/bits/std_function.h:291
#56 0x0000555555d97284 in std::function<void()>::operator() (this=0x7fffffff8c50)
    at /usr/include/c++/10/bits/std_function.h:622
#57 0x0000555555da6b14 in PBD::SignalWithCombiner<PBD::OptionalLastValue<void>, void()>::operator() (
    this=0x555557649920 <ARDOUR::GUIIdle>) at ../libs/pbd/pbd/signals.h:508
#58 0x0000555555da6195 in ArdourDialog::on_response (this=0x555557bed5f0, response_id=-5)
    at ../gtk2_ardour/ardour_dialog.cc:84
#59 0x00007ffff46c3644 in Gtk::Dialog_Class::response_callback (self=0x555558023440, p0=-5)
    at ../libs/tk/ytkmm/dialog.cc:178
#60 0x00007ffff3d347d2 in g_closure_invoke () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#61 0x00007ffff3d45e29 in ?? () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#62 0x00007ffff3d504ce in g_signal_emit_valist ()
   from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#63 0x00007ffff3d50b22 in g_signal_emit () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#64 0x00007ffff3ecd6a2 in IA__gtk_dialog_response (dialog=0x555558023440, response_id=-5)
    at ../libs/tk/ytk/gtkdialog.c:932
#65 0x00007ffff46c4017 in Gtk::Dialog::response (this=0x555557bed5f0, response_id=-5)
    at ../libs/tk/ytkmm/dialog.cc:306
#66 0x0000555556b13fff in StartupFSM::engine_running (this=0x55555799bc20)
    at ../gtk2_ardour/startup_fsm.cc:567
#67 0x0000555556b13d78 in StartupFSM::start_audio_midi_setup (this=0x55555799bc20)
    at ../gtk2_ardour/startup_fsm.cc:541
#68 0x0000555556b1279b in StartupFSM::dialog_response_handler (this=0x55555799bc20, response=-3, 
    dialog_id=StartupFSM::NewSessionDialog) at ../gtk2_ardour/startup_fsm.cc:274
#69 0x0000555556b19c70 in sigc::bound_mem_functor2<void, StartupFSM, int, StartupFSM::DialogID>::operator() (this=0x555557a9e6e0, _A_a1=@0x7fffffffa8c4: -3, 
    _A_a2=@0x555557a9e700: StartupFSM::NewSessionDialog)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/functors/mem_fun.h:2143
#70 0x0000555556b196f3 in sigc::adaptor_functor<sigc::bound_mem_functor2<void, StartupFSM, int, StartupFSM::DialogID> >::operator()<int const&, StartupFSM::DialogID&> (this=0x555557a9e6d8, 
    _A_arg1=@0x7fffffffa8c4: -3, _A_arg2=@0x555557a9e700: StartupFSM::NewSessionDialog)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:108
#71 0x0000555556b191cd in sigc::bind_functor<-1, sigc::bound_mem_functor2<void, StartupFSM, int, StartupFSM::DialogID>, StartupFSM::DialogID, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator()<int const&> (this=0x555557a9e6d0, _A_arg1=@0x7fffffffa8c4: -3)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/adaptors/bind.h:1136
#72 0x0000555556b1906f in sigc::internal::slot_call1<sigc::bind_functor<-1, sigc::bound_mem_functor2<void, StartupFSM, int, StartupFSM::DialogID>, StartupFSM::DialogID, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void, int>::call_it (rep=0x555557a9e6a0, a_1=@0x7fffffffa8c4: -3)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:170
#73 0x00007ffff46c4338 in sigc::slot1<void, int>::operator() (this=0x555557cca508, 
    _A_a1=@0x7fffffffa8c4: -3) at ../../gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:665
#74 0x00007ffff46c34ae in (anonymous namespace)::Dialog_signal_response_callback (
    self=0x5555580231c0, p0=-3, data=0x555557cca500) at ../libs/tk/ytkmm/dialog.cc:85
#75 0x00007ffff3d347d2 in g_closure_invoke () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#76 0x00007ffff3d4624a in ?? () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#77 0x00007ffff3d504ce in g_signal_emit_valist ()
   from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#78 0x00007ffff3d50b22 in g_signal_emit () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#79 0x00007ffff3ecd6a2 in IA__gtk_dialog_response (dialog=0x5555580231c0, response_id=-3)
    at ../libs/tk/ytk/gtkdialog.c:932
#80 0x00007ffff46c4017 in Gtk::Dialog::response (this=0x555557a661b0, response_id=-3)
    at ../libs/tk/ytkmm/dialog.cc:306
#81 0x0000555556a6c23b in SessionDialog::recent_row_activated (this=0x555557a661b0)
    at ../gtk2_ardour/session_dialog.cc:1188
#82 0x0000555556a727ec in sigc::bound_mem_functor2<void, SessionDialog, Gtk::TreePath const&, Gtk::TreeViewColumn*>::operator() (this=0x5555584ffc78, _A_a1=..., _A_a2=@0x7fffffffaea0: 0x555557bd7880)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/functors/mem_fun.h:2143
#83 0x0000555556a70e77 in sigc::adaptor_functor<sigc::bound_mem_functor2<void, SessionDialog, Gtk::TreePath const&, Gtk::TreeViewColumn*> >::operator()<Gtk::TreePath const&, Gtk::TreeViewColumn* const&>
    (this=0x5555584ffc70, _A_arg1=..., _A_arg2=@0x7fffffffaea0: 0x555557bd7880)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:108
#84 0x0000555556a6fb94 in sigc::internal::slot_call2<sigc::bound_mem_functor2<void, SessionDialog, Gtk::TreePath const&, Gtk::TreeViewColumn*>, void, Gtk::TreePath const&, Gtk::TreeViewColumn*>::call_it
    (rep=0x5555584ffc40, a_1=..., a_2=@0x7fffffffaea0: 0x555557bd7880)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:206
#85 0x00007ffff4772303 in sigc::slot2<void, Gtk::TreePath const&, Gtk::TreeViewColumn*>::operator() (
    this=0x55555794a0f8, _A_a1=..., _A_a2=@0x7fffffffaea0: 0x555557bd7880)
    at ../../gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:798
#86 0x00007ffff476d571 in (anonymous namespace)::TreeView_signal_row_activated_callback (
    self=0x555557a70530, p0=0x555557bec7c0, p1=0x5555579808e0, data=0x55555794a0f0)
    at ../libs/tk/ytkmm/treeview.cc:550
#87 0x00007ffff3f74c7a in _gtk_marshal_VOID__BOXED_OBJECT (closure=0x555557a96f10, return_value=0x0, 
    n_param_values=3, param_values=0x7fffffffb100, invocation_hint=0x7fffffffb0a0, marshal_data=0x0)
    at ../libs/tk/ytk/gtkmarshalers.c:1338
#88 0x00007ffff3d347d2 in g_closure_invoke () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#89 0x00007ffff3d4624a in ?? () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#90 0x00007ffff3d504ce in g_signal_emit_valist ()
   from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#91 0x00007ffff3d50b22 in g_signal_emit () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#92 0x00007ffff40c6107 in IA__gtk_tree_view_row_activated (tree_view=0x555557a70530, 
    path=0x555557bee400, column=0x5555579808e0) at ../libs/tk/ytk/gtktreeview.c:11818
#93 0x00007ffff40b0935 in gtk_tree_view_button_press (widget=0x555557a70530, event=0x555557cecab0)
    at ../libs/tk/ytk/gtktreeview.c:2887
#94 0x00007ffff47805bf in Gtk::Widget_Class::button_press_event_callback (self=0x555557a70530, 
    p0=0x555557cecab0) at ../libs/tk/ytkmm/widget.cc:4307
#95 0x00007ffff3f728bf in _gtk_marshal_BOOLEAN__BOXED (closure=0x555557f67330, 
    return_value=0x7fffffffb6f0, n_param_values=2, param_values=0x7fffffffb7a0, 
    invocation_hint=0x7fffffffb740, 
    marshal_data=0x7ffff47804d4 <Gtk::Widget_Class::button_press_event_callback(_GtkWidget*, _GdkEventButton*)>) at ../libs/tk/ytk/gtkmarshalers.c:84
#96 0x00007ffff3d347d2 in g_closure_invoke () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#97 0x00007ffff3d45e29 in ?? () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#98 0x00007ffff3d4fbb5 in g_signal_emit_valist ()
   from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#99 0x00007ffff3d50b22 in g_signal_emit () from /opt/Ardour-9.0.rc1.42-dbg/lib/libgobject-2.0.so.0
#100 0x00007ffff40ea24a in gtk_widget_event_internal (widget=0x555557a70530, event=0x555557cecab0)
    at ../libs/tk/ytk/gtkwidget.c:5058
#101 0x00007ffff40e9d4c in IA__gtk_widget_event (widget=0x555557a70530, event=0x555557cecab0)
    at ../libs/tk/ytk/gtkwidget.c:4846
#102 0x00007ffff3f70926 in IA__gtk_propagate_event (widget=0x555557a70530, event=0x555557cecab0)
    at ../libs/tk/ytk/gtkmain.c:2457
#103 0x00007ffff3f6f221 in IA__gtk_main_do_event (event=0x555557cecab0)
    at ../libs/tk/ytk/gtkmain.c:1607
#104 0x00007ffff4d37198 in gdk_event_dispatch (source=0x555557ef1f00, callback=0x0, user_data=0x0)
    at ../libs/tk/ydk/x11/gdkevents-x11.c:2541
#105 0x00007ffff42fda73 in g_main_context_dispatch ()
   from /opt/Ardour-9.0.rc1.42-dbg/lib/libglib-2.0.so.0
#106 0x00007ffff42fdcf8 in ?? () from /opt/Ardour-9.0.rc1.42-dbg/lib/libglib-2.0.so.0
#107 0x00007ffff42fe023 in g_main_loop_run () from /opt/Ardour-9.0.rc1.42-dbg/lib/libglib-2.0.so.0
#108 0x00007ffff3f6e949 in IA__gtk_main () at ../libs/tk/ytk/gtkmain.c:1213
#109 0x00007ffff46f643d in Gtk::Main::run_impl (this=0x555557efa2d0) at ../libs/tk/ytkmm/main.cc:537
#110 0x00007ffff46f6245 in Gtk::Main::run () at ../libs/tk/ytkmm/main.cc:480
#111 0x00007ffff51d0af8 in Gtkmm2ext::UI::run (this=0x555557ef29a0, old_receiver=...)
    at ../libs/gtkmm2ext/gtk_ui.cc:320
#112 0x0000555556486976 in main (argc=1, argv=0x7fffffffc2d8) at ../gtk2_ardour/main.cc:467
(gdb) 
ard9-rc1.42-bt.txt (21,156 bytes)   
ard9-rc1.42git-bt.txt (10,042 bytes)   
Set cursor set to default

Thread 1 "ArdourGUI" received signal SIGUSR2, User defined signal 2.
0x00007ffff3f8c3cc in __pthread_kill_implementation () from /lib64/libc.so.6
Missing rpms, try: dnf --enablerepo='*debug*' install flac-libs-debuginfo-1.5.0-5.fc43.x86_64 fontconfig-debuginfo-2.17.0-3.fc43.x86_64 glib2-debuginfo-2.86.3-1.fc43.x86_64 libogg-debuginfo-1.3.6-2.fc43.x86_64 pangomm-debuginfo-2.46.4-4.fc43.x86_64 glibmm2.4-debuginfo-2.66.8-2.fc43.x86_64 cairomm-debuginfo-1.14.5-12.fc43.x86_64 libsigc++20-debuginfo-2.12.1-6.fc43.x86_64 pango-debuginfo-1.57.0-1.fc43.x86_64 cairo-debuginfo-1.18.4-2.fc43.x86_64 harfbuzz-debuginfo-11.5.1-1.fc43.x86_64 libcurl-debuginfo-8.15.0-4.fc43.x86_64 openssl-libs-debuginfo-3.5.4-1.fc43.x86_64 fftw-libs-single-debuginfo-3.3.10-16.fc43.x86_64 liblo-debuginfo-0.32-5.fc43.x86_64 taglib-debuginfo-1.13.1-6.fc43.x86_64 libxml2-debuginfo-2.12.10-5.fc43.x86_64 lilv-libs-debuginfo-0.24.26-7.fc43.x86_64 sord-debuginfo-0.16.18-2.fc43.x86_64 serd-debuginfo-0.32.4-2.fc43.x86_64 rubberband-libs-debuginfo-4.0.0-4.fc43.x86_64 fftw-libs-double-debuginfo-3.3.10-16.fc43.x86_64 libsamplerate-debuginfo-0.2.2-11.fc43.x86_64 aubio-lib-debuginfo-0.4.9-30.fc43.x86_64 liblrdf-debuginfo-0.5.0-33.fc43.x86_64 libarchive-debuginfo-3.8.4-1.fc43.x86_64 vamp-plugin-sdk-debuginfo-2.10-3.fc42.x86_64 freetype-debuginfo-2.13.3-3.fc43.x86_64 libpng-debuginfo-1.6.53-1.fc43.x86_64 libusb1-debuginfo-1.0.29-4.fc43.x86_64 libX11-debuginfo-1.8.12-1.fc43.x86_64 libstdc++-debuginfo-15.2.1-4.fc43.x86_64 glibc-debuginfo-2.42-4.fc43.x86_64 libgcc-debuginfo-15.2.1-4.fc43.x86_64 libsndfile-debuginfo-1.2.2-10.fc43.x86_64 libltc-debuginfo-1.3.2-9.fc43.x86_64 fluidsynth-libs-debuginfo-2.5.1-1.fc43.x86_64 pulseaudio-libs-debuginfo-17.0-7.fc43.x86_64 libXext-debuginfo-1.3.6-4.fc43.x86_64 libXinerama-debuginfo-1.1.5-9.fc43.x86_64 libXrandr-debuginfo-1.5.4-6.fc43.x86_64 pcre2-debuginfo-10.47-1.fc43.x86_64 fribidi-debuginfo-1.0.16-3.fc43.x86_64 libthai-debuginfo-0.1.29-11.fc43.x86_64 zlib-ng-compat-debuginfo-2.3.2-1.fc43.x86_64 libXrender-debuginfo-0.9.12-3.fc43.x86_64 libxcb-debuginfo-1.17.0-6.fc43.x86_64 pixman-debuginfo-0.46.2-2.fc43.x86_64 graphite2-debuginfo-1.3.14-19.fc43.x86_64 libffi-debuginfo-3.5.2-1.fc43.x86_64 libnghttp2-debuginfo-1.66.0-2.fc43.x86_64 libidn2-debuginfo-2.3.8-2.fc43.x86_64 openldap-debuginfo-2.6.10-4.fc43.x86_64 libssh-debuginfo-0.11.3-1.fc43.x86_64 libpsl-debuginfo-0.21.5-6.fc43.x86_64 krb5-libs-debuginfo-1.21.3-7.fc43.x86_64 libbrotli-debuginfo-1.2.0-1.fc43.x86_64 xz-libs-debuginfo-5.8.1-4.fc43.x86_64 sratom-debuginfo-0.6.18-2.fc43.x86_64 zix-debuginfo-0.8.0-1.fc43.x86_64 raptor2-debuginfo-2.0.15-49.fc43.x86_64 libacl-debuginfo-2.3.2-4.fc43.x86_64 libzstd-debuginfo-1.5.7-2.fc43.x86_64 lz4-libs-debuginfo-1.10.0-3.fc43.x86_64 bzip2-libs-debuginfo-1.0.8-21.fc43.x86_64 libmount-debuginfo-2.41.1-17.fc43.x86_64 libselinux-debuginfo-3.9-5.fc43.x86_64 systemd-libs-debuginfo-258.2-1.fc43.x86_64 gsm-debuginfo-1.0.23-1.fc43.x86_64 libvorbis-debuginfo-1.3.7-13.fc43.x86_64 opus-debuginfo-1.5.2-3.fc43.x86_64 mpg123-libs-debuginfo-1.32.10-2.fc43.x86_64 lame-libs-debuginfo-3.100-20.fc43.x86_64 libgomp-debuginfo-15.2.1-4.fc43.x86_64 alsa-lib-debuginfo-1.2.15-4.fc43.x86_64 pipewire-jack-audio-connection-kit-libs-debuginfo-1.4.9-1.fc43.x86_64 pipewire-libs-debuginfo-1.4.9-1.fc43.x86_64 dbus-libs-debuginfo-1.16.0-4.fc43.x86_64 readline-debuginfo-8.3-2.fc43.x86_64 libdatrie-debuginfo-0.2.13-12.fc43.x86_64 libXau-debuginfo-1.0.12-3.fc43.x86_64 libunistring-debuginfo-1.1-10.fc43.x86_64 libevent-debuginfo-2.1.12-16.fc43.x86_64 cyrus-sasl-lib-debuginfo-2.1.28-33.fc43.x86_64 libcom_err-debuginfo-1.47.3-2.fc43.x86_64 keyutils-libs-debuginfo-1.6.3-6.fc43.x86_64 libicu-debuginfo-77.1-1.fc43.x86_64 libxslt-debuginfo-1.1.43-5.fc43.x86_64 yajl-debuginfo-2.1.0-38.fc43.x86_64 libattr-debuginfo-2.5.2-6.fc43.x86_64 libblkid-debuginfo-2.41.1-17.fc43.x86_64 libcap-debuginfo-2.76-3.fc43.x86_64 ncurses-libs-debuginfo-6.5-7.20250614.fc43.x86_64 libasyncns-debuginfo-0.8-31.fc43.x86_64 libxcrypt-debuginfo-4.5.2-1.fc43.x86_64 libwebsockets-debuginfo-4.4.2-1.fc43.x86_64 libXi-devel-debuginfo-1.8.2-3.fc43.x86_64 gvfs-client-debuginfo-1.58.0-1.fc43.x86_64 libXcursor-debuginfo-1.2.3-3.fc43.x86_64 libXfixes-debuginfo-6.0.1-6.fc43.x86_64 ladspa-swh-plugins-debuginfo-0.4.17-19.fc43.x86_64 ladspa-blop-plugins-debuginfo-0.2.8-39.fc41.x86_64 ladspa-cmt-plugins-debuginfo-1.16-34.fc43.x86_64 ladspa-debuginfo-1.17-8.fc43.x86_64 ladspa-vco-plugins-debuginfo-0.3.0-41.fc43.x86_64 ladspa-tap-plugins-debuginfo-0.7.0-38.fc43.x86_64 ladspa-zam-plugins-debuginfo-4.4-6.fc43.x86_64 ladspa-amb-plugins-debuginfo-0.8.1-18.fc43.x86_64 ladspa-mcp-plugins-debuginfo-0.4.0-36.fc43.x86_64 ladspa-rubberband-plugins-debuginfo-4.0.0-4.fc43.x86_64 ladspa-rev-plugins-debuginfo-0.8.1-1.fc43.x86_64 lsp-plugins-ladspa-debuginfo-1.2.24-1.fc43.x86_64 ladspa-autotalent-plugins-debuginfo-0.2-51.fc43.x86_64 ladspa-fil-plugins-debuginfo-0.3.0-35.fc43.x86_64
(gdb) bt
#0  0x00007ffff3f8c3cc in __pthread_kill_implementation () at /lib64/libc.so.6
#1  0x00007ffff3f3218e in raise () at /lib64/libc.so.6
#2  0x00007ffff7eafed2 in Temporal::superclock_ticks_per_second ()
    at ../libs/temporal/temporal/superclock.h:40
#3  Temporal::samples_to_superclock (samples=0, sr=48000)
    at ../libs/temporal/temporal/superclock.h:49
#4  Temporal::timepos_t::timepos_t
    (this=this@entry=0x7fffffffa4d0, s=s@entry=0, this=<optimized out>, s=<optimized out>)
    at ../libs/temporal/timeline.cc:490
#5  0x00000000009e1761 in SelectionMarker::SelectionMarker
    (this=this@entry=0xa50e760, editor=..., parent=..., color_name="selection", type=type@entry=ArdourMarker::SelectionStart, this=<optimized out>, editor=<optimized out>, parent=<optimized out>, color_name=<optimized out>, type=<optimized out>) at ../gtk2_ardour/marker.cc:771
#6  0x000000000075c366 in Editor::initialize_canvas() [clone .constprop.0]
    (this=this@entry=0x27ebe40) at ../gtk2_ardour/editor_canvas.cc:257
#7  0x00000000006ef610 in Editor::Editor (this=0x27ebe40, this=<optimized out>)
    at ../gtk2_ardour/editor.cc:440
#8  0x00000000005cd371 in ARDOUR_UI::create_editor (this=0x1db0140)
    at ../gtk2_ardour/ardour_ui_ed.cc:105
#9  ARDOUR_UI::setup_windows (this=0x1db0140) at ../gtk2_ardour/ardour_ui_dependents.cc:263
#10 0x000000000059ef46 in ARDOUR_UI::post_engine (this=0x1db0140) at ../gtk2_ardour/ardour_ui.cc:670
#11 0x00000000005a2c15 in ARDOUR_UI::engine_running (this=this@entry=0x1db0140, cnt=cnt@entry=0)
    at ../gtk2_ardour/ardour_ui.cc:594
#12 0x00000000005a2d1f in ARDOUR_UI::attach_to_engine (this=0x1db0140)
    at ../gtk2_ardour/ardour_ui.cc:575
#13 0x0000000000d2ca18 in StartupFSM::engine_running (this=0x19f75a0)
    at ../gtk2_ardour/ardour_ui.h:271
#14 0x0000000000d2cc98 in StartupFSM::start_audio_midi_setup (this=0x19f75a0)
    at ../gtk2_ardour/startup_fsm.cc:541
#15 0x00007ffff685961d in sigc::slot1<void, Glib::RefPtr<Gtk::Action> const&>::operator()
    (this=0x249b3f8, _A_a1=...) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:675
#16 (anonymous namespace)::Dialog_signal_response_callback
    (self=<optimized out>, p0=<optimized out>, data=0x249b3f0) at ../libs/tk/ytkmm/dialog.cc:85
#17 0x00007ffff5dcdc3c in g_closure_invoke () at /lib64/libgobject-2.0.so.0
#18 0x00007ffff5dec855 in signal_emit_unlocked_R.isra.0 () at /lib64/libgobject-2.0.so.0
#19 0x00007ffff5dee2b6 in signal_emit_valist_unlocked () at /lib64/libgobject-2.0.so.0
#20 0x00007ffff5dee528 in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0
#21 0x00007ffff5dee5e3 in g_signal_emit () at /lib64/libgobject-2.0.so.0
#22 0x0000000000cd576f in SessionDialog::open_button_pressed (this=0x1abb300, ev=<optimized out>)
    at ../gtk2_ardour/session_dialog.cc:633
#23 0x00007ffff68e8610 in sigc::slot1<bool, Gtk::TreeIter const&>::operator()
    (this=0x219c1c8, _A_a1=...) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:675
#24 (anonymous namespace)::Widget_signal_button_press_event_callback
    (self=<optimized out>, p0=<optimized out>, data=0x219c1c0) at ../libs/tk/ytkmm/widget.cc:1157
--Type <RET> for more, q to quit, c to continue without paging--
#25 0x00007ffff64e05c6 in gtk_marshal_BOOLEAN__POINTER
    (closure=0x219c240, return_value=0x7fffffffc960, param_values=0x7fffffffc9f0, marshal_data=<optimized out>, invocation_hint=<optimized out>, n_param_values=<optimized out>)
    at ../libs/tk/ytk/gtkmarshal.c:121
#26 0x00007ffff5dcdc3c in g_closure_invoke () at /lib64/libgobject-2.0.so.0
#27 0x00007ffff5dec27a in signal_emit_unlocked_R.isra.0 () at /lib64/libgobject-2.0.so.0
#28 0x00007ffff5deda8c in signal_emit_valist_unlocked () at /lib64/libgobject-2.0.so.0
#29 0x00007ffff5dee528 in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0
#30 0x00007ffff5dee5e3 in g_signal_emit () at /lib64/libgobject-2.0.so.0
#31 0x00007ffff661d87d in gtk_widget_event_internal (widget=0x219bad0, event=0x22af410)
    at ../libs/tk/ytk/gtkwidget.c:5058
#32 0x00007ffff64e534b in IA__gtk_propagate_event (widget=0x219bad0, event=0x22af410)
    at ../libs/tk/ytk/gtkmain.c:2457
#33 IA__gtk_propagate_event (widget=<optimized out>, event=0x22af410)
    at ../libs/tk/ytk/gtkmain.c:2394
#34 0x00007ffff64e9e2b in IA__gtk_main_do_event (event=0x22af410) at ../libs/tk/ytk/gtkmain.c:1646
#35 0x00007ffff6c6c7e8 in gdk_event_dispatch
    (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>)
    at ../libs/tk/ydk/x11/gdkevents-x11.c:2541
#36 0x00007ffff62492a3 in g_main_context_dispatch_unlocked.lto_priv () at /lib64/libglib-2.0.so.0
#37 0x00007ffff62521f8 in g_main_context_iterate_unlocked.isra () at /lib64/libglib-2.0.so.0
#38 0x00007ffff625249f in g_main_loop_run () at /lib64/libglib-2.0.so.0
#39 0x00007ffff64e9321 in IA__gtk_main () at ../libs/tk/ytk/gtkmain.c:1213
#40 0x00007ffff6e03994 in Gtkmm2ext::UI::run (this=this@entry=0x1db0140, old_receiver=...)
    at ../libs/gtkmm2ext/gtk_ui.cc:320
#41 0x0000000000550795 in main (argc=<optimized out>, argv=<optimized out>)
    at ../gtk2_ardour/main.cc:467
(gdb)
ard9-rc1.42git-bt.txt (10,042 bytes)   

nils

2025-12-12 18:39

reporter   ~0029570

The backtrace with “git” in the name is from my local build, the other from the nightly.

x42

2025-12-12 20:24

administrator   ~0029571

Weird. I open existing sessions countless times each day without issue, and create many new "empty" ones as well.
it is unclear how that state can be reached without samplerate being set.

What backend do you use?

nils

2025-12-12 22:54

reporter   ~0029572

I build all backends but didn’t select one, so I assume it’s JACK.

It may be a couple of factors coming together which abet the crash, for instance I haven’t been able to reproduce it if I cleaned out .config/ardour9 and didn’t migrate my old configuration. I’ll attach a tarball of my configuration directory, with this I could do run `Ardour9`, "New" -> "Empty Template" -> "Open" and confirm the warning about restricted lockable memory (this might or might not be related, I’ll have to log out and in again to check).
ardour9-config.tar.xz (51,200 bytes)

nils

2025-12-12 23:14

reporter   ~0029573

In the meantime I could try it out with `ulimit -l unlimited` and couldn’t reproduce it there – also I was asked for the backend and selected JACK, so it is that. After `ulimit -l 8192` and confirming the respective warning dialog quickly, I could reproduce the crash reliably. If I waited a couple of seconds, it didn’t crash, so I guess it could be a race condition between initialization code and GUI handling running in parallel threads.

Issue History

Date Modified Username Field Change
2025-12-12 18:37 nils New Issue
2025-12-12 18:37 nils File Added: ard9-rc1.42-bt.txt
2025-12-12 18:37 nils File Added: ard9-rc1.42git-bt.txt
2025-12-12 18:39 nils Note Added: 0029570
2025-12-12 20:24 x42 Note Added: 0029571
2025-12-12 22:54 nils Note Added: 0029572
2025-12-12 22:54 nils File Added: ardour9-config.tar.xz
2025-12-12 23:14 nils Note Added: 0029573