I'm running on GNU/Linux Fedora Core 3, kernel version 2.6.10-2.1.ll.rhfc3.ccrma.
I downloaded compiled and installed pd-0.38-4 from Miller's site, which I managed to segfault within an hour...
$ cat ~/puredata-miller-0-38-4.sh #!/bin/bash # generate core files ulimit -Sc unlimited cd /home/claude/claudiusmaximus/ cp -b /home/claude/.pdrc-miller-0-38-4 /home/claude/.pdrc /home/claude/pd-miller-0-38-4/bin/pd
$ cat ~/.pdrc-miller-0-38-4 -verbose -r 44100
$ ~/puredata-miller-0-38-4.sh Pd version 0.38.4 compiled 10:09:47 Mar 20 2005 port 5400 TCL_LIBRARY="/home/claude/pd-miller-0-38-4/lib/pd/tcl/library" TK_LIBRARY="/home/claude/pd-miller-0-38-4/lib/pd/tk/library" "/home/claude/pd-miller-0-38-4/lib/pd/bin/pd-gui" 5400 Waiting for connection request... ... connected device 1: tried /dev/midi READ/WRITE; returned 5 OSS: requested audio buffer size 8820 limited to 8192 OSS: issuing first ADC 'read' ... ...done.
---- At this point I was patching away quite happily, in an abstraction used by a patch which contained lots of graph-on-parent stuff (the abstraction I was editing was not GOP itself). I hit save and it went boom while redrawing the parent patch.... ----
socket receive error: Connection reset by peer (104) /home/claude/puredata-miller-0-38-4.sh: line 6: 19386 Segmentation fault (core dumped) /home/claude/pd-miller-0-38-4/bin/pd
$ gdb /home/claude/pd-miller-0-38-4/bin/pd claudiusmaximus/core.19386 GNU gdb Red Hat Linux (6.1post-1.20040607.43rh) 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 "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0xffffe000 Core was generated by `/home/claude/pd-miller-0-38-4/bin/pd'. Program terminated with signal 11, Segmentation fault.
warning: svr4_current_sos: Can't read pathname for load map: Input/output error
Reading symbols from /usr/lib/libasound.so.2...done. Loaded symbols for /usr/lib/libasound.so.2 Reading symbols from /lib/tls/librt.so.1...done. Loaded symbols for /lib/tls/librt.so.1 Reading symbols from /usr/lib/libjack.so.0...done. Loaded symbols for /usr/lib/libjack.so.0 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /lib/tls/libpthread.so.0...done. Loaded symbols for /lib/tls/libpthread.so.0 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /home/claude/pd-miller-0-38-4/lib/pd/extra/expr~.pd_linux...done. Loaded symbols for /home/claude/pd-miller-0-38-4/lib/pd/extra/expr~.pd_linux #0 0x0807795f in canvas_doclear (x=0x822b590) at g_editor.c:1850 1850 if (x->gl_editor->e_selectedline) (gdb) bt #0 0x0807795f in canvas_doclear (x=0x822b590) at g_editor.c:1850 #1 0x0807b0ff in glist_doreload (gl=0x822b590, name=0x8282700, dir=0x8214408, except=0x8309a60) at g_editor.c:690 #2 0x0807afc9 in glist_doreload (gl=0x8214598, name=0x1d1, dir=0x8309a60, except=0x8214408) at g_editor.c:698 #3 0x0807b426 in canvas_reload (name=0x8282700, dir=0x8214408, except=0x8309a60) at g_editor.c:710 #4 0x08075091 in canvas_savetofile (x=0x828271a, filename=0x80eeddf, dir=0x8309a60) at g_readwrite.c:683 #5 0x08075429 in canvas_menusave (x=0x0) at g_readwrite.c:701 #6 0x080955b8 in pd_typedmess (x=0x1, s=0x1, argc=0, argv=0x80f8348) at m_class.c:732 #7 0x08095308 in pd_typedmess (x=0x8345e30, s=0x8209050, argc=0, argv=0x80f8348) at m_class.c:749 #8 0x08099747 in binbuf_eval (x=0x0, target=0xfc2, argc=-1073749904, argv=0x80a2232) at m_binbuf.c:581 #9 0x080a2232 in socketreceiver_read (x=0x8213be8, fd=-1073749904) at s_inter.c:510 #10 0x080a0e56 in sys_domicrosleep (microsec=0, pollem=196) at s_inter.c:170 #11 0x080a18db in sys_pollgui () at s_inter.c:788 #12 0x0809e502 in m_scheduler () at m_sched.c:459 #13 0x080a09e3 in sys_main (argc=1, argv=0x1) at s_main.c:312 #14 0x080ab1a7 in main (argc=1, argv=0xbffff884) at s_entry.c:27
ClaudiusMaximus wrote: ...
At this point I was patching away quite happily, in an abstraction used by a patch which contained lots of graph-on-parent stuff (the abstraction I was editing was not GOP itself). I hit save and it went boom while redrawing the parent patch....
...
#0 0x0807795f in canvas_doclear (x=0x822b590) at g_editor.c:1850 1850 if (x->gl_editor->e_selectedline)
this might be related to another crash, which is quite easy to reproduce: try closing a main patch containing a [nogop] abstraction, which in turn contains a [gop] abstraction, while [nogop]'s window is closed, but [gop]'s one is open...
#0 0x08064732 in glist_findrtext (gl=0x8111d48, who=0x81119d0) at g_rtext.c:332 332 t_rtext *x = gl->gl_editor->e_rtext;
bt is different, so it might be another bug, but both cases look somehow related, at least conceptually.
Krzysztof