Hi,
Daniel Franganillo wrote:
> Subject: xmoto: breaks at startup
> Package: xmoto
> Version: 0.1.14-1
> Severity: grave
> Justification: renders package unusable
>
> The new level caching system causes xmoto to break for the second time
> its run.
> Workarund: Delete ~/.xmoto/LCache each time you run Xmoto
>
> Steps:
> 1- Install Xmoto
> 2- Run Xmoto && play some levels
> 3- Exit Xmoto
> 4- Run Xmoto again
> 5- Play a level that was previously played.
> 6- fatal exception: null vector normalize
Thanks for reporting this. I did not notice it since the bug does not
show on i386. I've been able to reproduce it on an amd64 and here is a
stacktrace:
#0 0x00002ba050fc1de0 in raise () from /lib/libc.so.6
#1 0x00002ba050fc3290 in abort () from /lib/libc.so.6
#2 0x00002ba050fbaffb in __assert_fail () from /lib/libc.so.6
#3 0x0000000000424fb2 in vapp::BSP::_ComputeNormal (
this=<value optimized out>, pLine=<value optimized out>) at VMath.h:142
#4 0x00000000004252c6 in vapp::BSP::addLineDef (this=0x7fffff9ed150,
[EMAIL PROTECTED], [EMAIL PROTECTED]) at src/BSP.cpp:39
#5 0x0000000000466606 in vapp::MotoGame::_GenerateLevel
(this=0x7fffffa52308)
at src/MotoGame.cpp:735
#6 0x0000000000467bcd in vapp::MotoGame::playLevel (this=0x7fffffa52308,
pLevelSrc=0x7fffff9ee338) at src/MotoGame.cpp:586
#7 0x000000000042cb14 in vapp::GameApp::setState (this=0x7fffff9edf90,
s=<value optimized out>) at src/Game.cpp:184
#8 0x0000000000454455 in vapp::GameApp::_HandleMainMenu
(this=0x7fffff9edf90)
at src/GameMenus.cpp:2081
#9 0x000000000042ea2d in vapp::GameApp::drawFrame (this=0x7fffff9edf90)
at src/Game.cpp:862
#10 0x00000000004106aa in vapp::App::run (this=0x7fffff9edf90,
nNumArgs=<value optimized out>, ppcArgs=<value optimized out>)
at src/VApp.cpp:216
#11 0x00000000004358ca in main (nNumArgs=3, ppcArgs=0x7fffffa57588)
at src/GameMain.cpp:52
I'll try to see if I can do something about it or if upstream (in CC)
has some insight.
Cheers,
Samuel.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]