for information, on the svn version (future 0.5.0), the bug where fixed like that :
http://svn.tuxfamily.org/viewvc.cgi/trunk/src/states/StateMainMenu.cpp?root=xmoto_xmoto&view=diff&r1=2408&r2=2409 Nicolas 2008/8/25 Julien Cristau <[EMAIL PROTECTED]> > On Mon, Aug 25, 2008 at 17:10:25 +0200, Julien Cristau wrote: > > > Looking at frame 3: > > #3 0x080f83a5 in StateMainMenu::updateStats (this=0x8872d10) > > at states/StateMainMenu.cpp:700 > > 700 v_totalPlayedTime = atoi(pDb->getResult(v_result, 8, 0, 2)); > > > > (gdb) p pDb->getResult(v_result, 8, 0, 2) > > $3 = 0x0 > > > The attached patch was enough to make xmoto start without segfaulting > here. > > Cheers, > Julien >