A damaged passive tree image crashes PoB

Aberta
#126 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
72/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
cpp

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C++
Estrelas
23
Forks
69
Merge médio
2h 50min
PRs com merge (30d)
1

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic

Todas as issues de PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.