Page MenuHome

rotate/pan the viewport makes blender crash (in very specific case)
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 425.31

Blender Version
Broken: version: 2.80 (sub 72), branch: blender2.7, commit date: 2019-05-23 20:37, hash: rBb3f96da2e605

Short description of error
in some cases rotate or pan the viewport makes blender crash.

The case I try to isolate is when:

  • working with curve that have an other curve as bevel
  • ortho mode in side or front view.
  • wireframe

Exact steps for others to reproduce the error
open the attached file and try to rotate the viewport

thank you

Event Timeline

Tried couple of times, works fine with win10 amd gpu.
Maybe has the same cause with T65052.

I deleted my userpref.blend and rebuilt it from scratch, now I get no crash anymore.

Also during 2.6x and 2.7x period I got into random crashes related to the migration of personal preferences through different version. It is very hard to identify the single option/addon that provoke the crash.

Thankyou.

Again me,

Never mind I found where is the problem, it seems to be the "auto depth" option in the navigation preferences is the cause to the crash I reported here.

Please turn it ON to reproduce it.

Thank you again.

George Vogiatzis (Gvgeo) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.

The problem is in the code added with rB1f1d5e1dd29a (didn't test the commit).
Function DRW_cache_object_all_edges_get returns *geom only for OB_MESH.

I tested release 6ef48b13186 that works without crash.
But with debug gives the same error.
Crash in DRW_shgroup_call_object_ex, BLI_assert(geom != NULL);

Does the commit still needed? I can select and view flat objects without this part.