Page MenuHome

Crash: Sculpting + Rendering + Try to sculpt -> Crash
Closed, ResolvedPublic

Description

System Information
Operating system: Linux-4.4.0-161-generic-x86_64-with-debian-stretch-sid 64 Bits
Graphics card: GeForce GT 620M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 384.130

Blender Version
Broken: version: 2.81 (sub 10), branch: master, commit date: 2019-09-12 09:34, hash: rB492a7998d508

Worked: (optional):

  • 2.79b,
  • 2.80 (it does not crash)

Short description of error
If you do some sculpting on the default sphere (with factory settings) and than do a render, the changes are gone and the default sphere is shown. If you now try sculpt again, Blender crashes.

Although you can go into edit mode and back into sculpt mode to see the previous changes and sculpt again without a crash.

Maybe this issue is related to this one: https://developer.blender.org/T69809

Exact steps for others to reproduce the error

  1. Open a Blender scene with the sculpting work space,
  2. sculpt something,
  3. hit F12 to render,
  4. close the render window to go back to the sculpting window and try to sculpt again.

You are great, dudes! 😍

Event Timeline

Dalai Felinto (dfelinto) lowered the priority of this task from Needs Triage by Developer to Confirmed, High.Sep 12 2019, 6:08 PM

Segmentation fault: BKE_pbvh_type (bvh=0x0) at //blender/source/blender/blenkernel/intern/pbvh.c:1350

Full backtrace: P1096

I can check if the pbvh is NULL in sculpt_automasking_enabled, but that should never happen. It fixes the crash, but I don't think that is the right fix. Also, that won't fix T69809