View Issue Details

IDCategoryLast Update
0008398bugs2020-09-07 12:02
Reportermartin9845Assigned To 
Reproducibilityalways 
Status newResolutionopen 
PlatformUbuntuOSLinuxOS Version(any)
Product Version6.2 
Fixed in Version 
Summary0008398: Crashing in project on load with jack_bufsize 128 and on MIDI events
DescriptionArdour6.2 is crashing in project with 2 scenarios. Loading with a smaller jack_bufsize and also when playing MIDI keyboard.
Project is small (2 audio tracks and using LV2 nstrument Yoshimi, Setbfree & Black Pearl Drumkit Multi)
Crashes appear to be related to JACK MIDI issues.

Crashing occurs on the current Ardour 6.2 build. I also built from Github and experienced same result.
Ardour6.2.249 (built using 6.2-249-g1a3da7e132 and GCC version 9.3.0)

--------------------
Scenario 1
--------------------
(Load crash)

Ardour crashing on opening project when jack_bufsize 128.
Just before crash Ardour outputs to console:

Reading orgran took 1784 microseconds, final size = 96
JACK HALTED: zombified

--------------------
Scenario 2
--------------------
(Crash on MIDI keyboard events)

Ardour crashing on MIDI event from controller keyboard (Arturia Keylab essential).
This appears in the console:

ardour-6.2.249: midiport.c:317: jack_midi_port_mixdown: Assertion `out_info->event_count == num_events - out_info->events_lost' failed.
ardour-6.2.249: midiport.c:317: jack_midi_port_mixdown: Assertion `out_info->event_count == num_events - out_info->events_lost' failed.
Steps To Reproduce--------------------
Scenario 1
--------------------
(Load crash)
set jack_bufsize 128
Attempt to load project


--------------------
Scenario 2
--------------------
(Crash on MIDI keyboard events)

set jack_bufsize 1024
load project
play about notes on MIDI keyboard
(crash)
Additional InformationConsole Output:

--------------------
Scenario 1
--------------------
(Load crash)

locate took 14866 usecs for 14 tracks = 1062 per track
Reading MIDI took 1338 microseconds, final size = 162
Reading MIDI 1 took 12334 microseconds, final size = 1666
Reading orgran took 1784 microseconds, final size = 96
JACK HALTED: zombified
Graph::engine_stopped. n_thread: 7
Graph::drop_threads() sema-counts: 0, 0, 1
[Thread 0x7fffb2f90700 (LWP 30964) exited]
[Thread 0x7fffb3011700 (LWP 30963) exited]
[Thread 0x7fffb3092700 (LWP 30962) exited]
[Thread 0x7fffb3113700 (LWP 30961) exited]
[Thread 0x7fffb3194700 (LWP 30960) exited]
[Thread 0x7fffb3215700 (LWP 30959) exited]
[Thread 0x7fffb3296700 (LWP 30958) exited]
[Thread 0x7fffc8187700 (LWP 30948) exited]
ardour-6.2.249: /usr/include/boost/smart_ptr/shared_ptr.hpp:734: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = ARDOUR::JackPort; typename boost::detail::sp_member_access<T>::type = ARDOUR::JackPort*]: Assertion `px != 0' failed.
--Type <RET> for more, q to quit, c to continue without paging--

Thread 1 "ArdourGUI" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.

--------------------
Scenario 2
--------------------
(Crash on MIDI keyboard events)

locate took 52579 usecs for 14 tracks = 3756 per track
locate took 2053 usecs for 14 tracks = 147 per track
locate took 42293 usecs for 14 tracks = 3021 per track
failed to deliver sustain-zero on channel 0 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 0 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 1 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 1 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 2 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 2 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 3 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 3 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 4 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 4 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 5 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 5 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 6 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 6 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 7 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 7 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 8 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 8 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 9 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 9 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 10 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 10 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 11 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 11 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 12 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 12 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 13 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 13 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 14 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 14 on port MIDI/midi_out 1
failed to deliver sustain-zero on channel 15 on port MIDI/midi_out 1
failed to deliver ALL NOTES OFF on channel 15 on port MIDI/midi_out 1
[Thread 0x7fffc8ea2700 (LWP 31145) exited]
locate took 47364 usecs for 14 tracks = 3383 per track
ardour-6.2.249: midiport.c:317: jack_midi_port_mixdown: Assertion `out_info->event_count == num_events - out_info->events_lost' failed.
ardour-6.2.249: midiport.c:317: jack_midi_port_mixdown: Assertion `out_info->event_count == num_events - out_info->events_lost' failed.
--Type <RET> for more, q to quit, c to continue without paging--

Thread 31 "RT-main-0x7fffb" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffb38d7700 (LWP 31155)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.



Tags6.2

Activities

martin9845

2020-09-06 09:48

reporter  

backtrace.scenario1.txt.gz (5,912 bytes)
backtrace.scenario2.txt.gz (5,870 bytes)

martin9845

2020-09-07 12:02

reporter   ~0025015

Also .. These crashes have only occurred when JACK is running prior to launching Ardour.

Issue History

Date Modified Username Field Change
2020-09-06 09:48 martin9845 New Issue
2020-09-06 09:48 martin9845 Tag Attached: 6.2
2020-09-06 09:48 martin9845 File Added: backtrace.scenario1.txt.gz
2020-09-06 09:48 martin9845 File Added: backtrace.scenario2.txt.gz
2020-09-07 12:02 martin9845 Note Added: 0025015