CTRL Z crash #94189

Closed
opened 2021-12-17 14:02:52 +01:00 by Martin Pohl · 26 comments

System Information
Windows 10 Pro
Graphics card: Nvidia RTX 2070
24GB RAM

Blender Version
3.0

Ctrl Z at the end undo steps causes a crash aplikace

System Information Windows 10 Pro Graphics card: Nvidia RTX 2070 24GB RAM Blender Version 3.0 Ctrl Z at the end undo steps causes a crash aplikace
Author

Added subscriber: @marpo.eu

Added subscriber: @marpo.eu

Added subscriber: @antoine.grasset

Added subscriber: @antoine.grasset

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Hello,
can you provide precise steps to reproduce the crash ? and a test .blend file ?

Hello, can you provide precise steps to reproduce the crash ? and a test .blend file ?
Author

The file doesn't matter.
2021-12-17_14-19-39.mp4

The file doesn't matter. [2021-12-17_14-19-39.mp4](https://archive.blender.org/developer/F12757748/2021-12-17_14-19-39.mp4)

I see you are undoing actions from the addon BoxCutter, which is not yet explicitly ported for Blender 3.0.
Does the crash occurs without using the addon ?
If not, I suggest reaching out directly to the addon creator : https://masterxeon1001.gumroad.com/l/BoxCutter

I see you are undoing actions from the addon BoxCutter, which is not yet explicitly ported for Blender 3.0. Does the crash occurs without using the addon ? If not, I suggest reaching out directly to the addon creator : https://masterxeon1001.gumroad.com/l/BoxCutter
Author

It doesn't matter what I'm doing. It crashes every time.

2021-12-17_14-37-14.mp4

It doesn't matter what I'm doing. It crashes every time. [2021-12-17_14-37-14.mp4](https://archive.blender.org/developer/F12757764/2021-12-17_14-37-14.mp4)

Added subscriber: @ChaitanyaKrishnan

Added subscriber: @ChaitanyaKrishnan

I can confirm this. has happened to me multiple times over the last 2-3 days, on two different machines.

configs for both are identical:
//i7-7700 cpu 3.60ghz
16gb ram
GTX 1060 6gb//

only difference between the machines is that one of them has a lot of games and vr programs installed.

I can also confirm that the file size or operation does not matter.. have had it occur when I undo ordinary object transforms, to complex tasks like baking sound to fcurves.

I can confirm this. has happened to me multiple times over the last 2-3 days, on two different machines. configs for both are identical: //i7-7700 cpu 3.60ghz 16gb ram GTX 1060 6gb// only difference between the machines is that one of them has a lot of games and vr programs installed. I can also confirm that the file size or operation does not matter.. have had it occur when I undo ordinary object transforms, to complex tasks like baking sound to fcurves.

Added subscriber: @Garek

Added subscriber: @Garek

Could you try to replicate it with default settings?
File -> Defaults -> Load Factory Settings

Could you try to replicate it with default settings? `File` -> `Defaults` -> `Load Factory Settings`
Author

@Garek After resetting to defalt settings it does not crash. Does this mean that some add-on is causing this?

@Garek After resetting to defalt settings it does not crash. Does this mean that some add-on is causing this?
Author

@Garek add-ons are back after restarting Blender and everything is fine. I wonder which setting caused the crashes? thanks for your help

@Garek add-ons are back after restarting Blender and everything is fine. I wonder which setting caused the crashes? thanks for your help
Author

So I take it back :-) after using the Boxcutter add-on it crashed again... :-(

So I take it back :-) after using the Boxcutter add-on it crashed again... :-(

Please open Blender's installation directory and double click on the blender_debug_gpu.cmd. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt (or simply type %TEMP% into the path bar of the Windows Explorer).2019_12_04_upload_icon_developer_blender_org.png

Please open Blender's installation directory and double click on the `blender_debug_gpu.cmd`. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in `C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt` (or simply type `%TEMP%` into the path bar of the Windows Explorer).![2019_12_04_upload_icon_developer_blender_org.png](https://archive.blender.org/developer/F8190038/2019_12_04_upload_icon_developer_blender_org.png)
Author
[blender_system_info.txt](https://archive.blender.org/developer/F12758656/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F12758655/blender_debug_output.txt)

From what I see it should be BPainter add-on. You didn't use it while it crashed right?
Try to disable it and see if that helps.

From what I see it should be BPainter add-on. You didn't use it while it crashed right? Try to disable it and see if that helps.

Added subscriber: @MacSmitty

Added subscriber: @MacSmitty

I tried doing this, but didn't get any crashes whatsoever. I'm not sure how you triggered the crash on your end. Maybe it is because of the add-on?

I tried doing this, but didn't get any crashes whatsoever. I'm not sure how you triggered the crash on your end. Maybe it is because of the add-on?
Author

After disabling the BPainter add-on, I could not simulate the error. Cause probably found. Thanks

After disabling the BPainter add-on, I could not simulate the error. Cause probably found. Thanks

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Garek closed this issue 2021-12-18 09:27:40 +01:00

Great, thanks for cooperation. It was important to make sure that problem is not with Blender although we do not deal with bugs in add-ons that are not bundled with Blender,

You can reach out to add-on developer with those files so it can be fixed.

Great, thanks for cooperation. It was important to make sure that problem is not with Blender although we do not deal with bugs in add-ons that are not bundled with Blender, You can reach out to add-on developer with those files so it can be fixed.
Member

Added subscriber: @ndee

Added subscriber: @ndee
Member

Hi all,
I am the Dev of BPainter. I have to admit I am a bit stuck with this undo problematic. I noticed this already before Blender 3.0. I have the feeling, that Blender is doing weird things in texture paint UNDO which is also affecting BPainter.
Blender is sometimes undoing much more than it should. Somehow related to global undo. It seems that BPainter is then trying to access data that is not available anymore and there for crashing.

I am really not sure this is fixable from the Addon itself.

Some other issues seem to confirm my feeling:
https://developer.blender.org/T70814
https://developer.blender.org/T60660

Does anyone have more information on that undo problematic in texture paint mode?

Hi all, I am the Dev of BPainter. I have to admit I am a bit stuck with this undo problematic. I noticed this already before Blender 3.0. I have the feeling, that Blender is doing weird things in texture paint UNDO which is also affecting BPainter. Blender is sometimes undoing much more than it should. Somehow related to global undo. It seems that BPainter is then trying to access data that is not available anymore and there for crashing. I am really not sure this is fixable from the Addon itself. Some other issues seem to confirm my feeling: https://developer.blender.org/T70814 https://developer.blender.org/T60660 Does anyone have more information on that undo problematic in texture paint mode?
Member

Ok.. after some investigation I think I got the issue resolved. It seems definitely to be caused by BPainter.
I am going to release a new version as soon as possible.

Ok.. after some investigation I think I got the issue resolved. It seems definitely to be caused by BPainter. I am going to release a new version as soon as possible.

@ndee hi, was about to write you and before sending refreshed page and saw that it's resolved. Good to hear. I'll leave what I wanted to say here as a quote just in case.

only thing about "undo twice" that I remember is this commit, may or may not be related:
1b4d5c7a35
But that is only for 3.0. If this gives you nothing I suggest this can be done:

  • Look at release page about python API if you haven't already, perhaps it's really just 3.0 change and you missed some important change:
    https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Python_API
  • Try to narrow down the problem to most simple script you can. With this and debug output caused by such script you can write bugreport that can be reviewed since it'll be about python API/undo and not add-on itself.
  • If you know how to build Blender and have reliable reproduce steps you can use bisect to narrow down problem to certain commit. While this is not required that'll help a lot, see:
    https://wiki.blender.org/wiki/Tools/GitBisectWithEventSimulation
  • Perhaps someone on blender.chat in #python channel encountered same issue or can help you or at least help to narrow down the problem to file bugreport.
@ndee hi, was about to write you and before sending refreshed page and saw that it's resolved. Good to hear. I'll leave what I wanted to say here as a quote just in case. > only thing about "undo twice" that I remember is this commit, may or may not be related: > 1b4d5c7a35 > But that is only for 3.0. If this gives you nothing I suggest this can be done: > - Look at release page about python API if you haven't already, perhaps it's really just 3.0 change and you missed some important change: > https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Python_API > - Try to narrow down the problem to most simple script you can. With this and debug output caused by such script you can write bugreport that can be reviewed since it'll be about python API/undo and not add-on itself. > - If you know how to build Blender and have reliable reproduce steps you can use `bisect` to narrow down problem to certain commit. While this is not required that'll help a lot, see: > https://wiki.blender.org/wiki/Tools/GitBisectWithEventSimulation > - Perhaps someone on blender.chat in `#python` channel encountered same issue or can help you or at least help to narrow down the problem to file bugreport.
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
6 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#94189
No description provided.