[SDL] Re: Double free bug
oberon
oberon at brandeis.edu
Sun Aug 31 17:12:28 PDT 2003
I've since looked at this more, and the error is occuring in SDL_Quit(). I
still don't know why, and the OSX "mallocdebugger" was not at all useful.
--oberon
On Sun, 31 Aug 2003, oberon wrote:
> I recently received the following error message in some code that uses
> SDL. I checked my code, and I don't free dynamically allocated memory
> anywhere (code is half done), so this is definitely caused by SDL.
>
> ----
>
> *** malloc[5658]: Deallocation of a pointer not malloced: 0xb0017000; This
> could be a double free(), or free() called with the middle of an allocated
> block; Try setting environment variable MallocHelp to see tools to help
> debug
>
> ----
>
> This is with SDL 1.2.5 under Mac OSX with a program that creates a window,
> draws a poly in it with openGL, and resizes to fullscreen and back on
> command. The error was there after I fullscreened, went back to windowed
> mode, and then quit.
>
> I wish I could provide more info, but I don't know what's relevant. Any
> ideas or questions, Sam? (or anyone else for that matter).
>
> Thanks for taking the time to read this vague bug report.
>
> --oberon
>
>
More information about the SDL
mailing list