Page MenuHome

Crash when i switch from edit mode to sculpt mode
Closed, ResolvedPublic

Description

System Information
Operating system and graphics card

Win 7
Quadro P2000

Blender Version
blender 2.80 alpha 2
hash b4dfe00fd60

Broken: (example: 2.69.7 4b206af, see splash screen)
Worked: (optional)

Short description of error

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

With the default cube
create blend shapes and edit vertices
using the pie menu, switch back and forth from edit to sculpt mode
Blender crash quickly wht i do many switch

Event Timeline

Philipp Oeser (lichtwerk) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Nov 7 2018, 9:25 AM

Cannot reproduce here.

  • Does this also happen when you load File > Factory Settings?
  • Could you share your bledfile (so we are all on the same page)?
  • Does this also happen with the newset build from https://builder.blender.org/download?

Marking as incomplete until we have these tried...

I could reproduce the crash.

System Information
Win10 RX460

Blender Version
Blender 2.80 alpha2 32dca36afb1

Exact steps for others to reproduce the error

  1. Create shape key
  2. Set the value of shape key to 1
  3. Enter edit mode with pie menu
  4. Enter sculpt mode from edit mode with pie menu

This is a record.

Still cannot reproduce.
Is this still an issue with the latest buildbot build?

I could reproduce with latest( c94f806dc73 ) on Win10. But can not reproduce on Linux.

It also happens in the following way.

  1. Create shape key
  2. Set the value of shape key to 1
  3. Enter sculpt mode
  4. Hit tab many times
Philipp Oeser (lichtwerk) raised the priority of this task from Needs Information from User to Needs Triage by Developer.Nov 16 2018, 12:26 PM

Someone here on windows that can debug this?

I was able to confirm this on windows 10 x64 2018-11-28 hash 4c6e7ef11f3

I've narrowed it down somewhat. The crash is triggered by the transition from edit mode to sculpt mode if one of the following is true:

  • The object has only a base key, OR
  • The object has a base key and any shape key with a nonzero value.

Other things:

  • It doesn't matter if the edit -> sculpt transition is done by changing tabs, using the drop-down menu, or the radial menu: all will cause Blender to crash.
  • It is triggered only by directly changing from edit mode to sculpt mode. Going sculpt->edit->another mode ->sculpt works fine.
  • You can change the value of the key from within sculpt mode and sculpt as normal whatever the value of the key without crashing.
  • If you sculpt on a key that is at 0.0, any changes will be immediately discarded. However, changing the key value to 0.001 or higher and the changes will stick.

Related to this is T58075, which crashes under the same conditions (only one shape key, or one or more nonzero shape keys) when switching from edit mode to vertex paint mode.

Just a shot in the dark:
Does this also happen when blender is called from the commandline with the --threads 1 option?

Bastien Montagne (mont29) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.

Could reproduce here with only one basis shape key.

I can reproduce the bug on 27cccaeccd2 with --threads 1 option.

But It can not reproduce with --debug option. Then terminal displays following errors in edit mode.

Pass : Edit Mesh Face Overlay Pass, Uniform 'viewportSize' not found!
Pass : Edit Mesh Face Overlay Pass, Uniform 'edgeScale' not found!
Pass : Edit Mesh Face Overlay Pass, Uniform 'dataBuffer' not found!