チケット #45115

technology with a Never value in req1 and 2 will generate many errors

登録: 2022-07-16 20:04 最終更新: 2023-03-07 05:08

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

詳細

if you have a tech with Never as the value of req1 and req2 it will generate tens of errors per turn. the errors have the following form

1: in research_invention_state() [research.c::620]: assertion '((void *)0) != valid_advance_by_number(tech)' failed.

1: Please report this message at https://osdn.net/projects/freeciv/ticket/

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

2022-07-16 20:04 更新者: dark-ether
  • 新しいチケット "technology with a Never value in req1 or 2 will generate many errors" が作成されました
2022-07-16 20:06 更新者: dark-ether
  • 詳細が更新されました
  • 概要が更新されました
2022-07-16 20:07 更新者: dark-ether
  • 詳細が更新されました
2022-07-16 20:16 更新者: cazfi
コメント

Backtrace seems to always show research_invention_state() -> maybe something to fix in it.

Though I don't know what support of "Never" requirement for techs is needed any more. Should we just get rid of it in master (d3f branches still need to be fixed)?

2022-07-16 20:47 更新者: cazfi
コメント

Reply To cazfi

Though I don't know what support of "Never" requirement for techs is needed any more.

Ah, removal of a tech without breaking compatibility with existing savegames that refer to such tech likely works with this. Should reconsider also #45021 because of this.

2022-07-20 16:51 更新者: cazfi
2022-07-20 16:51 更新者: cazfi
  • コンポーネントRulesets から Server に更新されました
2022-08-05 09:01 更新者: cazfi
2022-10-07 09:31 更新者: cazfi
2022-12-07 02:26 更新者: cazfi
2023-01-18 04:42 更新者: cazfi
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法なし から 受領 に更新されました
2023-01-19 02:37 更新者: cazfi
コメント

This causes #46544 breakage. Even though I have almost ready fix, this is a bit risky -> keep in testing for a full minor release cycle 3.0.6 -> 3.0.7

2023-03-04 14:23 更新者: cazfi
コメント

Rebased main/S3_2 patch attached. S3_1 and S3_0 patches need no changes.

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

編集

このチケットにコメントを追加するには、ログインが必要です » ログインする