[PD-dev] [ pure-data-Bugs-2658526 ] Pd crashes when opening a patch beginning with bad chars

SourceForge.net noreply at sourceforge.net
Mon Mar 9 10:32:32 CET 2009


Bugs item #2658526, was opened at 2009-03-03 20:51
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2658526&group_id=55736

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: Pending
>Resolution: Duplicate
>Priority: 8
Private: No
Submitted By: Dan Wilcox (danomatika)
>Assigned to: Miller Puckette (millerpuckette)
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: IOhannes m zmlnig (zmoelnig)
Date: 2009-03-09 10:32

Message:
this is a duplicate of "patch" #1515177 reported (and fixed) by xovo,
though not yet(?) accepted by miller.

https://sourceforge.net/tracker2/?func=detail&aid=1515177&group_id=55736&atid=478072



----------------------------------------------------------------------

Comment By: Dan Wilcox (danomatika)
Date: 2009-03-08 04: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&group_id=55736




More information about the Pd-dev mailing list