excieve Dec 7, 2012 @ 4:47am
Issue Report: TF2 fails to load with "double free or corruption" error
After clicking on "play" button the game crashes with below output in the console.
I have two machines both with Arch64/KDE, one with AMD and another with NVidia card. This happens only on AMD machine. I also noticed same issue with other libSDL2 apps (e.g. Torchlight, Steam's "Big Picture" mode). Could be that some libraries aren't playing nice and not really an AMD bug.

Console output:
*** glibc detected *** /home/mod/Steam/SteamApps/excieve/Team Fortress 2/hl2_linux: double free or corruption (fasttop): 0x08d441a8 ***
======= Backtrace: =========
/usr/lib32/libc.so.6(+0x75932)[0xf7610932]
/usr/lib32/libX11.so.6(XFree+0x1b)[0xf749f56b]
/home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libSDL2-2.0.so.0(+0xa184e)[0xf6b2b84e]
/home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libSDL2-2.0.so.0(+0xb7efe)[0xf6b41efe]
/home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libSDL2-2.0.so.0(SDL_VideoInit+0x1cb)[0xf6b24c3b]
/home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libSDL2-2.0.so.0(SDL_InitSubSystem+0x11c)[0xf6a9480c]
/home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libSDL2-2.0.so.0(SDL_Init+0x45)[0xf6a94875]
bin/launcher.so(+0x2aaf4)[0xf7171af4]
bin/launcher.so(+0x2b07f)[0xf717207f]
bin/launcher.so(+0x2b0f6)[0xf71720f6]
bin/launcher.so(+0xdb67)[0xf7154b67]
bin/launcher.so(+0x26ade)[0xf716dade]
bin/launcher.so(+0x26d88)[0xf716dd88]
bin/launcher.so(+0x26da0)[0xf716dda0]
bin/launcher.so(LauncherMain+0x36d)[0xf71563bd]
/home/mod/Steam/SteamApps/excieve/Team Fortress 2/hl2_linux[0x8048474]
/usr/lib32/libc.so.6(__libc_start_main+0xf5)[0xf75b4605]
======= Memory map: ========
08048000-08049000 r-xp 00000000 08:06 27264371 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/hl2_linux
08049000-0804a000 r--p 00000000 08:06 27264371 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/hl2_linux
0804a000-0804b000 rw-p 00001000 08:06 27264371 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/hl2_linux
08d17000-08d64000 rw-p 00000000 00:00 0 [heap]
f5dff000-f5e00000 ---p 00000000 00:00 0
f5e00000-f5f00000 rw-p 00000000 00:00 0 [stack:6102]
f5f00000-f5f21000 rw-p 00000000 00:00 0
f5f21000-f6000000 ---p 00000000 00:00 0
f609b000-f60a4000 r-xp 00000000 08:05 1587139 /usr/lib32/libXrandr.so.2.2.0
f60a4000-f60a5000 r--p 00008000 08:05 1587139 /usr/lib32/libXrandr.so.2.2.0
f60a5000-f60a6000 rw-p 00009000 08:05 1587139 /usr/lib32/libXrandr.so.2.2.0
f60a6000-f60b4000 r-xp 00000000 08:05 1591249 /usr/lib32/libXi.so.6.1.0
f60b4000-f60b5000 r--p 0000d000 08:05 1591249 /usr/lib32/libXi.so.6.1.0
f60b5000-f60b6000 rw-p 0000e000 08:05 1591249 /usr/lib32/libXi.so.6.1.0
f60b6000-f60b8000 r-xp 00000000 08:05 1587134 /usr/lib32/libXinerama.so.1.0.0
f60b8000-f60b9000 r--p 00001000 08:05 1587134 /usr/lib32/libXinerama.so.1.0.0
f60b9000-f60ba000 rw-p 00002000 08:05 1587134 /usr/lib32/libXinerama.so.1.0.0
f60ba000-f60c3000 r-xp 00000000 08:05 1595732 /usr/lib32/libXcursor.so.1.0.2
f60c3000-f60c4000 r--p 00008000 08:05 1595732 /usr/lib32/libXcursor.so.1.0.2
f60c4000-f60c5000 rw-p 00009000 08:05 1595732 /usr/lib32/libXcursor.so.1.0.2
f60c5000-f60c6000 ---p 00000000 00:00 0
f60c6000-f61c6000 rw-p 00000000 00:00 0 [stack:6101]
f61c6000-f61d1000 r-xp 00000000 08:05 1572453 /usr/lib32/libnss_files-2.16.so
f61d1000-f61d2000 r--p 0000a000 08:05 1572453 /usr/lib32/libnss_files-2.16.so
f61d2000-f61d3000 rw-p 0000b000 08:05 1572453 /usr/lib32/libnss_files-2.16.so
f61d3000-f6254000 rw-p 00000000 00:00 0
f6256000-f625a000 r-xp 00000000 08:05 1595731 /usr/lib32/libXfixes.so.3.1.0
f625a000-f625b000 r--p 00003000 08:05 1595731 /usr/lib32/libXfixes.so.3.1.0
f625b000-f625c000 rw-p 00004000 08:05 1595731 /usr/lib32/libXfixes.so.3.1.0
f6294000-f6295000 rw-p 00000000 00:00 0
f6295000-f65c4000 r-xp 00000000 08:06 27012266 /home/mod/Steam/ubuntu12_32/libsteam.so
f65c4000-f65da000 rw-p 0032e000 08:06 27012266 /home/mod/Steam/ubuntu12_32/libsteam.so
f65da000-f65db000 rw-p 00000000 00:00 0
f65db000-f65ec000 r-xp 00000000 08:06 27264323 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libsteam_api.so
f65ec000-f65ed000 rw-p 00010000 08:06 27264323 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libsteam_api.so
f65ed000-f65ee000 rw-p 00000000 00:00 0
f65ee000-f6681000 r-xp 00000000 08:06 27264355 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/filesystem_steam.so
f6681000-f6682000 r--p 00092000 08:06 27264355 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/filesystem_steam.so
f6682000-f6683000 rw-p 00093000 08:06 27264355 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/filesystem_steam.so
f6683000-f6a8a000 rw-p 00000000 00:00 0
f6a8a000-f6b56000 r-xp 00000000 08:06 27264327 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libSDL2-2.0.so.0
f6b56000-f6b59000 r--p 000cb000 08:06 27264327 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libSDL2-2.0.so.0
f6b59000-f6b60000 rw-p 000ce000 08:06 27264327 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libSDL2-2.0.so.0
f6b60000-f6b62000 rw-p 00000000 00:00 0
f6b62000-f6bfd000 r-xp 00000000 08:06 27264341 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libtogl.so
f6bfd000-f6bfe000 r--p 0009a000 08:06 27264341 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libtogl.so
f6bfe000-f6c04000 rw-p 0009b000 08:06 27264341 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libtogl.so
f6c04000-f705b000 rw-p 00000000 00:00 0
f705b000-f7090000 r-xp 00000000 08:06 27264339 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libvstdlib.so
f7090000-f7091000 r--p 00034000 08:06 27264339 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libvstdlib.so
f7091000-f7092000 rw-p 00035000 08:06 27264339 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libvstdlib.so
f7092000-f7147000 rw-p 00000000 00:00 0
f7147000-f7187000 r-xp 00000000 08:06 27264363 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/launcher.so
f7187000-f7188000 r--p 00040000 08:06 27264363 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/launcher.so
f7188000-f7189000 rw-p 00041000 08:06 27264363 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/launcher.so
f7189000-f71d2000 rw-p 00000000 00:00 0
f71d2000-f71d7000 r-xp 00000000 08:05 1575226 /usr/lib32/libXdmcp.so.6.0.0
f71d7000-f71d8000 r--p 00004000 08:05 1575226 /usr/lib32/libXdmcp.so.6.0.0
f71d8000-f71d9000 rw-p 00005000 08:05 1575226 /usr/lib32/libXdmcp.so.6.0.0
f71d9000-f71da000 rw-p 00000000 00:00 0
f71da000-f71dc000 r-xp 00000000 08:05 1591219 /usr/lib32/libXau.so.6.0.0
f71dc000-f71dd000 r--p 00001000 08:05 1591219 /usr/lib32/libXau.so.6.0.0
f71dd000-f71de000 rw-p 00002000 08:05 1591219 /usr/lib32/libXau.so.6.0.0
f71de000-f71f8000 r-xp 00000000 08:05 1571120 /usr/lib32/libgcc_s.so.1
f71f8000-f71f9000 rw-p 00019000 08:05 1571120 /usr/lib32/libgcc_s.so.1
f71f9000-f7236000 r-xp 00000000 08:05 1627532 /usr/lib32/libm-2.16.so
f7236000-f7237000 r--p 0003d000 08:05 1627532 /usr/lib32/libm-2.16.so
f7237000-f7238000 rw-p 0003e000 08:05 1627532 /usr/lib32/libm-2.16.so
f7238000-f7247000 r-xp 00000000 08:05 1577591 /usr/lib32/libatiuki.so.1.0
f7247000-f7251000 rw-p 0000e000 08:05 1577591 /usr/lib32/libatiuki.so.1.0
f7251000-f7261000 r-xp 00000000 08:05 1575230 /usr/lib32/libXext.so.6.4.0
f7261000-f7262000 r--p 0000f000 08:05 1575230 /usr/lib32/libXext.so.6.4.0
f7262000-f7263000 rw-p 00010000 08:05 1575230 /usr/lib32/libXext.so.6.4.0
f7263000-f7264000 rw-p 00000000 00:00 0
f7264000-f7284000 r-xp 00000000 08:05 1571560 /usr/lib32/libxcb.so.1.1.0
f7284000-f7285000 r--p 0001f000 08:05 1571560 /usr/lib32/libxcb.so.1.1.0
f7285000-f7286000 rw-p 00020000 08:05 1571560 /usr/lib32/libxcb.so.1.1.0
f7286000-f7362000 r-xp 00000000 08:05 1571128 /usr/lib32/libstdc++.so.6.0.17
f7362000-f7363000 ---p 000dc000 08:05 1571128 /usr/lib32/libstdc++.so.6.0.17
f7363000-f7367000 r--p 000dc000 08:05 1571128 /usr/lib32/libstdc++.so.6.0.17
f7367000-f7368000 rw-p 000e0000 08:05 1571128 /usr/lib32/libstdc++.so.6.0.17
f7368000-f736f000 rw-p 00000000 00:00 0
f736f000-f7376000 r-xp 00000000 08:05 1627535 /usr/lib32/librt-2.16.so
f7376000-f7377000 r--p 00006000 08:05 1627535 /usr/lib32/librt-2.16.so
f7377000-f7378000 rw-p 00007000 08:05 1627535 /usr/lib32/librt-2.16.so
f7378000-f7440000 r-xp 00000000 08:05 1746314 /usr/lib32/fglrx/fglrx-libGL.so.1.2
f7440000-f744b000 rwxp 000c8000 08:05 1746314 /usr/lib32/fglrx/fglrx-libGL.so.1.2
f744b000-f7463000 rwxp 00000000 00:00 0
f7463000-f7596000 r-xp 00000000 08:05 1575217 /usr/lib32/libX11.so.6.3.0
f7596000-f7597000 r--p 00132000 08:05 1575217 /usr/lib32/libX11.so.6.3.0
f7597000-f759a000 rw-p 00133000 08:05 1575217 /usr/lib32/libX11.so.6.3.0
f759a000-f759b000 rw-p 00000000 00:00 0
f759b000-f773f000 r-xp 00000000 08:05 1572399 /usr/lib32/libc-2.16.so
f773f000-f7741000 r--p 001a4000 08:05 1572399 /usr/lib32/libc-2.16.so
f7741000-f7742000 rw-p 001a6000 08:05 1572399 /usr/lib32/libc-2.16.so
f7742000-f7745000 rw-p 00000000 00:00 0
f7745000-f775c000 r-xp 00000000 08:05 1571016 /usr/lib32/libpthread-2.16.so
f775c000-f775d000 r--p 00016000 08:05 1571016 /usr/lib32/libpthread-2.16.so
f775d000-f775e000 rw-p 00017000 08:05 1571016 /usr/lib32/libpthread-2.16.so
f775e000-f7760000 rw-p 00000000 00:00 0
f7760000-f7763000 r-xp 00000000 08:05 1572457 /usr/lib32/libdl-2.16.so
f7763000-f7764000 r--p 00002000 08:05 1572457 /usr/lib32/libdl-2.16.so
f7764000-f7765000 rw-p 00003000 08:05 1572457 /usr/lib32/libdl-2.16.so
f7768000-f7770000 r-xp 00000000 08:05 1595557 /usr/lib32/libXrender.so.1.3.0
f7770000-f7771000 r--p 00007000 08:05 1595557 /usr/lib32/libXrender.so.1.3.0
f7771000-f7772000 rw-p 00008000 08:05 1595557 /usr/lib32/libXrender.so.1.3.0
f7772000-f7799000 r-xp 00000000 08:06 27264329 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libtier0.so
f7799000-f779a000 r--p 00026000 08:06 27264329 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libtier0.so
f779a000-f779b000 rw-p 00027000 08:06 27264329 /home/mod/Steam/SteamApps/excieve/Team Fortress 2/bin/libtier0.so
f779b000-f779e000 rw-p 00000000 00:00 0
f779e000-f77c2000 r-xp 00000000 08:06 27012258 /home/mod/Steam/ubuntu12_32/gameoverlayrenderer.so
f77c2000-f77c3000 r--p 00024000 08:06 27012258 /home/mod/Steam/ubuntu12_32/gameoverlayrenderer.so
f77c3000-f77c4000 rw-p 00025000 08:06 27012258 /home/mod/Steam/ubuntu12_32/gameoverlayrenderer.so
f77c4000-f77c5000 rw-p 00000000 00:00 0
f77c5000-f77c6000 r-xp 00000000 00:00 0 [vdso]
f77c6000-f77e6000 r-xp 00000000 08:05 1571042 /usr/lib32/ld-2.16.so
f77e6000-f77e7000 r--p 0001f000 08:05 1571042 /usr/lib32/ld-2.16.so
f77e7000-f77e8000 rw-p 00020000 08:05 1571042 /usr/lib32/ld-2.16.so
ffc50000-ffc72000 rw-p 00000000 00:00 0 [stack]
/home/mod/Steam/SteamApps/excieve/Team Fortress 2/hl2.sh: line 72: 6099 Aborted (core dumped) ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

System info.

Processor Information:
Vendor: AuthenticAMD
Speed: 2100 Mhz
3 logical processors
3 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Unsupported
SSE42: Unsupported

Network Information:
Network Speed:

Operating System Version:
"Arch Linux" (64 bit)
Kernel Name: Linux
Kernel Version: 3.6.9-1-ARCH
X Server vendor: The X.Org Foundation
X Server release: 11300000

Video Card:
Driver: ATI Technologies Inc. ATI Mobility Radeon HD 5000

Driver Version: 4.2.11978 Compatibility Profile Context
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID: 0x1002
DeviceID: 0x68c0
Number of Monitors: 2
Number of Logical Video Cards: 1
Primary Display Resolution: 1366 x 768
Desktop Resolution: 3046 x 1050
Primary Display Size: 13.54" x 7.60" (15.51" diag)
34.4cm x 19.3cm (39.4cm diag)
Primary VRAM Not Detected

Sound card:
Audio device: Realtek ALC269VB

Memory:
RAM: 3956 Mb

Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 427778 Mb
Largest Free Hard Disk Block: 105796 Mb

Exact video card is Mobility Radeon HD 5730 and version of Catalyst is 12.11.
Things I tried were starting in windowed mode (via "-windowed" launch param) and disabling external monitor. None affected the outcome.
Showing 1-1 of 1 comments
< >
excieve Dec 9, 2012 @ 1:44pm 
After noticing that it works on the same machine but with AwesomeWM instead of KDE, I started playing with various KDE configs. Narrowed it down to the theme I've been using - Oxygen Transparent. Switching back to default Oxygen theme fixed this for me.

Note that only libSDL2-based applications had such behaviour on my setup, so I think there's an incompatibility between it and that particular KDE theme.

Also disregard the AMD part of this, NVidia machine had a default theme.
Showing 1-1 of 1 comments
< >
Per page: 15 30 50