Bug#521013: xmoto broken with ode 0.11

Gonéri Le Bouder goneri at rulezlan.org
Tue Mar 24 10:28:56 UTC 2009


Package: xmoto
Version: 0.5.0-2
Severity: serious 

xmoto is broken since the last ode upgrade:

linda:/tmp$xmoto

ODE INTERNAL ERROR 2: Bad argument(s) in dBodySetPosition()
Abandon



linda:/tmp$gdb /usr/games/xmoto
GNU gdb 6.8-debian             
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"   
and "show warranty" for details.                                             
This GDB was configured as "i486-linux-gnu"...                               
(gdb) run                                                                    
Starting program: /usr/games/xmoto                                           
[Thread debugging using libthread_db enabled]                                
[New Thread 0xb7104910 (LWP 20089)]                                          
[New Thread 0xb6ee6b90 (LWP 20092)]                                          
[New Thread 0xb1b57b90 (LWP 20093)]                                          
[Thread 0xb1b57b90 (LWP 20093) exited]                                       
[New Thread 0xb1356b90 (LWP 20094)]                                          
[Thread 0xb1356b90 (LWP 20094) exited]                                       
[New Thread 0xb1356b90 (LWP 20102)]                                          
[New Thread 0xb1b57b90 (LWP 20127)]                                          
[Thread 0xb1b57b90 (LWP 20127) exited]                                       

ODE INTERNAL ERROR 2: Bad argument(s) in dBodySetPosition()

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7104910 (LWP 20089)]
0xb7f2c424 in __kernel_vsyscall ()          
(gdb) bt full                               
#0  0xb7f2c424 in __kernel_vsyscall ()      
No symbol table info available.             
#1  0xb7893640 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.                         
#2  0xb7895008 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.                         
#3  0xb7d06957 in dDebug () from /usr/lib/libode.so.1   
No symbol table info available.                         
#4  0xb7d19c18 in dBodySetPosition () from /usr/lib/libode.so.1
No symbol table info available.                                
#5  0x0828732c in PlayerBiker::prepareBikePhysics (this=0xaf91cc48, StartPos={x = -1.03467941, y = -1.03467846})
    at xmscene/BikePlayer.cpp:1219                                                                              
No locals.                                                                                                      
#6  0x0828c454 in PlayerBiker::initToPosition (this=0xaf91cc48, i_position={x = -1.034688, y = 0}, i_direction=DD_RIGHT, i_gravity=
      {x = -1.03468704, y = -1.0347085}) at xmscene/BikePlayer.cpp:759                                                             
        C = {x = -9.96850491, y = 0.931638002}                                                                                     
#7  0x0828cd5e in PlayerBiker (this=0xaf91cc48, i_physicsSettings=0xaf9091b0, i_position={x = -1.03469753, y = 0}, i_direction=DD_RIGHT, 
    i_gravity={x = -1.03469849, y = 2.50925726e-33}, i_theme=0x9507600, i_bikerTheme=0x9505be0, i_filterColor=@0xbf847154,               
    i_filterUglyColor=@0xbf847150) at xmscene/BikePlayer.cpp:86                                                                          
No locals.                                                                                                                               
#8  0x0824819f in Scene::addPlayerBiker (this=0xaf903698, i_localNetId=0, i_position={x = -1.03470898, y = 0}, i_direction=DD_RIGHT,     
    i_theme=0x9507600, i_bikerTheme=0x9505be0, i_filterColor=@0xbf847154, i_filterUglyColor=@0xbf847150, i_enableEngineSound=true)       
    at xmscene/Scene.cpp:1290                                                                                                            
        v_playerBiker = (class PlayerBiker *) 0x8fd7ae8                                                                                  
#9  0x081718fa in StatePreplayingGame::initPlayers (this=0xaf9035e8) at states/StatePreplayingGame.cpp:73                                
        i = 0                                                                                                                            
        v_world = (Scene *) 0xaf903698                                                                                                   
        v_multiScenes = false                                                                                                            
        v_nbPlayer = 1                                                                                                                   
        pGame = (class GameApp *) 0x8fc0130                                                                                              
#10 0x08170143 in StatePreplaying::enter (this=0xaf9035e8) at states/StatePreplaying.cpp:132                                             
        pGame = (class GameApp *) 0x8fc0130                                                                                              
        v_nbPlayer = 1                                                                                                                   
