sirikata/sirikata — Issue #463: Crash in SDL initialization
Author: ewencp
Created: 2012-01-02 21:15:27+00:00
State: open

See crash http://crashes.sirikata.com/status/2097:

Thread 0 (crashed)
0 sirikata-sdl.dll!Sirikata::SDL::`anonymous namespace'::SafeInitCleanup::initialize(Sirikata::SDL::Subsystem::Type) [sdl.cpp : 54 + 0x0]
eip = 0x6a891143 esp = 0x00bce3f8 ebp = 0x00000400 ebx = 0x00000000
esi = 0x00000000 edi = 0x00000002 eax = 0x00000000 ecx = 0x00000000
edx = 0x00000001 efl = 0x00210246
Found by: given as instruction pointer in context
1 sirikata-sdl.dll!Sirikata::SDL::InitializeSubsystem(Sirikata::SDL::Subsystem::Type) [sdl.cpp : 83 + 0xe]
eip = 0x6a8911af esp = 0x00bce404 ebp = 0x00000400
Found by: stack scanning
2 sirikata-ogre.dll!Sirikata::Input::SDLInputManager::SDLInputManager(Sirikata::Graphics::OgreRenderer *,unsigned int,unsigned int,bool,bool,void * &) [sdlinputmanager.cpp : 156 + 0x28]
eip = 0x69114b53 esp = 0x00bce40c ebp = 0x00000400
Found by: stack scanning
3 rpcrt4.dll + 0x4ae2a
eip = 0x7701ae2b esp = 0x00bce430 ebp = 0x00bce770
Found by: stack scanning

Looks like the this pointer is somehow NULL, possibly due to corruption by SDL's initialization.