Crash (hardware problem?) under Linux with SDL applications

I would like to play some games that depend on SDL under Linux. I had no problem with my previous hardware. I have no problem either under FreeBSD and OpenSolaris.
Hardware: Intel DQ963FX MB with integrated GMA 3000 video, Intel D440 CPU, 2x512 MB DDRII 667 MHz RAM (Corsair)
OS: The problem is the same with every Linux distro I tried, eg.: Ubuntu 9.04 and 9.10, Fedora 11, Opensuse 11.1, Archlinux, Zenwalk 6.0, Vector 6.0. No problem under FreeBSD and Opensolaris with the same games.
SDL version: 1.2.13
Description: Random crashes, segmentation fault or memory corruption (double free, etc.) generally immediately after starting the application (game). For example with wesnoth sometimes scenario starts to load but never able to actually start playing. However, under valgrind I was able to play a full scenario, but very slowly. Lincity-ng sometimes crashes, sometimes not. The backtrace usually has /usr/lib/libSDL-1.2.so.0(SDL_FreeSurface). I tested the RAM with memtest86+, tried removing one and the other module. I also tried to set the RAM settings in BIOS to the safest values. No impact if I change the video driver to “vesa” in xorg.conf. Otherwise system is quite stable.

So, could it be an SDL hardware detection problem and is it possible to configure SDL manually under Linux or set some environment variables in order to solve this problem?

A typical backtrace:

Code:
wesnoth
Battle for Wesnoth v1.6.1
Started on Sat Jul 4 16:00:06 2009

Data directory: /usr/share/wesnoth
User configuration directory: /home/silent/.wesnoth1.6

