[Bf-committers] 2,48 segfault on linux running bullet tests

Brecht Van Lommel brecht at blender.org
Mon Oct 13 22:05:45 CEST 2008


Hi,

Maybe try, in source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp,
remove both uses of SDL_INIT_VIDEO and leave only SDL_INIT_JOYSTICK. No
idea why it would be using that since it should not need any of the SDL
video functionality there, and the crash seems to be in the video init.

I can confirm the crash in the 2.48rc static version by the way, but
didn't manage to make a static build myself quickly. Also I noticed
joystick support seems to be broken for me since the rc, looking into
that.

Brecht.

On Mon, 2008-10-13 at 12:42 -0700, Ken Hughes wrote:
> Sorry, my bad; static builds crash whenever you enter game engine, 
> regardless of the blend file.
> 
> Ken
> 
> Ken Hughes wrote:
> > My 32-bit and 64-bit static OpenGL builds all crash on the all the files 
> > in test248/248/bullet-softbody, as soon at I press P.  Here's a traceback:
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 0xb7a79700 (LWP 31269)]
> > 0x090b6b57 in _X11TransWritev ()
> > (gdb) bt
> > #0  0x090b6b57 in _X11TransWritev ()
> > #1  0x090b4ccf in XQueryExtension ()
> > #2  0x090b0c60 in XInitExtension ()
> > #3  0x09114a48 in XextAddDisplay ()
> > #4  0xb68c1abd in ?? () from /usr/lib/libXext.so.6
> > #5  0xb68c1e1e in XShmQueryExtension () from /usr/lib/libXext.so.6
> > #6  0xb7d8bafe in ?? () from /usr/lib/libSDL-1.2.so.0
> > #7  0xb7d964f7 in ?? () from /usr/lib/libSDL-1.2.so.0
> > #8  0xb7d83b94 in SDL_VideoInit () from /usr/lib/libSDL-1.2.so.0
> > #9  0xb7d57933 in SDL_InitSubSystem () from /usr/lib/libSDL-1.2.so.0
> > #10 0x08d4e040 in SCA_Joystick::GetInstance ()
> > #11 0x08d36f08 in SCA_JoystickManager::SCA_JoystickManager ()
> > #12 0x08ce4eb9 in KX_Scene::KX_Scene ()
> > #13 0x08ca4cea in StartKetsjiShell ()
> > #14 0x08226754 in start_game ()
> > #15 0x08229556 in ?? ()
> > #16 0x082e3862 in scrarea_do_winhandle ()
> > #17 0x08290222 in screenmain ()
> > #18 0x081ef046 in main ()
> >
> > Running Ubuntu 8.04, Nvidia 169.12 drivers.
> >
> > Ken
> >
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
> >
> >   
> 
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
> 



More information about the Bf-committers mailing list