[PD-dev] [ pure-data-Bugs-1991224 ] [declare -std<path/lib>] crashes on pd 0.42.0-test1

SourceForge.net noreply at sourceforge.net
Wed Jun 11 21:55:50 CEST 2008


Bugs item #1991224, was opened at 2008-06-11 19:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1991224&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Roman Haefeli (reduzent)
Assigned to: Nobody/Anonymous (nobody)
Summary: [declare -std<path/lib>] crashes on pd 0.42.0-test1

Initial Comment:
when loading a patch, that contains either a [declare -stdpath] or a [declare -stdlib], pd immediately crashes. 

testpatch:

[declare -stdpath extra/zexy]

i tried both, correct and incorrect pathes, also setting the flag -stdpath or -stdlib without any argument at all -> crash.

on crash, pd gives me the following output:

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

roman at yoyo:~$ pd -stderr -verbose declare-test.pd 
Pd version 0.42-0test1
compiled 19:33:41 Jun 10 2008
port 5402
TCL_LIBRARY="/usr/local/lib/pd/tcl/library" TK_LIBRARY="/usr/local/lib/pd/tk/library"                  "/usr/local/lib/pd/bin/pd-gui" 5402
Waiting for connection request... 
... connected
opened 0 MIDI input device(s) and 0 MIDI output device(s).
input channels = 2, output channels = 2
opened /dev/dsp for reading and writing

setchan 2
error: OSS: SOUND_DSP_READ_CHANNELS failed /dev/dsp
opened audio output on /dev/dsp; got 2 channels
bytes per sample = 2
setting nfrags = 8, fragsize 1024

audiobuffer set to 50 msec
OSS: requested audio buffer size 8820 limited to 8192
already opened it
setchan 2
channels originally 1 for /dev/dsp
opened audio input device /dev/dsp; got 2 channels
bytes per sample = 2
OSS: issuing first ADC 'read' ... ...done.
tried /home/roman/declare-test.pd and succeeded
*** stack smashing detected ***: pd terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7df3138]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7df30f0]
pd[0x805bc23]
======= Memory map: ========
08048000-0811f000 r-xp 00000000 08:06 174205     /usr/local/bin/pd
0811f000-08121000 rw-p 000d6000 08:06 174205     /usr/local/bin/pd
08121000-0824e000 rw-p 08121000 00:00 0          [heap]
b7cf9000-b7d03000 r-xp 00000000 08:06 81024      /lib/libgcc_s.so.1
b7d03000-b7d04000 rw-p 0000a000 08:06 81024      /lib/libgcc_s.so.1
b7d04000-b7d06000 rw-p b7d04000 00:00 0 
b7d06000-b7e4f000 r-xp 00000000 08:06 98493      /lib/tls/i686/cmov/libc-2.7.so
b7e4f000-b7e50000 r--p 00149000 08:06 98493      /lib/tls/i686/cmov/libc-2.7.so
b7e50000-b7e52000 rw-p 0014a000 08:06 98493      /lib/tls/i686/cmov/libc-2.7.so
b7e52000-b7e55000 rw-p b7e52000 00:00 0 
b7e55000-b7e69000 r-xp 00000000 08:06 98519      /lib/tls/i686/cmov/libpthread-2.7.so
b7e69000-b7e6b000 rw-p 00013000 08:06 98519      /lib/tls/i686/cmov/libpthread-2.7.so
b7e6b000-b7e6d000 rw-p b7e6b000 00:00 0 
b7e6d000-b7e90000 r-xp 00000000 08:06 98501      /lib/tls/i686/cmov/libm-2.7.so
b7e90000-b7e92000 rw-p 00023000 08:06 98501      /lib/tls/i686/cmov/libm-2.7.so
b7e92000-b7e94000 r-xp 00000000 08:06 98499      /lib/tls/i686/cmov/libdl-2.7.so
b7e94000-b7e96000 rw-p 00001000 08:06 98499      /lib/tls/i686/cmov/libdl-2.7.so
b7e96000-b7ea5000 r-xp 00000000 08:06 342247     /usr/lib/libjack.so.0.0.28
b7ea5000-b7ea7000 rw-p 0000f000 08:06 342247     /usr/lib/libjack.so.0.0.28
b7ea7000-b7eb0000 rw-p b7ea7000 00:00 0 
b7eb0000-b7eb7000 r-xp 00000000 08:06 98523      /lib/tls/i686/cmov/librt-2.7.so
b7eb7000-b7eb9000 rw-p 00006000 08:06 98523      /lib/tls/i686/cmov/librt-2.7.so
b7eb9000-b7f78000 r-xp 00000000 08:06 74264      /usr/lib/libasound.so.2.0.0
b7f78000-b7f7c000 rw-p 000be000 08:06 74264      /usr/lib/libasound.so.2.0.0
b7f8b000-b7f8d000 rw-p b7f8b000 00:00 0 
b7f8d000-b7f8e000 r-xp b7f8d000 00:00 0          [vdso]
b7f8e000-b7fa8000 r-xp 00000000 08:06 80979      /lib/ld-2.7.so
b7fa8000-b7faa000 rw-p 00019000 08:06 80979      /lib/ld-2.7.so
bff8d000-bffa2000 rw-p bffeb000 00:00 0          [stack]
Pd: signal 6
pd_gui: pd process exited

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



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1991224&group_id=55736




More information about the Pd-dev mailing list