I wrote a program using SDL and it works fine on my old computer a P200.
When I tested it on a P1500 with Win 2000 installed it would freeze on exit.
I thought this was my fault so I installed Vis C++ 5.0 on the P1500 and
compiled SDL_mixer-1.2.0 playwave. The program runs fine but when I tried to
step through it the compiler keeps stoping in assembly code and saying user
break point called. When I checked the debug output it gives the following:
HEAP[playwave.exe]: Heap block at 00142AC0 modified at 00142D22 past
requested size of 25a
HEAP[playwave.exe]: Invalid Address specified to RtlReAllocateHeap( 130000,
142ac8 )
HEAP[playwave.exe]: Heap block at 00142AC0 modified at 00142D22 past
requested size of 25a
HEAP[playwave.exe]: Invalid Address specified to RtlFreeHeap( 130000, 142ac8
)
Am I doing something wrong?_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
I wrote a program using SDL and it works fine on my old computer a P200.
When I tested it on a P1500 with Win 2000 installed it would freeze on exit.
I thought this was my fault so I installed Vis C++ 5.0 on the P1500 and
compiled SDL_mixer-1.2.0 playwave.
Grab the latest release of SDL_mixer:
http://www.libsdl.org/projects/SDL_mixer/
I fixed a double-free on exit that would cause this.
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
Grab the latest release of SDL_mixer:
http://www.libsdl.org/projects/SDL_mixer/
I fixed a double-free on exit that would cause this.
Perhaps its not SDL_mixer-1.2.1. I just tried the new library and I still
get the freeze problem in my program. I downloaded the service pack for Vis
C++ 5.0 and it didn’t help. Perhaps I need a new compiler :(.
Before I get one has anyone had any problems debugging with Win 2000 and Vis
C++ 5.0 or 6.0? I don’t want to spend up big and still be unable to debug. I
can’t work with out a good debugger.
When I debug I get messages like this:
77F9EEA9 int 3
and its almost always in NTDLL
Then I get messages like this in the debug window:
HEAP[RPG.exe]: Heap block at 0013E210 modified at 0013E472 past requested
size of 25a
HEAP[RPG.exe]: Invalid Address specified to RtlReAllocateHeap( 130000,
13e218 )
Perhaps Micro$oft have messed up Vis C++ 5.0 and NT. Oh well._________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com