[Widelands-public] [ widelands-Bugs-2905333 ] fail assertion when taking an enemy military building
Status: Beta
Brought to you by:
sirver
From: SourceForge.net <no...@so...> - 2009-11-28 14:55:03
|
Bugs item #2905333, was opened at 2009-11-28 14:55 Message generated for change (Tracker Item Submitted) made by daniel_santos You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=427221&aid=2905333&group_id=40163 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: game engine (game logic) Group: SVN Status: Open Resolution: None Priority: 5 Private: No Submitted By: daniel_santos (daniel_santos) Assigned to: Nobody/Anonymous (nobody) Summary: fail assertion when taking an enemy military building Initial Comment: When compiled release, it generates a dynamic_cast exception. This is r4729, compiled debug plus CCFLAGS="-O2 -g3 -march=amdfam10 -pipe" #0 0x00007ffff59094b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007ffff590cf50 in *__GI_abort () at abort.c:92 #2 0x00007ffff5902481 in *__GI___assert_fail (assertion=0x7ec8e0 "f.field < m_fields + max_index()", file=<value optimized out>, line=645, function=0x7f8f20 "void Widelands::Map::get_tln(Widelands::FCoords, Widelands::FCoords*) const") at assert.c:81 #3 0x000000000051cf45 in Widelands::Map::get_tln (this=<value optimized out>, f=..., o=<value optimized out>) at src/logic/map.h:645 #4 0x000000000058920d in MapRegion (this=0x199ec10, area=..., list=0x7fffffff9c60, functor=...) at src/logic/mapregion.h:40 #5 find<Widelands::FindImmovablesCallback> (this=0x199ec10, area=..., list=0x7fffffff9c60, functor=...) at src/logic/map.cc:802 #6 Widelands::Map::find_immovables (this=0x199ec10, area=..., list=0x7fffffff9c60, functor=...) at src/logic/map.cc:944 #7 0x000000000057148b in Widelands::MilitarySite::military_presence_kept (this=0xa188960, game=...) at src/logic/militarysite.cc:642 #8 0x0000000000574d68 in Widelands::MilitarySite::attack (this=0xa188960, enemy=...) at src/logic/militarysite.cc:562 #9 0x00000000005a2071 in Widelands::Soldier::attack_update (this=0x4073e00, game=..., state=...) at src/logic/soldier.cc:608 #10 0x000000000058220b in Widelands::Bob::do_act (this=0x4073e00, game=...) at src/logic/bob.cc:222 #11 0x00000000005804af in Widelands::Cmd_Act::execute (this=0x7fffe43e19f0, game=...) at src/logic/instances.cc:107 #12 0x00000000005691c2 in Widelands::Cmd_Queue::run_queue (this=0x7fffffffbf78, interval=<value optimized out>, game_time_var=@0x7fffffffbd90) at src/logic/cmd_queue.cc:117 #13 0x000000000054feb0 in Widelands::Game::think (this=0x7fffffffbd50) at src/logic/game.cc:560 #14 0x00000000005fb480 in Interactive_Base::think (this=0x199f6b0) at src/wui/interactive_base.cc:271 #15 0x000000000060c290 in Interactive_Player::think (this=0x2afc) at src/wui/interactive_player.cc:253 #16 0x00000000007a0983 in UI::Panel::do_think (this=0x199f6b0) at src/ui_basic/panel.cc:444 #17 0x00000000007a2673 in UI::Panel::run (this=0x199f6b0) at src/ui_basic/panel.cc:165 #18 0x000000000054de30 in Widelands::Game::run (this=0x7fffffffbd50, loader_ui=<value optimized out>, start_game_type=<value optimized out>) at src/logic/game.cc:516 #19 0x000000000054e851 in Widelands::Game::run_load_game (this=0x7fffffffbd50, filename=<value optimized out>) at src/logic/game.cc:389 #20 0x00000000004f49df in WLApplication::load_game (this=<value optimized out>) at src/wlapplication.cc:1921 #21 0x00000000004f5c72 in WLApplication::mainmenu_singleplayer (this=<value optimized out>) at src/wlapplication.cc:1490 #22 0x00000000004f9da8 in WLApplication::mainmenu (this=0xad0130) at src/wlapplication.cc:1410 #23 0x00000000004fa51e in WLApplication::run (this=0xad0130) at src/wlapplication.cc:395 #24 0x00000000004d1541 in main (argc=<value optimized out>, argv=<value optimized out>) at src/main.cc:48 ^done ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=427221&aid=2905333&group_id=40163 |