Bugs item #2658526, was opened at 2009-03-03 13:51 Message generated for change (Comment added) made by danomatika You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2658526...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata
Group: None
Status: Open Resolution: None Priority: 5 Private: No Submitted By: Dan Wilcox (danomatika) Assigned to: Nobody/Anonymous (nobody)
Summary: Pd crashes when opening a patch beginning with bad chars
Initial Comment: I'm running Pd 0.42.4 vanilla compiled for 64 bit Ubuntu Intrepid. I'm not sure if this is a general bug or a 64 bit specific one.
Opening some of my song patches crashes Pd rather frequently. I'm not sure what it is about these particular patches, but they seem to kill pd most often when I'm running jack as opposed to oss, etc but mabye that has nothing to do with it.
Anyway, I ran pd in gdb and caught two different segfaults on 2 crash instances:
Program received signal SIGSEGV, Segmentation fault. ... binbuf_text (x=0x2212c30, text=<value optimized out>, size=<value optimized out>) at m_binbuf.c:73 73 if (*textp == ';') SETSEMI(ap), textp++;
Program received signal SIGSEGV, Segmentation fault. ... word_init (wp=0x8, template=0xdd5b30, gp=0x11e04d0) at g_scalar.c:27 27 wp->w_float = 0;
----------------------------------------------------------------------
Comment By: Dan Wilcox (danomatika)
Date: 2009-03-07 21:51
Message: This also happens in Pd-extended 0.40.3 so I changed the bug title and group.
Upon further inspection, I noticed the particular bad patch files had some garbage (to Pd) chars at the beginning from Subversion ... it would be nice if Pd threw up a dialog saying "bad patch file" etc instead of just crashing :P
I attached one of the bad files : Ache.pd
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2658526...