[Freeciv-tickets] [freeciv] #46559: win32 crash on unit_activity_text()

アーカイブの一覧に戻る
OSDN Ticket System norep****@osdn*****
Sat Jan 21 11:34:49 JST 2023


#46559: win32 crash on unit_activity_text()

  Open Date: 2023-01-21 04:34
Last Update: 2023-01-21 04:34

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

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

Last Changes/Comment on this Ticket:
2023-01-21 04:34 Updated by: cazfi
 * New Ticket "win32 crash on unit_activity_text()" created


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

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

Ticket details:

win32 gtk3.22-client crashes when entering game. Seen on S3_1 and master (where we don't support win32 as such, but underlying bug might be just dormant on other environments).
Debugger reveals that the crash happens on unit_activity_text() call of astr_clear().
unit_activity_text() header has "FIXME: Convert all callers of this function to unit_activity_astr() because this function is not re-entrant." - it's quite possible that this lack of being re-entrant is the cause of this crash.

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



More information about the Freeciv-tickets mailing list
アーカイブの一覧に戻る