Page MenuHome

Crash on opening specific file
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.89

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-04-03 16:32, hash: rB8681504f0612
Worked: 2.90.1 Stable
Broken since: 2.91.0 Stable

Caused by rB76689e851700: Cleanup: use LISTBASE_FOREACH in readfile.c

Short description of error
Blender crashes as soon as you try to open the file

Exact steps for others to reproduce the error

  1. Open the blend file

The blend file is from this thread on Blenderartists

Event Timeline

ogierm (ogierm) renamed this task from File crashes on opening to Crash on opening file.Tue, Apr 6, 3:09 PM
ogierm (ogierm) renamed this task from Crash on opening file to Crash on opening specific file.
ogierm (ogierm) created this task.

System Information
Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon R9 M395X OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.18

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: rB02948a2cab44
Worked: (newest version of Blender that worked as expected)

Can confirm the issue on my machine.

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Tue, Apr 6, 3:56 PM

Can confirm, will check

Confirmed...crash in versioning... I will take a look

Antonio Vazquez (antoniov) changed the subtype of this task from "Report" to "Bug".Tue, Apr 6, 4:02 PM

I'm checking the example file and it looks damaged. The initial crash is because there is a defined Palette with colors, but the color pointers are damaged. This looks an old version Palette.

The problem was in do_versions_fix_annotations() in the second loop: LISTBASE_FOREACH (bGPDpalettecolor *, palcolor, &palette->colors) {

I have checked removing this crash and then I get a totally different assert error.

BLI_assert failed: D:\MyBlender\BlenderDEV\blender\source\blender\makesrna\intern\rna_access.c:5732, rna_idp_path(), at '!RNA_pointer_is_null(&child_ptr)'

@Philipp Oeser (lichtwerk) any idea?