kandersen/Artemis — Issue #12: Segfault when application exits
Author: sema
Created: 2012-02-13 11:00:48+00:00
State: open

I get the following segfault when the application exists. This appeared on a different machine after the jquery branch was merged (but not on the machine this branch was developed on).

The error is as follows:

*** glibc detected *** ./artemis-code/dist/artemis: double free or corruption (out): 0x0000000000dd7660 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x78a96)[0x7f8f37017a96]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f8f3701bd7c]
/home/semadk/src/github/artemis/qt/lib/libQtCore.so.4(_ZN7QObjectD2Ev+0x620)[0x7f8f37c18760]
/lib/x86_64-linux-gnu/libc.so.6(+0x3b821)[0x7f8f36fda821]
/lib/x86_64-linux-gnu/libc.so.6(+0x3b8a5)[0x7f8f36fda8a5]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf4)[0x7f8f36fc0314]
./artemis-code/dist/artemis[0x409e3d]
======= Memory map: ========
00400000-0045c000 r-xp 00000000 08:01 9577686 /home/semadk/src/github/artemis/artemis-code/dist/artemis
0065c000-0065d000 r--p 0005c000 08:01 9577686 /home/semadk/src/github/artemis/artemis-code/dist/artemis
0065d000-0065e000 rw-p 0005d000 08:01 9577686 /home/semadk/src/github/artemis/artemis-code/dist/artemis
0065e000-0065f000 rw-p 00000000 00:00 0
00d7c000-013ea000 rw-p 00000000 00:00 0 [heap]
7f8f2a8e2000-7f8f2ace2000 rw-p 00000000 00:00 0
7f8f2ace2000-7f8f2ace3000 ---p 00000000 00:00 0
7f8f2ace3000-7f8f2b4e3000 rw-p 00000000 00:00 0
7f8f2b4e3000-7f8f2b53b000 r-xp 00000000 08:01 10102191 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqtiff.so
7f8f2b53b000-7f8f2b73b000 ---p 00058000 08:01 10102191 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqtiff.so
7f8f2b73b000-7f8f2b73d000 r--p 00058000 08:01 10102191 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqtiff.so
7f8f2b73d000-7f8f2b73e000 rw-p 0005a000 08:01 10102191 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqtiff.so
7f8f2b73e000-7f8f2b743000 r-xp 00000000 08:01 10102194 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqtga.so
7f8f2b743000-7f8f2b942000 ---p 00005000 08:01 10102194 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqtga.so
7f8f2b942000-7f8f2b943000 r--p 00004000 08:01 10102194 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqtga.so
7f8f2b943000-7f8f2b944000 rw-p 00005000 08:01 10102194 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqtga.so
7f8f2b944000-7f8f2b999000 r-xp 00000000 08:01 10102163 /home/semadk/src/github/artemis/qt/lib/libQtSvg.so.4.8.0
7f8f2b999000-7f8f2bb99000 ---p 00055000 08:01 10102163 /home/semadk/src/github/artemis/qt/lib/libQtSvg.so.4.8.0
7f8f2bb99000-7f8f2bb9b000 r--p 00055000 08:01 10102163 /home/semadk/src/github/artemis/qt/lib/libQtSvg.so.4.8.0
7f8f2bb9b000-7f8f2bb9c000 rw-p 00057000 08:01 10102163 /home/semadk/src/github/artemis/qt/lib/libQtSvg.so.4.8.0
7f8f2bb9c000-7f8f2bba1000 r-xp 00000000 08:01 10102186 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqsvg.so
7f8f2bba1000-7f8f2bda0000 ---p 00005000 08:01 10102186 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqsvg.so
7f8f2bda0000-7f8f2bda1000 r--p 00004000 08:01 10102186 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqsvg.so
7f8f2bda1000-7f8f2bda2000 rw-p 00005000 08:01 10102186 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqsvg.so
7f8f2bda2000-7f8f2bdfd000 r-xp 00000000 08:01 10102189 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqmng.so
7f8f2bdfd000-7f8f2bffc000 ---p 0005b000 08:01 10102189 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqmng.so
7f8f2bffc000-7f8f2bfff000 r--p 0005a000 08:01 10102189 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqmng.so
7f8f2bfff000-7f8f2c000000 rw-p 0005d000 08:01 10102189 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqmng.so
7f8f2c000000-7f8f2c03f000 rw-p 00000000 00:00 0
7f8f2c03f000-7f8f30000000 ---p 00000000 00:00 0
7f8f3014e000-7f8f3015c000 rw-p 00000000 00:00 0
7f8f3016a000-7f8f30171000 rw-p 00000000 00:00 0
7f8f30178000-7f8f3017f000 rw-p 00000000 00:00 0
7f8f30186000-7f8f3018d000 rw-p 00000000 00:00 0
7f8f30194000-7f8f301be000 rw-p 00000000 00:00 0
7f8f301d2000-7f8f301e0000 rw-p 00000000 00:00 0
7f8f301e7000-7f8f301fc000 rw-p 00000000 00:00 0
7f8f301fc000-7f8f30238000 r-xp 00000000 08:01 10102187 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqjpeg.so
7f8f30238000-7f8f30438000 ---p 0003c000 08:01 10102187 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqjpeg.so
7f8f30438000-7f8f30439000 r--p 0003c000 08:01 10102187 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqjpeg.so
7f8f30439000-7f8f3043a000 rw-p 0003d000 08:01 10102187 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqjpeg.so
7f8f3043a000-7f8f30441000 r-xp 00000000 08:01 10102192 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqico.so
7f8f30441000-7f8f30640000 ---p 00007000 08:01 10102192 /home/semadk/src/github/artemis/qt/plugins/imageformats/libqico.sozsh: abort ./artemis-code/dist/artemis