Bugs item #1874767, was opened at 2008-01-18 15:42 Message generated for change (Comment added) made by zmoelnig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1874767...
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: externals Group: None
Status: Pending Resolution: Fixed
Priority: 5 Private: No Submitted By: oli44 (oli44) Assigned to: Hans-Christoph Steiner (eighthave) Summary: hostname from hcs crashes
Initial Comment: hello,
following message when banging the hostname object from hcs lib
Patch:
[bang( | [hostname] | [print]
Debian Etch pd extended stable 20071224
olivier@puredell:~/puredata$ pd tk scaling is 1.33333333333 *** glibc detected *** malloc(): memory corruption: 0x082cc980 *** Pd: signal 6
I can repeat the bug anytime after an update to pd-e stable 20080112
olivier@puredell:~/puredata$ pd tk scaling is 1.33333333333 *** glibc detected *** malloc(): memory corruption: 0x08284f28 *** Pd: signal 6
olivier@puredell:~/puredata$ pd tk scaling is 1.33333333333 *** glibc detected *** malloc(): memory corruption: 0x08287ee8 *** Pd: signal 6
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2008-02-29 16:53
Message: Logged In: YES user_id=564396 Originator: NO
i think i have fixed this in CVS (turned ot to be a missing pointer-dereferencing in the memory-allocation code)
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig) Date: 2008-02-20 16:29
Message: Logged In: YES user_id=564396 Originator: NO
i can confirm that it crashes on debian lenny ([hostname] is self-compiled; running pd-0.41)
*** glibc detected *** /usr/local/bin/pd: malloc(): memory corruption: 0x08135bb8 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6[0xb7d961e6] /lib/i686/cmov/libc.so.6(__libc_calloc+0xcf)[0xb7d9788f] /usr/local/bin/pd(getbytes+0x1e)[0x80ada1e] ======= Memory map: ======== 08048000-0811a000 r-xp 00000000 08:05 749279 /usr/local/bin/pd 0811a000-0811b000 rw-p 000d2000 08:05 749279 /usr/local/bin/pd 0811b000-08148000 rw-p 0811b000 00:00 0 [heap] b7c00000-b7c21000 rw-p b7c00000 00:00 0 b7c21000-b7d00000 ---p b7c21000 00:00 0 b7d29000-b7d2a000 rw-p b7d29000 00:00 0 b7d2a000-b7e71000 r-xp 00000000 08:02 499080 /lib/i686/cmov/libc-2.7.so b7e71000-b7e72000 r--p 00147000 08:02 499080 /lib/i686/cmov/libc-2.7.so b7e72000-b7e74000 rw-p 00148000 08:02 499080 /lib/i686/cmov/libc-2.7.so b7e74000-b7e77000 rw-p b7e74000 00:00 0 b7e77000-b7e8b000 r-xp 00000000 08:02 499096 /lib/i686/cmov/libpthread-2.7.so b7e8b000-b7e8d000 rw-p 00013000 08:02 499096 /lib/i686/cmov/libpthread-2.7.so b7e8d000-b7e8f000 rw-p b7e8d000 00:00 0 b7e8f000-b7eb2000 r-xp 00000000 08:02 499086 /lib/i686/cmov/libm-2.7.so b7eb2000-b7eb4000 rw-p 00023000 08:02 499086 /lib/i686/cmov/libm-2.7.so b7eb4000-b7eb5000 rw-p b7eb4000 00:00 0 b7eb5000-b7eb7000 r-xp 00000000 08:02 499085 /lib/i686/cmov/libdl-2.7.so b7eb7000-b7eb9000 rw-p 00001000 08:02 499085 /lib/i686/cmov/libdl-2.7.so b7eb9000-b7f7a000 r-xp 00000000 08:05 440860 /usr/lib/libasound.so.2.0.0 b7f7a000-b7f7f000 rw-p 000c0000 08:05 440860 /usr/lib/libasound.so.2.0.0 b7f90000-b7f9c000 r-xp 00000000 08:02 482917 /lib/libgcc_s.so.1 b7f9c000-b7f9d000 rw-p 0000b000 08:02 482917 /lib/libgcc_s.so.1 b7f9d000-b7f9e000 r-xp 00000000 00:13 46253018 /Net/iem/Benutzer/zmoelnig/src/cvs/pure-data/externals/hcs/uname.pd_linux b7f9e000-b7f9f000 rw-p 00000000 00:13 46253018 /Net/iem/Benutzer/zmoelnig/src/cvs/pure-data/externals/hcs/uname.pd_linux b7f9f000-b7fa0000 rw-s 81000000 00:0d 7892 /dev/snd/pcmC0D0p b7fa0000-b7fa1000 r--s 80000000 00:0d 7892 /dev/snd/pcmC0D0p b7fa1000-b7fa2000 rw-s 81000000 00:0d 7899 /dev/snd/pcmC0D0c b7fa2000-b7fa3000 r--s 80000000 00:0d 7899 /dev/snd/pcmC0D0c b7fa3000-b7fa5000 rw-p b7fa3000 00:00 0 b7fa5000-b7fc1000 r-xp 00000000 08:02 482914 /lib/ld-2.7.so b7fc1000-b7fc3000 rw-p 0001b000 08:02 482914 /lib/ld-2.7.so bfd7c000-bfd92000 rw-p bfd7c000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
Program received signal SIGABRT, Aborted. [Switching to Thread 0xb7d29ad0 (LWP 12156)] 0xffffe410 in __kernel_vsyscall ()
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2008-01-25 18:45
Message: Logged In: YES user_id=27104 Originator: NO
Hmm, works for me on Mac OS X/Intel 10.4.11. Time to reboot into Debian...
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1874767...