bugFreeciv - Bugs: bug #20952, asserion failed in aidata.c's...

 
 
Show feedback again

bug #20952: asserion failed in aidata.c's dai_plr_data_get()

Submitted by:  Sveinung Kvilhaugsvik <sveinung>
Submitted on:  Mon 08 Jul 2013 03:41:33 PM UTC  
 
Category: generalSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Release: Operating System: GNU/Linux
Planned Release: 2.5.0, 2.6.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 14 Jul 2013 11:49:51 PM UTC, SVN revision 23045:

Subtract lost ferry from stats only if data phase is currently open.

Reported by Sveinung Kvilhaugsvik

See bug #20952

(Browse SVN revision 23045)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun 14 Jul 2013 11:49:46 PM UTC, SVN revision 23044:

Subtract lost ferry from stats only if data phase is currently open.

Reported by Sveinung Kvilhaugsvik

See bug #20952

(Browse SVN revision 23044)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Wed 10 Jul 2013 01:28:31 PM UTC, comment #2:

- Minimally tested fix

(file #18236)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Tue 09 Jul 2013 07:35:33 AM UTC, comment #1:

I've seen this several times too. Definitely caused by patch #3962, so setting target to branches where that was committed.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Mon 08 Jul 2013 03:41:33 PM UTC, original submission:

in dai_plr_data_get() [aidata.c::313]: assertion 'ai->phase_initialized || game.info.phase_mode != PMT_CONCURRENT' failed.

To reproduce (on Freeciv trunk):
/ruleset civ1
/set citymindist 7
/set minplayers 0
/set timeout -1
/hard
/set mapseed 142012235
/set gameseed 126418634
/start

The full error message is attached. Below is the backtrace:
2: 0: ./server/freeciv-server() [0x609a6d]

>

2: 1: ./server/freeciv-server(vdo_log+0x89) [0x60d2c9]

>

2: 2: ./server/freeciv-server(do_log+0x7d) [0x60d37d]

>

2: 3: ./server/freeciv-server(fc_assert_fail+0x9f) [0x60d5af]

>

2: 4: ./server/freeciv-server(dai_plr_data_get+0xcf) [0x50de7f]

>

2: 5: ./server/freeciv-server(dai_ferry_close_ferry+0x97) [0x511027]

>

2: 6: ./server/freeciv-server(dai_unit_close+0x58) [0x531488]

>

2: 7: ./server/freeciv-server(unit_virtual_destroy+0xc0) [0x604bb0]

>

2: 8: ./server/freeciv-server(player_clear+0x137) [0x5ef747]

>

2: 9: ./server/freeciv-server(server_remove_player+0x151) [0x49bf81]

>

2: 10: ./server/freeciv-server(server_game_free+0xbc) [0x43e92c]

>

2: 11: ./server/freeciv-server(server_quit+0x18) [0x43ead8]

>

2: 12: ./server/freeciv-server(srv_main+0x5b9) [0x43f0d9]

>

2: 13: ./server/freeciv-server(main+0x21e) [0x43612e]

>

2: 14: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fab9a311ead]

>

2: 15: ./server/freeciv-server() [0x436b41]

>

1: Please report this message at http://gna.org/projects/freeciv/

Sveinung Kvilhaugsvik <sveinung>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #18236:  DataPhaseFerryClose.patch added by cazfi (2kB - text/x-diff)
file #18210:  bug added by sveinung (5kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by sveinung (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 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 14 Jul 2013 11:50:02 PM UTCcazfiStatusReady For Test=>Fixed
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Wed 10 Jul 2013 01:28:31 PM UTCcazfiAttached File-=>Added DataPhaseFerryClose.patch, #18236
      StatusConfirmed=>Ready For Test
    Tue 09 Jul 2013 07:35:33 AM UTCcazfiCategoryNone=>general
      StatusNone=>Confirmed
      Planned Release=>2.5.0, 2.6.0
    Mon 08 Jul 2013 03:41:33 PM UTCsveinungAttached File-=>Added bug, #18210
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup