Hello, Using Mesa 8.0.4 from Debian Wheezy / Testing. Sometimes (maybe 1 in 5 times) while changing resolutions, I get a crash in supertuxkart. I filed a bug against supertuxkart and they think it is a bug in the graphics driver. Thanks for your time. Here is the dbg output: david@Miho:~$ gdb supertuxkart GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/games/supertuxkart...Reading symbols from /usr/lib/debug/.build-id/5c/d0ba41e8c6154a7d063a3bd976c275ec6b596f.debug...done. done. (gdb) continue The program is not being run. (gdb) start Temporary breakpoint 1 at 0x80e39b0: file /tmp/buildd/supertuxkart-0.7.3/src/main.cpp, line 1099. Starting program: /usr/games/supertuxkart [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1". Temporary breakpoint 1, main (argc=1, argv=0xbffff864) at /tmp/buildd/supertuxkart-0.7.3/src/main.cpp:1099 1099 /tmp/buildd/supertuxkart-0.7.3/src/main.cpp: No such file or directory. (gdb) continue Continuing. Irrlicht Engine version 1.8.0 Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.32-1 i686 [FileManager] Data files will be fetched from: '/usr/share/games/supertuxkart' [FileManager] Addons files will be stored in '/home/david/.local/share/supertuxkart/addons'. [IrrDriver] Trying OpenGL rendering. [New Thread 0xb4bdcb70 (LWP 8063)] [Thread 0xb4bdcb70 (LWP 8063) exited] [New Thread 0xb4bdcb70 (LWP 8064)] Error messages and other text output will be logged to /home/david/.config/supertuxkart/stdout.log and /home/david/.config/supertuxkart/stderr.log Program received signal SIGSEGV, Segmentation fault. 0x00000101 in ?? () (gdb) bt full #0 0x00000101 in ?? () No symbol table info available. #1 0xb6022731 in unsafe_free (info=0xa8c6798) at ralloc.c:251 temp = <optimized out> #2 0xb602271b in unsafe_free (info=0xbaef128) at ralloc.c:246 temp = <optimized out> #3 0xb6028c60 in glsl_symbol_table::~glsl_symbol_table (this=0xa72ac98, __in_chrg=<optimized out>) at glsl_symbol_table.cpp:63 No locals. #4 0xb6027b0b in glsl_symbol_table::_glsl_symbol_table_destructor (table=0xa72ac98) at glsl_symbol_table.h:50 No locals. #5 0xb6022731 in unsafe_free (info=0xa72ac80) at ralloc.c:251 temp = <optimized out> #6 0xb602271b in unsafe_free (info=0xa72abe0) at ralloc.c:246 temp = <optimized out> #7 0xb6022aa3 in ralloc_free (ptr=ptr@entry=0xa72abf8) at ralloc.c:216 info = <optimized out> #8 0xb6092df3 in _mesa_delete_shader (ctx=0x8562200, sh=0xa72abf8) at main/shaderobj.c:130 No locals. #9 0xb6092e78 in _mesa_reference_shader (ctx=ctx@entry=0x8562200, ptr=0x89bba40, sh=sh@entry=0x0) at main/shaderobj.c:78 deleteFlag = 0 '\000' old = 0xa72abf8 ---Type <return> to continue, or q <return> to quit--- #10 0xb609326d in _mesa_free_shader_program_data (ctx=ctx@entry=0x8562200, shProg=shProg@entry=0x86627c0) at main/shaderobj.c:325 i = <optimized out> sh = <optimized out> #11 0xb609332a in _mesa_delete_shader_program (ctx=0x8562200, shProg=0x86627c0) at main/shaderobj.c:359 No locals. #12 0xb6093028 in _mesa_reference_shader_program (ctx=ctx@entry=0x8562200, ptr=ptr@entry=0xad70918, shProg=0x0, shProg@entry=0xf) at main/shaderobj.c:220 deleteFlag = 0 '\000' old = 0x86627c0 #13 0xb60f25f7 in clear_cache (ctx=ctx@entry=0x8562200, cache=cache@entry=0xad037d8, shader=shader@entry=1 '\001') at program/prog_cache.c:121 c = 0xad70910 next = 0x0 i = <optimized out> #14 0xb60f276c in _mesa_delete_shader_cache (ctx=ctx@entry=0x8562200, cache=0xad037d8) at program/prog_cache.c:167 No locals. #15 0xb60eba20 in _mesa_free_program_data (ctx=ctx@entry=0x8562200) at program/program.c:143 No locals. #16 0xb6035f09 in _mesa_free_context_data (ctx=ctx@entry=0x8562200) at main/context.c:1118 No locals. #17 0xb60dfd62 in st_destroy_context (st=st@entry=0x862d460) at state_tracker/st_context.c:262 ---Type <return> to continue, or q <return> to quit--- pipe = 0x855f1f0 cso = 0xa7dd8c0 ctx = 0x8562200 i = 3 #18 0xb602400b in st_context_destroy (stctxi=0x862d460) at state_tracker/st_manager.c:596 st = 0x862d460 #19 0xb5fd6e97 in dri_destroy_context (cPriv=0xbf96a00) at dri_context.c:174 ctx = 0x8430000 #20 0xb5fd2c3a in driDestroyContext (pcp=0xbf96a00) at ../common/dri_util.c:277 No locals. #21 0xb794844a in dri2_destroy_context (context=0xa556e10) at dri2_glx.c:132 pcp = 0xa556e10 psc = 0xbaddce0 #22 0xb791f3c8 in glXDestroyContext (ctx=0xa556e10, dpy=0xa492e38) at glxcmds.c:424 No locals. #23 glXDestroyContext (dpy=0xa492e38, ctx=0xa556e10) at glxcmds.c:405 gc = 0xa556e10 #24 0xb7d4c21b in irr::CIrrDeviceLinux::~CIrrDeviceLinux (this=this@entry=0x8430ae0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at CIrrDeviceLinux.cpp:178 No locals. #25 0xb7d4c4b2 in irr::CIrrDeviceLinux::~CIrrDeviceLinux (this=0x8430ae0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at CIrrDeviceLinux.cpp:210 No locals. #26 0x08135a7d in drop (this=<optimized out>) at /usr/include/irrlicht/IReferenceCounted.h:124 ---Type <return> to continue, or q <return> to quit--- No locals. #27 drop (this=<optimized out>) at /tmp/buildd/supertuxkart-0.7.3/src/graphics/irr_driver.cpp:121 No locals. #28 IrrDriver::initDevice (this=0x83a88f0) at /tmp/buildd/supertuxkart-0.7.3/src/graphics/irr_driver.cpp:156 num_drivers = <optimized out> material2D = <optimized out> #29 0x08135fe7 in IrrDriver::applyResolutionSettings (this=0x83a88f0) at /tmp/buildd/supertuxkart-0.7.3/src/graphics/irr_driver.cpp:411 materials_file = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x0}} #30 0x08137cd6 in IrrDriver::update (this=0x83a88f0, dt=0.0280000009) at /tmp/buildd/supertuxkart-0.7.3/src/graphics/irr_driver.cpp:1205 world = 0x0 inRace = <optimized out> back_buffer_clear = <optimized out> #31 0x081da50c in MainLoop::run (this=0x899b9e8) at /tmp/buildd/supertuxkart-0.7.3/src/main_loop.cpp:156 dt = 0.0280000009 device = 0x101 #32 0x080e3fa5 in main (argc=1, argv=0xbffff864) at /tmp/buildd/supertuxkart-0.7.3/src/main.cpp:1309 materials_file = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>---Type <return> to continue, or q <return> to quit--- }, <No data fields>}, _M_p = 0xa7da32c "/usr/share/games/supertuxkart/data/models//materials.xml"}} (gdb)
The gdb output from using upstream's binaries of the game is a little bit different, but it still crashes and it looks like it's inside of r300_dri.so. david@Miho:~/temp/supertuxkart-0.7.3-linux-glibc2.11-i386/bin$ gdb ./supertuxkart GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /mnt/320GB/home/david/temp/supertuxkart-0.7.3-linux-glibc2.11-i386/bin/supertuxkart...(no debugging symbols found)...done. (gdb) start Temporary breakpoint 1 at 0x8054851 Starting program: /mnt/320GB/home/david/temp/supertuxkart-0.7.3-linux-glibc2.11-i386/bin/supertuxkart [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1". Temporary breakpoint 1, 0x08054851 in main () (gdb) continue Continuing. Irrlicht Engine version 1.8.0-alpha Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.32-1 i686 [FileManager] Data files will be fetched from: '..' [FileManager] Addons files will be stored in '/home/david/.local/share/supertuxkart/addons'. [IrrDriver] Trying OpenGL rendering. [New Thread 0xb5282b70 (LWP 8400)] [Thread 0xb5282b70 (LWP 8400) exited] [New Thread 0xb5282b70 (LWP 8401)] Error messages and other text output will be logged to /home/david/.config/supertuxkart/stdout.log and /home/david/.config/supertuxkart/stderr.log *** glibc detected *** /mnt/320GB/home/david/temp/supertuxkart-0.7.3-linux-glibc2.11-i386/bin/supertuxkart: double free or corruption (!prev): 0x0b058ef8 *** ======= Backtrace: ========= /lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x70f01)[0xb7c82f01] /lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x72768)[0xb7c84768] /lib/i386-linux-gnu/i686/cmov/libc.so.6(cfree+0x6d)[0xb7c8781d] /usr/lib/i386-linux-gnu/dri/r300_dri.so(+0x27c64b)[0xb67b064b] ======= Memory map: ======== 08048000-0872f000 r-xp 00000000 00:15 8963889 /mnt/320GB/home/david/temp/supertuxkart-0.7.3-linux-glibc2.11-i386/bin/supertuxkart 0872f000-08730000 r--p 006e6000 00:15 8963889 /mnt/320GB/home/david/temp/supertuxkart-0.7.3-linux-glibc2.11-i386/bin/supertuxkart 08730000-08735000 rw-p 006e7000 00:15 8963889 /mnt/320GB/home/david/temp/supertuxkart-0.7.3-linux-glibc2.11-i386/bin/supertuxkart 08735000-0d6c2000 rw-p 00000000 00:00 0 [heap] b0a7a000-b0a81000 r--s 00000000 08:01 556247 /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache b0b1f000-b1d23000 rw-p 00000000 00:00 0 b1e23000-b1f24000 rw-p 00000000 00:00 0 b2100000-b2121000 rw-p 00000000 00:00 0 b2121000-b2200000 ---p 00000000 00:00 0 b2229000-b252b000 rw-p 00000000 00:00 0 b262b000-b272c000 rw-p 00000000 00:00 0 b282e000-b2e30000 rw-p 00000000 00:00 0 b2f2f000-b3030000 rw-p 00000000 00:00 0 b303c000-b323e000 rw-p 00000000 00:00 0 b3240000-b3441000 rw-p 00000000 00:00 0 b3541000-b3a43000 rw-p 00000000 00:00 0 b3abd000-b3c3f000 rw-p 00000000 00:00 0 b3d40000-b4656000 rw-p 00000000 00:00 0 b46c5000-b4966000 rw-p 00000000 00:00 0 b4966000-b4a59000 r-xp 00000000 08:01 532095 /usr/lib/i386-linux-gnu/libasound.so.2.0.0 b4a59000-b4a5d000 r--p 000f2000 08:01 532095 /usr/lib/i386-linux-gnu/libasound.so.2.0.0 b4a5d000-b4a5e000 rw-p 000f6000 08:01 532095 /usr/lib/i386-linux-gnu/libasound.so.2.0.0 b4a82000-b4a83000 ---p 00000000 00:00 0 b4a83000-b5283000 rw-p 00000000 00:00 0 b5303000-b5404000 rw-p 00000000 00:00 0 b5409000-b580a000 rw-p 00000000 00:00 0 b5888000-b5a0a000 rw-p 00000000 00:00 0 b5b0b000-b5c71000 r-xp 00000000 08:01 532630 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8 b5c71000-b5c82000 r--p 00165000 08:01 532630 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8 b5c82000-b5c83000 rw-p 00176000 08:01 532630 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8 b5d73000-b5f75000 rw-p 00000000 00:00 0 b5f75000-b5f85000 rw-s 00000000 00:04 17039435 /SYSV0056a4d6 (deleted) b5f85000-b5f95000 rw-s 00000000 00:05 5151 /dev/snd/pcmC0D0p b5f95000-b5fbf000 r-xp 00000000 08:01 532627 /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5 b5fbf000-b5fc0000 r--p 00029000 08:01 532627 /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5 b5fc0000-b5fc1000 rw-p 0002a000 08:01 532627 /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5 b5fc1000-b600f000 r-xp 00000000 08:01 532724 /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0 b600f000-b6010000 r--p 0004d000 08:01 532724 /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0 b6010000-b6011000 rw-p 0004e000 08:01 532724 /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0 b6011000-b607e000 r-xp 00000000 08:01 532730 /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25 b607e000-b6080000 r--p 0006c000 08:01 532730 /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25 b6080000-b6081000 rw-p 0006e000 08:01 532730 /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25 b6081000-b6085000 rw-p 00000000 00:00 0 b60e4000-b6266000 rw-p 00000000 00:00 0 b6266000-b626c000 r-xp 00000000 08:01 532617 /usr/lib/i386-linux-gnu/libogg.so.0.8.0 b626c000-b626d000 rw-p 00005000 08:01 532617 /usr/lib/i386-linux-gnu/libogg.so.0.8.0 b626d000-b6280000 r-xp 00000000 08:01 262343 /lib/i386-linux-gnu/i686/cmov/libnsl-2.13.so b6280000-b6281000 r--p 00012000 08:01 262343 /lib/i386-linux-gnu/i686/cmov/libnsl-2.13.so b6281000-b6282000 rw-p 00013000 08:01 262343 /lib/i386-linux-gnu/i686/cmov/libnsl-2.13.so b6282000-b6284000 rw-p 00000000 00:00 0 b6284000-b6292000 r-xp 00000000 08:01 533584 /usr/lib/i386-linux-gnu/libXi.so.6.1.0 b6292000-b6293000 rw-p 0000d000 08:01 533584 /usr/lib/i386-linux-gnu/libXi.so.6.1.0 b6293000-b6297000 r-xp 00000000 08:01 262239 /lib/i386-linux-gnu/libuuid.so.1.3.0 b6297000-b6298000 r--p 00003000 08:01 262239 /lib/i386-linux-gnu/libuuid.so.1.3.0 b6298000-b6299000 rw-p 00004000 08:01 262239 /lib/i386-linux-gnu/libuuid.so.1.3.0 b6299000-b629d000 r-xp 00000000 08:01 262172 /lib/i386-linux-gnu/libattr.so.1.1.0 b629d000-b629e000 r--p 00003000 08:01 262172 /lib/i386-linux-gnu/libattr.so.1.1.0 b629e000-b629f000 rw-p 00004000 08:01 262172 /lib/i386-linux-gnu/libattr.so.1.1.0 b629f000-b62a7000 r-xp 00000000 08:01 262224 /lib/i386-linux-gnu/libwrap.so.0.7.6 b62a7000-b62a8000 r--p 00007000 08:01 262224 /lib/i386-linux-gnu/libwrap.so.0.7.6 b62a8000-b62a9000 rw-p 00008000 08:01 262224 /lib/i386-linux-gnu/libwrap.so.0.7.6 b62a9000-b62f2000 r-xp 00000000 08:01 265944 /lib/i386-linux-gnu/libdbus-1.so.3.7.2 b62f2000-b62f3000 ---p 00049000 08:01 265944 /lib/i386-linux-gnu/libdbus-1.so.3.7.2 b62f3000-b62f4000 r--p 00049000 08:01 265944 /lib/i386-linux-gnu/libdbus-1.so.3.7.2 b62f4000-b62f5000 rw-p 0004a000 08:01 265944 /lib/i386-linux-gnu/libdbus-1.so.3.7.2 b62f5000-b635b000 r-xp 00000000 08:01 524966 /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-2.0.so b635b000-b635c000 r--p 00065000 08:01 524966 /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-2.0.so b635c000-b635d000 rw-p 00066000 08:01 524966 /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-2.0.so b635d000-b63ab000 r-xp 00000000 08:01 524965 /usr/lib/i386-linux-gnu/libpulse.so.0.14.2 b63ab000-b63ac000 r--p 0004d000 08:01 524965 /usr/lib/i386-linux-gnu/libpulse.so.0.14.2 b63ac000-b63ad000 rw-p 0004e000 08:01 524965 /usr/lib/i386-linux-gnu/libpulse.so.0.14.2 b63f2000-b6408000 r-xp 00000000 08:01 533653 /usr/lib/i386-linux-gnu/libICE.so.6.3.0 b6408000-b640a000 rw-p 00015000 08:01 533653 /usr/lib/i386-linux-gnu/libICE.so.6.3.0 b640a000-b640b000 rw-p 00000000 00:00 0 b6410000-b641a000 r-xp 00000000 08:01 262360 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so b641a000-b641b000 r--p 00009000 08:01 262360 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so b641b000-b641c000 rw-p 0000a000 08:01 262360 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so b641c000-b6425000 r-xp 00000000 08:01 262180 /lib/i386-linux-gnu/i686/cmov/libnss_nis-2.13.so b6425000-b6426000 r--p 00008000 08:01 262180 /lib/i386-linux-gnu/i686/cmov/libnss_nis-2.13.so b6426000-b6427000 rw-p 00009000 08:01 262180 /lib/i386-linux-gnu/i686/cmov/libnss_nis-2.13.so b6427000-b642d000 r-xp 00000000 08:01 262341 /lib/i386-linux-gnu/i686/cmov/libnss_compat-2.13.so b642d000-b642e000 r--p 00005000 08:01 262341 /lib/i386-linux-gnu/i686/cmov/libnss_compat-2.13.so b642e000-b642f000 rw-p 00006000 08:01 262341 /lib/i386-linux-gnu/i686/cmov/libnss_compat-2.13.so b642f000-b6438000 r-xp 00000000 08:01 533578 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2 b6438000-b6439000 rw-p 00009000 08:01 533578 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2 b643a000-b643f000 r-xp 00000000 08:01 532651 /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1 b643f000-b6440000 rw-p 00004000 08:01 532651 /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1 b6440000-b6445000 r-xp 00000000 08:01 532732 /usr/lib/i386-linux-gnu/libXtst.so.6.1.0 b6445000-b6446000 rw-p 00004000 08:01 532732 /usr/lib/i386-linux-gnu/libXtst.so.6.1.0 b6446000-b644d000 r-xp 00000000 08:01 533663 /usr/lib/i386-linux-gnu/libSM.so.6.0.1 b644d000-b644e000 rw-p 00006000 08:01 533663 /usr/lib/i386-linux-gnu/libSM.so.6.0.1 b644e000-b6452000 r-xp 00000000 08:01 262166 /lib/i386-linux-gnu/libcap.so.2.22 b6452000-b6453000 rw-p 00003000 08:01 262166 /lib/i386-linux-gnu/libcap.so.2.22 b6453000-b645a000 r-xp 00000000 08:01 532722 /usr/lib/i386-linux-gnu/libjson.so.0.0.1 b645a000-b645b000 r--p 00006000 08:01 532722 /usr/lib/i386-linux-gnu/libjson.so.0.0.1 b645b000-b645c000 rw-p 00007000 08:01 532722 /usr/lib/i386-linux-gnu/libjson.so.0.0.1 b645d000-b64dd000 rwxp 00000000 00:00 0 b64dd000-b6503000 r-xp 00000000 08:01 266092 /lib/i386-linux-gnu/libexpat.so.1.6.0 b6503000-b6504000 ---p 00026000 08:01 266092 /lib/i386-linux-gnu/libexpat.so.1.6.0 b6504000-b6506000 r--p 00026000 08:01 266092 /lib/i386-linux-gnu/libexpat.so.1.6.0 b6506000-b6507000 rw-p 00028000 08:01 266092 /lib/i386-linux-gnu/libexpat.so.1.6.0 b6507000-b650f000 r-xp 00000000 08:01 532106 /usr/lib/i386-linux-gnu/libffi.so.5.0.10 b650f000-b6510000 rw-p 00008000 08:01 532106 /usr/lib/i386-linux-gnu/libffi.so.5.0.10 b6510000-b6511000 rw-p 00000000 00:00 0 b6511000-b6512000 rw-s 81000000 00:05 5151 /dev/snd/pcmC0D0p b6521000-b6531000 rw-s 12a8af000 00:05 3974 /dev/dri/card0 b6534000-b7299000 r-xp 00000000 08:01 658326 /usr/lib/i386-linux-gnu/dri/r300_dri.so b7299000-b72e1000 rw-p 00d64000 08:01 658326 /usr/lib/i386-linux-gnu/dri/r300_dri.so b72e1000-b74c3000 rw-p 00000000 00:00 0 b74c3000-b763a000 r--p 00000000 08:01 533591 /usr/lib/locale/locale-archive b763a000-b763f000 rw-p 00000000 00:00 0 b763f000-b7642000 r-xp 00000000 08:01 262495 /lib/i386-linux-gnu/libgpg-error.so.0.8.0 b7642000-b7643000 rw-p 00002000 08:01 262495 /lib/i386-linux-gnu/libgpg-error.so.0.8.0 b7643000-b7653000 r-xp 00000000 08:01 528535 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0 b7653000-b7654000 r--p 00010000 08:01 528535 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0 b7654000-b7655000 rw-p 00011000 08:01 528535 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0 b7655000-b7665000 r-xp 00000000 08:01 528538 /usr/lib/i386-linux-gnu/libtasn1.so.3.1.16 b7665000-b7666000 r--p 0000f000 08:01 528538 /usr/lib/i386-linux-gnu/libtasn1.so.3.1.16 b7666000-b7667000 rw-p 00010000 08:01 528538 /usr/lib/i386-linux-gnu/libtasn1.so.3.1.16 b7667000-b766a000 r-xp 00000000 08:01 266114 /lib/i386-linux-gnu/libkeyutils.so.1.4 b766a000-b766b000 r--p 00002000 08:01 266114 /lib/i386-linux-gnu/libkeyutils.so.1.4 b766b000-b766c000 rw-p 00003000 08:01 266114 /lib/i386-linux-gnu/libkeyutils.so.1.4 b766c000-b7673000 r-xp 00000000 08:01 525369 /usr/lib/i386-linux-gnu/libkrb5support.so.0.1 b7673000-b7674000 r--p 00007000 08:01 525369 /usr/lib/i386-linux-gnu/libkrb5support.so.0.1 b7674000-b7675000 rw-p 00008000 08:01 525369 /usr/lib/i386-linux-gnu/libkrb5support.so.0.1 b7675000-b7676000 rw-p 00000000 00:00 0 b7676000-b7679000 r-xp 00000000 08:01 262182 /lib/i386-linux-gnu/libcom_err.so.2.1 b7679000-b767a000 r--p 00002000 08:01 262182 /lib/i386-linux-gnu/libcom_err.so.2.1 b767a000-b767b000 rw-p 00003000 08:01 262182 /lib/i386-linux-gnu/libcom_err.so.2.1 b767b000-b76a2000 r-xp 00000000 08:01 525343 /usr/lib/i386-linux-gnu/libk5crypto.so.3.1 b76a2000-b76a3000 r--p 00026000 08:01 525343 /usr/lib/i386-linux-gnu/libk5crypto.so.3.1 b76a3000-b76a4000 rw-p 00027000 08:01 525343 /usr/lib/i386-linux-gnu/libk5crypto.so.3.1 b76a4000-b76a5000 rw-p 00000000 00:00 0 b76a5000-b7770000 r-xp 00000000 08:01 525359 /usr/lib/i386-linux-gnu/libkrb5.so.3.3 b7770000-b7776000 r--p 000ca000 08:01 525359 /usr/lib/i386-linux-gnu/libkrb5.so.3.3 b7776000-b7777000 rw-p 000d0000 08:01 525359 /usr/lib/i386-linux-gnu/libkrb5.so.3.3 b7777000-b7791000 r-xp 00000000 08:01 524360 /usr/lib/i386-linux-gnu/libsasl2.so.2.0.25 b7791000-b7792000 r--p 00019000 08:01 524360 /usr/lib/i386-linux-gnu/libsasl2.so.2.0.25 b7792000-b7793000 rw-p 0001a000 08:01 524360 /usr/lib/i386-linux-gnu/libsasl2.so.2.0.25 b7793000-b77a3000 r-xp 00000000 08:01 262340 /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so b77a3000-b77a4000 r--p 00010000 08:01 262340 /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so b77a4000-b77a5000 rw-p 00011000 08:01 262340 /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so b77a5000-b77a8000 rw-p 00000000 00:00 0 b77a8000-b77ad000 r-xp 00000000 08:01 532310 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 b77ad000-b77ae000 rw-p 00004000 08:01 532310 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 b77ae000-b77b0000 r-xp 00000000 08:01 532308 /usr/lib/i386-linux-gnu/libXau.so.6.0.0 b77b0000-b77b1000 rw-p 00001000 08:01 532308 /usr/lib/i386-linux-gnu/libXau.so.6.0.0 b77b1000-b77ca000 r-xp 00000000 08:01 532641 /usr/lib/i386-linux-gnu/librtmp.so.0 b77ca000-b77cb000 rw-p 00018000 08:01 532641 /usr/lib/i386-linux-gnu/librtmp.so.0 b77cb000-b784d000 r-xp 00000000 08:01 262297 /lib/i386-linux-gnu/libgcrypt.so.11.7.0 b784d000-b7850000 rw-p 00081000 08:01 262297 /lib/i386-linux-gnu/libgcrypt.so.11.7.0 b7850000-b7851000 rw-p 00000000 00:00 0 b7851000-b7913000 r-xp 00000000 08:01 541827 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.4 b7913000-b7917000 r--p 000c2000 08:01 541827 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.4 b7917000-b7918000 rw-p 000c6000 08:01 541827 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.4 b7918000-b7919000 rw-p 00000000 00:00 0 b7919000-b7930000 r-xp 00000000 08:01 262235 /lib/i386-linux-gnu/libz.so.1.2.7 b7930000-b7931000 r--p 00016000 08:01 262235 /lib/i386-linux-gnu/libz.so.1.2.7 b7931000-b7932000 rw-p 00017000 08:01 262235 /lib/i386-linux-gnu/libz.so.1.2.7 b7932000-b796e000 r-xp 00000000 08:01 525353 /usr/lib/i386-linux-gnu/libgssapi_krb5.so.2.2 b796e000-b796f000 r--p 0003b000 08:01 525353 /usr/lib/i386-linux-gnu/libgssapi_krb5.so.2.2 b796f000-b7970000 rw-p 0003c000 08:01 525353 /usr/lib/i386-linux-gnu/libgssapi_krb5.so.2.2 b7970000-b79be000 r-xp 00000000 08:01 532070 /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.8.3 b79be000-b79bf000 ---p 0004e000 08:01 532070 /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.8.3 b79bf000-b79c0000 r--p 0004e000 08:01 532070 /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.8.3 b79c0000-b79c1000 rw-p 0004f000 08:01 532070 /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.8.3 b79c1000-b79c2000 rw-p 00000000 00:00 0 b79c2000-b79cf000 r-xp 00000000 08:01 532071 /usr/lib/i386-linux-gnu/liblber-2.4.so.2.8.3 b79cf000-b79d0000 r--p 0000c000 08:01 532071 /usr/lib/i386-linux-gnu/liblber-2.4.so.2.8.3 b79d0000-b79d1000 rw-p 0000d000 08:01 532071 /usr/lib/i386-linux-gnu/liblber-2.4.so.2.8.3 b79d1000-b79d2000 rw-p 00000000 00:00 0 b79d2000-b79f9000 r-xp 00000000 08:01 533312 /usr/lib/i386-linux-gnu/libssh2.so.1.0.1 b79f9000-b79fa000 ---p 00027000 08:01 533312 /usr/lib/i386-linux-gnu/libssh2.so.1.0.1 b79fa000-b79fb000 r--p 00027000 08:01 533312 /usr/lib/i386-linux-gnu/libssh2.so.1.0.1 b79fb000-b79fc000 rw-p 00028000 08:01 533312 /usr/lib/i386-linux-gnu/libssh2.so.1.0.1 b79fc000-b7a2d000 r-xp 00000000 08:01 528556 /usr/lib/i386-linux-gnu/libidn.so.11.6.8 b7a2d000-b7a2e000 r--p 00031000 08:01 528556 /usr/lib/i386-linux-gnu/libidn.so.11.6.8 b7a2e000-b7a2f000 rw-p 00032000 08:01 528556 /usr/lib/i386-linux-gnu/libidn.so.11.6.8 b7a2f000-b7a36000 r-xp 00000000 08:01 262395 /lib/i386-linux-gnu/i686/cmov/librt-2.13.so b7a36000-b7a37000 r--p 00006000 08:01 262395 /lib/i386-linux-gnu/i686/cmov/librt-2.13.so b7a37000-b7a38000 rw-p 00007000 08:01 262395 /lib/i386-linux-gnu/i686/cmov/librt-2.13.so b7a38000-b7a3a000 r-xp 00000000 08:01 262333 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so b7a3a000-b7a3b000 r--p 00001000 08:01 262333 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so b7a3b000-b7a3c000 rw-p 00002000 08:01 262333 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so b7a3c000-b7a47000 r-xp 00000000 08:01 532447 /usr/lib/i386-linux-gnu/libdrm.so.2.4.0 b7a47000-b7a48000 r--p 0000a000 08:01 532447 /usr/lib/i386-linux-gnu/libdrm.so.2.4.0 b7a48000-b7a49000 rw-p 0000b000 08:01 532447 /usr/lib/i386-linux-gnu/libdrm.so.2.4.0 b7a49000-b7a4a000 rw-p 00000000 00:00 0 b7a4a000-b7a6b000 r-xp 00000000 08:01 530813 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 b7a6b000-b7a6c000 r--p 00020000 08:01 530813 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 b7a6c000-b7a6d000 rw-p 00021000 08:01 530813 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 b7a6d000-b7a84000 r-xp 00000000 08:01 530825 /usr/lib/i386-linux-gnu/libxcb-glx.so.0.0.0 b7a84000-b7a85000 r--p 00017000 08:01 530825 /usr/lib/i386-linux-gnu/libxcb-glx.so.0.0.0 b7a85000-b7a86000 rw-p 00018000 08:01 530825 /usr/lib/i386-linux-gnu/libxcb-glx.so.0.0.0 b7a86000-b7a87000 r-xp 00000000 08:01 532452 /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0 b7a87000-b7a88000 rw-p 00000000 08:01 532452 /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0 b7a88000-b7a8d000 r-xp 00000000 08:01 533576 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0 b7a8d000-b7a8e000 rw-p 00004000 08:01 533576 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0 b7a8e000-b7a90000 r-xp 00000000 08:01 533580 /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0 b7a90000-b7a91000 rw-p 00001000 08:01 533580 /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0 b7a91000-b7a92000 rw-p 00000000 00:00 0 b7a92000-b7aa3000 r-xp 00000000 08:01 533582 /usr/lib/i386-linux-gnu/libXext.so.6.4.0 b7aa3000-b7aa4000 rw-p 00010000 08:01 533582 /usr/lib/i386-linux-gnu/libXext.so.6.4.0 b7aa4000-b7ab3000 r-xp 00000000 08:01 532457 /usr/lib/i386-linux-gnu/libglapi.so.0.0.0 b7ab3000-b7aba000 rwxp 0000e000 08:01 532457 /usr/lib/i386-linux-gnu/libglapi.so.0.0.0 b7aba000-b7acf000 r-xp 00000000 08:01 262212 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so b7acf000-b7ad0000 r--p 00014000 08:01 262212 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so b7ad0000-b7ad1000 rw-p 00015000 08:01 262212 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so b7ad1000-b7ad3000 rw-p 00000000 00:00 0 b7ad3000-b7ad7000 r-xp 00000000 08:01 533679 /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0 b7ad7000-b7ad8000 r--p 00003000 08:01 533679 /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0 b7ad8000-b7ad9000 rw-p 00004000 08:01 533679 /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0 b7ad9000-b7c0d000 r-xp 00000000 08:01 532316 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 b7c0d000-b7c11000 rw-p 00133000 08:01 532316 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 b7c11000-b7c12000 rw-p 00000000 00:00 0 b7c12000-b7d6e000 r-xp 00000000 08:01 262359 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so b7d6e000-b7d6f000 ---p 0015c000 08:01 262359 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so b7d6f000-b7d71000 r--p 0015c000 08:01 262359 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so b7d71000-b7d72000 rw-p 0015e000 08:01 262359 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so b7d72000-b7d75000 rw-p 00000000 00:00 0 b7d75000-b7d91000 r-xp 00000000 08:01 262148 /lib/i386-linux-gnu/libgcc_s.so.1 b7d91000-b7d92000 rw-p 0001b000 08:01 262148 /lib/i386-linux-gnu/libgcc_s.so.1 b7d92000-b7db6000 r-xp 00000000 08:01 262342 /lib/i386-linux-gnu/i686/cmov/libm-2.13.so b7db6000-b7db7000 r--p 00023000 08:01 262342 /lib/i386-linux-gnu/i686/cmov/libm-2.13.so b7db7000-b7db8000 rw-p 00024000 08:01 262342 /lib/i386-linux-gnu/i686/cmov/libm-2.13.so b7db8000-b7e98000 r-xp 00000000 08:01 524359 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17 b7e98000-b7e9c000 r--p 000e0000 08:01 524359 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17 b7e9c000-b7e9d000 rw-p 000e4000 08:01 524359 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17 b7e9d000-b7ea4000 rw-p 00000000 00:00 0 b7ea4000-b7f06000 r-xp 00000000 08:01 534996 /usr/lib/i386-linux-gnu/libcurl-gnutls.so.4.2.0 b7f06000-b7f08000 r--p 00062000 08:01 534996 /usr/lib/i386-linux-gnu/libcurl-gnutls.so.4.2.0 b7f08000-b7f09000 rw-p 00064000 08:01 534996 /usr/lib/i386-linux-gnu/libcurl-gnutls.so.4.2.0 b7f09000-b7f0a000 rw-p 00000000 00:00 0 b7f0a000-b7f5e000 r-xp 00000000 08:01 537173 /usr/lib/i386-linux-gnu/libopenal.so.1.14.0 b7f5e000-b7f5f000 ---p 00054000 08:01 537173 /usr/lib/i386-linux-gnu/libopenal.so.1.14.0 b7f5f000-b7f60000 r--p 00054000 08:01 537173 /usr/lib/i386-linux-gnu/libopenal.so.1.14.0 b7f60000-b7f61000 rw-p 00055000 08:01 537173 /usr/lib/i386-linux-gnu/libopenal.so.1.14.0 b7f61000-b7fb5000 r-xp 00000000 08:01 528896 /usr/lib/i386-linux-gnu/libGL.so.1.2 b7fb5000-b7fbb000 rwxp 00053000 08:01 528896 /usr/lib/i386-linux-gnu/libGL.so.1.2 b7fbb000-b7fbc000 r--s 80000000 00:05 5151 /dev/snd/pcmC0D0p b7fbc000-b7fbd000 rw-p 00000000 00:00 0 b7fbd000-b7fbe000 rw-s 00000000 00:04 17006659 /SYSV0056a4d5 (deleted) b7fbe000-b7fce000 rw-s 124620000 00:05 3974 /dev/dri/card0 b7fce000-b7fcf000 rwxp 00000000 00:00 0 b7fcf000-b7fd7000 r-xp 00000000 08:01 532488 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0 Program received signal SIGABRT, Aborted. 0xb7fe1424 in __kernel_vsyscall () (gdb) bt full #0 0xb7fe1424 in __kernel_vsyscall () No symbol table info available. #1 0xb7c3c941 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 resultvar = <optimized out> pid = -1210642444 selftid = 8395 #2 0xb7c3fd72 in *__GI_abort () at abort.c:92 act = {__sigaction_handler = {sa_handler = 0xb7fff4e4 <_rtld_global+1220>, sa_sigaction = 0xb7fff4e4 <_rtld_global+1220>}, sa_mask = {__val = {786432, 3070019728, 3059249876, 3221219556, 656614, 3221219524, 3059071252, 3058995172, 0, 63, 3221219368, 3083729912, 8, 3221219452, 3084324852, 4, 3221220912, 3221219572, 3083848660, 13, 3221219452, 8, 0, 3221219548, 0, 6, 3084179537, 3084179533, 3084175012, 3084175077, 2606667, 3221219452}}, sa_flags = -1073747772, sa_restorer = 0xb7d4ec7f} sigs = {__val = {32, 0 <repeats 31 times>}} #3 0xb7c78e15 in __libc_message (do_abort=2, fmt=0xb7d50e70 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189 ap = <optimized out> fd = -1073747412 on_2 = <optimized out> list = <optimized out> nlist = <optimized out> cp = <optimized out> written = false ---Type <return> to continue, or q <return> to quit--- #4 0xb7c82f01 in malloc_printerr (action=<optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0xb058ef8) at malloc.c:6283 buf = "0b058ef8" cp = <optimized out> #5 0xb7c84768 in _int_free (av=<optimized out>, p=<optimized out>) at malloc.c:4795 size = 272 nextchunk = 0x20cb nextsize = 1 prevsize = <optimized out> bck = <optimized out> fwd = <optimized out> errstr = 0x6 <Address 0x6 out of bounds> __func__ = "_int_free" #6 0xb7c8781d in *__GI___libc_free (mem=0xb058ef8) at malloc.c:3738 ar_ptr = 0xb7d723c0 p = 0x6 #7 0xb67b064b in string_to_uint_map::delete_key (key=0xb058ef8, data=0x1, closure=0x0) at program/hash_table.h:272 No locals. #8 0xb678c46d in hash_table_call_foreach (ht=0xb05b038, callback=0xb67b0630 <string_to_uint_map::delete_key(void const*, void*, void*)>, closure=0x0) at ../mesa/program/hash_table.c:202 hn = <optimized out> node = <optimized out> ---Type <return> to continue, or q <return> to quit--- temp = 0xb05b084 bucket = <optimized out> #9 0xb67b060a in ~string_to_uint_map (this=0xb058ee8, __in_chrg=<optimized out>) at program/hash_table.h:213 No locals. #10 string_to_uint_map_dtor (map=0xb058ee8) at program/string_to_uint_map.cpp:41 No locals. #11 0xb67391ac in _mesa_clear_shader_program_data (ctx=ctx@entry=0xcf0c268, shProg=shProg@entry=0xbf9f488) at main/shaderobj.c:288 No locals. #12 0xb6739216 in _mesa_free_shader_program_data (ctx=ctx@entry=0xcf0c268, shProg=shProg@entry=0xbf9f488) at main/shaderobj.c:311 i = <optimized out> sh = <optimized out> #13 0xb673932a in _mesa_delete_shader_program (ctx=0xcf0c268, shProg=0xbf9f488) at main/shaderobj.c:359 No locals. #14 0xb6739028 in _mesa_reference_shader_program (ctx=ctx@entry=0xcf0c268, ptr=ptr@entry=0xb0590d8, shProg=0x0, shProg@entry=0xe) at main/shaderobj.c:220 deleteFlag = 0 '\000' old = 0xbf9f488 #15 0xb67985f7 in clear_cache (ctx=ctx@entry=0xcf0c268, cache=cache@entry=0x89f8eb8, shader=shader@entry=1 '\001') at program/prog_cache.c:121 c = 0xb0590d0 ---Type <return> to continue, or q <return> to quit--- next = 0x0 i = <optimized out> #16 0xb679876c in _mesa_delete_shader_cache (ctx=ctx@entry=0xcf0c268, cache=0x89f8eb8) at program/prog_cache.c:167 No locals. #17 0xb6791a20 in _mesa_free_program_data (ctx=ctx@entry=0xcf0c268) at program/program.c:143 No locals. #18 0xb66dbf09 in _mesa_free_context_data (ctx=ctx@entry=0xcf0c268) at main/context.c:1118 No locals. #19 0xb6785d62 in st_destroy_context (st=st@entry=0xcf22a68) at state_tracker/st_context.c:262 pipe = 0x893e570 cso = 0x89e98d8 ctx = 0xcf0c268 i = 3 #20 0xb66ca00b in st_context_destroy (stctxi=0xcf22a68) at state_tracker/st_manager.c:596 st = 0xcf22a68 #21 0xb667ce97 in dri_destroy_context (cPriv=0x87ea518) at dri_context.c:174 ctx = 0x87ebee0 #22 0xb6678c3a in driDestroyContext (pcp=0x87ea518) at ../common/dri_util.c:277 No locals. #23 0xb7fa344a in dri2_destroy_context (context=0x8770f40) at dri2_glx.c:132 pcp = 0x8770f40 psc = 0xa96af50 #24 0xb7f7a3c8 in glXDestroyContext (ctx=0x8770f40, dpy=0xb13eb38) at glxcmds.c:424 ---Type <return> to continue, or q <return> to quit--- No locals. #25 glXDestroyContext (dpy=0xb13eb38, ctx=0x8770f40) at glxcmds.c:405 gc = 0x8770f40 #26 0x0826c69b in irr::CIrrDeviceLinux::~CIrrDeviceLinux() () No symbol table info available. #27 0x080a17cf in IrrDriver::initDevice() () No symbol table info available. #28 0x080a2cec in IrrDriver::applyResolutionSettings() () No symbol table info available. #29 0x080a34a3 in IrrDriver::update(float) () No symbol table info available. #30 0x08056f21 in MainLoop::run() () No symbol table info available. #31 0x08054e61 in main () No symbol table info available. (gdb) q A debugging session is active. Inferior 1 [process 8395] will be killed. Quit anyway? (y or n) y david@Miho:~/temp/supertuxkart-0.7.3-linux-glibc2.11-i386/bin$
Running supertuxkart in valgrind might yield more information about the double free or memory corruption.
Created attachment 71127 [details] First run of Valgrind, it looks like Valgrind crashed with the app? First run of Valgrind, it looks like Valgrind crashed with the app?
Created attachment 71128 [details] Second run of Valgrind, it didn't crash.
According to the valgrind output, the supertuxkart / irrlicht code is writing to some memory after freeing it, which could explain the problem. I think you should take this back up with the supertuxkart developers. Feel free to reopen if the problem persists after fixing those invalid writes.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.