Checking video mode: 1024x768x32…
setting mode to 1024x768x32
*** glibc detected *** wesnoth: munmap_chunk(): invalid pointer: 0x08ea1048 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7799281]
/lib/libc.so.6[0xb779a4b5]
/usr/lib/libSDL-1.2.so.0[0xb7dd3ed5]
/usr/lib/libSDL-1.2.so.0(SDL_FreeSurface+0x7d)[0xb7dd561d]
wesnoth[0x852c312]
wesnoth[0x820b270]
wesnoth[0x820cd2a]
wesnoth[0x826af4b]
wesnoth[0x82716a0]
wesnoth[0x8284b79]
wesnoth[0x827220f]
wesnoth[0x8284c86]
wesnoth[0x8276b68]
wesnoth[0x82783d4]
wesnoth[0x8260ba4]
wesnoth[0x8063f81]
wesnoth[0x8065cf9]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb7743a36]
wesnoth[0x8055f21]
======= Memory map: ========
08048000-0871b000 r-xp 00000000 08:27 1317411 /usr/bin/wesnoth
0871b000-0871d000 rwxp 006d2000 08:27 1317411 /usr/bin/wesnoth
0871d000-08721000 rwxp 00000000 00:00 0
08aab000-08ebd000 rwxp 00000000 00:00 0 [heap]
b5d63000-b6063000 rwxs 00000000 00:08 884753 /SYSV00000000 (deleted)
b6063000-b6150000 rwxp 00000000 00:00 0
b6211000-b6212000 —p 00000000 00:00 0
b6212000-b6a12000 rwxp 00000000 00:00 0
b6a12000-b6a2f000 r-xs 00000000 08:27 9953 /var/cache/fontconfig/f6b893a7224233d96cb72fd88691c0b4-x86.cache-2
b6a2f000-b6a6f000 r-xs 00000000 08:27 9949 /var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-x86.cache-2
b6a6f000-b6aaf000 r-xs 00000000 08:27 9944 /var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-x86.cache-2
b6aaf000-b6ab7000 r-xp 00000000 08:27 90897 /usr/lib/libXcursor.so.1.0.2
b6ab7000-b6ab8000 rwxp 00007000 08:27 90897 /usr/lib/libXcursor.so.1.0.2
b6ae3000-b6ce3000 r-xp 00000000 08:27 184815 /usr/lib/locale/locale-archive
b6ce3000-b6cf1000 r-xp 00000000 08:27 90656 /usr/lib/libXext.so.6.4.0
b6cf1000-b6cf2000 rwxp 0000d000 08:27 90656 /usr/lib/libXext.so.6.4.0
b6cf2000-b6cf3000 —p 00000000 00:00 0
b6cf3000-b74f5000 rwxp 00000000 00:00 0
b74f5000-b750c000 r-xp 00000000 08:27 972356 /usr/lib/libv4lconvert.so.0
b750c000-b750d000 rwxp 00016000 08:27 972356 /usr/lib/libv4lconvert.so.0
b750d000-b755e000 rwxp 00000000 00:00 0
b755e000-b7562000 r-xp 00000000 08:27 90564 /usr/lib/libXdmcp.so.6.0.0
b7562000-b7563000 rwxp 00003000 08:27 90564 /usr/lib/libXdmcp.so.6.0.0
b7563000-b7565000 r-xp 00000000 08:27 90553 /usr/lib/libXau.so.6.0.0
b7565000-b7566000 rwxp 00001000 08:27 90553 /usr/lib/libXau.so.6.0.0
b7566000-b756c000 r-xp 00000000 08:27 972525 /usr/lib/libv4l2.so.0
b756c000-b7570000 rwxp 00005000 08:27 972525 /usr/lib/libv4l2.so.0
b7570000-b7594000 r-xp 00000000 08:27 90669 /usr/lib/libexpat.so.1.5.2
b7594000-b7596000 rwxp 00023000 08:27 90669 /usr/lib/libexpat.so.1.5.2
b7596000-b7597000 rwxp 00000000 00:00 0
b7597000-b75c7000 r-xp 00000000 08:27 16209 /lib/libpcre.so.0.0.1
b75c7000-b75c8000 rwxp 0002f000 08:27 16209 /lib/libpcre.so.0.0.1
b75c8000-b75d0000 r-xp 00000000 08:27 90665 /usr/lib/libXrender.so.1.3.0
b75d0000-b75d1000 rwxp 00007000 08:27 90665 /usr/lib/libXrender.so.1.3.0
b75d1000-b75e9000 r-xp 00000000 08:27 972076 /usr/lib/libxcb.so.1.1.0
b75e9000-b75ea000 rwxp 00017000 08:27 972076 /usr/lib/libxcb.so.1.1.0
b75ea000-b75f0000 r-xp 00000000 08:27 972090 /usr/lib/libxcb-render.so.0.0.0
b75f0000-b75f1000 rwxp 00005000 08:27 972090 /usr/lib/libxcb-render.so.0.0.0
b75f1000-b75f4000 r-xp 00000000 08:27 90585 /usr/lib/libxcb-render-util.so.0.0.0
b75f4000-b75f5000 rwxp 00002000 08:27 90585 /usr/lib/libxcb-render-util.so.0.0.0
b75f5000-b75f6000 rwxp 00000000 00:00 0
b75f6000-b761b000 r-xp 00000000 08:27 88699 /usr/lib/libpng12.so.0.37.0
b761b000-b761c000 rwxp 00024000 08:27 88699 /usr/lib/libpng12.so.0.37.0
b761c000-b765c000 r-xp 00000000 08:27 90557 /usr/lib/libpixman-1.so.0.14.0
b765c000-b765e000 rwxp 00040000 08:27 90557 /usr/lib/libpixman-1.so.0.14.0
b765e000-b7684000 r-xp 00000000 08:27 91065 /usr/lib/libpangoft2-1.0.so.0.2400.4
b7684000-b7685000 rwxp 00025000 08:27 91065 /usr/lib/libpangoft2-1.0.so.0.2400.4
b7685000-b768c000 r-xp 00000000 08:27 18168 /lib/librt-2.10.1.so
b768c000-b768d000 r-xp 00006000 08:27 18168 /lib/librt-2.10.1.so
b768d000-b768e000 rwxp 00007000 08:27 18168 /lib/librt-2.10.1.so
b768e000-b769d000 r-xp 00000000 08:27 16187 /lib/libbz2.so.1.0.4
b769d000-b769e000 rwxp 0000f000 08:27 16187 /lib/libbz2.so.1.0.4
b769e000-b769f000 rwxp 00000000 00:00 0
b769f000-b76a1000 r-xp 00000000 08:27 18200 /lib/libdl-2.10.1.so
b76a1000-b76a2000 r-xp 00001000 08:27 18200 /lib/libdl-2.10.1.so
b76a2000-b76a3000 rwxp 00002000 08:27 18200 /lib/libdl-2.10.1.so
b76a3000-b7724000 r-xp 00000000 08:27 971914 /usr/lib/libfreetype.so.6.3.20
b7724000-b7728000 rwxp 00081000 08:27 971914 /usr/lib/libfreetype.so.6.3.20
b7728000-b772c000 r-xp 00000000 08:27 972522 /usr/lib/libv4l1.so.0
b772c000-b772d000 rwxp 00003000 08:27 972522 /usr/lib/libv4l1.so.0
b772d000-b786f000 r-xp 00000000 08:27 18199 /lib/libc-2.10.1.so
b786f000-b7871000 r-xp 00142000 08:27 18199 /lib/libc-2.10.1.so
b7871000-b7872000 rwxp 00144000 08:27 18199 /lib/libc-2.10.1.so
b7872000-b7875000 rwxp 00000000 00:00 0
b7875000-b7892000 r-xp 00000000 08:27 89639 /usr/lib/libgcc_s.so.1
b7892000-b7893000 rwxp 0001c000 08:27 89639 /usr/lib/libgcc_s.so.1
b7893000-b7894000 rwxp 00000000 00:00 0
b7894000-b78b8000 r-xp 00000000 08:27 18142 /lib/libm-2.10.1.so
b78b8000-b78b9000 r-xp 00023000 08:27 18142 /lib/libm-2.10.1.so
b78b9000-b78ba000 rwxp 00024000 08:27 18142 /lib/libm-2.10.1.so
b78ba000-b79a0000 r-xp 00000000 08:27 88627 /usr/lib/libstdc++.so.6.0.12
b79a0000-b79a4000 r-xp 000e6000 08:27 88627 /usr/lib/libstdc++.so.6.0.12
b79a4000-b79a5000 rwxp 000ea000 08:27 88627 /usr/lib/libstdc++.so.6.0.12
b79a5000-b79ac000 rwxp 00000000 00:00 0
b79ac000-b79bf000 r-xp 00000000 08:27 89236 /usr/lib/libz.so.1.2.3.3
b79bf000-b79c0000 rwxp 00012000 08:27 89236 /usr/lib/libz.so.1.2.3.3
b79c0000-b7ad9000 r-xp 00000000 08:27 91878 /usr/lib/libX11.so.6.2.0
b7ad9000-b7add000 rwxp 00118000 08:27 91878 /usr/lib/libX11.so.6.2.0
b7add000-b7b07000 r-xp 00000000 08:27 90679 /usr/lib/libfontconfig.so.1.3.0
b7b07000-b7b08000 rwxp 0002a000 08:27 90679 /usr/lib/libfontconfig.so.1.3.0
b7b08000-b7bb9000 r-xp 00000000 08:27 90599 /usr/lib/libglib-2.0.so.0.2000.4
b7bb9000-b7bba000 rwxp 000b1000 08:27 90599 /usr/lib/libglib-2.0.so.0.2000.4
b7bba000-b7bbb000 rwxp 00000000 00:00 0
b7bbb000-b7bbe000 r-xp 00000000 08:27 90271 /usr/lib/libgmodule-2.0.so.0.2000.4
b7bbe000-b7bbf000 rwxp 00002000 08:27 90271 /usr/lib/libgmodule-2.0.so.0.2000.4
b7bbf000-b7bf9000 r-xp 00000000 08:27 90344 /usr/lib/libgobject-2.0.so.0.2000.4
b7bf9000-b7bfa000 rwxp 0003a000 08:27 90344 /usr/lib/libgobject-2.0.so.0.2000.4
b7bfa000-b7c6b000 r-xp 00000000 08:27 89496 /usr/lib/libcairo.so.2.10800.8
b7c6b000-b7c6d000 rwxp 00071000 08:27 89496 /usr/lib/libcairo.so.2.10800.8
b7c6d000-b7cac000 r-xp 00000000 08:27 91071 /usr/lib/libpango-1.0.so.0.2400.4
b7cac000-b7cae000 rwxp 0003f000 08:27 91071 /usr/lib/libpango-1.0.so.0.2400.4
b7cae000-b7cb8000 r-xp 00000000 08:27 91076 /usr/lib/libpangocairo-1.0.so.0.2400.4
b7cb8000-b7cb9000 rwxp 00009000 08:27 91076 /usr/lib/libpangocairo-1.0.so.0.2400.4
b7cb9000-b7cba000 rwxp 00000000 00:00 0
b7cba000-b7ccf000 r-xp 00000000 08:27 972241 /usr/lib/libfribidi.so.0.3.1
b7ccf000-b7cd0000 rwxp 00015000 08:27 972241 /usr/lib/libfribidi.so.0.3.1
b7cd0000-b7d80000 r-xp 00000000 08:27 88754 /usr/lib/libboost_regex-mt.so
b7d80000-b7d83000 rwxp 000b0000 08:27 88754 /usr/lib/libboost_regex-mt.so
b7d83000-b7d8d000 r-xp 00000000 08:27 88763 /usr/lib/libboost_iostreams-mt.so
b7d8d000-b7d8e000 rwxp 00009000 08:27 88763 /usr/lib/libboost_iostreams-mt.so
b7d8e000-b7da2000 r-xp 00000000 08:27 18165 /lib/libpthread-2.10.1.so
b7da2000-b7da3000 r-xp 00014000 08:27 18165 /lib/libpthread-2.10.1.so
b7da3000-b7da4000 rwxp 00015000 08:27 18165 /lib/libpthread-2.10.1.so
b7da4000-b7da6000 rwxp 00000000 00:00 0Aborted

There were a couple crashes that were fixed in 1.2.14, so you might want to
check it out.

If you’re still having troubles, you can download the source and try to
debug it and file a bug report at http://bugzilla.libsdl.org/

If it helps, I haven’t heard of other reports like this myself.On Tue, Nov 10, 2009 at 11:39 AM, silent wrote:

I would like to play some games that depend on SDL under Linux. I had no
problem with my previous hardware. I have no problem either under FreeBSD
and OpenSolaris.
Hardware: Intel DQ963FX MB with integrated GMA 3000 video, Intel D440 CPU,
2x512 MB DDRII 667 MHz RAM (Corsair)
OS: The problem is the same with every Linux distro I tried, eg.: Ubuntu
9.04 and 9.10, Fedora 11, Opensuse 11.1, Archlinux, Zenwalk 6.0, Vector 6.0.
No problem under FreeBSD and Opensolaris with the same games.
SDL version: 1.2.13
Description: Random crashes, segmentation fault or memory corruption
(double free, etc.) generally immediately after starting the application
(game). For example with wesnoth sometimes scenario starts to load but never
able to actually start playing. However, under valgrind I was able to play a
full scenario, but very slowly. Lincity-ng sometimes crashes, sometimes not.
The backtrace usually has /usr/lib/libSDL-1.2.so.0(SDL_FreeSurface). I
tested the RAM with memtest86+, tried removing one and the other module. I
also tried to set the RAM settings in BIOS to the safest values. No impact
if I change the video driver to “vesa” in xorg.conf. Otherwise system is
quite stable.

