[SDL] SDL_Init issue

David Olofson david at olofson.net
Wed May 2 14:18:22 PDT 2007


On Wednesday 02 May 2007 20:58, Ryan C. Gordon wrote:
> 
> > NJAMD/free: Address 0x0 not from malloc
> >         called from ./transcoder_client[0x8058baf]
> >         called from ./transcoder_client[0x804c4e6]
> 
> free(NULL) is not an error. If I'm understanding what this is
> reporting, that's probably not the problem.
> 
> Try valgrind?

Valgrind has been my primary debugging tool for a few years now. It 
can save countless debugging hours, and often points you right 
at "sleeping" bugs you wouldn't even find with a normal debugger.

Highly recommended!


//David Olofson - Programmer, Composer, Open Source Advocate

.-------  http://olofson.net - Games, SDL examples  -------.
|        http://zeespace.net - 2.5D rendering engine       |
|       http://audiality.org - Music/audio engine          |
|     http://eel.olofson.net - Real time scripting         |
'--  http://www.reologica.se - Rheology instrumentation  --'


More information about the SDL mailing list