View Issue Details

IDProjectCategoryView StatusLast Update
0003811ardourbugspublic2020-04-19 20:15
Reportercth103 Assigned Tocth103  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version3.0-beta1 
Summary0003811: Crash on loading session with rec-enabled tracks whose source files are missing
DescriptionTake a session which has a rec-enabled track, save it and remove its source files. Reload, select "skip" on loading the session, and then there is a crash.
TagsNo tags attached.

Activities

2011-03-01 18:03

 

bt1 (3,693 bytes)   
Program received signal SIGABRT, Aborted.
0xb7fe1416 in __kernel_vsyscall ()
(gdb) where
#0  0xb7fe1416 in __kernel_vsyscall ()
#1  0xb4a8e941 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb4a91e42 in abort () at abort.c:92
#3  0xb4a878e8 in __assert_fail (assertion=0x930c9d0 "px != 0", file=0x930c9a4 "/usr/include/boost/smart_ptr/shared_ptr.hpp", line=418, 
    function=0x930d020 "T* boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = ARDOUR::AudioFileSource]") at assert.c:81
#4  0x08bc4ef7 in boost::shared_ptr<ARDOUR::AudioFileSource>::operator-> (this=0xabc7f130) at /usr/include/boost/smart_ptr/shared_ptr.hpp:418
#5  0xb71203b8 in ARDOUR::AudioDiskstream::engage_record_enable (this=0xabc830f8) at ../libs/ardour/audio_diskstream.cc:1703
#6  0xb712017d in ARDOUR::AudioDiskstream::set_record_enabled (this=0xabc830f8, yn=true) at ../libs/ardour/audio_diskstream.cc:1674
#7  0xb75f4caa in ARDOUR::Track::set_record_enabled (this=0xabfd8710, yn=true, src=0xabfda258) at ../libs/ardour/track.cc:186
#8  0xb75f49d3 in ARDOUR::Track::RecEnableControllable::set_value (this=0xabfda258, val=1) at ../libs/ardour/track.cc:137
#9  0xb7ed8572 in PBD::Controllable::set_state (this=0xabfda258, node=...) at ../libs/pbd/controllable.cc:141
#10 0xb716cbe6 in ARDOUR::AudioTrack::_set_state (this=0xabfd8710, node=..., version=3000, call_base=true) at ../libs/ardour/audio_track.cc:247
#11 0xb716c78c in ARDOUR::AudioTrack::set_state (this=0xabfd8710, node=..., version=3000) at ../libs/ardour/audio_track.cc:204
#12 0xb756f8ea in ARDOUR::Session::XMLRouteFactory (this=0xa647200, node=..., version=3000) at ../libs/ardour/session_state.cc:1496
#13 0xb756f26b in ARDOUR::Session::load_routes (this=0xa647200, node=..., version=3000) at ../libs/ardour/session_state.cc:1444
#14 0xb756eb61 in ARDOUR::Session::set_state (this=0xa647200, node=..., version=3000) at ../libs/ardour/session_state.cc:1374
#15 0xb75672ab in ARDOUR::Session::second_stage_init (this=0xa647200) at ../libs/ardour/session_state.cc:318
#16 0xb74c7f71 in ARDOUR::Session::Session (this=0xa647200, eng=..., fullpath=..., snapshot_name=..., bus_profile=0x0, mix_template=...)
    at ../libs/ardour/session.cc:189
#17 0x08aeaab0 in ARDOUR_UI::load_session (this=0x9844b78, path=..., snap_name=..., mix_template=...) at ../gtk2_ardour/ardour_ui.cc:2719
#18 0x08aea696 in ARDOUR_UI::get_session_parameters (this=0x9844b78, quit_on_cancel=true, should_be_new=false, load_template=...)
    at ../gtk2_ardour/ardour_ui.cc:2656
#19 0x08ae1467 in ARDOUR_UI::startup (this=0x9844b78) at ../gtk2_ardour/ardour_ui.cc:703
#20 0x08b13cca in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator() (this=0x9b18c14) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#21 0x08b0cfae in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x9b18c10)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#22 0x08b0736e in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR_UI>, void>::call_it (rep=0x9b18bf8)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#23 0x08af0d28 in sigc::internal::signal_emit0<void, sigc::nil>::emit (impl=0x9b18ac0) at /usr/include/sigc++-2.0/sigc++/signal.h:776
#24 0x08afa002 in sigc::signal0<void, sigc::nil>::emit (this=0x9844bdc) at /usr/include/sigc++-2.0/sigc++/signal.h:2671
#25 0x08af59cd in sigc::signal0<void, sigc::nil>::operator() (this=0x9844bdc) at /usr/include/sigc++-2.0/sigc++/signal.h:2679
#26 0xb66756f4 in Gtkmm2ext::UI::run (this=0x9844b78, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:266
#27 0x08f46714 in main (argc=2, argv=0xbfffea24) at ../gtk2_ardour/main.cc:625
bt1 (3,693 bytes)   

paul

2011-03-02 17:56

administrator   ~0010257

appears fixed after removing the stub concept ...

cth103

2011-03-02 18:08

administrator   ~0010258

Indeed it does!

system

2020-04-19 20:15

developer   ~0022428

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2011-03-01 18:03 cth103 New Issue
2011-03-01 18:03 cth103 File Added: bt1
2011-03-01 18:03 cth103 cost => 0.00
2011-03-01 18:04 cth103 Target Version => 3.0-beta1
2011-03-02 17:56 paul Note Added: 0010257
2011-03-02 18:08 cth103 Note Added: 0010258
2011-03-02 18:08 cth103 Status new => resolved
2011-03-02 18:08 cth103 Resolution open => fixed
2011-03-02 18:08 cth103 Assigned To => cth103
2020-04-19 20:15 system Note Added: 0022428
2020-04-19 20:15 system Status resolved => closed