Blender 2.8 (9a8b6d51c1) - Crash when going in Edit Mode with Multiresolution modifier #59168

Closed
opened 2018-12-11 05:32:04 +01:00 by Sven Stein · 20 comments

System Information
Operating system: Windows 10 Pro 64 bit
Graphics card: AMD Ryzen 5 2400G with Radeon Vega 11 Graphics

Blender Version
Broken: Blender 2.80 (December 11, 2018 - hash - win64)

I have an object with a Multiresolution modifier and sculpting on it.
When I try to go to the Edit mode Blender instantly crashes.

This happens every time, no matter what project I'm working on.
The error message from the command prompt stays the same every crash.

Error Output from command prompt:

C:\Program Files\Blender Foundation\Blender 2.8>blender.exe -w -d
Switching to fully guarded memory allocator.
Blender 2.80 (sub 36)
Build: 10/12/2018 17:56 Windows Release
argv- [x] = blender.exe
argv- [x] = -w
argv- [x] = -d
read file C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend

Version 280 sub 35 date 2018-12-06 00:27 hash 74db65e5424

Read prefs: C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
read file

Version 280 sub 24 date unknown hash unknown

found bundled python: C:\Program Files\Blender Foundation\Blender 2.8\2.80\python
Read blend: C:\Users\Administrator\untitled.blend
read file C:\Users\Administrator\untitled.blend

Version 280 sub 36 date 2018-12-11 01:35 hash 9a8b6d51c12

Error : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF60BBF73FF
Module : C:\Program Files\Blender Foundation\Blender 2.8\blender.exe

system-info.txt

**System Information** Operating system: Windows 10 Pro 64 bit Graphics card: AMD Ryzen 5 2400G with Radeon Vega 11 Graphics **Blender Version** Broken: Blender 2.80 (December 11, 2018 - hash - win64) I have an object with a Multiresolution modifier and sculpting on it. When I try to go to the Edit mode Blender instantly crashes. This happens every time, no matter what project I'm working on. The error message from the command prompt stays the same every crash. Error Output from command prompt: C:\Program Files\Blender Foundation\Blender 2.8>blender.exe -w -d Switching to fully guarded memory allocator. Blender 2.80 (sub 36) Build: 10/12/2018 17:56 Windows Release argv- [x] = blender.exe argv- [x] = -w argv- [x] = -d read file C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend ``` Version 280 sub 35 date 2018-12-06 00:27 hash 74db65e5424 ``` Read prefs: C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend read file ``` Version 280 sub 24 date unknown hash unknown ``` found bundled python: C:\Program Files\Blender Foundation\Blender 2.8\2.80\python Read blend: C:\Users\Administrator\untitled.blend read file C:\Users\Administrator\untitled.blend ``` Version 280 sub 36 date 2018-12-11 01:35 hash 9a8b6d51c12 ``` Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF60BBF73FF Module : C:\Program Files\Blender Foundation\Blender 2.8\blender.exe [system-info.txt](https://archive.blender.org/developer/F5917410/system-info.txt)
Author

Added subscriber: @HADESBLACK

Added subscriber: @HADESBLACK

Added subscriber: @birdsnotberries

Added subscriber: @birdsnotberries

Environment:
Arch Linux latest
i5-4278U, Iris integrated
Blender built using AUR git package , build hash (from --version) 9a8b6d51c12

I'm getting something similar with the mirror modifier - adding the modifier and then going to edit mode crashes Blender, as does being in edit mode and then adding the modifier.
When this happens, the console prints

Writing: /tmp/barrel.crash.txt
Segmentation fault (core dumped)

and /tmp/barrel.crash.txt contains

# Blender 2.80 (sub 36), Commit date: 2018-12-11 01:35, Hash 9a8b6d51c12
bpy.ops.object.modifier_add(type='MIRROR')  # Operator
bpy.ops.object.editmode_toggle()  # Operator

# backtrace
/usr/bin/blender-2.8(BLI_system_backtrace+0x34) [0x5616976d0444]
/usr/bin/blender-2.8(+0xbba0f5) [0x561696c930f5]
/usr/lib/libc.so.6(+0x37e00) [0x7f3cccddae00]
/usr/bin/blender-2.8(+0x1167666) [0x561697240666]
/usr/bin/blender-2.8(DRW_mesh_batch_cache_create_requested+0x248) [0x561697249768]
/usr/bin/blender-2.8(+0x11747eb) [0x56169724d7eb]
/usr/bin/blender-2.8(DRW_draw_render_loop_ex+0x22b) [0x56169724ecdb]
/usr/bin/blender-2.8(view3d_main_region_draw+0x7f) [0x561696d7c92f]
/usr/bin/blender-2.8(ED_region_do_draw+0x7d1) [0x561696fb2111]
/usr/bin/blender-2.8(wm_draw_update+0x47d) [0x561696c95bbd]
/usr/bin/blender-2.8(WM_main+0x34) [0x561696c93c44]
/usr/bin/blender-2.8(main+0x386) [0x561696c7e9d6]
/usr/lib/libc.so.6(__libc_start_main+0xf3) [0x7f3cccdc7223]
/usr/bin/blender-2.8(_start+0x2e) [0x561696c8f77e]
Environment: Arch Linux latest i5-4278U, Iris integrated Blender built using [AUR git package ](https://aur.archlinux.org/packages/blender-2.8-git/), build hash (from `--version`) `9a8b6d51c12` I'm getting something similar with the mirror modifier - adding the modifier and then going to edit mode crashes Blender, as does being in edit mode and then adding the modifier. When this happens, the console prints ``` Writing: /tmp/barrel.crash.txt Segmentation fault (core dumped) ``` and `/tmp/barrel.crash.txt` contains ``` # Blender 2.80 (sub 36), Commit date: 2018-12-11 01:35, Hash 9a8b6d51c12 bpy.ops.object.modifier_add(type='MIRROR') # Operator bpy.ops.object.editmode_toggle() # Operator # backtrace /usr/bin/blender-2.8(BLI_system_backtrace+0x34) [0x5616976d0444] /usr/bin/blender-2.8(+0xbba0f5) [0x561696c930f5] /usr/lib/libc.so.6(+0x37e00) [0x7f3cccddae00] /usr/bin/blender-2.8(+0x1167666) [0x561697240666] /usr/bin/blender-2.8(DRW_mesh_batch_cache_create_requested+0x248) [0x561697249768] /usr/bin/blender-2.8(+0x11747eb) [0x56169724d7eb] /usr/bin/blender-2.8(DRW_draw_render_loop_ex+0x22b) [0x56169724ecdb] /usr/bin/blender-2.8(view3d_main_region_draw+0x7f) [0x561696d7c92f] /usr/bin/blender-2.8(ED_region_do_draw+0x7d1) [0x561696fb2111] /usr/bin/blender-2.8(wm_draw_update+0x47d) [0x561696c95bbd] /usr/bin/blender-2.8(WM_main+0x34) [0x561696c93c44] /usr/bin/blender-2.8(main+0x386) [0x561696c7e9d6] /usr/lib/libc.so.6(__libc_start_main+0xf3) [0x7f3cccdc7223] /usr/bin/blender-2.8(_start+0x2e) [0x561696c8f77e] ```
Sven Stein changed title from Blender 2.8 (9a8b6d51c12) - Crash when going in Edit Mode with Multiresolution modifer to Blender 2.8 (9a8b6d51c12) - Crash when going in Edit Mode with Multiresolution modifier 2018-12-11 06:47:29 +01:00
Author

That's interesting. I've only experienced this problem since I swapped out the Subdivision modifier with the Multiresolution modifier to allow much better sculpting.

Must be a problem with all modifiers that store specific information about the original and the modified mesh then.

That's interesting. I've only experienced this problem since I swapped out the Subdivision modifier with the Multiresolution modifier to allow much better sculpting. Must be a problem with all modifiers that store specific information about the original and the modified mesh then.

I did a super-quick test (add the modifier to the default cube; hit tab; see if it crashes) with all the modifiers (there might be a few that slipped through if they needed a setting changed before they started doing anything or something)
The modifiers that caused Blender to crash for me were:

  • Normal Edit
  • Weighted Normal
  • UV Project
  • UV Warp
  • Array
  • Bevel
  • Edge Split
  • Mirror
  • Screw
  • Skin
  • Solidify
  • Subdivide Surface
  • Triangulate
  • Simple Deform
  • Ocean

Here's the error log from that testing.

I did a super-quick test (add the modifier to the default cube; hit tab; see if it crashes) with all the modifiers (there might be a few that slipped through if they needed a setting changed before they started doing anything or something) The modifiers that caused Blender to crash for me were: - Normal Edit - Weighted Normal - UV Project - UV Warp - Array - Bevel - Edge Split - Mirror - Screw - Skin - Solidify - Subdivide Surface - Triangulate - Simple Deform - Ocean [Here's the error log from that testing. ](https://gitlab.com/snippets/1788834)
Author

Funny how you list the Subdivision Surface at the modifiers that caused your Blender to crash, but apparently having the Multiresolution got working since it's not on your list...

while at me, it's the exact opposite:
Edit mode with Subdivision Surface = No problem
Edit mode with Multiresolution = Dead

But at least I can confirm that the other modifiers that you've listed are also causing crashes.

Funny how you list the Subdivision Surface at the modifiers that caused your Blender to crash, but apparently having the Multiresolution got working since it's not on your list... while at me, it's the exact opposite: Edit mode with Subdivision Surface = No problem Edit mode with Multiresolution = Dead But at least I can confirm that the other modifiers that you've listed are also causing crashes.

Added subscriber: @capnm

Added subscriber: @capnm

Mesh with Subdivision Surface or Mirror modifier -> edit mode
( Linux d415b5c7b8 )

Thread 1 "blender8tip" received signal SIGSEGV, Segmentation fault.
mesh_render_data_create_ex (me=me@entry=0x7fffffffcc40, types=types@entry=0, gpumat_array=gpumat_array@entry=0x0, 
    gpumat_array_len=gpumat_array_len@entry=0)
    at blender-git/source/blender/draw/intern/draw_cache_impl_mesh.c:445
445			BMesh *bm = embm->bm;
(gdb) l
440		const bool is_auto_smooth = (me->flag & ME_AUTOSMOOTH) != 0;
441		const float split_angle = is_auto_smooth ? me->smoothresh : (float)M_PI;
442	
443		if (me->edit_btmesh) {
444			BMEditMesh *embm = me->edit_btmesh;
-> 445			BMesh *bm = embm->bm;
446	
447			rdata->edit_bmesh = embm;
448			rdata->edit_data = me->runtime.edit_data;
449	

@fclem AFAIK the commit ae1f563899

   DRW: Batch Cache: Mesh: Port more batches to batch request method

broke it.

Mesh with Subdivision Surface or Mirror modifier -> edit mode ( Linux d415b5c7b85b07ce4e30e4dbe33491df23202cdc ) ``` Thread 1 "blender8tip" received signal SIGSEGV, Segmentation fault. mesh_render_data_create_ex (me=me@entry=0x7fffffffcc40, types=types@entry=0, gpumat_array=gpumat_array@entry=0x0, gpumat_array_len=gpumat_array_len@entry=0) at blender-git/source/blender/draw/intern/draw_cache_impl_mesh.c:445 445 BMesh *bm = embm->bm; (gdb) l 440 const bool is_auto_smooth = (me->flag & ME_AUTOSMOOTH) != 0; 441 const float split_angle = is_auto_smooth ? me->smoothresh : (float)M_PI; 442 443 if (me->edit_btmesh) { 444 BMEditMesh *embm = me->edit_btmesh; -> 445 BMesh *bm = embm->bm; 446 447 rdata->edit_bmesh = embm; 448 rdata->edit_data = me->runtime.edit_data; 449 ``` @fclem AFAIK the commit ae1f563899de458b94d315823fd077ea4002dd86 ``` DRW: Batch Cache: Mesh: Port more batches to batch request method ``` broke it.

Added subscriber: @fclem

Added subscriber: @fclem

@capnm I can't get it to crash here. Are you sure you can repro with latest 2.8 (from git)?

@capnm I can't get it to crash here. Are you sure you can repro with latest 2.8 (from git)?

@fclem Yes, e.g. just open the file F5916342 The bisect log:

git bisect start
# good: [168a6a4bfc13cbe5c2fb510607b9565de3eb9472] Merge branch 'master' into blender2.8
git bisect good 168a6a4bfc13cbe5c2fb510607b9565de3eb9472
# good: [168a6a4bfc13cbe5c2fb510607b9565de3eb9472] Merge branch 'master' into blender2.8
git bisect good 168a6a4bfc13cbe5c2fb510607b9565de3eb9472
# bad: [d415b5c7b85b07ce4e30e4dbe33491df23202cdc] Fix crash in do-versions after recent changes
git bisect bad d415b5c7b85b07ce4e30e4dbe33491df23202cdc
# bad: [0c3535df9f5bb91045d85298ebc4697fec75eda1] Edit Mesh: Fix edges poking through the verts points in xray/seethrough mode
git bisect bad 0c3535df9f5bb91045d85298ebc4697fec75eda1
# good: [c2b0d8b6d6c771da70b8fd9da5ac9cc53d04184d] Fix T57633: Particle texture update problem
git bisect good c2b0d8b6d6c771da70b8fd9da5ac9cc53d04184d
# good: [a99eb0ca689c8116964032faf8425cfba16759bc] GPU: Cleanup: Rename vbo to ibo for index buffers
git bisect good a99eb0ca689c8116964032faf8425cfba16759bc
# bad: [ae1f563899de458b94d315823fd077ea4002dd86] DRW: Batch Cache: Mesh: Port more batches to batch request method
git bisect bad ae1f563899de458b94d315823fd077ea4002dd86
# good: [1d92888ee8e8abf7ba40c1875dedc84e0138be2c] DRW: Batch Cache: Add batch request system
git bisect good 1d92888ee8e8abf7ba40c1875dedc84e0138be2c
# first bad commit: [ae1f563899de458b94d315823fd077ea4002dd86] DRW: Batch Cache: Mesh: Port more batches to batch request method
@fclem Yes, e.g. just open the file [F5916342](https://archive.blender.org/developer/F5916342/Modelling_the_Ear_Part_1_in_2.8.blend) The bisect log: ``` git bisect start # good: [168a6a4bfc13cbe5c2fb510607b9565de3eb9472] Merge branch 'master' into blender2.8 git bisect good 168a6a4bfc13cbe5c2fb510607b9565de3eb9472 # good: [168a6a4bfc13cbe5c2fb510607b9565de3eb9472] Merge branch 'master' into blender2.8 git bisect good 168a6a4bfc13cbe5c2fb510607b9565de3eb9472 # bad: [d415b5c7b85b07ce4e30e4dbe33491df23202cdc] Fix crash in do-versions after recent changes git bisect bad d415b5c7b85b07ce4e30e4dbe33491df23202cdc # bad: [0c3535df9f5bb91045d85298ebc4697fec75eda1] Edit Mesh: Fix edges poking through the verts points in xray/seethrough mode git bisect bad 0c3535df9f5bb91045d85298ebc4697fec75eda1 # good: [c2b0d8b6d6c771da70b8fd9da5ac9cc53d04184d] Fix T57633: Particle texture update problem git bisect good c2b0d8b6d6c771da70b8fd9da5ac9cc53d04184d # good: [a99eb0ca689c8116964032faf8425cfba16759bc] GPU: Cleanup: Rename vbo to ibo for index buffers git bisect good a99eb0ca689c8116964032faf8425cfba16759bc # bad: [ae1f563899de458b94d315823fd077ea4002dd86] DRW: Batch Cache: Mesh: Port more batches to batch request method git bisect bad ae1f563899de458b94d315823fd077ea4002dd86 # good: [1d92888ee8e8abf7ba40c1875dedc84e0138be2c] DRW: Batch Cache: Add batch request system git bisect good 1d92888ee8e8abf7ba40c1875dedc84e0138be2c # first bad commit: [ae1f563899de458b94d315823fd077ea4002dd86] DRW: Batch Cache: Mesh: Port more batches to batch request method ```

It opens fine here. All the commit you bisected are from yesterday.

It opens fine here. All the commit you bisected are from yesterday.

It opens fine here. All the commit you bisected are from yesterday.

bad: [d415b5c7b85b07ce4e30e4dbe33491df23202cdc] Fix crash in do-versions after recent changes
Date:   Tue Dec 11 12:44:29 2018 +0100

That's in the Europe today ;-)
The last commit without crashes was

good: [1d92888ee8e8abf7ba40c1875dedc84e0138be2c] DRW: Batch Cache: Add batch request system
Date:   Sat Dec 8 20:10:20 2018 +0100

Blender still crashes here right now when you open that file ¯_(ツ)_/¯
Possible duplicate issues #59187 #59184 #59183

$ build8/bin/blender /tmp/test/ModellingEar.blend

found bundled python: ...build8/bin/2.80/python
Read blend: /tmp/test/ModellingEar.blend
Writing: /tmp/ModellingEar.crash.txt
Segmentation fault

cat /tmp/ModellingEar.crash.txt
# Blender 2.80 (sub 37), Commit date: 2018-12-11 17:40, Hash 48a3f97b235

# backtrace
build8/bin/blender(BLI_system_backtrace+0x33) [0x55cb8a1a4833]
build8/bin/blender(+0x1116710) [0x55cb89705710]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f6e2df7df20]
build8/bin/blender(+0x17331ff) [0x55cb89d221ff]
build8/bin/blender(DRW_mesh_batch_cache_create_requested+0x25d) [0x55cb89d2b17d]
build8/bin/blender(+0x1740191) [0x55cb89d2f191]
build8/bin/blender(DRW_draw_render_loop_ex+0x223) [0x55cb89d30593]
build8/bin/blender(view3d_main_region_draw+0x77) [0x55cb897e8e67]
build8/bin/blender(ED_region_do_draw+0x4f1) [0x55cb89a15241]
build8/bin/blender(wm_draw_update+0x3f1) [0x55cb897080c1]
build8/bin/blender(WM_main+0x30) [0x55cb897061f0]
build8/bin/blender(main+0x351) [0x55cb896c39a1]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f6e2df60b97]
build8/bin/blender(_start+0x2a) [0x55cb89701e1a]

$ gdb build8/bin/blender

GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git

Reading symbols from build8/bin/blender...done.
(gdb) r /tmp/test/ModellingEar.blend

[New Thread 0x7fffcd7ff700 (LWP 23322)]
[New Thread 0x7fffccffe700 (LWP 23323)]
[New Thread 0x7ffff7f4b700 (LWP 23324)]
[Thread 0x7ffff7f4b700 (LWP 23324) exited]
[New Thread 0x7fffcb7ff700 (LWP 23325)]
[Thread 0x7fffcb7ff700 (LWP 23325) exited]
[New Thread 0x7fffcb7ff700 (LWP 23326)]
[New Thread 0x7fffbaffe700 (LWP 23327)]
[New Thread 0x7fffb92bc700 (LWP 23328)]
[New Thread 0x7fffb86bb700 (LWP 23329)]
[New Thread 0x7fffb4a83700 (LWP 23330)]
[New Thread 0x7fffb3c5a700 (LWP 23331)]
[New Thread 0x7fffb3459700 (LWP 23332)]
[New Thread 0x7fffb2c58700 (LWP 23333)]
[New Thread 0x7fffb2457700 (LWP 23334)]
[New Thread 0x7fffb0fff700 (LWP 23337)]
[New Thread 0x7fffaffff700 (LWP 23338)]
found bundled python: ...build8/bin/2.80/python
Read blend: /tmp/test/ModellingEar.blend

Thread 1 "blender" received signal SIGSEGV, Segmentation fault.
mesh_render_data_create_ex (me=me@entry=0x7fffffffcc10, types=types@entry=0, gpumat_array=gpumat_array@entry=0x0, 
    gpumat_array_len=gpumat_array_len@entry=0) at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_cache_impl_mesh.c:445
445			BMesh *bm = embm->bm;
(gdb) bt
- 0  0x0000555556c871ff in mesh_render_data_create_ex (me=me@entry=0x7fffffffcc10, types=types@entry=0, gpumat_array=gpumat_array@entry=0x0, gpumat_array_len=gpumat_array_len@entry=0) at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_cache_impl_mesh.c:445
- 1  0x0000555556c9017d in mesh_render_data_create (types=0, me=0x7fffffffcc10)
    at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_cache_impl_mesh.c:1005
#2  0x0000555556c9017d in DRW_mesh_batch_cache_create_requested (ob=<optimized out>)
    at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_cache_impl_mesh.c:5829
#3  0x0000555556cdbb15 in drw_batch_cache_generate_requested (ob=ob@entry=0x7fffce540808)
    at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_cache.c:3749
#4  0x0000555556c94191 in drw_engines_cache_populate (ob=0x7fffce540808)
    at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_manager.c:1023
- 5  0x0000555556c95593 in DRW_draw_render_loop_ex (depsgraph=0x7fffcc3d3608, engine_type=<optimized out>, ar=0x7fffae9926c8, v3d=0x7fffae545a08, viewport=0x7fffcbcc4c48, evil_C=evil_C@entry=0x7fffce46d408) at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_manager.c:1483
- 6  0x0000555556c95b0b in DRW_draw_view (C=C@entry=0x7fffce46d408) at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_manager.c:1409
#7  0x000055555674de67 in view3d_draw_view (ar=0x7fffae9926c8, C=0x7fffce46d408)
    at /intranet/blender-build/blender-git/source/blender/editors/space_view3d/view3d_draw.c:1329
#8  0x000055555674de67 in view3d_main_region_draw (C=0x7fffce46d408, ar=0x7fffae9926c8)
    at /intranet/blender-build/blender-git/source/blender/editors/space_view3d/view3d_draw.c:1350
#9  0x000055555697a241 in ED_region_do_draw (C=C@entry=0x7fffce46d408, ar=ar@entry=0x7fffae9926c8)
    at /intranet/blender-build/blender-git/source/blender/editors/screen/area.c:529
#10 0x000055555666d0c1 in wm_draw_window_offscreen (stereo=false, win=0x7fffae8f3208, C=0x7fffce46d408)
    at /intranet/blender-build/blender-git/source/blender/windowmanager/intern/wm_draw.c:580
#11 0x000055555666d0c1 in wm_draw_window (win=0x7fffae8f3208, C=0x7fffce46d408)
    at /intranet/blender-build/blender-git/source/blender/windowmanager/intern/wm_draw.c:712
#12 0x000055555666d0c1 in wm_draw_update (C=C@entry=0x7fffce46d408)
    at /intranet/blender-build/blender-git/source/blender/windowmanager/intern/wm_draw.c:866
- 13 0x000055555666b1f0 in WM_main (C=0x7fffce46d408) at /intranet/blender-build/blender-git/source/blender/windowmanager/intern/wm.c:433
- 14 0x00005555566289a1 in main (argc=2, argv=0x7fffffffdca8) at /intranet/blender-build/blender-git/source/creator/creator.c:521
> It opens fine here. All the commit you bisected are from yesterday. ``` bad: [d415b5c7b85b07ce4e30e4dbe33491df23202cdc] Fix crash in do-versions after recent changes Date: Tue Dec 11 12:44:29 2018 +0100 ``` That's in the Europe today ;-) The last commit without crashes was ``` good: [1d92888ee8e8abf7ba40c1875dedc84e0138be2c] DRW: Batch Cache: Add batch request system Date: Sat Dec 8 20:10:20 2018 +0100 ``` Blender still crashes here right now when you open that file ¯\_(ツ)_/¯ Possible duplicate issues #59187 #59184 #59183 $ build8/bin/blender /tmp/test/ModellingEar.blend ``` found bundled python: ...build8/bin/2.80/python Read blend: /tmp/test/ModellingEar.blend Writing: /tmp/ModellingEar.crash.txt Segmentation fault cat /tmp/ModellingEar.crash.txt # Blender 2.80 (sub 37), Commit date: 2018-12-11 17:40, Hash 48a3f97b235 # backtrace build8/bin/blender(BLI_system_backtrace+0x33) [0x55cb8a1a4833] build8/bin/blender(+0x1116710) [0x55cb89705710] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f6e2df7df20] build8/bin/blender(+0x17331ff) [0x55cb89d221ff] build8/bin/blender(DRW_mesh_batch_cache_create_requested+0x25d) [0x55cb89d2b17d] build8/bin/blender(+0x1740191) [0x55cb89d2f191] build8/bin/blender(DRW_draw_render_loop_ex+0x223) [0x55cb89d30593] build8/bin/blender(view3d_main_region_draw+0x77) [0x55cb897e8e67] build8/bin/blender(ED_region_do_draw+0x4f1) [0x55cb89a15241] build8/bin/blender(wm_draw_update+0x3f1) [0x55cb897080c1] build8/bin/blender(WM_main+0x30) [0x55cb897061f0] build8/bin/blender(main+0x351) [0x55cb896c39a1] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f6e2df60b97] build8/bin/blender(_start+0x2a) [0x55cb89701e1a] ``` $ gdb build8/bin/blender ``` GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git Reading symbols from build8/bin/blender...done. (gdb) r /tmp/test/ModellingEar.blend [New Thread 0x7fffcd7ff700 (LWP 23322)] [New Thread 0x7fffccffe700 (LWP 23323)] [New Thread 0x7ffff7f4b700 (LWP 23324)] [Thread 0x7ffff7f4b700 (LWP 23324) exited] [New Thread 0x7fffcb7ff700 (LWP 23325)] [Thread 0x7fffcb7ff700 (LWP 23325) exited] [New Thread 0x7fffcb7ff700 (LWP 23326)] [New Thread 0x7fffbaffe700 (LWP 23327)] [New Thread 0x7fffb92bc700 (LWP 23328)] [New Thread 0x7fffb86bb700 (LWP 23329)] [New Thread 0x7fffb4a83700 (LWP 23330)] [New Thread 0x7fffb3c5a700 (LWP 23331)] [New Thread 0x7fffb3459700 (LWP 23332)] [New Thread 0x7fffb2c58700 (LWP 23333)] [New Thread 0x7fffb2457700 (LWP 23334)] [New Thread 0x7fffb0fff700 (LWP 23337)] [New Thread 0x7fffaffff700 (LWP 23338)] found bundled python: ...build8/bin/2.80/python Read blend: /tmp/test/ModellingEar.blend Thread 1 "blender" received signal SIGSEGV, Segmentation fault. mesh_render_data_create_ex (me=me@entry=0x7fffffffcc10, types=types@entry=0, gpumat_array=gpumat_array@entry=0x0, gpumat_array_len=gpumat_array_len@entry=0) at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_cache_impl_mesh.c:445 445 BMesh *bm = embm->bm; (gdb) bt - 0 0x0000555556c871ff in mesh_render_data_create_ex (me=me@entry=0x7fffffffcc10, types=types@entry=0, gpumat_array=gpumat_array@entry=0x0, gpumat_array_len=gpumat_array_len@entry=0) at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_cache_impl_mesh.c:445 - 1 0x0000555556c9017d in mesh_render_data_create (types=0, me=0x7fffffffcc10) at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_cache_impl_mesh.c:1005 #2 0x0000555556c9017d in DRW_mesh_batch_cache_create_requested (ob=<optimized out>) at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_cache_impl_mesh.c:5829 #3 0x0000555556cdbb15 in drw_batch_cache_generate_requested (ob=ob@entry=0x7fffce540808) at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_cache.c:3749 #4 0x0000555556c94191 in drw_engines_cache_populate (ob=0x7fffce540808) at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_manager.c:1023 - 5 0x0000555556c95593 in DRW_draw_render_loop_ex (depsgraph=0x7fffcc3d3608, engine_type=<optimized out>, ar=0x7fffae9926c8, v3d=0x7fffae545a08, viewport=0x7fffcbcc4c48, evil_C=evil_C@entry=0x7fffce46d408) at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_manager.c:1483 - 6 0x0000555556c95b0b in DRW_draw_view (C=C@entry=0x7fffce46d408) at /intranet/blender-build/blender-git/source/blender/draw/intern/draw_manager.c:1409 #7 0x000055555674de67 in view3d_draw_view (ar=0x7fffae9926c8, C=0x7fffce46d408) at /intranet/blender-build/blender-git/source/blender/editors/space_view3d/view3d_draw.c:1329 #8 0x000055555674de67 in view3d_main_region_draw (C=0x7fffce46d408, ar=0x7fffae9926c8) at /intranet/blender-build/blender-git/source/blender/editors/space_view3d/view3d_draw.c:1350 #9 0x000055555697a241 in ED_region_do_draw (C=C@entry=0x7fffce46d408, ar=ar@entry=0x7fffae9926c8) at /intranet/blender-build/blender-git/source/blender/editors/screen/area.c:529 #10 0x000055555666d0c1 in wm_draw_window_offscreen (stereo=false, win=0x7fffae8f3208, C=0x7fffce46d408) at /intranet/blender-build/blender-git/source/blender/windowmanager/intern/wm_draw.c:580 #11 0x000055555666d0c1 in wm_draw_window (win=0x7fffae8f3208, C=0x7fffce46d408) at /intranet/blender-build/blender-git/source/blender/windowmanager/intern/wm_draw.c:712 #12 0x000055555666d0c1 in wm_draw_update (C=C@entry=0x7fffce46d408) at /intranet/blender-build/blender-git/source/blender/windowmanager/intern/wm_draw.c:866 - 13 0x000055555666b1f0 in WM_main (C=0x7fffce46d408) at /intranet/blender-build/blender-git/source/blender/windowmanager/intern/wm.c:433 - 14 0x00005555566289a1 in main (argc=2, argv=0x7fffffffdca8) at /intranet/blender-build/blender-git/source/creator/creator.c:521 ```

Added subscriber: @boarnoah

Added subscriber: @boarnoah

I just recompiled Blender and it seems to be working fine - build hash b87b6e8e289

I just recompiled Blender and it seems to be working fine - build hash `b87b6e8e289`

Can confirm that b87b6e8e28 has fixed it ?
Possible duplicate issues += #59224 #59222 #59229

Can confirm that b87b6e8e289cdc15c730341d840ca5fd9836a430 has fixed it ? Possible duplicate issues += #59224 #59222 #59229

Added subscriber: @ideasman42

Added subscriber: @ideasman42

@ideasman42

I just got another related? crash:

Reproducible here e.g. with the file from #59183:

  • open the Crash_editmode.blend file
  • switch to edit mode
  • set Overlays -> Hidden Wire
  • switch between Object and Edit mode 2x times (Tab)
# Blender 2.80 (sub 37), Commit date: 2018-12-12 11:29, Hash eedd679ef27
bpy.ops.object.editmode_toggle()  # Operator
bpy.ops.object.editmode_toggle()  # Operator
bpy.ops.object.editmode_toggle()  # Operator
bpy.context.space_data.overlay.show_occlude_wire = True  # Property
bpy.ops.object.editmode_toggle()  # Operator
bpy.ops.object.editmode_toggle()  # Operator

# backtrace
blender8tip(BLI_system_backtrace+0x33) [0x563ea9e48973]
blender8tip(+0x11173a0) [0x563ea93a93a0]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7fe501722f20]
blender8tip(DRW_mesh_batch_cache_create_requested+0x7a1) [0x563ea99cf6f1]
blender8tip(+0x1741231) [0x563ea99d3231]
blender8tip(DRW_draw_render_loop_ex+0x223) [0x563ea99d4633]
blender8tip(view3d_main_region_draw+0x77) [0x563ea948cc17]
blender8tip(ED_region_do_draw+0x4f1) [0x563ea96b9001]
blender8tip(wm_draw_update+0x3f1) [0x563ea93abd51]
blender8tip(WM_main+0x30) [0x563ea93a9e80]
blender8tip(main+0x351) [0x563ea9367631]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fe501705b97]
blender8tip(_start+0x2a) [0x563ea93a5aaa]


