A damaged passive tree image crashes PoB

未關閉
#126 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
72/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
cpp

研究方向

Start by tracing how the Tree tab loads passive tree images, including TreeData/3_30/ascendancy-3.webp, and how it reports missing image files. Reproduce the crash with a truncated image, then inspect the image-loading error path. Done when an incomplete image produces a warning instead of crashing, while missing-file warnings continue to work.

由索引模型根據 Issue 內容生成。

描述

If one of the passive tree images is incomplete, for example after an interrupted update, PoB crashes instead of reporting the broken file.

Steps:

  1. Make a backup of TreeData/3_30/ascendancy-3.webp, then cut the file down to half its size
  2. Open PoB and go to the Tree tab

PoB crashes with:

Critical error at address 53A2CCA7h:
Access violation: attempted to read from address 00000000h

I'd expect a warning that the image couldn't be loaded, like PoB already shows for missing files.

PoB 2.69.0 with SimpleGraphic 2.5.6 (v2.5-421d188), Windows 11.

主要語言
C++
星號
23
分支
69
平均合併
2 小時 50 分鐘
30 天內合併 PR
1

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic 的其他 Issue

查看 PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。