frusen/Dawn — Issue #10: dawn crashes saving game with the ring on 
Author: shirishag75
Created: 2011-11-27 00:08:57+00:00
State: open

Hi all,
I think this is the old issue which was there before. dawn crashes when I get the ring or put on the ring (dunno which) and want to save the game. This is the output I got :-

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

converting the following backtrace:

./btdecode.sh << EOBT
./dawn-rpg() [0x45a2a8]
./dawn-rpg() [0x45a32a]
/lib/x86_64-linux-gnu/libc.so.6(+0x32480) [0x7fe0b9c01480]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSsC1ERKSs+0xb) [0x7fe0ba48e79b]
./dawn-rpg() [0x48293d]
./dawn-rpg() [0x452cb2]
./dawn-rpg() [0x432332]
./dawn-rpg() [0x4323da]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xc6dc) [0x7fe0bbc036dc]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0x17118) [0x7fe0bbc0e118]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xcaed) [0x7fe0bbc03aed]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xbda7) [0x7fe0bbc02da7]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xcca2) [0x7fe0bbc03ca2]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(lua_pcall+0x51) [0x7fe0bbbff871]
./dawn-rpg() [0x427cd9]
./dawn-rpg() [0x47f007]
./dawn-rpg() [0x45dfb5]
./dawn-rpg() [0x4734e6]
./dawn-rpg() [0x4084aa]
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:

Segmentation fault
print_backtrace()
/home/shirish/games/dawn-rpg/src/debug.cpp:144
generalSignalHandler(int)
/home/shirish/games/dawn-rpg/src/debug.cpp:165
??
??:0
??
??:0
Quest::getName() const
/home/shirish/games/dawn-rpg/src/Quest.cpp:99
operator<< >
/usr/include/c++/4.6/ostream:515
DawnInterface::getItemReferenceRestore(Quest*)
/home/shirish/games/dawn-rpg/src/CZone.cpp:738
tolua_CLuaInterface_DawnInterface_getItemReferenceRestore05
/home/shirish/games/dawn-rpg/src/CLuaInterfaceGenerated.cpp:6659
tolua_CLuaInterface_DawnInterface_getItemReferenceRestore06
/home/shirish/games/dawn-rpg/src/CLuaInterfaceGenerated.cpp:6689
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
LuaFunctions::executeLuaScript(std::string)
/home/shirish/games/dawn-rpg/src/CLuaFunctions.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:206
GameScreenHandler::handleEvents()
/home/shirish/games/dawn-rpg/src/GameLoopHandler.cpp:332
game_loop()
/home/shirish/games/dawn-rpg/src/main.cpp:535
~auto_ptr
/usr/include/c++/4.6/backward/auto_ptr.h:170
main
/home/shirish/games/dawn-rpg/src/main.cpp:564
dawn-starter.sh: 11: dawn-starter.sh: popd: not found`