So, could it be an SDL hardware detection problem and is it possible to
configure SDL manually under Linux or set some environment variables in
order to solve this problem?

A typical backtrace:

Code:

wesnoth
Battle for Wesnoth v1.6.1
Started on Sat Jul 4 16:00:06 2009

Data directory: /usr/share/wesnoth
User configuration directory: /home/silent/.wesnoth1.6

Checking video mode: 1024x768x32…
setting mode to 1024x768x32
*** glibc detected *** wesnoth: munmap_chunk(): invalid pointer: 0x08ea1048


======= Backtrace: =========
/lib/libc.so.6[0xb7799281]
/lib/libc.so.6[0xb779a4b5]
/usr/lib/libSDL-1.2.so.0[0xb7dd3ed5]
/usr/lib/libSDL-1.2.so.0(SDL_FreeSurface+0x7d)[0xb7dd561d]
wesnoth[0x852c312]
wesnoth[0x820b270]
wesnoth[0x820cd2a]
wesnoth[0x826af4b]
wesnoth[0x82716a0]
wesnoth[0x8284b79]
wesnoth[0x827220f]
wesnoth[0x8284c86]
wesnoth[0x8276b68]
wesnoth[0x82783d4]
wesnoth[0x8260ba4]
wesnoth[0x8063f81]
wesnoth[0x8065cf9]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb7743a36]
wesnoth[0x8055f21]
======= Memory map: ========
08048000-0871b000 r-xp 00000000 08:27 1317411 /usr/bin/wesnoth
0871b000-0871d000 rwxp 006d2000 08:27 1317411 /usr/bin/wesnoth
0871d000-08721000 rwxp 00000000 00:00 0
08aab000-08ebd000 rwxp 00000000 00:00 0 [heap]
b5d63000-b6063000 rwxs 00000000 00:08 884753 /SYSV00000000 (deleted)
b6063000-b6150000 rwxp 00000000 00:00 0
b6211000-b6212000 —p 00000000 00:00 0
b6212000-b6a12000 rwxp 00000000 00:00 0
b6a12000-b6a2f000 r-xs 00000000 08:27 9953
/var/cache/fontconfig/f6b893a7224233d96cb72fd88691c0b4-x86.cache-2
b6a2f000-b6a6f000 r-xs 00000000 08:27 9949
/var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-x86.cache-2
b6a6f000-b6aaf000 r-xs 00000000 08:27 9944
/var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-x86.cache-2
b6aaf000-b6ab7000 r-xp 00000000 08:27 90897
/usr/lib/libXcursor.so.1.0.2
b6ab7000-b6ab8000 rwxp 00007000 08:27 90897
/usr/lib/libXcursor.so.1.0.2
b6ae3000-b6ce3000 r-xp 00000000 08:27 184815
/usr/lib/locale/locale-archive
b6ce3000-b6cf1000 r-xp 00000000 08:27 90656 /usr/lib/libXext.so.6.4.0
b6cf1000-b6cf2000 rwxp 0000d000 08:27 90656 /usr/lib/libXext.so.6.4.0
b6cf2000-b6cf3000 —p 00000000 00:00 0
b6cf3000-b74f5000 rwxp 00000000 00:00 0
b74f5000-b750c000 r-xp 00000000 08:27 972356
/usr/lib/libv4lconvert.so.0
b750c000-b750d000 rwxp 00016000 08:27 972356
/usr/lib/libv4lconvert.so.0
b750d000-b755e000 rwxp 00000000 00:00 0
b755e000-b7562000 r-xp 00000000 08:27 90564 /usr/lib/libXdmcp.so.6.0.0
b7562000-b7563000 rwxp 00003000 08:27 90564 /usr/lib/libXdmcp.so.6.0.0
b7563000-b7565000 r-xp 00000000 08:27 90553 /usr/lib/libXau.so.6.0.0
b7565000-b7566000 rwxp 00001000 08:27 90553 /usr/lib/libXau.so.6.0.0
b7566000-b756c000 r-xp 00000000 08:27 972525 /usr/lib/libv4l2.so.0
b756c000-b7570000 rwxp 00005000 08:27 972525 /usr/lib/libv4l2.so.0
b7570000-b7594000 r-xp 00000000 08:27 90669 /usr/lib/libexpat.so.1.5.2
b7594000-b7596000 rwxp 00023000 08:27 90669 /usr/lib/libexpat.so.1.5.2
b7596000-b7597000 rwxp 00000000 00:00 0
b7597000-b75c7000 r-xp 00000000 08:27 16209 /lib/libpcre.so.0.0.1
b75c7000-b75c8000 rwxp 0002f000 08:27 16209 /lib/libpcre.so.0.0.1
b75c8000-b75d0000 r-xp 00000000 08:27 90665
/usr/lib/libXrender.so.1.3.0
b75d0000-b75d1000 rwxp 00007000 08:27 90665
/usr/lib/libXrender.so.1.3.0
b75d1000-b75e9000 r-xp 00000000 08:27 972076 /usr/lib/libxcb.so.1.1.0
b75e9000-b75ea000 rwxp 00017000 08:27 972076 /usr/lib/libxcb.so.1.1.0
b75ea000-b75f0000 r-xp 00000000 08:27 972090
/usr/lib/libxcb-render.so.0.0.0
b75f0000-b75f1000 rwxp 00005000 08:27 972090
/usr/lib/libxcb-render.so.0.0.0
b75f1000-b75f4000 r-xp 00000000 08:27 90585
/usr/lib/libxcb-render-util.so.0.0.0
b75f4000-b75f5000 rwxp 00002000 08:27 90585
/usr/lib/libxcb-render-util.so.0.0.0
b75f5000-b75f6000 rwxp 00000000 00:00 0
b75f6000-b761b000 r-xp 00000000 08:27 88699
/usr/lib/libpng12.so.0.37.0
b761b000-b761c000 rwxp 00024000 08:27 88699
/usr/lib/libpng12.so.0.37.0
b761c000-b765c000 r-xp 00000000 08:27 90557
/usr/lib/libpixman-1.so.0.14.0
b765c000-b765e000 rwxp 00040000 08:27 90557
/usr/lib/libpixman-1.so.0.14.0
b765e000-b7684000 r-xp 00000000 08:27 91065
/usr/lib/libpangoft2-1.0.so.0.2400.4
b7684000-b7685000 rwxp 00025000 08:27 91065
/usr/lib/libpangoft2-1.0.so.0.2400.4
b7685000-b768c000 r-xp 00000000 08:27 18168 /lib/librt-2.10.1.so
b768c000-b768d000 r-xp 00006000 08:27 18168 /lib/librt-2.10.1.so
b768d000-b768e000 rwxp 00007000 08:27 18168 /lib/librt-2.10.1.so
b768e000-b769d000 r-xp 00000000 08:27 16187 /lib/libbz2.so.1.0.4
b769d000-b769e000 rwxp 0000f000 08:27 16187 /lib/libbz2.so.1.0.4
b769e000-b769f000 rwxp 00000000 00:00 0
b769f000-b76a1000 r-xp 00000000 08:27 18200 /lib/libdl-2.10.1.so
b76a1000-b76a2000 r-xp 00001000 08:27 18200 /lib/libdl-2.10.1.so
b76a2000-b76a3000 rwxp 00002000 08:27 18200 /lib/libdl-2.10.1.so
b76a3000-b7724000 r-xp 00000000 08:27 971914
/usr/lib/libfreetype.so.6.3.20
b7724000-b7728000 rwxp 00081000 08:27 971914
/usr/lib/libfreetype.so.6.3.20
b7728000-b772c000 r-xp 00000000 08:27 972522 /usr/lib/libv4l1.so.0
b772c000-b772d000 rwxp 00003000 08:27 972522 /usr/lib/libv4l1.so.0
b772d000-b786f000 r-xp 00000000 08:27 18199 /lib/libc-2.10.1.so
b786f000-b7871000 r-xp 00142000 08:27 18199 /lib/libc-2.10.1.so
b7871000-b7872000 rwxp 00144000 08:27 18199 /lib/libc-2.10.1.so
b7872000-b7875000 rwxp 00000000 00:00 0
b7875000-b7892000 r-xp 00000000 08:27 89639 /usr/lib/libgcc_s.so.1
b7892000-b7893000 rwxp 0001c000 08:27 89639 /usr/lib/libgcc_s.so.1
b7893000-b7894000 rwxp 00000000 00:00 0
b7894000-b78b8000 r-xp 00000000 08:27 18142 /lib/libm-2.10.1.so
b78b8000-b78b9000 r-xp 00023000 08:27 18142 /lib/libm-2.10.1.so
b78b9000-b78ba000 rwxp 00024000 08:27 18142 /lib/libm-2.10.1.so
b78ba000-b79a0000 r-xp 00000000 08:27 88627
/usr/lib/libstdc++.so.6.0.12
b79a0000-b79a4000 r-xp 000e6000 08:27 88627
/usr/lib/libstdc++.so.6.0.12
b79a4000-b79a5000 rwxp 000ea000 08:27 88627
/usr/lib/libstdc++.so.6.0.12
b79a5000-b79ac000 rwxp 00000000 00:00 0
b79ac000-b79bf000 r-xp 00000000 08:27 89236 /usr/lib/libz.so.1.2.3.3
b79bf000-b79c0000 rwxp 00012000 08:27 89236 /usr/lib/libz.so.1.2.3.3
b79c0000-b7ad9000 r-xp 00000000 08:27 91878 /usr/lib/libX11.so.6.2.0
b7ad9000-b7add000 rwxp 00118000 08:27 91878 /usr/lib/libX11.so.6.2.0
b7add000-b7b07000 r-xp 00000000 08:27 90679
/usr/lib/libfontconfig.so.1.3.0
b7b07000-b7b08000 rwxp 0002a000 08:27 90679
/usr/lib/libfontconfig.so.1.3.0
b7b08000-b7bb9000 r-xp 00000000 08:27 90599
/usr/lib/libglib-2.0.so.0.2000.4
b7bb9000-b7bba000 rwxp 000b1000 08:27 90599
/usr/lib/libglib-2.0.so.0.2000.4
b7bba000-b7bbb000 rwxp 00000000 00:00 0
b7bbb000-b7bbe000 r-xp 00000000 08:27 90271
/usr/lib/libgmodule-2.0.so.0.2000.4
b7bbe000-b7bbf000 rwxp 00002000 08:27 90271
/usr/lib/libgmodule-2.0.so.0.2000.4
b7bbf000-b7bf9000 r-xp 00000000 08:27 90344
/usr/lib/libgobject-2.0.so.0.2000.4
b7bf9000-b7bfa000 rwxp 0003a000 08:27 90344
/usr/lib/libgobject-2.0.so.0.2000.4
b7bfa000-b7c6b000 r-xp 00000000 08:27 89496
/usr/lib/libcairo.so.2.10800.8
b7c6b000-b7c6d000 rwxp 00071000 08:27 89496
/usr/lib/libcairo.so.2.10800.8
b7c6d000-b7cac000 r-xp 00000000 08:27 91071
/usr/lib/libpango-1.0.so.0.2400.4
b7cac000-b7cae000 rwxp 0003f000 08:27 91071
/usr/lib/libpango-1.0.so.0.2400.4
b7cae000-b7cb8000 r-xp 00000000 08:27 91076
/usr/lib/libpangocairo-1.0.so.0.2400.4
b7cb8000-b7cb9000 rwxp 00009000 08:27 91076
/usr/lib/libpangocairo-1.0.so.0.2400.4
b7cb9000-b7cba000 rwxp 00000000 00:00 0
b7cba000-b7ccf000 r-xp 00000000 08:27 972241
/usr/lib/libfribidi.so.0.3.1
b7ccf000-b7cd0000 rwxp 00015000 08:27 972241
/usr/lib/libfribidi.so.0.3.1
b7cd0000-b7d80000 r-xp 00000000 08:27 88754
/usr/lib/libboost_regex-mt.so
b7d80000-b7d83000 rwxp 000b0000 08:27 88754
/usr/lib/libboost_regex-mt.so
b7d83000-b7d8d000 r-xp 00000000 08:27 88763
/usr/lib/libboost_iostreams-mt.so
b7d8d000-b7d8e000 rwxp 00009000 08:27 88763
/usr/lib/libboost_iostreams-mt.so
b7d8e000-b7da2000 r-xp 00000000 08:27 18165 /lib/libpthread-2.10.1.so
b7da2000-b7da3000 r-xp 00014000 08:27 18165 /lib/libpthread-2.10.1.so
b7da3000-b7da4000 rwxp 00015000 08:27 18165 /lib/libpthread-2.10.1.so
b7da4000-b7da6000 rwxp 00000000 00:00 0Aborted


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Just to conclude the story: In fact anything using libc.so.6 crashed with a certain probability. At first I replaced motherboard, but that did not help. Then I also replaced CPU and now it is solved. So my problem had nothing to do with SDL.