Modifying mesh with mirror and solidify modifiers crashes blender
Closed, ResolvedPublic

Description

With svn trunk r41440 (64-bit linux build) release editing mesh with some modifier combinations seems to crash the Blender.

Quickest way I found to repeat the crash every time is with following steps:

1) Open blender with default cube scene
2) Add a mirror modifier to cube
3) Add a solidify modifier to cube
4) Go to edit mode and remove the top face -> instant crash

(if solidify modifier is added before mirror modifier blender doesn't crash)

I comfirmed that I'm not the only one having this problem and here's a stack trace provided by other user with svn trunk r41438 debug build:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000995706 in draw_em_fancy__setFaceOpts (UNUSED_userData=0x0, index=6, UNUSED_drawSmooth_r=0x7fffffffdbd0)
at /home/dan/blender-build/trunk/source/blender/editors/space_view3d/drawobject.c:2466
2466 if (efa->h==0) {
(gdb) bt
#0 0x0000000000995706 in draw_em_fancy__setFaceOpts (UNUSED_userData=0x0, index=6, UNUSED_drawSmooth_r=0x7fffffffdbd0)
at /home/dan/blender-build/trunk/source/blender/editors/space_view3d/drawobject.c:2466
#1 0x0000000000d6d18f in cdDM_drawMappedFaces (dm=0x3bf3c78, setDrawOptions=0x9956e1 <draw_em_fancy__setFaceOpts>, userData=0x0, useColors=0,
setMaterial=0xee629c <GPU_enable_material>, compareDrawOptions=0)
at /home/dan/blender-build/trunk/source/blender/blenkernel/intern/cdderivedmesh.c:968
#2 0x00000000009959c1 in draw_em_fancy (scene=0x28af178, v3d=0x289da18, rv3d=0x289d658, ob=0x28b0e48, em=0x3c35198, cageDM=0x3bcd1d8,
finalDM=0x3bf3c78, dt=3) at /home/dan/blender-build/trunk/source/blender/editors/space_view3d/drawobject.c:2524
#3 0x0000000000996fa1 in draw_mesh_object (scene=0x28af178, ar=0x289d4e8, v3d=0x289da18, rv3d=0x289d658, base=0x28af878, dt=3, flag=0)
at /home/dan/blender-build/trunk/source/blender/editors/space_view3d/drawobject.c:2966
#4 0x00000000009a01e0 in draw_object (scene=0x28af178, ar=0x289d4e8, v3d=0x289da18, base=0x28af878, flag=0)
at /home/dan/blender-build/trunk/source/blender/editors/space_view3d/drawobject.c:6017
#5 0x0000000000970c02 in view3d_main_area_draw_objects (C=0x23f82f8, ar=0x289d4e8, grid_unit=0x7fffffffe010)
at /home/dan/blender-build/trunk/source/blender/editors/space_view3d/view3d_draw.c:2662
#6 0x00000000009710a6 in view3d_main_area_draw (C=0x23f82f8, ar=0x289d4e8)
at /home/dan/blender-build/trunk/source/blender/editors/space_view3d/view3d_draw.c:2758
#7 0x0000000000b6ab22 in ED_region_do_draw (C=0x23f82f8, ar=0x289d4e8) at /home/dan/blender-build/trunk/source/blender/editors/screen/area.c:429
#8 0x0000000000897dc7 in wm_method_draw_overlap_all (C=0x23f82f8, win=0x2880458, exchange=0)
at /home/dan/blender-build/trunk/source/blender/windowmanager/intern/wm_draw.c:247
#9 0x00000000008992d0 in wm_draw_update (C=0x23f82f8) at /home/dan/blender-build/trunk/source/blender/windowmanager/intern/wm_draw.c:770
#10 0x0000000000897615 in WM_main (C=0x23f82f8) at /home/dan/blender-build/trunk/source/blender/windowmanager/intern/wm.c:392
#11 0x0000000000896b46 in main (argc=1, argv=0x7fffffffe248) at /home/dan/blender-build/trunk/source/creator/creator.c:1266

The cycles svn r41386 build doesn't seem to crash with procedure mentioned above.

Details

Type
Bug

Fixed in svn rev41445. Thanks for the report, closing.

Sergey Sharybin (sergey) closed this task as "Resolved".Nov 1 2011, 6:44 PM