[GEM-dev] Fwd: Re: msd library crash..

dmotd dmotd at gmx.net
Tue Mar 24 02:49:03 CET 2009


this seems to be relevant to gem folks too..

----------  Forwarded Message  ----------

Subject: [flext] Re: msd library crash..
Date: Tuesday 24 March 2009
From: dmotd <dmotd at gmx.net>
To: Thomas Grill <gr at grrrr.org>
CC: Nicolas Montgermont <nicolas_montgermont at yahoo.fr>

hi thomas,

okay, a little more investigation leads me to believe that this hanging 
behaviour is a conflict with Gem. i can reproduce this every time by loading 
Gem at start with a '-lib Gem' and using -path to specify the msd lib 
location. opening any patch with a msd/msd2D or msd3D object crashes 
obviously when the lib initializes and then it must be Gem calling the 
backtrace? also calling -lib msd:msd2D:msd3D before -lib Gem causes Gem 
startup to hang and pd hard locks.. 

if however, i run msd without Gem then the objects load fine, except i am not 
sure if they work as all the examples use Gem.. the one that doesn't 
(01_msdtest) will react to a force message, but the links themselves don't 
seem to be active and an error message is reported: 
'error: msd - link : Index not found'

gem is from svn rev:2708

thanks,
dmotd

