[Freeciv-tickets] [freeciv] #45963: Segfault when starting game with current SlowScience version

Back to archive index
OSDN Ticket System norep****@osdn*****
Tue Oct 25 07:58:38 JST 2022


#45963: Segfault when starting game with current SlowScience version

  Open Date: 2022-10-25 01:53
Last Update: 2022-10-25 01:58

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/45963
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45963

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-10-25 01:58 Updated by: cazfi

Comment:

Seems to be some kind of infinite recursion with these three functions:
#6  0x0000555555703770 in improvement_obsolete (pplayer=pplayer at entry=0x0,
pimprove=pimprove at entry=0x555555a06a38 <improvement_types+16728>, pcity=pcity at entry=0x0)
at ../../../src/common/improvement.c:384
#7  0x00005555557c8b2a in is_building_in_range (target_player=target_player at entry=0x0,
target_city=target_city at entry=0x0, target_building=0x555555a06a38 <improvement_types+16728>,
range=REQ_RANGE_PLAYER, survives=<optimized out>, source=0x555555a06a38 <improvement_types+16728>)
at ../../../src/common/requirements.c:1373
#8  0x00005555557cb3ae in is_req_active (target_player=target_player at entry=0x0,
other_player=other_player at entry=0x0, target_city=target_city at entry=0x0,
target_building=target_building at entry=0x555555a06a38 <improvement_types+16728>,
target_tile=target_tile at entry=0x0, target_unit=target_unit at entry=0x0, target_unittype=<optimized out>,
target_output=0x0, target_specialist=0x0, target_action=0x0, req=0x555556d0cd08, prob_type=RPT_CERTAIN)
at ../../../src/common/requirements.c:2836


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.0.5
     Component: (None)
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

S3_0 server segfaults when starting a game with SlowScience ruleset. It loads fine.
Reported by 3plus4i in https://forum.freeciv.org/f/viewtopic.php?p=106610#p106610

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/45963
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45963



More information about the Freeciv-tickets mailing list
Back to archive index