待辦事項 #48120

save_thread not freed on quit (by command)

啟用日期: 2023-05-31 21:10 最後更新: 2023-06-05 18:55

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

S3_2 server valgrind:

==1573584== 8 bytes in 1 blocks are still reachable in loss record 4 of 14
==1573584==    at 0x48407B4: malloc (vg_replace_malloc.c:381)
==1573584==    by 0x3DF150: fc_real_malloc (mem.c:89)
==1573584==    by 0x19AF4C: save_game (savemain.c:307)
==1573584==    by 0x1540BF: save_game_auto.part.0 (srv_main.c:1821)
==1573584==    by 0x15B4D6: save_game_auto (srv_main.c:1791)
==1573584==    by 0x15B4D6: srv_running (srv_main.c:2921)
==1573584==    by 0x15B4D6: srv_main (srv_main.c:3539)
==1573584==    by 0x14E25D: main (civserver.c:388)

savemain.c:307

    save_thread = fc_malloc(sizeof(save_thread));

This server was shut down by quit-command.

Ticket History (3/4 Histories)

2023-05-31 21:10 Updated by: cazfi
  • New Ticket "save_thread not freed on quit (by command)" created
2023-05-31 23:05 Updated by: cazfi
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from to Accepted
  • 里程碑 Update from (無) to 3.0.8 (closed)
2023-06-05 18:55 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入