bugLordsAWar! - Bugs: bug #24933, 0.1.3 - QuestKillHero crashes

 
 

bug #24933: 0.1.3 - QuestKillHero crashes

Submitted by:  None
Submitted on:  Tue 25 Nov 2008 11:08:28 PM UTC  
 
Category: gameSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 26 Nov 2008 11:31:47 PM UTC, comment #4:

Fixed in svn.
Now saving hero ids in the "hero emerge" event of the player's history, and looking it up to get the dead hero's name.

Thanks!

Ben Asselstine <benasselstine>
Project Administrator
Wed 26 Nov 2008 09:00:57 PM UTC, comment #3:

This is crashing because it's trying to print out the hero's name, but the hero doesn't exist anymore.

Ben Asselstine <benasselstine>
Project Administrator
Wed 26 Nov 2008 07:42:19 PM UTC, comment #2:

Did you forget to attach a saved-game file here?

Ben Asselstine <benasselstine>
Project Administrator
Tue 25 Nov 2008 11:31:21 PM UTC, comment #1:

This bug looks a lot like:
http://savannah.nongnu.org/bugs/?24611

But 0.1.3 had this bug already fixed in it.

Ben Asselstine <benasselstine>
Project Administrator
Tue 25 Nov 2008 11:08:28 PM UTC, original submission:

The quest during which to kill an enemy hero causes a crash if one kills the enemy hero without using the correct own hero. Loading the last autosave game crashes, too:

#3 0x008cd57e in __assert_fail () from /lib/libc.so.6
#4 0x0818dd1f in QuestKillHero (this=0x92fb628, q_mgr=@0x92fb378,
helper=0xbfbf8404) at QKillHero.cpp:57
#5 0x08109614 in QuestsManager::load (this=0x92fb378, tag=
{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__g
nu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xb
fbf7f34 "�\2160\t\005"}}, helper=0xbfbf8404) at QuestsManager.cpp:357
#6 0x0810c05b in sigc::internal::slot_call2<sigc::bound_mem_functor2<bool, Ques
tsManager, std::string, XML_Helper>, bool, std::string, XML_Helper>::call_it
(rep=0x93085e8, a_1=@0xbfbf8004, a_2=@0xbfbf7fc4)
at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1917
#7 0x081377d2 in XML_Helper::tag_close (this=0xbfbf8404, tag=
{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__g
nu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xb
fbf8004 "ܮ0\t"}}, cdata=
{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__g
nu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xb
fbf8000 "\004�/\tܮ0\t"}})
at /usr/include/sigc++-2.0/sigc++/functors/slot.h:593
#8 0x0813793f in end_handler (udata=0xbfbf8404, name=0x92f06e0 "quest")
at xmlhelper.cpp:734
#9 0x00d51c67 in ?? () from /lib/libexpat.so.1
#10 0x00d52ba1 in ?? () from /lib/libexpat.so.1
#11 0x00d4b52c in XML_ParseBuffer () from /lib/libexpat.so.1
#12 0x081393e9 in XML_Helper::parse (this=0xbfbf8404) at xmlhelper.cpp:557
#13 0x080c3ef6 in GameScenario::loadWithHelper (this=0x92e0760,
helper=@0xbfbf8404) at GameScenario.cpp:291
...

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by benasselstine (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 26 Nov 2008 11:31:47 PM UTCbenasselstineOpen/ClosedOpen=>Closed
    Tue 25 Nov 2008 11:31:21 PM UTCbenasselstineCategoryNone=>game

    Back to the top


    Powered by Savane 3.1-cleanup1