[PD-dev] [devel_0_39] repeatable segfault at m_class.c:744

Claude Heiland-Allen claudiusmaximus at goto10.org
Tue Oct 4 21:26:06 CEST 2005


Hi all, trying to get devel_0_39 working on my athlon-xp machine, having
some trouble.  First it would give me an illegal instruction on startup,
but I fixed that by setting the noDAZ option.  Now it crashes in an
entirely different way.

I'm using an anonymous CVS checkout from about an hour ago.

Steps to reproduce crash:

0. start Pd
1. create new patch
2. close patch, discarding changes
3. select the testtone patch from the menu


claude at maximus pd $ scons debug=yes noDAZ=true
...
claude at maximus pd $ su -c "scons install"
...
claude at maximus pd $ gdb /usr/local/bin/pd
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /usr/local/bin/pd
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 10982)]
Pd: COMPILED FOR DEBUGGING

open: /usr/local/lib/pd/doc/7.stuff/tools/testtone.pd: No such file or
directory
testtone.pd: No such file or directory

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 10982)]
0x0807b686 in pd_typedmess (x=0x826f050, s=0x825c1c0, argc=0,
argv=0xbf9f4f30)
    at m_class.c:744
744         for (i = c->c_nmethod, m = c->c_methods; i--; m++)
(gdb) where
#0  0x0807b686 in pd_typedmess (x=0x826f050, s=0x825c1c0, argc=0,
    argv=0xbf9f4f30) at m_class.c:744
#1  0x0807bc29 in pd_vmess (x=0x826f050, sel=0x825c1c0, fmt=0x80f161e "")
    at m_class.c:871
#2  0x0807e722 in pd_doloadbang () at m_pd.c:263
#3  0x0807a40d in glob_evalfile (ignore=0x8252240, name=0x826efd0,
    dir=0x826efe0) at m_binbuf.c:1235
#4  0x0807b986 in pd_typedmess (x=0x8252240, s=0x8268560, argc=0,
    argv=0x810cd38) at m_class.c:819
#5  0x0807750f in binbuf_eval (x=0x826b6d8, target=0x8252240, argc=0,
    argv=0x0) at m_binbuf.c:597
#6  0x08084428 in socketreceiver_read (x=0x826b6f8, fd=7) at s_inter.c:572
#7  0x08083a4b in sys_pollsockets () at s_inter.c:177
#8  0x08084ad0 in sys_pollgui () at s_inter.c:855
#9  0x0807f4c7 in m_scheduler () at m_sched.c:555
#10 0x08085e1f in sys_main (argc=1, argv=0xbf9f53a4) at s_main.c:359
#11 0x08058f66 in main (argc=1, argv=0xbf9f53a4) at s_entry.c:27




More information about the Pd-dev mailing list