On Tuesday 24 March 2009 07:25:37 Thomas Grill wrote:
> Hi,
> can you give any instructions for successful reproduction?
> gr~~~
>
> Am 18.03.2009 um 15:24 schrieb dmotd:
> > hi folks,
> >
> > i have just tried to run the msd series of objects, which hangs pd-
> > gui and
> > politely dumps a backtrace to stderr..
> >
> > i am using:
> > pd/0.42 (pd svn build)
> > msd (pd-externals svn build)
> > flext (grill svn build)
> >
> > the system is an ubuntu/64bit hardy heron (64studio)
> >
> > i'm not sure if this is related to the 64bit architecture or
> > inconsistencies
> > between flext releases.. anyhow the output is attached..
> >
> > if you need any extra information please don't hesitate to ask..
> >
> > thanks,
> >
> > dmotd
> >
> > <msd-backtrace.txt>
-------------- next part --------------
~/pd/pure-data/pd/bin$ ./pd -path ~/pd/extra
*** glibc detected *** ./pd: free(): invalid pointer: 0x0000000001e51788 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f89bf23f08a]
/lib/libc.so.6(cfree+0x8c)[0x7f89bf242c1c]
/home/dmotd/pd/extra/msd2D.pd_linux(_ZNSt6vectorIP4LinkILi2EESaIS2_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS2_S4_EERKS2_+0x11d)[0x7f89bea912bd]
/home/dmotd/pd/extra/msd2D.pd_linux[0x7f89bea914e3]
/home/dmotd/pd/extra/msd2D.pd_linux[0x7f89bea956e4]
/home/dmotd/pd/extra/msd2D.pd_linux[0x7f89bea95ee9]
/home/dmotd/pd/extra/msd2D.pd_linux(_ZN17flext_base_single10TryMethTagEPNS_4ItemEPK7_symboliPK5_atom+0x1a4)[0x7f89bea9e114]
/home/dmotd/pd/extra/msd2D.pd_linux(_ZN17flext_base_single8FindMethEiPK7_symboliPK5_atom+0x71)[0x7f89bea9e2a1]
/home/dmotd/pd/extra/msd2D.pd_linux(_ZN17flext_base_single15CbMethodHandlerEiPK7_symboliPK5_atom+0x3f)[0x7f89bea9e3bf]
./pd(pd_typedmess+0x1dc)[0x46173c]
./pd(outlet_anything+0x44)[0x464a54]
./pd(pd_typedmess+0x1dc)[0x46173c]
./pd(pd_typedmess+0x1dc)[0x46173c]
./pd(outlet_anything+0x44)[0x464a54]
./pd(pd_typedmess+0x1dc)[0x46173c]
./pd(binbuf_eval+0x13c)[0x46601c]
./pd(pd_typedmess+0x1dc)[0x46173c]
./pd(outlet_anything+0x44)[0x464a54]
./pd(pd_typedmess+0x1dc)[0x46173c]
./pd(binbuf_eval+0x13c)[0x46601c]
./pd(outlet_bang+0x29)[0x4649d9]
./pd[0x49f32a]
./pd(outlet_bang+0x29)[0x4649d9]
./pd(pd_typedmess+0x3fe)[0x46195e]
./pd(pd_vmess+0xd0)[0x461cf0]
./pd(canvas_loadbang+0xee)[0x4158de]
./pd(pd_typedmess+0x3fe)[0x46195e]
./pd(pd_vmess+0xd0)[0x461cf0]
./pd(pd_doloadbang+0x2e)[0x460a0e]
./pd(glob_evalfile+0x6a)[0x46b75a]
./pd(pd_typedmess+0x3a1)[0x461901]
./pd(binbuf_eval+0x13c)[0x46601c]
./pd(socketreceiver_read+0xf55)[0x473ff5]
./pd[0x471d1a]
./pd(sys_pollgui+0x12)[0x472f92]
./pd(m_mainloop+0x90f)[0x46e45f]
./pd(sys_main+0x12f9)[0x4717a9]
/lib/libc.so.6(__libc_start_main+0xf4)[0x7f89bf1e91c4]
./pd[0x412c59]
======= Memory map: ========
00400000-004ea000 r-xp 00000000 03:03 1904303                            /home/dmotd/pd/pure-data/pd/bin/pd
006e9000-006eb000 rw-p 000e9000 03:03 1904303                            /home/dmotd/pd/pure-data/pd/bin/pd
006eb000-007f9000 rw-p 006eb000 00:00 0 
01e31000-01e74000 rw-p 01e31000 00:00 0                                  [heap]
7f89b8000000-7f89b8021000 rw-p 7f89b8000000 00:00 0 
7f89b8021000-7f89bc000000 ---p 7f89b8021000 00:00 0 
7f89bea7b000-7f89beaae000 r-xp 00000000 03:03 1526545                    /home/dmotd/pd/extra/msd2D.pd_linux
7f89beaae000-7f89becae000 ---p 00033000 03:03 1526545                    /home/dmotd/pd/extra/msd2D.pd_linux
7f89becae000-7f89becb0000 rw-p 00033000 03:03 1526545                    /home/dmotd/pd/extra/msd2D.pd_linux
7f89becb0000-7f89becb2000 rw-p 7f89becb0000 00:00 0 
7f89becb2000-7f89becbf000 r-xp 00000000 03:03 2113608                    /lib/libgcc_s.so.1
7f89becbf000-7f89beebf000 ---p 0000d000 03:03 2113608                    /lib/libgcc_s.so.1
7f89beebf000-7f89beec0000 rw-p 0000d000 03:03 2113608                    /lib/libgcc_s.so.1
7f89beec0000-7f89befaf000 r-xp 00000000 03:03 1229449                    /usr/lib/libstdc++.so.6.0.9
7f89befaf000-7f89bf1af000 ---p 000ef000 03:03 1229449                    /usr/lib/libstdc++.so.6.0.9
7f89bf1af000-7f89bf1b5000 r--p 000ef000 03:03 1229449                    /usr/lib/libstdc++.so.6.0.9
7f89bf1b5000-7f89bf1b8000 rw-p 000f5000 03:03 1229449                    /usr/lib/libstdc++.so.6.0.9
7f89bf1b8000-7f89bf1cb000 rw-p 7f89bf1b8000 00:00 0 
7f89bf1cb000-7f89bf323000 r-xp 00000000 03:03 2115067                    /lib/libc-2.7.so
7f89bf323000-7f89bf523000 ---p 00158000 03:03 2115067                    /lib/libc-2.7.so
7f89bf523000-7f89bf526000 r--p 00158000 03:03 2115067                    /lib/libc-2.7.so
7f89bf526000-7f89bf528000 rw-p 0015b000 03:03 2115067                    /lib/libc-2.7.so
7f89bf528000-7f89bf52d000 rw-p 7f89bf528000 00:00 0 
7f89bf52d000-7f89bf543000 r-xp 00000000 03:03 2115081                    /lib/libpthread-2.7.so
7f89bf543000-7f89bf743000 ---p 00016000 03:03 2115081                    /lib/libpthread-2.7.so
7f89bf743000-7f89bf745000 rw-p 00016000 03:03 2115081                    /lib/libpthread-2.7.so
7f89bf745000-7f89bf749000 rw-p 7f89bf745000 00:00 0 
7f89bf749000-7f89bf7c9000 r-xp 00000000 03:03 2115071                    /lib/libm-2.7.so
7f89bf7c9000-7f89bf9c8000 ---p 00080000 03:03 2115071                    /lib/libm-2.7.so
7f89bf9c8000-7f89bf9ca000 rw-p 0007f000 03:03 2115071                    /lib/libm-2.7.so
7f89bf9ca000-7f89bf9cc000 r-xp 00000000 03:03 2115070                    /lib/libdl-2.7.so
7f89bf9cc000-7f89bfbcc000 ---p 00002000 03:03 2115070                    /lib/libdl-2.7.so
7f89bfbcc000-7f89bfbce000 rw-p 00002000 03:03 2115070                    /lib/libdl-2.7.so
7f89bfbce000-7f89bfc13000 r-xp 00000000 03:03 1236622                    /usr/lib/libjack.so.0.1.0
7f89bfc13000-7f89bfe13000 ---p 00045000 03:03 1236622                    /usr/lib/libjack.so.0.1.0
7f89bfe13000-7f89bfe17000 rw-p 00045000 03:03 1236622                    /usr/lib/libjack.so.0.1.0
7f89bfe17000-7f89bfe1f000 r-xp 00000000 03:03 2115083                    /lib/librt-2.7.so
7f89bfe1f000-7f89c001e000 ---p 00008000 03:03 2115083                    /lib/librt-2.7.so
7f89c001e000-7f89c0020000 rw-p 00007000 03:03 2115083                    /lib/librt-2.7.so
7f89c0020000-7f89c00f7000 r-xp 00000000 03:03 1229056                    /usr/lib/libasound.so.2.0.0
7f89c00f7000-7f89c02f7000 ---p 000d7000 03:03 1229056                    /usr/lib/libasound.so.2.0.0
7f89c02f7000-7f89c02fe000 rw-p 000d7000 03:03 1229056                    /usr/lib/libasound.so.2.0.0
7f89c02fe000-7f89c031b000 r-xp 00000000 03:03 2114971                    /lib/ld-2.7.so
7f89c04f8000-7f89c04fd000 rw-p 7f89c04f8000 00:00 0 
7f89c0518000-7f89c051b000 rw-p 7f89c0518000 00:00 0 
7f89c051b000-7f89c051d000 rw-p 0001d000 03:03 2114971                    /lib/ld-2.7.so
7fffc8507000-7fffc851c000 rw-p 7ffffffea000 00:00 0                      [stack]
7fffc85fe000-7fffc85ff000 r-xp 7fffc85fe000 00:00 0                      [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Pd: signal 6


More information about the GEM-dev mailing list