bugGlobulation 2 - Bugs: bug #9389, game falls after saved game loading

 
 

bug #9389: game falls after saved game loading

Submitted by:  None
Submitted on:  Sat 19 Jun 2004 03:45:27 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Sat 21 Aug 2004 10:26:10 PM UTC, comment #6:

Bug acknowledged, fixed in CVS

Thanks for testing and reporting bugs to Globulation 2.

Steph, for The Glob2's dev team.

Stephane Magnenat <nct>
Project Administrator
Sat 14 Aug 2004 01:14:54 PM UTC, comment #5:

Sorry to flood a bit, but here is stacktrace made with a version with debugging symbols:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1082481440 (LWP 9611)]
0x080540e8 in AINumbi::findNewEmplacement (this=0x88995e0, buildingType=2,
posX=0xbffedef8, posY=0xbffedefc) at AINumbi.cpp:644
644 Building *b=myBuildings[mainBuilding[buildingType]];
(gdb) bt
#0 0x080540e8 in AINumbi::findNewEmplacement (this=0x88995e0, buildingType=2,
posX=0xbffedef8, posY=0xbffedefc) at AINumbi.cpp:644
#1 0x08055006 in AINumbi::adjustBuildings (this=0x88995e0, numbers=32,
numbersInc=2, workers=1, buildingType=2) at AINumbi.cpp:910
#2 0x08052b1d in AINumbi::getOrder (this=0x88995e0) at AINumbi.cpp:208
#3 0x08051959 in AI::getOrder (this=0x88723b0, paused=false) at AI.cpp:87
#4 0x0807197e in Engine::run (this=0xbfffc500) at Engine.cpp:434
#5 0x0809bf20 in Glob2::run (this=0xbffff827, argc=1, argv=0xbffff8b4)
at Glob2.cpp:298
#6 0x0809c5bb in main (argc=1, argv=0xbffff8b4) at Glob2.cpp:440
(gdb) p mainBuilding[buildingType]
$1 = 134217728
(gdb) p buildingType
$2 = 2
(gdb) p myBuildings
$3 = (class Building **) 0x88f7f3c

Hoping this can help

Gaël Le Mignot <kilobug>
Sat 14 Aug 2004 12:34:34 PM UTC, comment #4:

It does the same for me. Here is a stacktrace:

(gdb) bt
#0 0x08058a4d in std::__uninitialized_fill_n_aux<std::string*, unsigned int, std::string> ()
#1 0x080597d4 in std::__uninitialized_fill_n_aux<std::string*, unsigned int, std::string> ()
#2 0x08057730 in std::__uninitialized_fill_n_aux<std::string*, unsigned int, std::string> ()
#3 0x08056577 in std::__uninitialized_fill_n_aux<std::string*, unsigned int, std::string> ()
#4 0x08078b9e in std::__uninitialized_fill_n_aux<std::string*, unsigned int, std::string> ()
#5 0x080a67d0 in std::operator+<char, std::char_traits<char>, std::allocator<char> > ()
#6 0x080a6eee in std::operator+<char, std::char_traits<char>, std::allocator<char> > ()
#7 0x403827da in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#8 0x404a3d34 in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) info threads
2 Thread 1095220144 (LWP 5028) 0xffffe410 in __kernel_vsyscall ()

  • 1 Thread 1083338400 (LWP 5025) 0x08058a4d in std::__uninitialized_fill_n_aux<std::string*, unsigned int, std::string> ()

I'm using a Debian Sid, with a 2.6 kernel, and the glob2_alpha7_i386.deb version of Globulation 2. If you want additional informations, feel free to ask me.

Gaël Le Mignot <kilobug>
Sat 07 Aug 2004 01:47:48 PM UTC, comment #3:

I need a savegame to try to reproduce your bug.

Steph

Stephane Magnenat <nct>
Project Administrator
Sat 07 Aug 2004 01:43:52 PM UTC, comment #2:

In your case, I need a savegame to be able to reproduce your bug, thanks.

Steph

Stephane Magnenat <nct>
Project Administrator
Wed 21 Jul 2004 08:46:49 PM UTC, comment #1:

I have had this happen on the Windows port as well using Windows XP.

Bruce Petherick <bpetherick>
Sat 19 Jun 2004 03:45:27 PM UTC, original submission:

In every cases game falls after map reloaded. All maps are saved from same version of game (Alpha 6). I tested it at my computer with SuSE Linux 8.1, gcc 3.2.

Toolkit : Initialized : Graphic Context created
Toolkit : Screen set to 1152x864 at 32 bpp in fullscreen
End-user map name is Garden 3
End-user map name is Auto save
End-user map name is Isles2
End-user map name is Isles3
End-user map name is Isles
CGS : Loading map 'games/Garden_3.game' ...
End-user map name is Garden 3
Loading map header
End-user map name is Garden 3
Engine : game is loaded
Engine::initCustom:: numberOfPlayer=4 numberOfTeam=3.
Engine::initCustom::player[0].type=4.
Engine::initCustom::player[1].type=6.
Engine::initCustom::player[2].type=6.
Game : AIs are now allied vs human
AI mask : e
new maxPingPongMax=0[ms]
myLocalWishedLatency=7[ticks]
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #1650:  1.game.gz added by kilobug (42KiB - application/unix-tar - Savegame that crashes glob2 (gzipped, savannah seems unhappy with too big files))
file #1423:  logs.tar.bz2 added by None (2KiB - application/x-bzip2 - bzipped logs)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

Date Changed By Updated Field Previous Value => Replaced By
Sat 21 Aug 2004 10:26:10 PM UTCnctStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Sat 14 Aug 2004 12:36:51 PM UTCkilobugAttached File-=>Added 1.game.gz, #1583
Sat 14 Aug 2004 12:34:34 PM UTCkilobugCarbon-Copy-=>Added kilobug
Sat 19 Jun 2004 03:45:27 PM UTCNoneAttached File-=>Added logs.tar.bz2, #1415

Back to the top


Powered by Savane 3.1-cleanup1