Bug 771857 - boswars crashes when loading a saved game
Summary: boswars crashes when loading a saved game
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: boswars
Version: 16
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-05 09:24 UTC by slidercrank
Modified: 2012-03-07 19:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-07 19:37:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
a saved game producing the crash (68.97 KB, application/x-gzip)
2012-01-05 09:24 UTC, slidercrank
no flags Details

Description slidercrank 2012-01-05 09:24:44 UTC
Created attachment 550860 [details]
a saved game producing the crash

Description of problem:
  When loading a saved game, boswars crashes with the message:

  Starting saved game
  [string "/home/tehnik/.boswars/save/game.sav.gz"]:8602: function or expression too complex near ','


Version-Release number of selected component (if applicable):
  Bos Wars V2.6.0
  RPM version 4.9.1.2

How reproducible:
  Always


Steps to Reproduce:
1. run the game
2. choose "load a game"
3. choose "start"
  

Actual results:
the game crashes


Expected results:
Successful loading and playing the game:)

Additional info:
a saved game attached (it's worth mentioning that the crash occurs with the same version of the games which saved it. That is the problem is not related to upgrading from previous version)

Comment 1 Hans de Goede 2012-03-03 09:15:10 UTC
Thanks for bug report, which version  of boswars are you using exactly?

You claim to be using version 2.6.0 under Fedora 16, but Fedora 16 has had version 2.6.1 from the day Fedora-16 was released...

Can you perhaps run "rpm -q boswars" and paste the output here? Also are you sure that you did not
create the savefile with 2.6 and now are trying to load it with 2.6.1 ?

Or did you perhaps create the save file with a 32 bit / i686 version and are now trying to load it with a 64 bit / x86_64 version?

Regards,

Hans

Comment 2 slidercrank 2012-03-07 16:35:10 UTC
Well, the game version is somewhat confusing:)
if I run boswars -h|head -n 1 it will display
Bos Wars V2.6.0, (c) 1998-2010 by the Bos Wars and Stratagus Project.
claiming the version is 2.6.0
but rpm is boswars-2.6.1-2.fc16.i686
so the version of rpm doesn't match that the game displays for some reason.

to put it differently
game's version output: 2.6.0
corresponding rpm: 2.6.1-2

The game was played, saved and loaded (with a crash following) on the same computer. So it doesn't have anything to do with changing from 32bit to 64 (or vice versa), not with saving in a previous game version and loading in an updated one.
It happened a few times.

My observations: it happens when you play (on big maps?) for, say, an hour (or maybe more hours. I don't know how long). So you can save and load many times successfully until one time the game crashes. And if you start it again, it will display this message (function or expression too complex near ',')
So if you choose a small map or pass a level fast, you will not face this problem.

I guess, this makes it hard for you to reproduce the bug.

Comment 3 Hans de Goede 2012-03-07 19:37:16 UTC
Hi,

Thanks for the info!

(In reply to comment #2)
> 
> I guess, this makes it hard for you to reproduce the bug.

Yes it does, and not only that, but I also must admit I simply don't have the time to do the
debugging needed to figure out what is going on here, can you please take this bug
up with upstream? They have a bug-tracker here:
http://savannah.nongnu.org/bugs/?group=stratagus-bos

Thanks,

Hans


Note You need to log in before you can comment on or make changes to this bug.