bugFreeciv - Bugs: bug #19848, assertion 'tech == (200-2) ||...

 
 
Show feedback again

bug #19848: assertion 'tech == (200-2) || (tech >= 0 && tech < game.control.num_tech_types)' failed

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Sun 24 Jun 2012 12:28:44 PM UTC  
 
Category: client-gtk-2.0Severity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: pepeto <pepeto>Open/Closed: Closed
Release: S2_3 r21354Operating System: Any
Planned Release: 2.4.4, 2.5.0-beta2, 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.

 

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

Thu 14 Aug 2014 08:12:56 AM UTC, SVN revision 25908:

Make the client more robust when trying to calculate its research cost or
rate. In some rare case, it was trying to calculate them for A_UNKNOWN,
causing many failed assertions.

Reported by Jacob Nevins

See gna bug #19848

(Browse SVN revision 25908)

pepeto <pepeto>
Project MemberIn charge of this item.
Thu 14 Aug 2014 08:12:51 AM UTC, SVN revision 25907:

Make the client more robust when trying to calculate its research cost or
rate. In some rare case, it was trying to calculate them for A_UNKNOWN,
causing many failed assertions.

Reported by Jacob Nevins

See gna bug #19848

(Browse SVN revision 25907)

pepeto <pepeto>
Project MemberIn charge of this item.
Thu 14 Aug 2014 08:07:50 AM UTC, SVN revision 25906:

Keep server and client synchronized when detaching connection on server
side: send the connection info packet before sending any other game packet.
A PLAYER_INFO packet was able to produce error messages on client side.

Reported by Jacobs Nevins

See gna bug #19848

(Browse SVN revision 25906)

pepeto <pepeto>
Project MemberIn charge of this item.
Thu 14 Aug 2014 08:07:50 AM UTC, SVN revision 25905:

Keep server and client synchronized when detaching connection on server
side: send the connection info packet before sending any other game packet.
A PLAYER_INFO packet was able to produce error messages on client side.

Reported by Jacobs Nevins

See gna bug #19848

(Browse SVN revision 25905)

pepeto <pepeto>
Project MemberIn charge of this item.
Thu 14 Aug 2014 08:07:45 AM UTC, SVN revision 25904:

Keep server and client synchronized when detaching connection on server
side: send the connection info packet before sending any other game packet.
A PLAYER_INFO packet was able to produce error messages on client side.

Reported by Jacobs Nevins

See gna bug #19848

send connection info when detaching to keep client synchronized before sending player info packets ;

(Browse SVN revision 25904)

pepeto <pepeto>
Project MemberIn charge of this item.
Tue 12 Aug 2014 09:29:20 AM UTC, comment #2:

2 patches attached:

  • send connection info when detaching to keep client synchronized before sending player info packets ;
  • enforce client science helpers to don't output error messages (only S2_4 and S2_5 ; trunk is already protected).

(file #21691, file #21692)

pepeto <pepeto>
Project MemberIn charge of this item.
Wed 06 Aug 2014 09:13:16 AM UTC, comment #1:

See also bug #22437.

Jacob Nevins <jtn>
Project Administrator
Sun 24 Jun 2012 12:28:44 PM UTC, original submission:

While investigating the savegame attached to bug #19745 (file #15751), I noticed this assertion failure on the client.

I notice team_pooled_research is enabled on the server, which I suspect is significant (although every player is in fact on their own team).

Steps to reproduce
# Start server with savegame
# Take Elizabeth I in client (I suspect the exact player doesn't matter).
# Start game
# Go into edit mode
# Select another player (or global observer) with the edit mode control (this backtrace is for Anna)
# Boom.

Jacob Nevins <jtn>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21691:  connection_detach.patch added by pepeto (1kB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pepeto (Updated the item)
  • -unavailable- added by jtn (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
    Thu 14 Aug 2014 08:13:16 AM UTCpepetoStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 12 Aug 2014 09:29:20 AM UTCpepetoAttached File-=>Added connection_detach.patch, #21691
      Attached File-=>Added client_research_A_UNKNOWN_bulbs.patch, #21692
      StatusIn Progress=>Ready For Test
    Mon 11 Aug 2014 06:52:04 PM UTCpepetoStatusNone=>In Progress
      Assigned toNone=>pepeto
      Operating SystemNone=>Any
      Planned Release=>2.4.4, 2.5.0-beta2, 2.6.0
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup