hmm recht viel mehr wird da nicht anzeigt, aber ich zeigs dir mal
steff@steff:~/mystuff/devel/tests/SFont$ valgrind --tool=memcheck --show-reachable=yes ./test3
==8269== Memcheck, a memory error detector for x86-linux.
==8269== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==8269== Using valgrind-2.2.0, a program supervision framework for x86-linux.
==8269== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==8269== For more details, rerun with: -v
==8269==
Initializing SDL.
==8269== Syscall param write(buf) contains uninitialised or unaddressable byte(s)
==8269== at 0x1B8E4C02: (within /lib/ld-2.3.2.so)
==8269== by 0x1BB63CF4: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2)
==8269== by 0x1BB444B4: (within /usr/X11R6/lib/libX11.so.6.2)
==8269== by 0x1BB459D3: _XReply (in /usr/X11R6/lib/libX11.so.6.2)
==8269== Address 0x1BC214AE is 14 bytes inside a block of size 16384 alloc'd
==8269== at 0x1B905901: calloc (vg_replace_malloc.c:176)
==8269== by 0x1BB36D84: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2)
==8269== by 0x1B9501D8: (within /usr/lib/libSDL-1.2.so.0.7.1)
==8269== by 0x1B945ACC: SDL_VideoInit (in /usr/lib/libSDL-1.2.so.0.7.1)
SDL initialized.
Quiting SDL.
Quiting....
==8269==
==8269== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 29 from 1)
==8269== malloc/free: in use at exit: 22062 bytes in 303 blocks.
==8269== malloc/free: 1052 allocs, 749 frees, 139485 bytes allocated.
==8269== For a detailed leak analysis, rerun with: --leak-check=yes
==8269== For counts of detected errors, rerun with: -v
steff@steff:~/mystuff/devel/tests/SFont$
wenn ich das jetzt einfach so mal interpretieren würde, würd ich sagen das ist ein sdl bug oder ein ld bug? kannst du was damit anfangen, Apollon?