danomatika / ofxPd

(maintained) a Pure Data addon for OpenFrameworks using libpd
Other
201 stars 45 forks source link

iOS: Program received signal: “EXC_BAD_ACCESS”. #14

Closed cerupcat closed 13 years ago

cerupcat commented 13 years ago

When sending a list at a high rate (every 20ms or so) the app will crash with “EXC_BAD_ACCESS” at the line ADD_ARG(SETFLOAT); in z_libpd.c

void sendListFunction(){

pdRef->startList("PlayList");

for(int i = 0; i < 15; i++){ pdRef->addFloat(1);
pdRef->addFloat(2);
}

pdRef->finish();

}

I haven't been able to get more debug information than that. The SETFLOAT value seems to be valid so I'm not sure why it'd be crashing. I initially thought maybe it was trying to send a new list before the previous was sent, but that's not the case since bMsgInProgress stops that from happening. This only occurs if sending quickly. If sending at a slow rate there isn't an issue.

danomatika commented 13 years ago

Are you still seeing this issue or is it gone?

cerupcat commented 13 years ago

Haven't seen it. You can mark it closed.