Blender segfault if Bake Line Art #110751
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#110751
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: Debian Linux Stable 11
Graphics card: Intel internal UHD Graphics 630 (driver: i915)
Blender Version
Broken: 3.2.2 - 3.6.1 official releases
Short description of error
Blender segfault if Bake Line Art.
Console:
File /tmp/blender.crash.txt:
Exact steps for others to reproduce the error
Thanks for the report, I can confirm the crash:
Will raise the priority here since this is a crasher (that is not totally uncommon to run into)
@ChengduLittleA Could you take a look?
Will do. Is there any particular test file available? It's a quite old issue, I'd imagine it resolved itself sometime ago since I don't quite get any reports on line art bake crashing
No file, just follow the repro steps. This is still happening in 4.1beta
Looks like it's crashing in
BKE_scene_graph_update_for_newframe()
when there are strokes within the object that's not generated by line art.Note this fix does not really preserve the old behaviour of line art baking (will now remove previous baked frames when start baking).
This particular crash is supposedly broken since the change to using a job system to bake line art, which somehow caused conflict in having UI display and with
BKE_scene_graph_update_for_newframe()
. In order to avoid crashing in there, I have to remove all previous strokes to achieve the goal. Not sure what difference does it make. Line art bakes just fine if you don't have strokes already present in the gpencil object.IIRC it's quite common to lock the UI during baking to avoid crashes, see
WM_set_locked_interface
.Brecht Van Lommel referenced this issue2024-03-19 15:27:58 +01:00