View Issue Details

IDCategoryLast Update
0007799bugs2019-08-26 19:54
ReporterunfaAssigned To 
Reproducibilityhave not tried 
Status newResolutionopen 
Product Version5.12 
Fixed in Version 
Summary0007799: MIDI Ring Buffer crash
DescriptionI've got this crash while pressing Ctrl+Alt+P (MIDI Panic).

I'm attaching GDB bakcktrace.
Additional Informationardour-5.12.0: ../libs/ardour/midi_ring_buffer.cc:87: size_t ARDOUR::MidiRingBuffer<T>::read(ARDOUR::MidiBuffer&, ARDOUR::framepos_t, ARDOUR::framepos_t, ARDOUR::framecnt_t, bool) [with T = long int; size_t = long unsigned int; ARDOUR::framepos_t = long int; ARDOUR::framecnt_t = long int]: Assertion `r' failed.

Thread 87 "ardour-5.12.0" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffd457b700 (LWP 23337)]
0x00007fffec998755 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007fffec998755 in raise () from /usr/lib/libc.so.6
0000001 0x00007fffec983851 in abort () from /usr/lib/libc.so.6
#2 0x00007fffec983727 in __assert_fail_base.cold () from /usr/lib/libc.so.6
#3 0x00007fffec991026 in __assert_fail () from /usr/lib/libc.so.6
0000004 0x00007ffff6e509ca in ARDOUR::MidiRingBuffer<long>::read (this=0x2477f990, dst=..., start=0, end=1, offset=255, stop_on_overflow_in_dst=true) at ../libs/ardour/midi_ring_buffer.cc:87
0000005 0x00007ffff6e6f47c in ARDOUR::MidiTrack::write_out_of_band_data (this=0x2477e9e0, bufs=..., nframes=256) at ../libs/ardour/midi_track.cc:598
#6 0x00007ffff6f7d424 in ARDOUR::Route::passthru_silence (this=0x2477e9e0, start_frame=5852160, end_frame=5852416, nframes=256, declick=0) at ../libs/ardour/route.cc:627
#7 0x00007ffff712d852 in ARDOUR::Track::no_roll (this=0x2477e9e0, nframes=256, start_frame=5852160, end_frame=5852416, session_state_changing=false) at ../libs/ardour/track.cc:480
0000008 0x00007ffff6e6e601 in ARDOUR::MidiTrack::no_roll (this=0x2477e9e0, nframes=256, start_frame=5852160, end_frame=5852416, state_changing=false) at ../libs/ardour/midi_track.cc:466
0000009 0x00007ffff6bb1cbd in ARDOUR::Graph::process_one_route (this=0x8b16c00, route=0x2477e9e0) at ../libs/ardour/graph.cc:608
0000010 0x00007ffff6bb741e in ARDOUR::GraphNode::process (this=0x2477ee80) at ../libs/ardour/graphnode.cc:79
0000011 0x00007ffff6baffd5 in ARDOUR::Graph::run_one (this=0x8b16c00) at ../libs/ardour/graph.cc:420
0000012 0x00007ffff6bb0204 in ARDOUR::Graph::helper_thread (this=0x8b16c00) at ../libs/ardour/graph.cc:438
0000013 0x00007ffff6bb6a5b in boost::_mfi::mf0<void, ARDOUR::Graph>::operator() (this=0x7fffd457ad38, p=0x8b16c00) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/bind/mem_fn_template.hpp:49
0000014 0x00007ffff6bb6156 in boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> >::operator()<boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list0> (this=0x7fffd457ad48, f=..., a=...)
    at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/bind/bind.hpp:253
#15 0x00007ffff6bb55c9 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >::operator() (this=0x7fffd457ad38)
    at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/bind/bind_template.hpp:20
0000016 0x00007ffff6bb4e4b in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >, void>::invoke (function_obj_ptr=...)
    at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:153
#17 0x0000000000723502 in boost::function0<void>::operator() (this=0x7fffd457ad30) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:760
0000018 0x00007fffd6b337ef in ARDOUR::JACKAudioBackend::_start_process_thread (arg=0x936d6b0) at ../libs/backends/jack/jack_audiobackend.cc:936
0000019 0x00007fffef41c57f in start_thread () from /usr/lib/libpthread.so.0
0000020 0x00007fffeca5a0e3 in clone () from /usr/lib/libc.so.6
(gdb)
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-08-26 19:54 unfa New Issue