Crash on opening specific file #87236

Closed
opened 2021-04-06 15:09:00 +02:00 by Bent Hillerkus · 12 comments

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: 8681504f06
Worked: 2.90.1 Stable
Broken since: 2.91.0 Stable

Caused by 76689e8517

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

pencil_render.blend

**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: `8681504f06` Worked: 2.90.1 Stable Broken since: 2.91.0 Stable Caused by 76689e8517 **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](https://blenderartists.org/t/cycles-pencil-npr/1102331) [pencil_render.blend](https://archive.blender.org/developer/F9921780/pencil_render.blend)
Author

Added subscriber: @bent

Added subscriber: @bent
Bent Hillerkus changed title from File crashes on opening to Crash on opening file 2021-04-06 15:09:17 +02:00
Bent Hillerkus changed title from Crash on opening file to Crash on opening specific file 2021-04-06 15:09:31 +02:00

Added subscriber: @UniqSchweick12

Added subscriber: @UniqSchweick12

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: 02948a2cab
Worked: (newest version of Blender that worked as expected)

Can confirm the issue on my machine.

**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: `02948a2cab` Worked: (newest version of Blender that worked as expected) Can confirm the issue on my machine.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm, will check

Can confirm, will check
Antonio Vazquez self-assigned this 2021-04-06 16:01:53 +02:00

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

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

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)'

@lichtwerk any idea?

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)'` @lichtwerk any idea?
Antonio Vazquez was unassigned by Philipp Oeser 2021-04-06 16:27:46 +02:00
Philipp Oeser self-assigned this 2021-04-06 16:27:46 +02:00
Member

Added subscriber: @antoniov

Added subscriber: @antoniov
Member

Fix incoming

Fix incoming

This issue was referenced by b61b34a5d2

This issue was referenced by b61b34a5d2795648c277f6ad6ea3c46425e7d715
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#87236
No description provided.