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.
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.