Page MenuHome

Segfault from using Auto-Smoothed Normals with Subsurf Modifier
Closed, ResolvedPublic

Description

System Information
64bit Manjaro Linux, kernel 3.19.8.5
GTX 650 Ti 2gb Video Card, driver 352.30

Blender Version
Broken: 2.76 devel, a08f8a4 through 7c352ed
Worked: 2.75a release c27589e

Short description of error
What happens is blender crashes when you set auto-smoothed normals on a mesh that has the subsurface modifier. This issue seems to have started in builds from within the past few days, possibly earlier.

Exact steps for others to reproduce the error

  • Open a new blend file and add a new mesh object.
  • Under the Object Data tab, enable "Auto Smooth" under the Normals section.
  • Under the Modifiers tab, add the Subdivision Surface modifier
  • Crash!

The following is a backtrace, produced by GDB:

#0  0x00000000016e717d in ?? ()
#1  0x00000000016ea2dd in ?? ()
#2  0x00000000010e9ffe in ?? ()
#3  0x00000000010f11a7 in ?? ()
#4  0x00000000010f7235 in draw_object ()
#5  0x00000000010d0a7c in ?? ()
#6  0x00000000010d4402 in view3d_main_area_draw ()
#7  0x000000000136d876 in ED_region_do_draw ()
#8  0x0000000001072177 in wm_draw_update ()
#9  0x000000000105d3b8 in WM_main ()
#10 0x0000000001057907 in main ()

Event Timeline

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Resolved.EditedAug 20 2015, 1:29 AM

Confirmed that 7c352ed has the bug. However its been fixed in master.

However there was still a bug with AutoSmooth+Editmode.

Fixed rB4224d22039a802e8d3f3ee3a73b0c6f2b9d93883

@Campbell Barton (campbellbarton) - Mtree, huh? You know I had a funny feeling that this issue was related to the other subdivision-related crash report I filed...

EDIT: No wait, no. It was a missing MTFace layer that caused my other crash issue...