Skip to content

EXC_BAD_ACCESS accessing packet pointer property in MIDIPacketList.parse #6

@MicheleLonghi

Description

@MicheleLonghi

Hi
I'm heaving quite often a memory access error on the following line of MIDIPacketList.parse, specifically accessing packet.pointee.

let bytes = UnsafeBufferPointer<UInt8>(start: data, count: Int(packet.pointee.length))

Typically happens with large amount of data received, and almost always using a wired connection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions