GPencil: Blender crash when file open #102930
Labels
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#102930
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.65
Blender Version
Broken: version: 3.4.0 Beta, branch: blender-v3.4-release, commit date: 2022-11-24 16:55, hash:
959f3cd645
Short description of error
As soon as I open attached file Blender crashes. Attached also crash log file.
Exact steps for others to reproduce the error
#102930.blend
Added subscriber: @MumuMundo
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Needs User Info'
Hi, thanks for the report. I can confirm the crash. Could you share the exact way of recreating the file?
It's a file with the grease pencil Suzanne. hook modifier and an empty. I don't know how it started crashing.
Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Added subscriber: @antoniov
Thanks for the update. Not sure whether this is sufficient to investigate the issue.
It seems you've used
Curve
falloff type in uploaded file. Do you remember exact changes you made in there?@antoniov , crash happens due to null pointer access at
cuma->table
. Any idea what could possibly maketable
as NULL?OK I managed to reproduce it and here's a screenshot:
@PratikPB2123 I don't remember any change in this area of the code for months...maybe more than a year. I did a debug and yes, it looks the
curve->table
isNULL
, but I could not reproduce with a new file. In theory, the curve is initializated, so I don't see why thiscurve->table
is NULL,Are you able to reproduce with any other file?
Yes I posted a screenshot made before closing it and here's the new file.
curve bur reproduce.zip
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
@antoniov I found the way to reproduce the crash from scratch.
Updated the report description.
@PratikPB2123 Yes, I could reproduce it too...but don't found why the
table
is NULL...it looks something in the write/read code is wrong, but I cannot find it. The modifier is using the standard curve API (not gpencil), so no idea what is going on.The CurveMapping was just not initialized on file read
Fix is up, see !118525
Apparently this feature is not used that much (havent seen this reported elsewhere), so hesitant to set this to High priority (it is a crash though, so probably should be high priority)