Crash due to (preview) jobs running during undo step. #56491
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#56491
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
Windows 10, Intel UHD Graphics 620
Blender Version
Broken: blender-2.80-7eaf00bfb09-win64
Worked: (optional)
Grease Pencil Crash with undo
Exact steps for others to reproduce the error
In draw mode, insert a stroke. Draw some lines and shapes in various colours and then try to undo more than 12 times. Results in a crash every time
Added subscriber: @Nessie
#56185 was marked as duplicate of this issue
#56084 was marked as duplicate of this issue
Added subscriber: @CharlieJolly
Confirmed on Windows 10 debug build MSVS2017
Added subscriber: @mont29
Cannot reproduce under linux with latest branch…
Added subscriber: @antoniov
Cannot reproduce in Windows 10.
@CharlieJolly Do you have a log and/or backtrace?
Added subscriber: @zeauro
I succeeded to obtain a crash on linux.
GP_Lineshape.crash.txt
This may help.
Exception thrown: read access violation.
scene->world was 0xFFFFFFFFFFFFFF37.
I see now, this is the same bug of #56084 and #56185.
The problem is the preview job is rendering while the undo is done. I'm not sure how fix this.
Added subscriber: @ideasman42
There is a condition in
ed_undo_step
, which aborts the operator if any job is running (WM_jobs_test(wm, scene, WM_JOB_TYPE_ANY)
). Problem is, it only checks for jobs which owner is current scene, this ignores several jobs I think (including preview render ones).Also, I find it odd that we abort the operation here, why not rather kill all current jobs with
WM_jobs_kill_all()
? I’d expect user would rather want to do their undo, aborting background jobs if necessary?Summoning @ideasman42 here…
Grease pencil crashto Grease pencil crash due to jobs running during undo step.Grease pencil crash due to jobs running during undo step.to Crash due to (preview) jobs running during undo step.Added subscribers: @candreacchio, @andergrin, @Endeg, @s12a
Changed status from 'Open' to: 'Resolved'
This issue was referenced by
9abc2dfa49