View Issue Details

IDCategoryLast Update
0007730bugs2019-03-01 15:48
ReportersoundboozeAssigned To 
Reproducibilityalways 
Status newResolutionopen 
PlatformSome Other LinuxOSSome Other LinuxOS Versionunknown
Product Version5.X git (version in description) 
Fixed in Version 
Summary0007730: Recording segmentation fault on MIDI multiple fan out tracks
DescriptionAudio recording crashed with segmentation fault on x42 avl drumkit - fan out tracks.

Suspect bug found:
- disk_writer.cc [DiskWriter::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sample,
                 double speed, pframes_t nframes, bool result_required)]

If i disabled/commented-out all the MIDI recording sources from the above function, it works just fine.

gcc (Debian 6.3.0-18+deb9u1)

[git] Ardour 6.0.pre0.1541 and probably previous/newer version too.
Debian Stretch (9.6 - 9.8)
Steps To Reproduce1 MIDI Track [x42 avl drumkit], 9 multiple fan-out tracks
1 Audio Track with jack port capture

Aiming for audio recording, I click transport record then Ardour suddenly crashed
Additional InformationAttached is the video snapshot that describes the situation.
TagsNo tags attached.

Activities

soundbooze

2019-03-01 07:32

reporter  

anehcd.mp4 (759,641 bytes)

soundbooze

2019-03-01 12:42

reporter   ~0020599

Here's the code snippet [disk_writer.cc] that produces the segmentation fault

if (ev.time() + rec_offset > rec_nframes) {
  break;
}

soundbooze

2019-03-01 15:48

reporter   ~0020600

Here's the correction from the above note:

_midi_buf - aka _midi_buf->write (event_time, ev.event_type(), ev.size(), ev.buffer());

was empty, while audio recording's running

Issue History

Date Modified Username Field Change
2019-03-01 07:32 soundbooze New Issue
2019-03-01 07:32 soundbooze File Added: anehcd.mp4
2019-03-01 12:42 soundbooze Note Added: 0020599
2019-03-01 15:48 soundbooze Note Added: 0020600