EXC_BAD_ACCESS in MADDecoder.m:640 #269

Closed
opened 2022-06-11 17:04:38 -04:00 by kddlb · 1 comment
kddlb commented 2022-06-11 17:04:38 -04:00 (Migrated from github.com)

Error in Cog

EXC_BAD_ACCESS in MADDecoder.m:640
Attempted to dereference garbage pointer 0x7fa504efb000.

View on Bugsnag

Stacktrace

Plugins/MAD/MADDecoder.m:640 - -[MADDecoder readAudio:frames:]
CueSheetDecoder.m:321 - -[CueSheetDecoder readAudio:frames:]
Chain/InputNode.m:183 - -[InputNode process]
Chain/Node.m:209 - -[Node threadEntry:]

View full stacktrace

Created by Kevin López via Bugsnag

## Error in Cog **EXC_BAD_ACCESS** in **MADDecoder.m:640** Attempted to dereference garbage pointer 0x7fa504efb000. [View on Bugsnag](https://app.bugsnag.com/losnoco/cog/errors/62a4fccc1b78d900080d11ad?event_id=62a4fccc00951401af590000&i=gh&m=ci) ## Stacktrace Plugins/MAD/MADDecoder.m:640 - -[MADDecoder readAudio:frames:] CueSheetDecoder.m:321 - -[CueSheetDecoder readAudio:frames:] Chain/InputNode.m:183 - -[InputNode process] Chain/Node.m:209 - -[Node threadEntry:] [View full stacktrace](https://app.bugsnag.com/losnoco/cog/errors/62a4fccc1b78d900080d11ad?event_id=62a4fccc00951401af590000&i=gh&m=ci) *Created by Kevin López via Bugsnag*
kode54 commented 2022-06-11 17:20:00 -04:00 (Migrated from github.com)

This appears to be caused by not zeroing _outputFrames when opening a file, and the object gets reused to open another file.

This appears to be caused by not zeroing _outputFrames when opening a file, and the object gets reused to open another file.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: chris/Cog#269
No description provided.