A damaged passive tree image crashes PoB

Aperta
#126 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
23
Fork
69
Merge medio
2h 50m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic

Tutte le issue di PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.