Undo steps limiting crash with sculpt and texture painting #67217
Labels
No Label
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Content
Type
Design
Type
Report
Type
To Do
Type
Web Development
No Milestone
No project
No Assignees
12 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/blender-studio#67217
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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: Linux-4.13.0-46-generic-x86_64-with-debian-stretch-sid 64 Bits
Graphics card: Quadro GP100/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 384.130
Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-17 07:56, hash:
blender/blender@f8a70db556
Short description of error
I don't know when this started happening but since yesterday when I sculpted again, Blender randomly crashes every 10-15 min.
This might happen when I undo, switch my brush, place a stroke. Anything really.
I talked with Sebastian Parlorg and apparently it might be tied to allocating memory.
Here's what the Debug Blender terminal said right before the crash.
Added subscriber: @JulienKaspar
blender/blender#67651 was marked as duplicate of this issue
blender/blender#67650 was marked as duplicate of this issue
blender/blender#67647 was marked as duplicate of this issue
blender/blender#67660 was marked as duplicate of this issue
blender/blender#67632 was marked as duplicate of this issue
blender/blender#67554 was marked as duplicate of this issue
blender/blender#67614 was marked as duplicate of this issue
blender/blender#67564 was marked as duplicate of this issue
blender/blender#67607 was marked as duplicate of this issue
blender/blender#67616 was marked as duplicate of this issue
blender/blender#67617 was marked as duplicate of this issue
blender/blender#67621 was marked as duplicate of this issue
blender/blender#67568 was marked as duplicate of this issue
blender/blender#67580 was marked as duplicate of this issue
blender/blender#67490 was marked as duplicate of this issue
blender/blender#67498 was marked as duplicate of this issue
blender/blender#67375 was marked as duplicate of this issue
blender/blender#67469 was marked as duplicate of this issue
blender/blender#67503 was marked as duplicate of this issue
blender/blender#67479 was marked as duplicate of this issue
blender/blender#67481 was marked as duplicate of this issue
blender/blender#67486 was marked as duplicate of this issue
blender/blender#67388 was marked as duplicate of this issue
blender/blender#67378 was marked as duplicate of this issue
blender/blender#67275 was marked as duplicate of this issue
blender/blender#67263 was marked as duplicate of this issue
blender/blender#67423 was marked as duplicate of this issue
blender/blender#67365 was marked as duplicate of this issue
blender/blender#67339 was marked as duplicate of this issue
blender/blender#67443 was marked as duplicate of this issue
blender/blender#67424 was marked as duplicate of this issue
blender/blender#67278 was marked as duplicate of this issue
Added subscribers: @ZedDB, @Sergey, @ideasman42
Added subscriber: @brecht
We'll need more details than this to investigate, I guess @ZedDB can help with that?
We have narrowed it down to blender/blender@c635663e4a
(Doesn't seem to crash with the commit before this one.)
Blender crash file:
blender_crash.txt
@ideasman42 ideas? It seems to crash when doing a ED_undo_push while sculpting.
Added subscriber: @AlexanderSantos
@ideasman42, we should revert that commit and reopen blender/blender#67040.
This issue was referenced by blender/blender@45ae9edbd5
Changed status from 'Open' to: 'Resolved'
Any hints on how redo this bug?
Was it happening with dyntopo on/off?
Is there a set of steps I can run to make this crash more frequently?
We don't have exact steps to reproduce the issue. These reports are potentially the same bug:
blender/blender#67339 (Blender 2.80rc2 crashes when switching from sculpt mode to edit mode)
blender/blender#67365 (RC2 new crashes in Sculpt Mode when change brush settings)
blender/blender#67423 (Sculpt mode to Modeling mode crash)
blender/blender#67424 (Blender crashes when entering edit mode from sculpting mode)
Since this is an issue with undo stack limits, probably it is easier to reproduce with a lower number of undo steps set in the preferences.
Sculpt Mode crashes regularlyto Undo steps limiting crash with sculpt and texture paintingAdded subscribers: @BlenderPretender, @MarcinTwarowski, @ErickNyanduKabongo, @xrlm
Added subscriber: @JonasT
Added subscriber: @SenJacob
Added subscriber: @Serj_Coruzyak
Added subscriber: @Hilonegro-1
Added subscribers: @brismith70-1, @Znio.G
Added subscriber: @alempkht
Added subscriber: @SpectreFirst
Huh, this is very strange - I have found a way to reproduce that problem with 100% consistency on 4a5e046c923f from 2019-07-16 with just a default Cube with no additioanl subdivisions or modifiers and no Dyntopo, using only one Sculpt brush and one Rotate tool in Edit Mode but I cannot reproduce it in latest 45ae9edbd5ac from 2019-07-21. Just in case, here is how to reproduce this on an older build:
Added subscriber: @CGJ
blender/blender#67424#730246 and blender/blender#67443#730264 have instructions on how to reproduce the issue too.
The commit that caused this problem was reverted and the latest build from builder.blender.org should no longer have the problem.
But the original issue that this commit was supposed to fix is back now, so we that is fixed we need to verify that following these instructions there is no crash.
Did some testing on 45ae9edbd5ac from 2019-07-21 on Intel Core i7, 8 Gb RAM, AMD Radeon HD 7700, Windows 7 x64:
https://developer.blender.org/T67424#730246
https://developer.blender.org/T67443#730264
This was reproducible on my side the same exact way as the other one but right now I can paint and switch modes for 10 minutes without any problems.
EDIT: I was able to reproduce the text block crach from the text editor on 2019-07-21 build. I have no idea what causes this but if you type a long string into a text block, rename the block and press Undo it will still crash. Also tried combo - typed long string, renamed the text block, moved light in 3D View, pressed Undo several times and Blender crashed when it reached text block renaming step so the problem is most likely somewhere in that area. -d mode gave me the same exception_access_violation error.
Other than that I was unable to reproduce mode switching crash. My Undo Steps was set to 2 all the time but that didn't seem to affect anything - I was able to undo once in a while with no problems. My system is Windows so I cannot verify if any of these problems persist on other systems.
Added subscribers: @scuinox, @MassimilianoPuliero, @dark999
Added subscriber: @HONGSUNGWOO
Added subscriber: @PierreReyes
Added subscriber: @Caskels
Added subscribers: @Voguart, @Ammar-Alfouzan
Added subscribers: @AntoineRol, @Mahou
Added subscribers: @Baszczer, @zeauro
Added subscriber: @bokoa
Added subscribers: @erich, @mano-wii
Added subscriber: @MlleBun
Thank you and congratulations for this quick and effective intervention for the problem "blender/blender#67580: Regular crashes when working in Sculpting window." and "blender/blender#67498: Blender crashes during sculpting."
I downloaded the latest version of July 24 blender-2.80-b63f0266a056-win64.zip and it works very well, again Congratulations to the team!
Added subscriber: @Ryan-2
Added subscribers: @TadWimer, @GavinScott
Added subscribers: @Elendur, @Mets, @sami.vuorenpaa, @piloto
Added subscriber: @finnb
Added subscriber: @aristotle
Added subscribers: @ZohaibShahidB, @EitanSomething
Added subscriber: @zargul
Added subscriber: @darrylsh
Added subscriber: @Czteryk
Still crashing when changing mode on blender-2.80.0-git.bfe580642f46.
Steps->
Open Blender
Delete Cube
Create UV Sphere
Texture Paint
On Active Tool menu, create a texture Base Color with default settings.
Start to paint and changing to Edit several times with Tab shortcut.
After some time blender crash.
Record time: 30 Seconds
I'm unable to crash with Sculpt and tab smashing.
Removed subscriber: @MarcinTwarowski
Removed subscriber: @HONGSUNGWOO
@Mahou could you open a separate report?
I tried redoing this bug but couldn't. Could you check if this happens more often with the number of undo steps lowered to around 5?
Actually it doesn't, it's pretty random, I tried several times changing undo steps from 36 to 5 and the reverse, the time to crash it's literally random and don't seems to be influenciated by the undo steps, I will create a separate report.
Removed subscriber: @Mets
Added subscribers: @Comrade_crunchy, @Mets
Added subscribers: @Enalya, @MarcinTwarowski, @Levonbuck
Added subscriber: @3005box
Added subscriber: @wissam