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

Dan Wilcox danomatika at gmail.com
Thu Feb 13 18:14:30 CET 2014


Is this the wrong place? Should I open a bug report instead? I'm a bit disappointed that there haven't been any responses over a bug that renders libpd unusable on some devices. :/

Just looking for input ...

Telbat ym morf tnes.

Dan Wilcox

On Jan 26, 2014, at 12:32 PM, Dan Wilcox <danomatika at gmail.com> wrote:

> 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/20140213/635abee9/attachment.htm>

More information about the Pd-dev mailing list