[Linux] SDL 1.2.3 and memprof

Hi all,

My game runs fine on Linux and Windows, but core dumps when run with
memprof. Someone has posted a similar question on June 19, 2001, but I
couldn’t find any reply. The difference is my system is newer (Mandrake
8.1) and I’m using SLD-1.2.3 (memprof version is the same, 0.41, which is
the latest).

Any ideas why it crashes?

Thanks

PS: This is a Win32 variation: has anyone used NuMega’s BoundChecker on SDL?_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail.
http://www.hotmail.com

PS: This is a Win32 variation: has anyone used NuMega’s BoundChecker on
SDL?
yes, werks a treat - nothing crashes.

bar :
1)a leek when SDL doesn’t free a directx hwdata surface correctly (nvidia
windowed). it checked the SDL_HWSURFACE flag which was NULL, but i passed it
in to SDL_SetVideoMode. go-fig. (line 708 in SDL_FreeSurface() in
SDL_surface.c.

  1. it tries to call a windows function with an null pointer - the function
    just returns, can’t remember where.

  2. four leeks i can’t find:
    120 bytes from malloc in winsig.c
    2 resources from initializecritialsection in osfinfo.c
    1 resource from LoadLibraryA from crtmbox.c

riki