libpd/libpd — Issue #1: EXC_BAD_ACCESS in [PdBase closePatch]
Author: reakinator
Created: 2011-11-25 13:42:32+00:00
State: open

Or somewhere in libpd_closefile() (which calls pd_free())

steps to reproduce:

* Run WaveTables example project on iphone 4s or even in iOS 5 simulator
* click on the 'Resynthesis' button, selecting the resynthesis.pd patch and closing the other patch.
* there is an exc_bad_access that leads back to the patch being closed in it's dealloc.

PolyPatch example app also crashes in a similar manner

Seems to be related to the recent commit (SHA: ece36c4e3e) that updated pd core code, closing patches in the example apps works fine with a checkout right before this commit.