チケット #46559

win32 crash on unit_activity_text()

登録: 2023-01-21 11:34 最終更新: 2023-01-24 08:43

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
4

詳細

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.

チケットの履歴 (7 件中 3 件表示)

2023-01-21 11:34 更新者: cazfi
  • 新しいチケット "win32 crash on unit_activity_text()" が作成されました
2023-01-21 12:46 更新者: cazfi
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法なし から 受領 に更新されました
  • マイルストーン(未割り当て) から 3.0.6 (完了済み) に更新されました
コメント

Reply To cazfi

it's quite possible that this lack of being re-entrant is the cause of this crash.

Yes, getting rid of the unit_activity_text() was the solution. Patches attached for all branches, including S2_6.

2023-01-24 08:43 更新者: cazfi
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする