bugGlobulation 2 - Bugs: bug #26194, game freezes playing against...

 
 

bug #26194: game freezes playing against Nicowar

Submitter:  None
Submitted:  Thu 16 Apr 2009 01:38:15 AM UTC
   
 
Severity:  3 - Normal Status:  Confirmed
Assigned to:  genixpro Open/Closed:  Open
Release:  0.9.4 (Beta 4) Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 01 May 2009 01:42:02 PM UTC, comment #1: 

As mentioned the savegame does not crash but freeze with ever rising mem-usage.
valgrind did not show anything.
runnng in gdb and breaking while frozen keeps bringing me:
(gdb) bt
#0  0x080a47f6 in std::_List_iterator<int>::operator!= (this=0xbfac41f4, __x=@0xbfac4230) at /usr/include/c++/4.3/bits/stl_list.h:174
#1  0x08090c15 in NewNicowar::compute_defense_flag_positioning (this=0xa04d290, echo=@0x9209470) at src/AINicowar.cpp:2100
#2  0x080a32a9 in NewNicowar::tick (this=0xa04d290, echo=@0x9209470) at src/AINicowar.cpp:406
#3  0x08075b65 in AIEcho::Echo::getOrder (this=0x9209470) at src/AIEcho.cpp:5032
#4  0x0805c893 in AI::getOrder (this=0x9177888, paused=false) at src/AI.cpp:108
#5  0x080ee5d9 in Engine::run (this=0xbfac7744) at src/Engine.cpp:315
#6  0x08149cd2 in Glob2::run (this=0xbfacb003, argc=1, argv=0xbfacb0a4) at src/Glob2.cpp:317
#7  0x0814a0ae in main (argc=-1322156024, argv=0xb3d41998) at src/Glob2.cpp:409
(gdb) bt full 3
#0  0x080a47f6 in std::_List_iterator<int>::operator!= (this=0xbfac41f4, __x=@0xbfac4230) at /usr/include/c++/4.3/bits/stl_list.h:174
No locals.
#1  0x08090c15 in NewNicowar::compute_defense_flag_positioning (this=0xa04d290, echo=@0x9209470) at src/AINicowar.cpp:2100
i = {_M_node = 0x911a000}
maxPos = 8192
max_x = 34
max = 2
max_y = 2
enemy_count = 0
mi = {echo = @0x9209470}
w = 256
h = 256
counts = (Uint16 *) 0xb1780d8
buildingGID = (Uint16 *) 0xb1980e0
unitGID = (Uint16 *) 0xb1b80e8
locations = {<std::_List_base<int, std::allocator<int> >> = {
    _M_impl = {<std::allocator<std::_List_node<int> >> = {<__gnu_cxx::new_allocator<std::_List_node<int> >> = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0x9158328,
        _M_prev = 0x9105450}}}, <No data fields>}
flagLocations = {<std::_Vector_base<int, std::allocator<int> >> = {_M_impl = {<std::allocator<int>> = {<__gnu_cxx::new_allocator<int>> = {<No data fields>}, <No data fields>},
      _M_start = 0xaa90e008, _M_finish = 0xad337998, _M_end_of_storage = 0xae90e008}}, <No data fields>}
enemyUnits = {<std::_Vector_base<int, std::allocator<int> >> = {_M_impl = {<std::allocator<int>> = {<__gnu_cxx::new_allocator<int>> = {<No data fields>}, <No data fields>},
      _M_start = 0xb1318008, _M_finish = 0xb3d41998, _M_end_of_storage = 0xb5318008}}, <No data fields>}
existing_defense_flags = {<std::_Vector_base<int, std::allocator<int> >> = {_M_impl = {<std::allocator<int>> = {<__gnu_cxx::new_allocator<int>> = {<No data fields>}, <No data fields>},
      _M_start = 0x9169f98, _M_finish = 0xbfac426c, _M_end_of_storage = 0xbfac4218}}, <No data fields>}
#2  0x080a32a9 in NewNicowar::tick (this=0xa04d290, echo=@0x9209470) at src/AINicowar.cpp:406
No locals.

what makes me believe it is within Nicowar thus I'm assigning it to Genixpro.

Leo Wandersleb <giszmo>
Group Member
Thu 16 Apr 2009 01:38:15 AM UTC, original submission:  

Compiled it myself on Ubuntu after getting latest versions of dev packages from synaptic package manager. I followed the compile instructions precisely. Game freezes but does not quit. Based on the system monitor, the memory usage was climbing, evidence of a memory leak. Logs folder empty. I was playing on a custom 256x256 map against most AI set to team play.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #17926:  Auto_save.game.tar.bz2 added by None (137KiB - application/x-bzip - (file failed to load first time))
file #17925:  console output and version.txt added by None (9KiB - text/plain - Did I forget something?)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by giszmo (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-05-01 giszmo StatusNone Confirmed
        Assigned toNone genixpro
        Summarygame crash game freezes playing against Nicowar
    2009-04-16 None Attached File- Added Auto_save.game.tar.bz2, #17926
    2009-04-16 None Attached File- Added console output and version.txt, #17925

    Back to the top

    Powered by Savane 3.13-6ae7.
    Corresponding source code