bugFreeciv - Bugs: bug #19925, 'ai->settler->tdc_hash !=...

 
 
Show feedback again

bug #19925: 'ai->settler->tdc_hash != ((void *)0)' failed.

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Wed 11 Jul 2012 08:50:45 PM UTC  
 
Category: generalSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: 2.4.0, 2.5.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Thu 07 Feb 2013 11:07:12 PM UTC, comment #5:

The --enable-debug compilation error was fixed in bug #20057

> When I copy the files from "Civ2Civ3" folder into "Classic"
> folder (replacing them), then I can play civ2civ3 rules without
> the assertion error, no matter if I use the default.serv or the
> civ2civ3.serv.


Was civ2civ3.serv still loading from rulesetdir civ2civ3, i.e., the very files that were crashing before?

Then the only explanation I can think of is that problem was specific to loading civ2civ3 to replace classic rules (that anyway are initially loaded). Once you overwrote normal classic rules with civ2civ3 rules, you were no longer using real classic rules even initially. Then the bug could be something similar to what we had with government count changing when loading new ruleset with more government types (in fact, as memory corruption bug, it could have been not only similar, but the very bug causing this too) That was bug #19800, fixed in r21889

Marko Lindqvist <cazfi>
Project Administrator
Fri 13 Jul 2012 05:47:32 PM UTC, comment #4:

ah, ok, then it seems something related to my installation.
When I try to build with --enable-debug, I get this error:

I use an outdated ubuntu version 9.04 placed in external usb, that I can't update due to sort space in disk... this might be the reason of some of my problems.

David Fernandez <bardo>
Fri 13 Jul 2012 09:53:44 AM UTC, comment #3:

I still cannot reproduce.

From the log you sent it looks like you do manage to read all the required files from data/civ2civ3/, so no fallbacks used, and wrong version from FREECIV_PATH seems quite unlikely too.

Can you configure your build with --enable-debug ("./autogen.sh --enable-debug && make") so the assert might give more information.

Marko Lindqvist <cazfi>
Project Administrator
Fri 13 Jul 2012 01:53:44 AM UTC, comment #2:

Ok, this is really weird, but I'm pretty sure I tested it properly... (with trunk r21520)

When I copy the files from "Civ2Civ3" folder into "Classic" folder (replacing them), then I can play civ2civ3 rules without the assertion error, no matter if I use the default.serv or the civ2civ3.serv.

I would thank confirmation of this error:
1- Compile trunk r21520
2- run server: ./fcser -r data/civ2civ3.serv
3- run client: ./fcgui
4- Connect to network game and end turn
-- assertion error here --

5- Copy files from "Civ2Civ3" folder to "Classic"
6- Repeat 1 to 4 to verify there is no assertion error this time

David Fernandez <bardo>
Fri 13 Jul 2012 12:57:50 AM UTC, comment #1:

It seems the error does not appear with default, civ2, nor experimental rulesets. Only affects to civ2civ3 modpack.
The lastest revision I tested where there was no error is the windows crosser build r21402. Civ2Civ3 was added in r21460, where the error does happen.

I'm checking my modpack for bugs that could be triggering this error. Anyway, I guess it must be related to some change to ai code between r21402 and r21460.

David Fernandez <bardo>
Wed 11 Jul 2012 08:50:45 PM UTC, original submission:

From bug #19899.

David Fernandez <bardo> says that using civ2civ3 ruleset ending turn always results in $subject assert.

Marko Lindqvist <cazfi>
Project Administrator

 

(Note: upload size limit is set to 1024 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 bardo (Posted a comment)
  • -unavailable- added by cazfi (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):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup