On Sun, Aug 24, 2008 at 22:31:19 +0200, Moritz Muehlenhoff wrote:

> severity 492414 grave
> thanks
> 
> On Mon, Jul 28, 2008 at 08:03:35PM +0200, Nicolas Adenis-Lamarre wrote:
> > i can reproduce the bug with 0.4.2
> > the bug dissappear with svn version.
> 
> I've updated my Etch workstation to Lenny and I can also reproduce
> the problem, raising severity.
> 
Rebuilding xmoto with noopt nostrip, I get:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb72426e0 (LWP 3211)]
0xb7979358 in ____strtol_l_internal () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb7979358 in ____strtol_l_internal () from /lib/i686/cmov/libc.so.6
#1  0xb79790c0 in strtol () from /lib/i686/cmov/libc.so.6
#2  0xb7975e21 in atoi () from /lib/i686/cmov/libc.so.6
#3  0x080f83a5 in StateMainMenu::updateStats (this=0x8872d10)
    at states/StateMainMenu.cpp:700
#4  0x081072b2 in StateMainMenu::enter (this=0x8872d10)
    at states/StateMainMenu.cpp:125
#5  0x080c7dd2 in StateManager::pushState (this=0x886dbf8, pNewState=0x8872d10)
    at states/StateManager.cpp:96
#6  0x081a6be3 in GameApp::run_load (this=0x8314658, nNumArgs=1,
    ppcArgs=0xbf9dbd84) at GameInit.cpp:380
#7  0x081a71ef in GameApp::run (this=0x8314658, nNumArgs=1, ppcArgs=0xbf9dbd84)
    at GameInit.cpp:85
#8  0x081a723d in main (nNumArgs=1, ppcArgs=0xbf9dbd84) at GameInit.cpp:63

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

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to