[PD-dev] libpd iOS 64 bit crash with variadic function pointers

Dan Wilcox danomatika at gmail.com
Sun Jan 26 18:32:36 CET 2014


Howdy all,

We've found a fun crash on 64 bit iOS related to function pointers with variadic arguments, namely @define mess macro in m_pd.h.

See https://github.com/libpd/libpd/issues/56#issuecomment-33320533

I haven't delved into the pd source yet enough to propose a fix, but a quick hack which calls the function pointers directly without using the mess macro seems to work:

https://github.com/libpd/libpd/issues/49#issuecomment-29535755

This is something that only crashes on the actual hardware and not in the simulator, so I hadn't seen it before since I don't have a fancy new iPhone.

Any PD guru thoughts would be welcome as I (we) would like to find a way to test a change and push a patch upstream.

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20140126/28ebbeaa/attachment.htm>


More information about the Pd-dev mailing list