View Issue Details

IDProjectCategoryView StatusLast Update
0007511ardourbugspublic2017-11-25 03:24
Reporternstewart Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
Platformx86_64OSUbuntuOS Version16.04.3
Product Version5.12 
Summary0007511: crash loading prior session with MIDI
DescriptionI can record MIDI notes, which show in the region. I can import MIDI files which show in a region. But on playback I have no activity on the MIDI meter, and no activity in the MIDI monitor.

If I hook up my keyboard to a-fluidsynth or CalfFluidsynth, the plugin plays sounds which can be heard and appear on the MIDI monitor and MIDI channel meter (edit view). I've verified that all notes are on channel 1, there is a playable sound for that channel and the same notes showing in the region verify that the patch selected will sound for that range. If I record MIDI from the keyboard, it too shows up in the region but won't play.

Finally, after some length of time, Ardour may crash by itself. Regardless, if Ardour is restarted and you try to open this session, it crashes with the following:


ardour-5.10.375: /usr/include/boost/smart_ptr/shared_ptr.hpp:648: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = ARDOUR::MidiTrack; typename boost::detail::sp_member_access<T>::type = ARDOUR::MidiTrack*]: Assertion `px != 0' failed.
Aborted (core dumped)
nps@castries:~/Workspace/ardour$ watched PID no longer exists - releasing device.

#0 0x00007f0015270428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
0000001 0x00007f001527202a in __GI_abort () at abort.c:89
#2 0x00007f0015268bd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x1300a0c "px != 0", file=file@entry=0x13009e0 "/usr/include/boost/smart_ptr/shared_ptr.hpp", line=line@entry=648,
    function=function@entry=0x1300c00 <boost::shared_ptr<ARDOUR::MidiTrack>::operator->() const::__PRETTY_FUNCTION__> "typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = ARDOUR::MidiTrack; typename boost::detail::sp_member_access<T>::type = ARDOUR::MidiTrack*]") at assert.c:92
#3 0x00007f0015268c82 in __GI___assert_fail (assertion=0x1300a0c "px != 0", file=0x13009e0 "/usr/include/boost/smart_ptr/shared_ptr.hpp", line=648,
    function=0x1300c00 <boost::shared_ptr<ARDOUR::MidiTrack>::operator->() const::__PRETTY_FUNCTION__> "typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = ARDOUR::MidiTrack; typename boost::detail::sp_member_access<T>::type = ARDOUR::MidiTrack*]") at assert.c:101
0000004 0x0000000000965855 in boost::shared_ptr<ARDOUR::MidiTrack>::operator-> (this=0x7ffed65177f0) at /usr/include/boost/smart_ptr/shared_ptr.hpp:648
0000005 0x0000000000d14b61 in MidiTimeAxisView::build_automation_action_menu (this=0x3c69770, for_selection=false) at ../gtk2_ardour/midi_time_axis.cc:600
#6 0x0000000000d13c66 in MidiTimeAxisView::model_changed (this=0x3c69770, model="Generic") at ../gtk2_ardour/midi_time_axis.cc:467
#7 0x0000000000d11ac0 in MidiTimeAxisView::set_route (this=0x3c69770, rt=...) at ../gtk2_ardour/midi_time_axis.cc:276
0000008 0x00000000008dcacd in Editor::add_stripables (this=0x3b7d320, sl=...) at ../gtk2_ardour/editor.cc:5392
0000009 0x0000000000a5f17f in EditorRoutes::initial_display (this=0x3cf4420) at ../gtk2_ardour/editor_routes.cc:1499
0000010 0x0000000000a5637d in EditorRoutes::set_session (this=0x3cf4420, s=0x4c5a280) at ../gtk2_ardour/editor_routes.cc:386
0000011 0x00000000008bb204 in Editor::set_session (this=0x3b7d320, t=0x4c5a280) at ../gtk2_ardour/editor.cc:1333
0000012 0x000000000079fb9b in ARDOUR_UI::connect_dependents_to_session (this=0x324b4b0, s=0x4c5a280) at ../gtk2_ardour/ardour_ui_dependents.cc:119
0000013 0x00000000007a69a8 in ARDOUR_UI::set_session (this=0x324b4b0, s=0x4c5a280) at ../gtk2_ardour/ardour_ui_dialogs.cc:187
0000014 0x000000000072e500 in ARDOUR_UI::load_session (this=0x324b4b0, path="/home/nps/sessions/a", snap_name="a", mix_template="") at ../gtk2_ardour/ardour_ui.cc:3746
#15 0x0000000000725b37 in ARDOUR_UI::open_session (this=0x324b4b0) at ../gtk2_ardour/ardour_ui.cc:2016

On branch 5.12
commit 4c1feac16e19ff3368c70ee1234bc8d6e6ad6901

Steps To ReproduceAttempt to play MIDI
TagsNo tags attached.

Activities

nstewart

2017-11-25 03:24

reporter   ~0020095

invalid bug

Issue History

Date Modified Username Field Change
2017-11-20 04:04 nstewart New Issue
2017-11-25 03:24 nstewart Note Added: 0020095
2017-11-25 03:24 nstewart Status new => closed
2017-11-25 03:24 nstewart Resolution open => unable to reproduce