bugFreeciv - Bugs: bug #21160, Stack overflow if "Team...

 
 
Show feedback again

bug #21160: Stack overflow if "Team pooled research" is disabled with some human team players

Submitted by:  taka <taka>
Submitted on:  Tue Sep 24 23:13:41 2013  
 
Category: generalSeverity: 3 - Normal
Priority: 5 - NormalStatus: Duplicate
Assigned to: pepeto <pepeto>Open/Closed: Closed
Release: 2.4.0Operating System: Any
Planned Release: 2.4.3, 2.5.0, 2.6.0Contains string changes: None

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 May 22 17:14:50 2014, SVN revision 24924:

Don't assume that player research is shared for the whole team and that every
player has its own structure for it.

From a report by taka@gna

See gna bug #21160 and bug #21161

(Browse SVN revision 24924)

pepeto <pepeto>
Project MemberIn charge of this item.
Thu May 22 17:14:46 2014, SVN revision 24923:

Don't assume that player research is shared for the whole team and that every
player has its own structure for it.

From a report by taka@gna

See gna bug #21160 and bug #21161

(Browse SVN revision 24923)

pepeto <pepeto>
Project MemberIn charge of this item.
Thu May 22 17:14:41 2014, SVN revision 24922:

Don't assume that player research is shared for the whole team and that every
player has its own structure for it.

From a report by taka@gna

See gna bug #21160 and bug #21161

(Browse SVN revision 24922)

pepeto <pepeto>
Project MemberIn charge of this item.
Tue May 20 16:37:32 2014, comment #4:

See bug #21161

pepeto <pepeto>
Project MemberIn charge of this item.
Sat Dec 7 15:03:15 2013, comment #3:

Reproduced with 2.4.0 on Linux. I get a segmentation fault rather than explicit stack overflow, but it's clear we have some recursion gone mad.

Head of S2_4 behaves similarly.

Jacob Nevins <jtn>
Project Administrator
Tue Sep 24 23:41:51 2013, comment #2:

to comment #1
I think "freeciv-server" category is suitable for this bug.

taka <taka>
Tue Sep 24 23:32:37 2013, comment #1:

Thanks for the report.

I'll remove "client-win32" from the category as this sounds more like server side problem than client one, and what "client-win32" refers to no longer exist in freeciv-2.3 (even on Windows one uses either gtk-, or sdl-client rather than native windows gui). We should somehow hide that category from confusing bug reporters...

Marko Lindqvist <cazfi>
Project Administrator
Tue Sep 24 23:13:41 2013, original submission:

How to reproduce:
1) load attached save file
2) take any human player, but except player:Haut
3) open F6 (reserch) tab
4) server will crash

Details:
All human player is into one team.
"Team pooled reserch" is disabled in Game Settings.
Player:Haut completed reserching the Writing tech at this turn.
Other player doesn't have the Writing tech, and some player
start reserching the Writing tech.
When server is crashed, I seen two messages at the same time
"Technology goal is Writing."
"no research target."
and two messages was repeated many times (over100?)
in Messages tab.

taka <taka>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #19080:  freeciv-T0051-Y-1450-auto-crash.sav.bz2 added by taka (44kB - application/octet-stream)

 

Depends on the following items: None found

Digest:
   patch dependencies.

 

Carbon-Copy List
  • -unavailable- added by pepeto (Posted a comment)
  • -unavailable- added by jtn (Posted a comment)
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by taka (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.

     

    Error: not logged in

     

     

    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Jun 7 23:31:17 2014jtnPlanned Release=>2.4.3, 2.5.0, 2.6.0
    Thu May 22 17:15:13 2014pepetoOpen/ClosedOpen=>Closed
    Tue May 20 16:37:32 2014pepetoCategoryNone=>general
      StatusConfirmed=>Duplicate
      Assigned toNone=>pepeto
    Sat Dec 7 15:03:15 2013jtnStatusNone=>Confirmed
      Operating SystemMicrosoft Windows=>Any
      SummaryStack overflow if "Team pooled reserch" is disabled with some human team players=>Stack overflow if "Team pooled research" is disabled with some human team players
    Tue Sep 24 23:32:37 2013cazfiCategoryclient-win32=>None
    Tue Sep 24 23:13:41 2013takaAttached File-=>Added freeciv-T0051-Y-1450-auto-crash.sav.bz2, #19080
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup