bugBattle for Wesnoth - Bugs: bug #21277, Crash in BMR3-Escape the Legion

 
 
Show feedback again

bug #21277: Crash in BMR3-Escape the Legion

Submitted by:  None
Submitted on:  Sat 16 Nov 2013 05:47:36 PM UTC  
 
Category: BugSeverity: 4 - Important
Priority: 5 - NormalItem Group:  None of the others
Status: FixedPrivacy: Public
Assigned to: Alexander van Gessel <ai0867>Originator Email: -unavailable-
Open/Closed: ClosedRelease: 1.11.7
Operating System: Linux Mint 16

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Thu 12 Dec 2013 01:47:15 PM UTC, comment #2:

Fixed in d12a0f706e02841d.

Alexander van Gessel <ai0867>
Project MemberIn charge of this item.
Sat 16 Nov 2013 05:49:16 PM UTC, comment #1:

Forum link: http://forums.wesnoth.org/viewtopic.php?f=8&t=31348&view=unread#p562606

Anonymous
Sat 16 Nov 2013 05:47:36 PM UTC, original submission:

In BMR3-Escape the Legion when Ares attacks, the game crashes (SIGSEGV)

Link to savegame: http://forums.wesnoth.org/download/file.php?id=63444

bt:

Program received signal SIGSEGV, Segmentation fault.
0x00000000014f7670 in combatant::combatant(battle_context_unit_stats const&, combatant const*) ()

(gdb) bt
#0 0x00000000014f7670 in combatant::combatant(battle_context_unit_stats const&, combatant const*) ()
#1 0x00000000012c152a in battle_context::get_attacker_combatant(combatant const*) ()
#2 0x00000000013aedca in ai::attack_analysis::analyze(gamemap const&, unit_map&, ai::readonly_context const&, std::multimap<map_location, map_location, std::less<map_location>, std::allocator<std::pair<map_location const, map_location> > > const&, std::multimap<map_location, map_location, std::less<map_location>, std::allocator<std::pair<map_location const, map_location> > > const&, std::multimap<map_location, map_location, std::less<map_location>, std::allocator<std::pair<map_location const, map_location> > > const&, double) ()
#3 0x000000000149d71b in ai::testing_ai_default::aspect_attacks::do_attack_analysis(map_location const&, std::multimap<map_location, map_location, std::less<map_location>, std::allocator<std::pair<map_location const, map_location> > > const&, std::multimap<map_location, map_location, std::less<map_location>, std::allocator<std::pair<map_location const, map_location> > > const&, std::multimap<map_location, map_location, std::less<map_location>, std::allocator<std::pair<map_location const, map_location> > > const&, std::multimap<map_location, map_location, std::less<map_location>, std::allocator<std::pair<map_location const, map_location> > > const&, std::multimap<map_location, map_location, std::less<map_location>, std::allocator<std::pair<map_location const, map_location> > > const&, std::multimap<map_location, map_location, std::less<map_location>, std::allocator<std::pair<map_location const, map_location> > > const&, map_location const*, bool*---Type <return> to continue, or q <return> to quit---
, std::vector<map_location, std::allocator<map_location> >&, std::vector<ai::attack_analysis, std::allocator<ai::attack_analysis> >&, ai::attack_analysis&, team const&) const ()
#4 0x000000000149c3f1 in ai::testing_ai_default::aspect_attacks::analyze_targets() const ()
#5 0x000000000149bcb8 in ai::testing_ai_default::aspect_attacks::recalculate() const ()
#6 0x00000000014815eb in ai::typesafe_aspect<std::vector<ai::attack_analysis, std::allocator<ai::attack_analysis> > >::get_ptr() const ()
#7 0x0000000001480f7a in ai::composite_aspect<std::vector<ai::attack_analysis, std::allocator<ai::attack_analysis> > >::recalculate() const ()
#8 0x00000000014815eb in ai::typesafe_aspect<std::vector<ai::attack_analysis, std::allocator<ai::attack_analysis> > >::get_ptr() const ()
#9 0x0000000001481569 in ai::typesafe_aspect<std::vector<ai::attack_analysis, std::allocator<ai::attack_analysis> > >::get() const ()
#10 0x0000000001385f0c in ai::readonly_context_impl::get_attacks() const ()
#11 0x000000000132d1c3 in ai::readonly_context_proxy::get_attacks() const ()
#12 0x00000000014a8219 in ai::testing_ai_default::combat_phase::evaluate() ()
#13 0x00000000014e18b5 in ai::testing_ai_default::candidate_action_evaluation_loop::do_play_stage() ()
#14 0x000000000136ee85 in ai::stage::play_stage() ()
#15 0x0000000001339c96 in ai::ai_composite::play_turn() ()
#16 0x00000000013fd1f8 in ai::manager::play_turn(int) ()
---Type <return> to continue, or q <return> to quit---
#17 0x0000000001881e5f in playsingle_controller::play_ai_turn() ()
#18 0x0000000001880df4 in playsingle_controller::play_side(unsigned int, bool)
()
#19 0x0000000001880929 in playsingle_controller::play_turn(bool) ()
#20 0x000000000187f0d2 in playsingle_controller::play_scenario(std::pair<config::const_child_iterator, config::const_child_iterator> const&, bool) ()
#21 0x000000000187446e in playsingle_scenario(config const&, config const*, display&, game_state&, std::pair<config::const_child_iterator, config::const_child_iterator> const&, bool, end_level_data&) ()
#22 0x000000000187653d in play_game(game_display&, game_state&, config const&, io_type_t, bool, bool) ()
#23 0x00000000015ef29e in game_controller::launch_game(game_controller::RELOAD_GAME_DATA) ()
#24 0x00000000010ec4b4 in do_gameloop(int, char**) ()
#25 0x00000000010ec9d1 in main ()

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by shadowmaster (Updated the item)
  • -unavailable- added by ai0867 (Posted a comment)
  • -unavailable- added by fendrin (Updated the item)
  • -unavailable- added by mattsc (Updated the item)
  •  

    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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 06 Jan 2014 12:21:37 AM UTCshadowmasterOpen/ClosedOpen=>Closed
    Thu 12 Dec 2013 01:47:15 PM UTCai0867StatusConfirmed=>Fixed
      Assigned tofendrin=>ai0867
    Mon 18 Nov 2013 08:32:24 PM UTCfendrinStatusNone=>Confirmed
    Mon 18 Nov 2013 05:07:30 PM UTCmattscSeverity3 - Normal=>4 - Important
      Assigned toNone=>fendrin
    Sat 16 Nov 2013 05:47:36 PM UTCNoneAttached File-=>Added BMR3-Escape_the_Legion-Automatické_uložení8.bz2, #19355
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup