Hallo!
I encountered this problem in the destructor of flext/readanysf~ (latest from cvs - simply wanted to delete readanysf~):
------8<--------- *** glibc detected *** free(): invalid pointer: 0x08114e2c *** [Thread -1236866128 (LWP 24354) exited]
Program received signal SIGABRT, Aborted. [Switching to Thread -1209653568 (LWP 24314)] 0xb7e8c9e7 in raise () from /lib/tls/libc.so.6 (gdb) bt #0 0xb7e8c9e7 in raise () from /lib/tls/libc.so.6 #1 0xb7e8e31b in abort () from /lib/tls/libc.so.6 #2 0xb7ec3365 in __fsetlocking () from /lib/tls/libc.so.6 #3 0xb7ec9a07 in malloc_usable_size () from /lib/tls/libc.so.6 #4 0xb7ec9ea2 in free () from /lib/tls/libc.so.6 #5 0xb7e2c269 in flext_root_shared::operator delete () from /usr/local/lib/libflext-pd.so.0.5 #6 0xb7e272dd in flext_base_shared::~flext_base_shared () from /usr/local/lib/libflext-pd.so.0.5 #7 0xb7e27f88 in flext_dsp_shared::~flext_dsp_shared () from /usr/local/lib/libflext-pd.so.0.5 #8 0xb7e5b054 in readanysf::~readanysf () from /usr/lib/pd/externs/readanysf~.pd_linux #9 0xb7e5c408 in readanysf::__free__ () from /usr/lib/pd/externs/readanysf~.pd_linux #10 0xb7e28e95 in flext_obj_shared::obj_free () from /usr/local/lib/libflext-pd.so.0.5 #11 0x0809f687 in pd_free (x=0x8118490) at m_pd.c:33 #12 0x080577c9 in glist_delete (x=0x8118358, y=0x8118490) at g_graph.c:120 #13 0x0805c65c in graph_delete (z=0x8118358, glist=0x0) at g_graph.c:986 #14 0x08081bee in gobj_delete (x=0x5efa, glist=0x0) at g_editor.c:61 #15 0x0805777d in glist_delete (x=0x8115038, y=0x8118358) at g_graph.c:108 #16 0x08080d15 in canvas_doclear (x=0x8115038) at g_editor.c:2051 ---Type <return> to continue, or q <return> to quit--- #17 0x08085607 in canvas_cut (x=0x8115038) at g_editor.c:2073 #18 0x080a07ed in pd_typedmess (x=0x8115038, s=0x5efa, argc=135352376, argv=0x437a0000) at m_class.c:728 #19 0x080a06b6 in pd_typedmess (x=0x811aaf0, s=0x5efa, argc=0, argv=0x80f92a8) at m_class.c:749 #20 0x080a3b94 in binbuf_eval (x=0x0, target=0x811aaf0, argc=0, argv=0x0) at m_binbuf.c:574 #21 0x080abfc0 in socketreceiver_read (x=0x8114560, fd=0) at s_inter.c:539 #22 0x080adc8f in sys_domicrosleep (microsec=0, pollem=1) at s_inter.c:180 #23 0x080ad8ce in sys_pollgui () at s_inter.c:822 #24 0x080a8878 in m_scheduler () at m_sched.c:466 #25 0x080b32cb in main (argc=0, argv=0x0) at s_entry.c:27 (gdb) -------8<------------
I have no idea where the problem should be ... if it's a flext or readanysf~ issue ...
LG Georg