Thread 1 "blender8tip" received signal SIGSEGV, Segmentation fault.
0x0000555556c916f1 in BM_face_at_index (index=0, bm=0x7fffab89f108) at blender-git/source/blender/bmesh/intern/bmesh_mesh.h:110
110		return bm->ftable[index];
(gdb) l
105	}
106	BLI_INLINE BMFace *BM_face_at_index(BMesh *bm, const int index)
107	{
108		BLI_assert((index >= 0) && (index < bm->totface));
109		BLI_assert((bm->elem_table_dirty & BM_FACE) == 0);
-> 110		return bm->ftable[index];
111	}
112	
113	BMVert *BM_vert_at_index_find(BMesh *bm, const int index);
114	BMEdge *BM_edge_at_index_find(BMesh *bm, const int index);

@ideasman42 I just got another related? crash: - works on commit(s) before ae1f563899de458b94d315823fd077ea4002dd86 - crashes on current blender2.8 git tip, commit eedd679ef274ed1bbb65420483ff5f23afc07f21 Reproducible here e.g. with the file from #59183: - open the `Crash_editmode.blend` file - switch to edit mode - set Overlays -> Hidden Wire - switch between Object and Edit mode 2x times (Tab) ``` # Blender 2.80 (sub 37), Commit date: 2018-12-12 11:29, Hash eedd679ef27 bpy.ops.object.editmode_toggle() # Operator bpy.ops.object.editmode_toggle() # Operator bpy.ops.object.editmode_toggle() # Operator bpy.context.space_data.overlay.show_occlude_wire = True # Property bpy.ops.object.editmode_toggle() # Operator bpy.ops.object.editmode_toggle() # Operator # backtrace blender8tip(BLI_system_backtrace+0x33) [0x563ea9e48973] blender8tip(+0x11173a0) [0x563ea93a93a0] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7fe501722f20] blender8tip(DRW_mesh_batch_cache_create_requested+0x7a1) [0x563ea99cf6f1] blender8tip(+0x1741231) [0x563ea99d3231] blender8tip(DRW_draw_render_loop_ex+0x223) [0x563ea99d4633] blender8tip(view3d_main_region_draw+0x77) [0x563ea948cc17] blender8tip(ED_region_do_draw+0x4f1) [0x563ea96b9001] blender8tip(wm_draw_update+0x3f1) [0x563ea93abd51] blender8tip(WM_main+0x30) [0x563ea93a9e80] blender8tip(main+0x351) [0x563ea9367631] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fe501705b97] blender8tip(_start+0x2a) [0x563ea93a5aaa] Thread 1 "blender8tip" received signal SIGSEGV, Segmentation fault. 0x0000555556c916f1 in BM_face_at_index (index=0, bm=0x7fffab89f108) at blender-git/source/blender/bmesh/intern/bmesh_mesh.h:110 110 return bm->ftable[index]; (gdb) l 105 } 106 BLI_INLINE BMFace *BM_face_at_index(BMesh *bm, const int index) 107 { 108 BLI_assert((index >= 0) && (index < bm->totface)); 109 BLI_assert((bm->elem_table_dirty & BM_FACE) == 0); -> 110 return bm->ftable[index]; 111 } 112 113 BMVert *BM_vert_at_index_find(BMesh *bm, const int index); 114 BMEdge *BM_edge_at_index_find(BMesh *bm, const int index); ```

@fclem so far I haven't got any edit-mode crash after 10eb92035c.
Thanks.

@fclem so far I haven't got any edit-mode crash after 10eb92035c9b. Thanks.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Campbell Barton self-assigned this 2018-12-13 02:39:57 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#59168
No description provided.