frusen/Dawn — Issue #26: crasher with the latest git version
Author: shirishag75
Created: 2012-03-05 02:21:34+00:00
State: open
Labels: Bug

Hi Frusen,
Got crasher with the latest git version. I was just using the old save file and trying to start the game and it crashed. Got this at output :-

loading lua game data from savegame.lua
error in lua script: savegame.lua:668: ')' expected near 's'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!
the program caught signal 6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!

converting the following backtrace:

./btdecode.sh << EOBT
./dawn-rpg() [0x45a128]
./dawn-rpg() [0x45a1aa]
/lib/x86_64-linux-gnu/libc.so.6(+0x324f0) [0x7f34c91814f0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f34c9181475]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x180) [0x7f34c91846f0]
./dawn-rpg() [0x427cc2]
./dawn-rpg() [0x47f162]
./dawn-rpg() [0x45ded5]
./dawn-rpg() [0x473686]
./dawn-rpg() [0x40851a]
EOBT

We are sorry, your game of dawn crashed.

To help us debug the problem and make dawn more stable, give the following lines to the
developers of dawn, please.
The developers of dawn can be reached via dawn-rpg-bugreport@lists.sourceforge.net.
If possible add some text what you were doing when the game crashed or how the crash can be
reproduced.
Try to add the last line of the previous output (something from before 'converting the following
backtrace') as well.

Thank you very much for your help!

converted backtrace:

print_backtrace()
/home/shirish/games/dawn-rpg/src/debug.cpp:151
generalSignalHandler(int)
/home/shirish/games/dawn-rpg/src/debug.cpp:173
??
??:0
??
??:0
??
??:0
LuaFunctions::executeLuaScript(std::string)
/home/shirish/games/dawn-rpg/src/luafunctions.cpp:96
std::string::_M_data() const
/usr/include/c++/4.6/bits/basic_string.h:288
std::string::_M_rep() const
/usr/include/c++/4.6/bits/basic_string.h:296
~basic_string
/usr/include/c++/4.6/bits/basic_string.h:534
OptionsWindow::clicked(int, int, unsigned char)
/home/shirish/games/dawn-rpg/src/optionswindow.cpp:214
GameScreenHandler::handleEvents()
/home/shirish/games/dawn-rpg/src/gameloophandler.cpp:329
game_loop()
/home/shirish/games/dawn-rpg/src/main.cpp:532
~auto_ptr
/usr/include/c++/4.6/backward/auto_ptr.h:170
main
/home/shirish/games/dawn-rpg/src/main.cpp:564

Is the save game file corrupted or something. Would send you the savegame.lua