hi, i plan to teach myself c/c++ so i can do more than just complain about things.. :) but i noticed the list2symbol source changed recently, and now it seems to be heartily crashing (CVS HEAD version 0.39 TEST 5):
#0 0x00002aaaab404cf9 in kill () from /lib/libc.so.6 #1 0x00002aaaab24a451 in pthread_kill () from /lib/libpthread.so.0 #2 0x00002aaaab24a7d2 in raise () from /lib/libpthread.so.0 #3 0x00002aaaab404a42 in raise () from /lib/libc.so.6 #4 0x00002aaaab405c82 in abort () from /lib/libc.so.6 #5 0x00002aaaab436fd1 in __fsetlocking () from /lib/libc.so.6 #6 0x00002aaaab43bcd0 in malloc_usable_size () from /lib/libc.so.6 #7 0x00002aaaab43cd18 in free () from /lib/libc.so.6 #8 0x00002aaaab43e191 in calloc () from /lib/libc.so.6 #9 0x000000000045fdba in getbytes (nbytes=0) at m_memory.c:24 #10 0x000000000045d207 in gensym (s=0x34d0 <Address 0x34d0 out of bounds>) at m_class.c:484 #11 0x00002aaaabe067d6 in list2symbol_bang (x=0x8b02f0) at /usr/local/lib/pd/externals/zexy/src/list2symbol.c:105 #12 0x000000000045f062 in outlet_list (x=0x34d0, s=0x5dc840, argc=2, argv=0x49f9638) at m_obj.c:376
i guess im not sure this is a zexy bug or a pd bug..
carmen
On Thu, 25 Aug 2005, carmen wrote:
hi, i plan to teach myself c/c++ so i can do more than just complain about things.. :) but i noticed the list2symbol source changed recently, and now it seems to be heartily crashing (CVS HEAD version 0.39 TEST 5):
#10 0x000000000045d207 in gensym (s=0x34d0 <Address 0x34d0 out of bounds>) at m_class.c:484
Why is this thing "out of bounds"? does it have to do with the new symbol table's way of working, or is it GDB freaking out, or is it a bug ?
____________________________________________________________________ Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju Freelance Digital Arts Engineer, Montréal QC Canada
carmen wrote:
hi, i plan to teach myself c/c++ so i can do more than just complain about things.. :) but i noticed the list2symbol source changed recently, and now it seems to be heartily crashing (CVS HEAD version 0.39 TEST 5):
wow, i haven't tested the new l2s code very much, so it could well be that the bug is in there (i tried to get rid of the double-escaping that happens when using atom_getstring().
could you send me your crash-patch ?
mfg.asd.r IOhannes
IOhannes m zmoelnig wrote:
carmen wrote:
hi, i plan to teach myself c/c++ so i can do more than just complain about things.. :) but i noticed the list2symbol source changed recently, and now it seems to be heartily crashing (CVS HEAD version 0.39 TEST 5):
wow, i haven't tested the new l2s code very much, so it could well be that the bug is in there (i tried to get rid of the double-escaping that happens when using atom_getstring().
could you send me your crash-patch ?
thanks for all the patches to reproduce the behaviour. the current HEAD of zexy (i just checked it in) should have this resolved.
mfg.asd.r IOhannes