glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[glob2-devel] Crash while loading replay


From: Stéphane Magnenat
Subject: [glob2-devel] Crash while loading replay
Date: Fri, 19 Feb 2010 21:33:07 +0100
User-agent: KMail/1.13.0 (Linux/2.6.31-20-generic; KDE/4.4.0; x86_64; ; )

Hello,

I'm experiencing crash while loading replay in latest default branch.

The crash is in the loading code:
glob2: libgag/src/BinaryStream.cpp:107: virtual std::string 
GAGCore::BinaryInputStream::readText(std::string): Assertion `len < 1024*1024' 
failed.

Backtrace:
#0  0x00007ffff5d694b5 in *__GI_raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff5d6cf50 in *__GI_abort () at abort.c:92
#2  0x00007ffff5d62481 in *__GI___assert_fail (assertion=0x84c063 "len < 
1024*1024", file=<value optimized out>, line=107, function=0x84c080 "virtual 
std::string GAGCore::BinaryInputStream::readText(std::string)") at assert.c:81
#3  0x00000000007a115c in GAGCore::BinaryInputStream::readText 
(this=0x7fffe865d1f0, name=...) at libgag/src/BinaryStream.cpp:107
#4  0x00000000004f432f in Game::load (this=0x7fffffff5df8, 
stream=0x7fffe865d1f0) 
at src/Game.cpp:1005
#5  0x000000000052a4ca in GameGUI::load (this=0x7fffffff5d80, 
stream=0x7fffe865d1f0, ignoreGUIData=false) at src/GameGUI.cpp:4639
#6  0x000000000052a409 in GameGUI::loadFromHeaders (this=0x7fffffff5d80, 
mapHeader=..., gameHeader=..., setGameHeader=true, ignoreGUIData=false, 
saveAI=true) at src/GameGUI.cpp:4621
#7  0x00000000004e27f8 in Engine::initGame (this=0x7fffffff5d80, mapHeader=..., 
gameHeader=..., setGameHeader=true, ignoreGUIData=false, saveAI=true) at 
src/Engine.cpp:718
#8  0x00000000004e4011 in Engine::loadReplay (this=0x7fffffff5d80, 
fileName=...) 
at src/Engine.cpp:909
#9  0x00000000004df833 in Engine::initLoadGame (this=0x7fffffff5d80) at 
src/Engine.cpp:177
#10 0x000000000055fd5c in Glob2::run (this=0x7fffffffe11f, argc=7, 
argv=0x7fffffffe208) at src/Glob2.cpp:318
#11 0x000000000056015b in main (argc=7, argv=0x7fffffffe208) at 
src/Glob2.cpp:426

I'm wandering whether some of you experienced this?

Have a nice day,

Stéphane

-- 
http://stephane.magnenat.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]