View Issue Details

IDProjectCategoryView StatusLast Update
0003440ardourbugspublic2020-04-19 20:14
Reporterousado Assigned Tocth103  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
Target Version3.0-beta1 
Summary0003440: MidiBuffer reservation fails ("MRB: Unable to reserve space in buffer") using automation in a MIDI track
DescriptionWhen using automation in a midi track, MidiRingBuffer::read tries to reserve 32718 bytes in a MidiBuffer, which only has a _capacity of 32716, which is the output of jack_midi_max_event_size (jack_port_get_buffer(midi_port, blocksize)), called on an empty MidiPort in audioengine.cc:245. It seems that this is the maximum size of a midibuffer jack assumes to be possibly required at the given blocksize.

Ardour then stops resonding, printing "MRB: Unable to reserve space in buffer, event skipped" to the console very often.
Additional Informationardour 3.0 svn Revision: 7736
TagsNo tags attached.

Activities

cth103

2010-09-07 12:07

administrator   ~0009009

Is it possible for you to upload the session that causes this problem?

2010-09-09 20:26

 

midiautomation.tar.gz (51,200 bytes)

ousado

2010-09-09 20:29

reporter   ~0009021

To trigger the problem, you have to switch the automation state to "Play", and start the transport.

cth103

2010-12-12 22:35

administrator   ~0009608

Thanks. I can't reproduce it here. Could you run Ardour in GDB and get a backtrace by hitting Ctrl-Z at the console when Ardour hangs (and then typing thread apply all bt into gdb)

cth103

2011-01-04 04:37

administrator   ~0009816

Closing this due to lack of feedback; please re-open if it is still a problem. Thanks!

system

2020-04-19 20:14

developer   ~0022216

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
2010-09-05 17:14 ousado New Issue
2010-09-05 19:08 cth103 cost => 0.00
2010-09-05 19:08 cth103 Target Version => 3.0-beta1
2010-09-07 12:07 cth103 Note Added: 0009009
2010-09-07 12:07 cth103 Status new => feedback
2010-09-09 20:26 ousado File Added: midiautomation.tar.gz
2010-09-09 20:29 ousado Note Added: 0009021
2010-12-12 22:35 cth103 Note Added: 0009608
2011-01-04 04:37 cth103 Note Added: 0009816
2011-01-04 04:37 cth103 Status feedback => resolved
2011-01-04 04:37 cth103 Resolution open => unable to reproduce
2011-01-04 04:37 cth103 Assigned To => cth103
2020-04-19 20:14 system Note Added: 0022216
2020-04-19 20:14 system Status resolved => closed