frusen/Dawn — Issue #27: crasher with the latest git version March 5, 2012
Author: shirishag75
Created: 2012-03-07 18:55:32+00:00
State: open

This is with the latest git version

commit 44a8c710e1bb35ddc1a524a2a5d7520eaab93cd9
Author: Lucas Johansson
Date: Mon Mar 5 10:07:56 2012 +0100

Fixed issue #26.

Tried it and it crashed.

saving lua game data to savegame.lua
!!!!!!!!!!!!!!!!!!!!!!!!!!!!
the program caught signal 11
!!!!!!!!!!!!!!!!!!!!!!!!!!!!

converting the following backtrace:

./btdecode.sh << EOBT
./dawn-rpg() [0x45a128]
./dawn-rpg() [0x45a1aa]
/lib/x86_64-linux-gnu/libc.so.6(+0x324f0) [0x7ff3c3af44f0]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSsC1ERKSs+0xb) [0x7ff3c438446b]
./dawn-rpg() [0x482b7d]
./dawn-rpg() [0x452b82]
./dawn-rpg() [0x432332]
./dawn-rpg() [0x4323da]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xee2b) [0x7ff3c5adbe2b]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0x1e6c4) [0x7ff3c5aeb6c4]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xf0d6) [0x7ff3c5adc0d6]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0x92e3) [0x7ff3c5ad62e3]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xe08f) [0x7ff3c5adb08f]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xf4f5) [0x7ff3c5adc4f5]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(lua_pcall+0xa8) [0x7ff3c5ad638d]
./dawn-rpg() [0x427cd9]
./dawn-rpg() [0x47f249]
./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
Quest::getDescription() const
/home/shirish/games/dawn-rpg/src/quest.cpp:95
DawnInterface::getItemReferenceRestore(Quest*)
/home/shirish/games/dawn-rpg/src/zone.cpp:741
tolua_CLuaInterface_DawnInterface_getItemReferenceRestore05
/home/shirish/games/dawn-rpg/src/luainterfacegenerated.cpp:6659
tolua_CLuaInterface_DawnInterface_getItemReferenceRestore06
/home/shirish/games/dawn-rpg/src/luainterfacegenerated.cpp:6689
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
LuaFunctions::executeLuaScript(std::string)
/home/shirish/games/dawn-rpg/src/luafunctions.cpp:92
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:225
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

The only change I did was as per your instructions changing the line 668 in savegame.lua file to quest_venomousveins.quest_one=DawnInterface.addQuest( "Venomous veins", "Effrey Longback's daughter was bitten by a Sylphir spider. Search out Jemma the alchemist in the southern part of the Sylphir woods and obtain an antidote for Effrey." );

Now I had done the quest and came back to the Town of Anirox and was saving, while saving it crashed.

I have no idea what info. is missing. I do know that ?? probably means some -dbg files are missing, but which ones ?