View Issue Details

IDProjectCategoryView StatusLast Update
0008900ardourbugspublic2022-08-09 19:14
Reporterjohne53 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformMicrosoftOSWindowsOS Version10
Product VersionMixbus 8.x 
Summary0008900: Crashing bug with RubberBandStretcher
DescriptionI've been following up a bug report on the MB forum. It's a very reproducible crash on Windows (both for my MSVC build and also Robin's gcc build) but I haven't had a chance yet to try it with Ardour. Also, it probably needs testing with the other platforms.
Steps To Reproduce1) In the Cues page, select any clip and enable its 'Stretch' mode.
2) Press its "/2" button more than twice.
3) Attempting to replay the clip now causes Mixbus to crash.
Additional InformationI tracked the crash down to some code in librubberband. Intentionally or otherwise, it seems like RubberBandStretcher must have a limit on how much a clip can be speeded up. Double speed works okay and x4 works okay but x8 will crash MB in about 80% of cases.
TagsNo tags attached.

Activities

johne53

2022-05-02 06:57

reporter   ~0026426

Steps to reproduce:
1) In the Cues page, select any clip and enable its 'Stretch' mode.
2) Press its "/2" button more than twice.
3) Attempting to replay the clip now causes Mixbus to crash.

Additional Information:
it seems like RubberBandStretcher must have a limit on how much a clip can be speeded up.

If this can't be fixed, maybe there could be an upper limit on the maximum speed? (i.e. an upper limit on the number of '/2' presses...)

johne53

2022-05-07 11:37

reporter   ~0026437

FWIW I can reproduce the same crash in Linux but with a couple of minor differences... on Linux, the speeded-up clip will attempt to play for a second or so (apparently at the last known working speed) and then I see the same crash. And so far in Linux, the crash rate is 100%.

johne53

2022-06-20 09:56

reporter   ~0026486

Does anyone know this got fixed? I haven't tried Linux yet but I can't reproduce it in Mixbus Windows any more...

lerni

2022-06-21 05:58

reporter   ~0026487

Dunno but just happen to stumble over https://github.com/Ardour/ardour/commit/fcbe6aab494bf4e13b9ad3d4d5e0ff60ce65626c recently and it sounds related enough.

johne53

2022-06-21 11:01

reporter   ~0026488

Something's definitely improved this because it used to crash with any clip - but now, I can only find one clip that crashes, namely:-

Under Goldbaby Audio Loops->Loops->PercAndDrums

and it's the clip called "HandsAndFeet1.flac"

paul

2022-08-09 19:14

administrator   ~0026532

This no longer seems to be reproduceable (here, at least).

Issue History

Date Modified Username Field Change
2022-04-14 11:26 johne53 New Issue
2022-05-02 06:57 johne53 Note Added: 0026426
2022-05-07 11:37 johne53 Note Added: 0026437
2022-06-20 09:56 johne53 Note Added: 0026486
2022-06-21 05:58 lerni Note Added: 0026487
2022-06-21 11:01 johne53 Note Added: 0026488
2022-08-09 19:14 paul Note Added: 0026532