View Issue Details

IDProjectCategoryView StatusLast Update
0008044ardourbugspublic2020-06-30 13:05
Reporterrondo Assigned Topaul  
PrioritynormalSeverityminorReproducibilityrandom
Status feedbackResolutionopen 
PlatformLinuxOSDebianOS Version10
Product Version5.12 
Summary0008044: Operations on audio regions causes crash
DescriptionOccasionally when I perform a Time Stretch or Reverse operation on an audio region, I get a segfault and Ardour crashes without giving a recovery prompt when it starts back up. I can't reproduce this reliably, but I will say, when it does happen and I start Ardour up and try to time stretch that same region again, it will usually crash again in the same way. So I suspect it has something to do with the region's pointer to the associated audio file getting messed up somehow, or the audio file management is moving the audio file in memory and the region's pointer is not getting updated.

This has happened dozens of times, often enough that I've formed a habit of saving before I perform a reverse or time stretch operation (not a bad habit if it makes me save more often!).

I usually don't run Ardour from the terminal, so I don't usually get output after the crash. This time, I ran from terminal and managed to capture a crash caused by time stretching. I don't think it caught anything very telling, but here is the output in any case:

RBEffect: source region: position = 15372288, start = 0, length = 332800, ancestral_start = 0, ancestral_length = 180224, stretch 1.84659, shift 0.541538
StretchCalculator::calculate(): inputDuration 180224, ratio 0.999998, outputDuration 180224 (rounded up to 180480), df size 705, increment 256
total input increment = 180480 (= 705 chunks), output = 180480, ratio = 1, ideal output 180480
(region total = 180480)
2 threads created
RubberBandStretcher::~RubberBandStretcher: joining (channel 0x7f399c09cc40)
RubberBandStretcher::~RubberBandStretcher: joining (channel 0x7f399c09e170)
WARNING: OnsetDetector::initialise: Possibly sub-optimal step size for this sample rate: 512 (wanted 557)
WARNING: OnsetDetector::initialise: Possibly sub-optimal block size for this sample rate: 1024 (wanted 1114)
WARNING: OnsetDetector::initialise: Possibly sub-optimal step size for this sample rate: 512 (wanted 557)
WARNING: OnsetDetector::initialise: Possibly sub-optimal block size for this sample rate: 1024 (wanted 1114)
Segmentation fault
Tagscrash, region

Activities

paul

2020-04-24 21:50

administrator   ~0023904

Please verify that this bug exists in 6.0-rc1. If you can't or don't want to do that, please close the bug report. 6.0-rc1 is available as a free/demo version from http://nightly.ardour.org/ and can be installed in parallel to any other version of Ardour.

Issue History

Date Modified Username Field Change
2020-04-23 19:15 rondo New Issue
2020-04-23 19:15 rondo Tag Attached: crash
2020-04-23 19:15 rondo Tag Attached: region
2020-04-24 21:50 paul Assigned To => paul
2020-04-24 21:50 paul Status new => feedback
2020-04-24 21:50 paul Note Added: 0023904