| Possible SDL2/driver issue: double free or corruption |
|
rofer
|
I'm having a problem using SDL2, my programs crash as soon as I attempt to run SDL_Init. I've created a minimal test program below to demonstrate this:
Save as sdlInitTest.cpp and compile with
(I installed SDL2 into my home) Run as ./a.out and I get
If I run it with valgrind I get:
If I run the game I'm working on with valgrind it seems to work, perhaps hinting the problem involves relying on an uninitialized value. About my system: I'm running Fedora 17 x86-64 I have a GeForce FTS 360M and am using the nvidia drivers from RPMFusion, version 304.64 I'm currently attempting to get this to work with the SDL2 snapshot from December 14 (http://www.libsdl.org/tmp/SDL-2.0.0-6754.tar.gz), though I've tried with several other versions and it does not appear to make a difference. So, I'm not sure where the problem is, but I could really use some help figuring it out. I'm on winter break and I'd love to get back to work on my game. Please let me know if there's any information missing which could be useful. |
|||||||||||||||||||
|
|
||||||||||||||||||||

