bugGlobulation 2 - Bugs: bug #22810, Crash while running...

 
 

bug #22810: Crash while running -test-games-nox (another rare one :( )

Submitted by:  Kieran <k776>
Submitted on:  Wed 02 Apr 2008 06:50:44 AM UTC  
 
Severity: 4 - ImportantStatus: Works For Me
Assigned to: Bradley Arsenault <genixpro>Open/Closed: Closed
Release: 0.9.3 (Beta 3)Operating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 05 Apr 2008 06:34:26 AM UTC, comment #2:

I'm no longer getting the reported issue with the standard test (one console running -test-games-nox for a long time). I'll reopen if this bug resurfaces.

Kieran <k776>
Project Administrator
Wed 02 Apr 2008 09:06:26 AM UTC, comment #1:

I got it again >.<

Will run the non -O2 version tomorrow, see if I can catch another one of these crashes.

Hopefully getting close to squashing the remaining rare bugs in AIEcho.

Kieran <k776>
Project Administrator
Wed 02 Apr 2008 06:50:44 AM UTC, original submission:

While running -test-games-nox I got another rare crash. Unfortunately I was running a version compiled with -O2, so I believe that alters the line numbers?

I've tried to include as much gdb info as I could.

-----------------------------------------------------

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1228699920 (LWP 8612)]
std::vector<boost::shared_ptr<AIEcho::Management::ManagementOrder>, std::allocator<bo ost::shared_ptr<AIEcho::Management::ManagementOrder> > >::erase (this=0x84a19a8,
__position={_M_current = 0x8386cd0})
at /usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:66
66 );
(gdb) bt
#0 std::vector<boost::shared_ptr<AIEcho::Management::ManagementOrder>, std::allocator<boost::shared_ptr<AIEcho::Management::ManagementOrder> > >::erase (
this=0x84a19a8, __position={_M_current = 0x8386cd0})
at /usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:66
#1 0x0805f261 in AIEcho::Echo::update_management_orders (this=0x84a1918)
at src/AIEcho.cpp:4505
#2 0x08067258 in AIEcho::Echo::getOrder (this=0x84a1918) at src/AIEcho.cpp:4951
#3 0x08056309 in AI::getOrder (this=0x84bc578, paused=false) at src/AI.cpp:108
#4 0x080d0105 in Engine::run (this=0xbfb3ec54) at src/Engine.cpp:310
#5 0x0811d91d in Glob2::runTestGames (this=0xbfb6ca13) at src/Glob2.cpp:142
#6 0x0811de81 in Glob2::run (this=0xbfb6ca13, argc=2, argv=0xbfb6cab4)
at src/Glob2.cpp:174
#7 0x0811e679 in main (argc=139136360, argv=0x83fd438) at src/Glob2.cpp:337
(gdb) frame 0
#0 std::vector<boost::shared_ptr<AIEcho::Management::ManagementOrder>, std::allocator<boost::shared_ptr<AIEcho::Management::ManagementOrder> > >::erase (
this=0x84a19a8, __position={_M_current = 0x8386cd0})
at /usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:66
66 );
(gdb) frame 1
#1 0x0805f261 in AIEcho::Echo::update_management_orders (this=0x84a1918)
at src/AIEcho.cpp:4505
4505 management_orders.erase(i);
(gdb) print i
$1 = 3
(gdb) frame 2
#2 0x08067258 in AIEcho::Echo::getOrder (this=0x84a1918) at src/AIEcho.cpp:4951
4951 update_management_orders();
(gdb) frame 3
#3 0x08056309 in AI::getOrder (this=0x84bc578, paused=false) at src/AI.cpp:108
108 return aiImplementation->getOrder();
(gdb) frame 4
#4 0x080d0105 in Engine::run (this=0xbfb3ec54) at src/Engine.cpp:310
310 shared_ptr<Order> order=gui.game.players[i]->ai->getOrder(gui.gamePaused);
(gdb)

Kieran <k776>
Project Administrator

 

(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 k776 (Submitted 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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 05 Apr 2008 06:34:26 AM UTCk776StatusNone=>Works For Me
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1