Public bug reported: see <http://www.mail-archive.com/ubuntu-devel- disc...@lists.ubuntu.com/msg13281.html> for context:
This trivial program: #include <dmalloc.h> int main (int argc, char *argv[]) { malloc(1); return 0; } compiled with gcc -o tst tst.c -ldmalloc crashes on exit: #5 0x00007ffff7af11fa in ?? () from /usr/lib/libdmalloc.so.5 #6 0x00007ffff7af1a72 in dmalloc_free () from /usr/lib/libdmalloc.so.5 #7 0x00007ffff7771ba4 in vfprintf () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x00007ffff7831580 in __vsnprintf_chk () from /lib/x86_64-linux-gnu/libc.so.6 #9 0x00007ffff7aebf7e in loc_vsnprintf () from /usr/lib/libdmalloc.so.5 #10 0x00007ffff7aec022 in loc_snprintf () from /usr/lib/libdmalloc.so.5 #11 0x00007ffff7af0c48 in _dmalloc_die () from /usr/lib/libdmalloc.so.5 #12 0x00007ffff7af11fa in ?? () from /usr/lib/libdmalloc.so.5 #13 0x00007ffff7af1a72 in dmalloc_free () from /usr/lib/libdmalloc.so.5 #14 0x00007ffff7771ba4 in vfprintf () from /lib/x86_64-linux-gnu/libc.so.6 #15 0x00007ffff7831580 in __vsnprintf_chk () from /lib/x86_64-linux-gnu/libc.so.6 #16 0x00007ffff7aebf7e in loc_vsnprintf () from /usr/lib/libdmalloc.so.5 #17 0x00007ffff7aec022 in loc_snprintf () from /usr/lib/libdmalloc.so.5 I guess dmalloc is out of date with something that changed in libc. I tested on Precise; apparently it is also broken on Oneiric. The user reports upstream is unresponsive. Perhaps dmalloc should be removed from Precise, if it's not too late? ** Affects: dmalloc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/971174 Title: segfault on exiting trivial program linked to dmalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmalloc/+bug/971174/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs