Undo is causing consistent crashing #100094

Closed
opened 2022-07-31 10:51:16 +02:00 by spetit · 12 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.93

Blender Version
Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: e05e1e3691

Tested in Blender 3.1 and 3.2,

Ive had this problem before with other versions of blender too, but im working in a file thats doing it more consistently. I tried deleting as much data (materials, nodes, etc.) but it will still crash after the 1st or 2nd undo i attempt. I also tried appending the contents to a new file, and a new file with factory defaults, and it will still crash when undoing.

I cant upload the original file with all the work in it, but ive attached the one where i tried deleting everything in it. Im not sure if its one of my add ons but my blend projects are usually fine up until this point where its more of a corruption maybe?

I dont have anything crazy in the original 65MB file. A few textures, a few materials, procedural shaders, and a fbx from mixamo.

Sometimes the file will immediately crash when opening the file, but will open of opened from within blender.

Thanks for the help.

Edit: I just had someone else try the file and they couldnt reproduce the error. So im not sure anymore. My new blend files (with and without factory defaults) dont have this bug. Only with the problem file.

https://blend-exchange.com/b/xzD84pGO/

blender_debug_output.txt
blender_system_info.txt
SampleTest_3_undobreak.crash.txt

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.93 **Blender Version** Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: `e05e1e3691` Tested in Blender 3.1 and 3.2, Ive had this problem before with other versions of blender too, but im working in a file thats doing it more consistently. I tried deleting as much data (materials, nodes, etc.) but it will still crash after the 1st or 2nd undo i attempt. I also tried appending the contents to a new file, and a new file with factory defaults, and it will still crash when undoing. I cant upload the original file with all the work in it, but ive attached the one where i tried deleting everything in it. Im not sure if its one of my add ons but my blend projects are usually fine up until this point where its more of a corruption maybe? I dont have anything crazy in the original 65MB file. A few textures, a few materials, procedural shaders, and a fbx from mixamo. Sometimes the file will immediately crash when opening the file, but will open of opened from within blender. Thanks for the help. Edit: I just had someone else try the file and they couldnt reproduce the error. So im not sure anymore. My new blend files (with and without factory defaults) dont have this bug. Only with the problem file. https://blend-exchange.com/b/xzD84pGO/ [blender_debug_output.txt](https://archive.blender.org/developer/F13328487/blender_debug_output.txt) [blender_system_info.txt](https://archive.blender.org/developer/F13328470/blender_system_info.txt) [SampleTest_3_undobreak.crash.txt](https://archive.blender.org/developer/F13328471/SampleTest_3_undobreak.crash.txt)
Author

Added subscriber: @spettsart-2

Added subscriber: @spettsart-2
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

Hi, thanks for the report. Does the crash happen after performing particular sequence of steps and then Undo?
Can you reproduce the crash when running blender from blender_factory_startup.cmd?
Please also upload crash logs:

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

Hi, thanks for the report. Does the crash happen after performing particular sequence of steps and then Undo? Can you reproduce the crash when running blender from `blender_factory_startup.cmd`? Please also upload crash logs: > 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

@PratikPB2123 After the factory startup I can undo immediately before doing anything. After moving or modeling just a few times, the next 1 or 2 undos will cause a crash. I've uploaded the crash dumps. thanks.

@PratikPB2123 After the factory startup I can undo immediately before doing anything. After moving or modeling just a few times, the next 1 or 2 undos will cause a crash. I've uploaded the crash dumps. thanks.
Member

Thanks for the info. Steps for crash reproduction are still not clear. Could you upload screen recording to show steps?
Also check if crash is avoidable when running blender with single thread: blender -t 1: https://docs.blender.org/manual/en/latest/advanced/command_line/arguments.html

Thanks for the info. Steps for crash reproduction are still not clear. Could you upload screen recording to show steps? Also check if crash is avoidable when running blender with single thread: `blender -t 1`: https://docs.blender.org/manual/en/latest/advanced/command_line/arguments.html
Author

@PratikPB2123 Here's a vid of me duplicating the cube a few times and then crashing on the second undo attempt. (this is the same file I appended everything from the original file then deleted to save on upload space.) sample_crashvid.mp4

I was having trouble starting from cmd. After cd to the install directory (I'm using blender launcher so its not in vanilla folder), it will give me this error when trying to launch the exe from cmd:

"'blender' is not recognized as an internal or external command,
operable program or batch file."

Am I doing it wrong?

And should I leave this in the comment here or upload the video to the main post as well?

@PratikPB2123 Here's a vid of me duplicating the cube a few times and then crashing on the second undo attempt. (this is the same file I appended everything from the original file then deleted to save on upload space.) [sample_crashvid.mp4](https://archive.blender.org/developer/F13332507/sample_crashvid.mp4) I was having trouble starting from cmd. After cd to the install directory (I'm using blender launcher so its not in vanilla folder), it will give me this error when trying to launch the exe from cmd: > "'blender' is not recognized as an internal or external command, > operable program or batch file." Am I doing it wrong? And should I leave this in the comment here or upload the video to the main post as well?
Member

Thanks for the video. Still can not get the crash. Could you check again in latest 3.3 build?: https://builder.blender.org/download/daily/

"'blender' is not recognized as an internal or external command,

blender is not set in environment variable. Workaround is: switch to the directory in cmd where blender executable is located
do:

> cd C:\Program Files\Blender Foundation\Blender 3.2
> blender.exe -t 1

Thanks for the video. Still can not get the crash. Could you check again in latest 3.3 build?: https://builder.blender.org/download/daily/ > "'blender' is not recognized as an internal or external command, blender is not set in environment variable. Workaround is: switch to the directory in cmd where blender executable is located do: > `> cd C:\Program Files\Blender Foundation\Blender 3.2` > `> blender.exe -t 1`
Author

Something in 3.3 seems to fix it! However I wonder what would be causing this since its not a file issue anyone else can see. If it were just the previous build I'd move on, but since I've experienced this in multiple builds in the past, and it seems to be only me, what could it be?

Maybe this is a clue, I tried turning on 'Undo Legacy' in the experimental prefs, and that seemed to consistently give me a few extra undos before still crashing again.

Something in 3.3 seems to fix it! However I wonder what would be causing this since its not a file issue anyone else can see. If it were just the previous build I'd move on, but since I've experienced this in multiple builds in the past, and it seems to be only me, what could it be? Maybe this is a clue, I tried turning on 'Undo Legacy' in the experimental prefs, and that seemed to consistently give me a few extra undos before still crashing again.
Member

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

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

I still can not reproduce even when Undo legacy is turned on. I think it's fair to close this ticket if you're not able to repro crash in 3.3

I still can not reproduce even when Undo legacy is turned on. I think it's fair to close this ticket if you're not able to repro crash in 3.3
Author

@PratikPB2123 yea, I guess so. thanks for the help!

@PratikPB2123 yea, I guess so. thanks for the help!
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
2 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#100094
No description provided.