Crash when switching brushes #54975

Closed
opened 2018-05-06 20:21:52 +02:00 by soulfire · 11 comments

System Information
Win 10, AMD 7870 2GB, Core I5, 8GB RAM
Blender Version
tested official 2.79 and 2.79 daily build 4th May

When sculpting and switching between brushes, Blender instantly crashes

I have a sculpt of 30 000 verts. When I sculpt with clay brush, switch to snake hook and back and forth to crease brush, Blender instantly crashes.

I have made sure that I'm having consistent normals and without inner/double faces on the mesh.
Crash happens randomly and every time I do the change on the sculpt and when I switch brush and make another change.

ch.blend
sculpt crash.txt

**System Information** Win 10, AMD 7870 2GB, Core I5, 8GB RAM **Blender Version** tested official 2.79 and 2.79 daily build 4th May **When sculpting and switching between brushes, Blender instantly crashes** I have a sculpt of 30 000 verts. When I sculpt with clay brush, switch to snake hook and back and forth to crease brush, Blender instantly crashes. I have made sure that I'm having consistent normals and without inner/double faces on the mesh. Crash happens randomly and every time I do the change on the sculpt and when I switch brush and make another change. [ch.blend](https://archive.blender.org/developer/F3296751/ch.blend) [sculpt crash.txt](https://archive.blender.org/developer/F3296806/sculpt_crash.txt)
Author

Added subscriber: @TomG

Added subscriber: @TomG
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Cannot reproduce here.

  • Could you share your .blend file?
  • Launch Blender from the command line with -d option and attach as text file here any error printed out in the console (do not paste it directly in comment).

Marking as incomplete for now...

Cannot reproduce here. - Could you share your .blend file? - Launch Blender from the command line with -d option and attach as text file here any error printed out in the console (do not paste it directly in comment). Marking as incomplete for now...
Author

@lichtwerk I have updated with crash log and blend file.

@lichtwerk I have updated with crash log and blend file.
Member

Cant get it to crash in official releases, but can confirm the crash in current master

1  BLI_ghash_free                  BLI_ghash.c       1014 0x29e2316 
2  bm_log_entry_free               bmesh_log.c       411  0x21cf408 
3  BM_log_entry_drop               bmesh_log.c       699  0x21d3338 
4  sculpt_undo_free_list           sculpt_undo.c     619  0x1e438e3 
5  sculpt_undosys_step_free        sculpt_undo.c     1052 0x1e46074 
6  undosys_step_free_and_unlink    undo_system.c     182  0x276e7e3 
7  BKE_undosys_step_push_with_type undo_system.c     398  0x276f577 
8  BKE_undosys_step_push           undo_system.c     448  0x276f890 
9  sculpt_undo_push_end            sculpt_undo.c     998  0x1e45edc 
10 sculpt_stroke_done              sculpt.c          5038 0x1e3f3c6 
11 stroke_done                     paint_stroke.c    754  0x1e0c526 
12 paint_stroke_modal              paint_stroke.c    1176 0x1e0d84f 

If only related to current master it could be the same issue as #54947 (undosystem was refactored there)?

@TomG : are you sure you are getting this in official releases as well? Does it also crash just switching brushes and sculpting without using UNDO?

Cant get it to crash in official releases, but can confirm the crash in current master ``` 1 BLI_ghash_free BLI_ghash.c 1014 0x29e2316 2 bm_log_entry_free bmesh_log.c 411 0x21cf408 3 BM_log_entry_drop bmesh_log.c 699 0x21d3338 4 sculpt_undo_free_list sculpt_undo.c 619 0x1e438e3 5 sculpt_undosys_step_free sculpt_undo.c 1052 0x1e46074 6 undosys_step_free_and_unlink undo_system.c 182 0x276e7e3 7 BKE_undosys_step_push_with_type undo_system.c 398 0x276f577 8 BKE_undosys_step_push undo_system.c 448 0x276f890 9 sculpt_undo_push_end sculpt_undo.c 998 0x1e45edc 10 sculpt_stroke_done sculpt.c 5038 0x1e3f3c6 11 stroke_done paint_stroke.c 754 0x1e0c526 12 paint_stroke_modal paint_stroke.c 1176 0x1e0d84f ``` If only related to current master it could be the same issue as #54947 (undosystem was refactored there)? @TomG : are you sure you are getting this in official releases as well? Does it also crash just switching brushes and sculpting **without using UNDO**?
Author

are you sure you are getting this in official releases as well?

Yes, it's in official release only not that frequent. It's more stable but I had crash when sculpting for longer time.

Does it also crash just switching brushes and sculpting without using UNDO?

Yes it does.

> are you sure you are getting this in official releases as well? Yes, it's in official release only not that frequent. It's more stable but I had crash when sculpting for longer time. > Does it also crash just switching brushes and sculpting **without using UNDO**? Yes it does.
Member

Still cannot reproduce when just switching brushes.
Like I said, there are issues with UNDO, see #55033, #55051 (and possibly #54947), but everything fine here if I stay away from UNDO...

Still cannot reproduce **when just switching brushes**. Like I said, there are issues with UNDO, see #55033, #55051 (and possibly #54947), but everything fine here if I stay away from UNDO...
Author

This comment was removed by @TomG

*This comment was removed by @TomG*
Author

@lichtwerk thank you! It's fixed.

@lichtwerk thank you! It's fixed.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Philipp Oeser self-assigned this 2018-06-08 15:13:50 +02:00
Member

Glad to hear! Closing then...

Glad to hear! Closing then...
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#54975
No description provided.