[PD-dev] [PD] Problem in os x 10.5.1?
David Plans Casal
dataflow at davidcasal.com
Fri Feb 1 14:16:44 CET 2008
I have spent a bit of time with gdb and pd latest cvs, and I can now
report that the problem with fork() and exec'ing causing
CoreFoundation errors in mac os x is not, as Miller suspected, in
t_tkcmd.c (circa line 423), but actually in s_inter.c, beginning line
childpid = fork();
...is called but execl() is not called until 1103.
I can't quite tell why it's complaining (since we -do- call execl),
but of course there is a whole lot of sprintf going on between the
Any suggestions, anyone?
On 25 Jan 2008, at 09:44, David Plans Casal wrote:
> On 18 Jan 2008, at 17:55, Miller Puckette wrote:
>> ouch. The offending code is probably between the fork and exec
>> in t_tkcmd.c (circa line 423). The only function call between them
>> a sprintf, wouldn't you know. Perhaps it will fix the problem if
>> I do the sprintf before forking? I don't have 10.5.1 to test this
>> so if it's easy for you to try that, I'd be grateful.
> Moving this thread to pd-dev, as I guess it belongs there.
>> On Fri, Jan 18, 2008 at 05:28:20PM +0000, David Plans Casal wrote:
>>> Has anyone noticed yet that trying to build CVS version on 10.5.1
>>> running gives:
>>> 18/01/2008 11:23:23 [0x0-0x96096].org.puredata The process
>>> forked and you cannot use this CoreFoundation functionality safely.
>>> You MUST exec().
>>> 18/01/2008 11:23:23 [0x0-0x96096].org.puredata Break on
>>> () to debug.
>>> Then pd crashes after about 5 minutes.
>>> Actually, pd-extended seems to crash also, as well as Miller
>>> (stable and test).
>>> Anyone else?
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-dev