A damaged passive tree image crashes PoB

Abierto
#126 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
72/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
cpp

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C++
Estrellas
23
Forks
69
Merge medio
2 h 50 min
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic

Todos los issues de PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.