From: Duilio J. P. <dp...@fc...> - 2004-07-05 23:57:48
|
> On quit running valgrind ./simplesdl: > > > ==26715== > ==26715== Invalid free() / delete / delete[] > ==26715== at 0x3C01F918: free (vg_replace_malloc.c:127) > ==26715== by 0x3C10B502: visual_list_free > (in /usr/lib/libvisual.so.0.0.0) > ==26715== by 0x3C107D2C: visual_plugin_ref_list_destroy > (in /usr/lib/libvisual.so.0.0.0) > ==26715== by 0x3C10C3A2: visual_quit (in /usr/lib/libvisual.so.0.0.0) > ==26715== Address 0x3CB57A34 is 0 bytes inside a block of size 12 > free'd > ==26715== at 0x3C01F918: free (vg_replace_malloc.c:127) > ==26715== by 0x3C10B502: visual_list_free > (in /usr/lib/libvisual.so.0.0.0) > ==26715== by 0x3C10B5A7: visual_list_destroy > (in /usr/lib/libvisual.so.0.0.0) > ==26715== by 0x3C107D22: visual_plugin_ref_list_destroy > (in /usr/lib/libvisual.so.0.0.0) > ==26715== > ==26715== Jump to the invalid address stated on the next line > ==26715== at 0x0: ??? > ==26715== by 0x3C10C3C0: visual_quit (in /usr/lib/libvisual.so.0.0.0) > ==26715== by 0x8049E87: main > (in /usr/src/libvis-newcvs/libvisual/examples/simplesdl) > ==26715== Address 0x0 is not stack'd, malloc'd or free'd > ==26715== > ==26715== Process terminating with default action of signal 11 > (SIGSEGV): dumping core > ==26715== Access not within mapped region at address 0x0 > ==26715== at 0x0: ??? > ==26715== by 0x3C10C3C0: visual_quit (in /usr/lib/libvisual.so.0.0.0) > ==26715== by 0x8049E87: main > (in /usr/src/libvis-newcvs/libvisual/examples/simplesdl) > ==26715== > > > > Maybe this also causes some xmms plugin borkage that we've been seeing, > not sure tho... That problem with visual_list_destroy() is exactly the same we have in XMMS plugin, and that's the reason I will wait to catch the errors on plugin's quit until libvisual code revision has be done (after 0.1.6). Duilio. |