Page MenuHome

Crash when switching brushes
Closed, ResolvedPublic

Description

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.


Event Timeline

Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to 30.May 7 2018, 10:47 AM

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...

@Philipp Oeser (lichtwerk) I have updated with crash log and blend file.

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 T54947 (undosystem was refactored there)?

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

soulfire (vejn) added a comment.EditedMay 7 2018, 2:25 PM

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.

Philipp Oeser (lichtwerk) raised the priority of this task from 30 to 90.May 13 2018, 1:42 PM

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

This comment was removed by soulfire (vejn).
Philipp Oeser (lichtwerk) changed the task status from Unknown Status to Resolved.Jun 8 2018, 3:13 PM
Philipp Oeser (lichtwerk) claimed this task.

Glad to hear! Closing then...