#11 0x080d3876 in StateManager::pushState (this=0x9559038, pNewState=0xaf9035e8) at states/StateManager.cpp:101                          
No locals.                                                                                                                               
#12 0x08100d85 in StateMainMenu::checkEventsMainWindow (this=0x958e420) at states/StateMainMenu.cpp:332                                  
        v_button = (class UIButton *) 0x203                                                                                              
        v_id_level = {static npos = 4294967295,                                                                                          
  _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},                     
    _M_p = 0xaf901cb4 "tut1"}}                                                                                                           
        v_quickstart = (class UIQuickStartButton *) 0x9471f50                                                                            
        v_buttonDrawn = (class UIButtonDrawn *) 0x10100                                                                                  
#13 0x08102381 in StateMainMenu::checkEvents (this=0x958e420) at states/StateMainMenu.cpp:281                                            
No locals.                                                                                                                               
---Type <return> to continue, or q <return> to quit---                                                                                   
#14 0x080de370 in StateMenu::xmKey (this=0x958e420, i_type=INPUT_UP, i_xmkey=@0xbf8478e0) at states/StateMenu.cpp:133
        nX = 680
        nY = 515
        nButton = 1 '\001'
        v_joyNum = 3 '\003'
        v_joyAxis = 2 '\002'
        v_joyAxisValue = 1
        v_joyButton = 0 '\0'
        v_nKey = 3213129896
        v_mod = 3085316928
        v_utf8Char = {static npos = 4294967295,
  _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
    _M_p = 0xb7ae46b4 ""}}
#15 0x080fe7e8 in StateMainMenu::xmKey (this=0x958e420, i_type=INPUT_UP, i_xmkey=@0xbf8478e0) at states/StateMainMenu.cpp:669
        v_newLevelsList = (class UILevelList *) 0xb7864b84
        v_favoriteLevelsList = (class UILevelList *) 0xaf9019f8
        v_list = (class UILevelList *) 0x8fd8da8
#16 0x080d281f in StateManager::xmKey (this=0x9559038, i_type=INPUT_UP, i_xmkey=@0xbf8478e0) at states/StateManager.cpp:394
No locals.
#17 0x08203914 in GameApp::manageEvent (this=0x8fc0130, Event=0xbf847984) at GameInit.cpp:500
        nX = -1081837428
        nY = 0
        utf8Char = {static npos = 4294967295,
  _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
    _M_p = 0xb7ae46b4 ""}}
        nLastMouseClickX = 680
        nLastMouseClickY = 515
        nLastMouseClickButton = 1
        fLastMouseClickTime = 31.4080009
#18 0x08203d6f in GameApp::run_loop (this=0x8fc0130) at GameInit.cpp:550
        Event = {type = 6 '\006', active = {type = 6 '\006', gain = 0 '\0', state = 1 '\001'}, key = {type = 6 '\006', which = 0 '\0',
    state = 1 '\001', keysym = {scancode = 168 '�', sym = SDLK_UNKNOWN, mod = KMOD_NONE, unicode = 0}}, motion = {type = 6 '\006',
    which = 0 '\0', state = 1 '\001', x = 680, y = 515, xrel = 0, yrel = 0}, button = {type = 6 '\006', which = 0 '\0',
    button = 1 '\001', state = 0 '\0', x = 680, y = 515}, jaxis = {type = 6 '\006', which = 0 '\0', axis = 1 '\001', value = 680},
  jball = {type = 6 '\006', which = 0 '\0', ball = 1 '\001', xrel = 680, yrel = 515}, jhat = {type = 6 '\006', which = 0 '\0',
    hat = 1 '\001', value = 0 '\0'}, jbutton = {type = 6 '\006', which = 0 '\0', button = 1 '\001', state = 0 '\0'}, resize = {
    type = 6 '\006', w = 33751720, h = 0}, expose = {type = 6 '\006'}, quit = {type = 6 '\006'}, user = {type = 6 '\006',
    code = 33751720, data1 = 0x0, data2 = 0x0}, syswm = {type = 6 '\006', msg = 0x20302a8}}
#19 0x0820842a in GameApp::run (this=0x8fc0130, nNumArgs=1, ppcArgs=0xbf847ac4) at GameInit.cpp:128
No locals.
#20 0x08208511 in main (nNumArgs=1, ppcArgs=0xbf847ac4) at GameInit.cpp:104
        e = (Exception &) @0xbf847a38: {m_Msg = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
      _M_p = 0xbf847a98 ""}}}
(gdb)





More information about the Pkg-games-devel mailing list