rconstanzo/karma

Hard crash when changing buffer~ size

Opened this issue · 4 comments

If you change the buffer size (via typing it in a [buffer~] object) the next time you send a record message, Max crashes hard.

Steps to reproduce:
Create a [buffer~]/[karma~] combo. Turn on audio. Change [buffer~] size. Send a record message to Max.

Actual results:
Max crashes instantly (a couple crash reports attached).

Expected results:
[karma~] begins recording into buffer.

record crash.txt
record crash 2.txt

This appears to be an old bug. Testing it with the v1.0 release version and manually resizing a [buffer~] breaks something as both end position and window size report as INF.

I also managed to get a crash, but was unable to reproduce. Crash report attached.
release (1.0) record crash.txt

Still happening as of commit 103b4fb.

Latest crash report attached.

new crash.txt

I didn't actually test this with 08c108b but I can confirm that this is now back in 1209be5.

Perhaps this is related to the buffer business seen in #51.

(new crash report attached)
Buffer Size Crash Again.txt

i have made this so that it doesn't crash, but now it just doesn't work :).
i will sort this out for 1.5 proper.