[Freeciv-Dev] [bug #15264] Crash with Large Earth scenario and civ2 rules

2010-02-07 Thread pepeto

Update of bug #15264 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?15264

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #15264] Crash with Large Earth scenario and civ2 rules

2010-02-06 Thread pepeto

Follow-up Comment #5, bug #15264 (project freeciv):

Correct fix for S2_2 attached.


(file #7947)
___

Additional Item Attachment:

File name: S2_2_version3-fix-rulesetdir-in-scenarios.diff Size:3 KB


___

Reply to this item at:

  http://gna.org/bugs/?15264

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #15264] Crash with Large Earth scenario and civ2 rules

2010-02-02 Thread anonymous

URL:
  http://gna.org/bugs/?15264

 Summary: Crash with Large Earth scenario and civ2 rules
 Project: Freeciv
Submitted by: None
Submitted on: Tuesday 02/02/2010 at 17:59 CET
Category: client-gtk-2.0
Severity: 5 - Blocker
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.1.x
 Discussion Lock: Any
Operating System: Microsoft Windows
 Planned Release: 2.2.x

___

Details:

Cannot play large earth scenario with civ2 rules. The FreeCiv server crashes
for me every time.

Steps to reproduce:
1. Load Large Earth scenario
2. Select civ2 ruleset
3. Select # of players (i.e. 5)
4. Select country/leader (i.e. American/Lincoln)
5. Start game

Note - steps 3  4 above may not actually be related to the problem.

Following these steps have always led to a crash of the server for me in all
of the 2.1.x and 2.2.x releases I have tried.

Currently running FreeCiv (gtk2 client) under WinXP w/SP3. Tested this on
other machines running same OS and results were the same result.

Can someone please fix this?

Thanks!




___

Reply to this item at:

  http://gna.org/bugs/?15264

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #15264] Crash with Large Earth scenario and civ2 rules

2010-02-02 Thread pepeto

Update of bug #15264 (project freeciv):

  Status:None = Confirmed  
 Planned Release:   2.2.x = 2.2.0  

___

Follow-up Comment #1:

You should be able to modify the ruleset after a map is loaded.


___

Reply to this item at:

  http://gna.org/bugs/?15264

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #15264] Crash with Large Earth scenario and civ2 rules

2010-02-02 Thread Matthias Pfafferodt

Follow-up Comment #2, bug #15264 (project freeciv):

 You should be able to modify the ruleset after a map is
 loaded. 

Do you meant: 'You *shouldn't* ...'?

hot fix attached (for S2_2 + trunk and S2_1):

fix rulesetdir in scenarios

* ruleset.(game|tech|...) = default and similar is not used anymore; use
rulesetdir = default instead in the scenario definitions
* the ruleset can't be changed after a scenario was loaded
* modify the 'end' command to consider the above listed change

problem: two calls to 'end' are needed after a scenario was loaded to return
to a clean state

I could not compile test the S2_1 version due to the following error:

# make | grep warn


cc1: warnings being treated as errors
ltable.c: In function ‘luaH_mainposition’:
ltable.c:108: error: cast from pointer to integer of different size
ltable.c:110: error: cast from pointer to integer of different size


(file #7883, file #7884)
___

Additional Item Attachment:

File name: S2_2-trunk-0001-fix-rulesetdir-in-scenarios.patch Size:5 KB
File name: S2_1-0001-fix-rulesetdir-in-scenarios-S2_1.patch Size:5 KB


___

Reply to this item at:

  http://gna.org/bugs/?15264

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #15264] Crash with Large Earth scenario and civ2 rules

2010-02-02 Thread pepeto

Follow-up Comment #3, bug #15264 (project freeciv):

 Do you meant: 'You shouldn't ...'? 

Of course.

 * modify the 'end' command to consider the above listed change

 problem: two calls to 'end' are needed after a scenario was
 loaded to return to a clean state 

This is unrelated, I don't think it's a good idea to include this in this
patch.

 I could not compile test the S2_1 version due to the following
 error:

This is a very old problem, I never could compile 2.1 myself with
--enable-debug.




___

Reply to this item at:

  http://gna.org/bugs/?15264

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #15264] Crash with Large Earth scenario and civ2 rules

2010-02-02 Thread Matthias Pfafferodt

Follow-up Comment #4, bug #15264 (project freeciv):

 This is unrelated, I don't think it's a good idea to include
 this in this patch. 

removed in version 2 of the patch
 
 This is a very old problem, I never could compile 2.1 myself
 with --enable-debug.

without --enable-debug it compiles fine

(file #7886, file #7887)
___

Additional Item Attachment:

File name: S2_1-version2-fix-rulesetdir-in-scenarios-S2_1.patch Size:4 KB
File name: S2_2-trunk-version2-fix-rulesetdir-in-scenarios.patch Size:4 KB


___

Reply to this item at:

  http://gna.org/bugs/?15264

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #15264] Crash with Large Earth scenario and civ2 rules

2010-02-02 Thread pepeto

Update of bug #15264 (project freeciv):

  Status:   Confirmed = Ready For Test 


___

Reply to this item at:

  http://gna.org/bugs/?15264

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev