[Freeciv-tickets] [freeciv] #47660: ../../common/nation.c:563:21: runtime error: applying zero offset to null pointer

Back to archive index
OSDN Ticket System norep****@osdn*****
Sun May 7 22:58:27 JST 2023


#47660: ../../common/nation.c:563:21: runtime error: applying zero offset to null pointer

  Open Date: 2023-03-23 13:59
Last Update: 2023-05-07 16:58

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

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

Last Changes/Comment on this Ticket:
2023-05-07 16:58 Updated by: cazfi
 * Owner Update from (None) to cazfi
 * Resolution Update from None to Accepted
 * Milestone Update from 3.1.0-beta2 to 3.0.8
 * Component Update from Server to General

Comment:

Applies to all branches, even to S2_6 (and I think the fix should go there, even though the specific symptom seen isn't critical - some other "iterator initialized while nations not in sane state" case might be)

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

      Reporter: alain_bkr
         Owner: cazfi
          Type: Patches
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.0.8
     Component: General
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

3.0.6 clang
This is an error at each start of the server.
I searched in the net, but i don't understand the answers, maybe just something clang catches but gcc does not care about ?
Edited : ok i found, it is simple :-) , just a very strict compiler ...

-- 
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/47660
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47660



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