SDL + valgrind = :-(
#1
Hi all.

As the linux page suggested, in order to try to detect some memory issues, I tried running XBMC in software rendering (make sdl_2d) under valgrind and got all kinds of errors, most of them relating to SDL. The first error happens in SDL_Init in Application.cpp

In order to observe the problem, you have to put the code around the SDL_Init function, as the stack trace in valgrind was not helpful:
fprintf(stderr, "BEFORE");
SDL_Init(...);
fprintf(stderr, "AFTER");

Has anyone else has had similar difficulties?

(For those that haven't used valgrind, there's a very brief example here.)

Thanks in advance.
Reply

Logout Mark Read Team Forum Stats Members Help
SDL + valgrind = :-(0