Blender crash #67454

Closed
opened 4 years ago by Michael-Whitney · 30 comments

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.39

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-18 14:52, hash: 38d4483c6a
Worked: (optional)

Short description of error
Not so much an error but had a cylinder with 60 subdivisions with bevel and subdivision modifier and blender closed.

Exact steps for others to reproduce the error

  1. Create cylinder with 60 vertices going round it.
  2. Add bevel and subdivision modifier.
  3. Make sure that the subdivision is modifier is cranked up to that undoing will take a lot of time after applying the modifers
  4. Apply the modifers
  5. Hit undo quickly a few times and try to select something in the viewport while the viewport is frozen.
  6. Crash
**System Information** Operating system: Windows-10-10.0.17763 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.39 **Blender Version** Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-18 14:52, hash: `38d4483c6a` Worked: (optional) **Short description of error** Not so much an error but had a cylinder with 60 subdivisions with bevel and subdivision modifier and blender closed. **Exact steps for others to reproduce the error** 1. Create cylinder with 60 vertices going round it. 2. Add bevel and subdivision modifier. 3. Make sure that the subdivision is modifier is cranked up to that undoing will take a lot of time after applying the modifers 4. Apply the modifers 5. Hit undo quickly a few times and try to select something in the viewport while the viewport is frozen. 6. Crash
Poster

Added subscriber: @Michael-Whitney

Added subscriber: @Michael-Whitney
ZedDB commented 4 years ago
Collaborator

Added subscriber: @ZedDB

Added subscriber: @ZedDB
ZedDB commented 4 years ago
Collaborator

So you can't reproduce this yourself again?

So you can't reproduce this yourself again?
Poster

Not 100% however doing the same thing it crashed again seemed it did it when I was trying to undo some steps so I could delete and applied modifier. Maybe the subvision count was too high and blender and/or my pc couldn't handle it and crashed not sure if it's a bug of some kind or just one of those things pc's like to do.

Is there any crash log I can copy and paste?

Not 100% however doing the same thing it crashed again seemed it did it when I was trying to undo some steps so I could delete and applied modifier. Maybe the subvision count was too high and blender and/or my pc couldn't handle it and crashed not sure if it's a bug of some kind or just one of those things pc's like to do. Is there any crash log I can copy and paste?
ZedDB commented 4 years ago
Collaborator

Are you using the latest build from here? https://builder.blender.org/download/

Are you using the latest build from here? https://builder.blender.org/download/
Poster

I'm using RC2

I'm using RC2

Added subscriber: @blablaalb

Added subscriber: @blablaalb

I also had blender 2.8 rc2 crashed unexpectedly when I added a constraint to a bone. I recovered the session from auto-save and wasn't able to reproduce the issue afterward.

I also had blender 2.8 rc2 crashed unexpectedly when I added a constraint to a bone. I recovered the session from auto-save and wasn't able to reproduce the issue afterward.
ZedDB commented 4 years ago
Collaborator

Can you please try the non RC build?

Can you please try the non RC build?
Poster

Can do, probably a stupid question but is the RC build not more stable than the latest beta build or is the beta build still be updated with bug fixes from the reports of the RC build?

Can do, probably a stupid question but is the RC build not more stable than the latest beta build or is the beta build still be updated with bug fixes from the reports of the RC build?
Poster

Tried it in the latest Beta build (non RC) and same thing happened. Seems I can replicate it.

Tried it in the latest Beta build (non RC) and same thing happened. Seems I can replicate it.
ZedDB commented 4 years ago
Collaborator

Can you provide the exact steps to make it crash. So for example:

  1. Add a cylinder with 60 edges
  2. Add a bevel modifer
  3. Add a subdivision modifier
  4. Change the subdivision in the modifer to 4
  5. Apply all modifers starting with bevel
  6. Crash
Can you provide the exact steps to make it crash. So for example: 1. Add a cylinder with 60 edges 2. Add a bevel modifer 3. Add a subdivision modifier 4. Change the subdivision in the modifer to 4 5. Apply all modifers starting with bevel 6. Crash
Poster

Sometimes seems to be when I try to undo. Sometimes if I press ctrl Z a few times it crashes especially after doing something like applying a modifier. Doesn't always happen though even when spamming ctrl Z which is when it usually crashes.

Sometimes seems to be when I try to undo. Sometimes if I press ctrl Z a few times it crashes especially after doing something like applying a modifier. Doesn't always happen though even when spamming ctrl Z which is when it usually crashes.
ZedDB commented 4 years ago
Collaborator

Ok, but can you tell me the exact steps?

Ok, but can you tell me the exact steps?
Poster
  1. Add a cylinder with 60 edges
  2. Add a bevel modifier (weighted edges for the top and bottom edge of cylinder, 2 segments)
  3. Add a subdivision modifier, Change the subdivision in the modifier to 4
  4. Apply all modifiers starting with bevel
  5. Press ctrl Z repeatedly a few times and it crashes but doesn't seem to be all the time.

I might be to do with the undo operation as it's crashed when undoing other things too especially when I spam ctrl Z. It's as if it can't undo as quickly as I'm pressing ctrl Z.

1. Add a cylinder with 60 edges 2. Add a bevel modifier (weighted edges for the top and bottom edge of cylinder, 2 segments) 3. Add a subdivision modifier, Change the subdivision in the modifier to 4 4. Apply all modifiers starting with bevel 5. Press ctrl Z repeatedly a few times and it crashes but doesn't seem to be all the time. I might be to do with the undo operation as it's crashed when undoing other things too especially when I spam ctrl Z. It's as if it can't undo as quickly as I'm pressing ctrl Z.
ZedDB commented 4 years ago
Collaborator

I still can't reproduce this. Does this happen if you do a factory reset?

I still can't reproduce this. Does this happen if you do a factory reset?
Poster

On what blender or my computer? I mean it could be an issue with an Addon maybe. Is there no crash log?

On what blender or my computer? I mean it could be an issue with an Addon maybe. Is there no crash log?

Added subscriber: @SpectreFirst

Added subscriber: @SpectreFirst

I think I can sort of reproduce something like that with consistency but the problem is the exact steps because it requires pressing Ctrl+Z quickly several times in a row, otherwise it just performs a normal Undo and not the crash.

  1. Add Cylinder with 80 Vertices, add Bevel and Subdivision Surface modifiers
  2. Switch to Sculpt Mode – to Edit Mode - to Sculpt Mode – to Edit Mode – to Object Mode
  3. Quickly press Ctrl+Z 4 times and click the left mouse button within 3D View. After a few seconds Blender will crash and give exception_access_violation error.
  4. If you do the same exact steps but wait for Blender to finish every Undo step it will work fine. It looks like something happens if you click on something while Undo steps are still in progress.
  5. The same trick is reproducible with the previous steps as well – add Cylinder with modifiers, apply them, quickly press Ctrl+Z four times and click your left mouse on a cylinder. It even gives the same exception_access_violation error as my example.
I think I can sort of reproduce something like that with consistency but the problem is the exact steps because it requires pressing Ctrl+Z quickly several times in a row, otherwise it just performs a normal Undo and not the crash. 1. Add Cylinder with 80 Vertices, add Bevel and Subdivision Surface modifiers 2. Switch to Sculpt Mode – to Edit Mode - to Sculpt Mode – to Edit Mode – to Object Mode 3. Quickly press Ctrl+Z 4 times and click the left mouse button within 3D View. After a few seconds Blender will crash and give exception_access_violation error. 4. If you do the same exact steps but wait for Blender to finish every Undo step it will work fine. It looks like something happens if you click on something while Undo steps are still in progress. 5. The same trick is reproducible with the previous steps as well – add Cylinder with modifiers, apply them, quickly press Ctrl+Z four times and click your left mouse on a cylinder. It even gives the same exception_access_violation error as my example.
ZedDB commented 4 years ago
Collaborator

Aha, so clicking in the viewport is key to get it to crash?
I think I might be able to reproduce this.

Aha, so clicking in the viewport is key to get it to crash? I think I might be able to reproduce this.

Added subscriber: @GavinScott

Added subscriber: @GavinScott

I can reproduce the crash on Windows using those latest instructions on the current master branch.

I can reproduce the crash on Windows using those latest instructions on the current master branch.
Sergey was assigned by ZedDB 4 years ago
ZedDB commented 4 years ago
Collaborator

Added subscriber: @Sergey

Added subscriber: @Sergey
ZedDB commented 4 years ago
Collaborator

I can also reproduce on linux:

Assert:

BLI_assert failed: /home/zed/prog/blender/source/blender/depsgraph/intern/depsgraph_query.cc:159, DEG_get_evaluated_scene(), at 'scene_cow != __null && DEG::deg_copy_on_write_is_expanded(&scene_cow->id)'

If I ignore the assert I get this segfault.

Backtrace:

Thread 1 "blender" received signal SIGSEGV, Segmentation fault.
0x0000555557ecdb48 in BLI_findstring (listbase=0x55555ed74ec0 <R_engines>, id=0xadc <error: Cannot access memory at address 0xadc>, offset=16)
    at /home/zed/prog/blender/source/blender/blenlib/intern/listbase.c:649
649	    if (id[0] == id_iter[0] && STREQ(id, id_iter)) {
(gdb) bt
#0  0x0000555557ecdb48 in BLI_findstring (listbase=0x55555ed74ec0 <R_engines>, id=0xadc <error: Cannot access memory at address 0xadc>, offset=16)
    at /home/zed/prog/blender/source/blender/blenlib/intern/listbase.c:649
#1  0x0000555557ff8e30 in RE_engines_find (idname=0xadc <error: Cannot access memory at address 0xadc>)
    at /home/zed/prog/blender/source/blender/render/intern/source/external_engine.c:111
- 2  0x0000555558c02e4c in ED_view3d_engine_type (scene=0x0, drawtype=3) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_draw.c:1469
- 3  0x00005555586a9548 in DRW_draw_select_loop (depsgraph=0x7fffcfbf53c8, ar=0x7fffe679dd88, v3d=0x7fffebbfe708, UNUSED_use_obedit_skip=false,
    draw_surface=true, UNUSED_use_nearest=true, rect=0x7fffffff35d0, select_pass_fn=0x555558c3807c <drw_select_loop_pass>,
    select_pass_user_data=0x7fffffff35f0, object_filter_fn=0x0, object_filter_user_data=0x0)
    at /home/zed/prog/blender/source/blender/draw/intern/draw_manager.c:2218
#4  0x0000555558c38bf8 in view3d_opengl_select (vc=0x7fffffff3ab0, buffer=0x7fffffff3b20, bufsize=10000, input=0x7fffffff3950,
    select_mode=VIEW3D_SELECT_PICK_NEAREST, select_filter=VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK)
    at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_view.c:1144
#5  0x0000555558c27840 in mixed_bones_object_selectbuffer (vc=0x7fffffff3ab0, buffer=0x7fffffff3b20, mval=0x7fffffffd7c0,
    select_filter=VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK, do_nearest=true) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:1848
#6  0x0000555558c27cf1 in mixed_bones_object_selectbuffer_extended (vc=0x7fffffff3ab0, buffer=0x7fffffff3b20, mval=0x7fffffffd7c0,
    select_filter=VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK, use_cycle=true, enumerate=false, r_do_nearest=0x7fffffff3a12)
    at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:1947
#7  0x0000555558c28aa8 in ed_object_select_pick (C=0x7fffeb891208, mval=0x7fffffffd7c0, extend=false, deselect=false, toggle=false, obcenter=false,
    enumerate=false, object=false) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:2223
#8  0x0000555558c29c8b in view3d_select_exec (C=0x7fffeb891208, op=0x7fffd1543588)
    at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:2580
#9  0x0000555558c29d9b in view3d_select_invoke (C=0x7fffeb891208, op=0x7fffd1543588, event=0x7fffd0512908)
    at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:2610
#10 0x000055555822a4bd in wm_operator_invoke (C=0x7fffeb891208, ot=0x7fffe661b528, event=0x7fffd0512908, properties=0x7fffdc31bb68, reports=0x0,
    poll_only=false, use_last_properties=true) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:1438
#11 0x000055555822c515 in wm_handler_operator_call (C=0x7fffeb891208, handlers=0x7fffe679ded0, handler_base=0x7fffe5682508, event=0x7fffd0512908,
    properties=0x7fffdc31bb68) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2275
#12 0x000055555822ce03 in wm_handlers_do_keymap_with_keymap_handler (C=0x7fffeb891208, event=0x7fffd0512908, handlers=0x7fffe679ded0,
    handler=0x7fffe5682508, keymap=0x7fffd263ad48, do_debug_handler=false)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2555
#13 0x000055555822d45c in wm_handlers_do_intern (C=0x7fffeb891208, event=0x7fffd0512908, handlers=0x7fffe679ded0)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2692
#14 0x000055555822e2f5 in wm_handlers_do (C=0x7fffeb891208, event=0x7fffd0512908, handlers=0x7fffe679ded0)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2945
- 15 0x000055555822f8c9 in wm_event_do_handlers (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:3397
- 16 0x0000555558222790 in WM_main (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm.c:417
#17 0x0000555557b7bb39 in main (argc=1, argv=0x7fffffffe018) at /home/zed/prog/blender/source/creator/creator.c:500

@Sergey I'm guessing that the depsgraph is in an invalid state when you try to select in the viewport while the undo system is doing its thing? (Feel free to reassign as usual)

I can also reproduce on linux: Assert: ``` BLI_assert failed: /home/zed/prog/blender/source/blender/depsgraph/intern/depsgraph_query.cc:159, DEG_get_evaluated_scene(), at 'scene_cow != __null && DEG::deg_copy_on_write_is_expanded(&scene_cow->id)' ``` If I ignore the assert I get this segfault. Backtrace: ``` Thread 1 "blender" received signal SIGSEGV, Segmentation fault. 0x0000555557ecdb48 in BLI_findstring (listbase=0x55555ed74ec0 <R_engines>, id=0xadc <error: Cannot access memory at address 0xadc>, offset=16) at /home/zed/prog/blender/source/blender/blenlib/intern/listbase.c:649 649 if (id[0] == id_iter[0] && STREQ(id, id_iter)) { (gdb) bt #0 0x0000555557ecdb48 in BLI_findstring (listbase=0x55555ed74ec0 <R_engines>, id=0xadc <error: Cannot access memory at address 0xadc>, offset=16) at /home/zed/prog/blender/source/blender/blenlib/intern/listbase.c:649 #1 0x0000555557ff8e30 in RE_engines_find (idname=0xadc <error: Cannot access memory at address 0xadc>) at /home/zed/prog/blender/source/blender/render/intern/source/external_engine.c:111 - 2 0x0000555558c02e4c in ED_view3d_engine_type (scene=0x0, drawtype=3) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_draw.c:1469 - 3 0x00005555586a9548 in DRW_draw_select_loop (depsgraph=0x7fffcfbf53c8, ar=0x7fffe679dd88, v3d=0x7fffebbfe708, UNUSED_use_obedit_skip=false, draw_surface=true, UNUSED_use_nearest=true, rect=0x7fffffff35d0, select_pass_fn=0x555558c3807c <drw_select_loop_pass>, select_pass_user_data=0x7fffffff35f0, object_filter_fn=0x0, object_filter_user_data=0x0) at /home/zed/prog/blender/source/blender/draw/intern/draw_manager.c:2218 #4 0x0000555558c38bf8 in view3d_opengl_select (vc=0x7fffffff3ab0, buffer=0x7fffffff3b20, bufsize=10000, input=0x7fffffff3950, select_mode=VIEW3D_SELECT_PICK_NEAREST, select_filter=VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_view.c:1144 #5 0x0000555558c27840 in mixed_bones_object_selectbuffer (vc=0x7fffffff3ab0, buffer=0x7fffffff3b20, mval=0x7fffffffd7c0, select_filter=VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK, do_nearest=true) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:1848 #6 0x0000555558c27cf1 in mixed_bones_object_selectbuffer_extended (vc=0x7fffffff3ab0, buffer=0x7fffffff3b20, mval=0x7fffffffd7c0, select_filter=VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK, use_cycle=true, enumerate=false, r_do_nearest=0x7fffffff3a12) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:1947 #7 0x0000555558c28aa8 in ed_object_select_pick (C=0x7fffeb891208, mval=0x7fffffffd7c0, extend=false, deselect=false, toggle=false, obcenter=false, enumerate=false, object=false) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:2223 #8 0x0000555558c29c8b in view3d_select_exec (C=0x7fffeb891208, op=0x7fffd1543588) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:2580 #9 0x0000555558c29d9b in view3d_select_invoke (C=0x7fffeb891208, op=0x7fffd1543588, event=0x7fffd0512908) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:2610 #10 0x000055555822a4bd in wm_operator_invoke (C=0x7fffeb891208, ot=0x7fffe661b528, event=0x7fffd0512908, properties=0x7fffdc31bb68, reports=0x0, poll_only=false, use_last_properties=true) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:1438 #11 0x000055555822c515 in wm_handler_operator_call (C=0x7fffeb891208, handlers=0x7fffe679ded0, handler_base=0x7fffe5682508, event=0x7fffd0512908, properties=0x7fffdc31bb68) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2275 #12 0x000055555822ce03 in wm_handlers_do_keymap_with_keymap_handler (C=0x7fffeb891208, event=0x7fffd0512908, handlers=0x7fffe679ded0, handler=0x7fffe5682508, keymap=0x7fffd263ad48, do_debug_handler=false) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2555 #13 0x000055555822d45c in wm_handlers_do_intern (C=0x7fffeb891208, event=0x7fffd0512908, handlers=0x7fffe679ded0) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2692 #14 0x000055555822e2f5 in wm_handlers_do (C=0x7fffeb891208, event=0x7fffd0512908, handlers=0x7fffe679ded0) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2945 - 15 0x000055555822f8c9 in wm_event_do_handlers (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:3397 - 16 0x0000555558222790 in WM_main (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm.c:417 #17 0x0000555557b7bb39 in main (argc=1, argv=0x7fffffffe018) at /home/zed/prog/blender/source/creator/creator.c:500 ``` @Sergey I'm guessing that the depsgraph is in an invalid state when you try to select in the viewport while the undo system is doing its thing? (Feel free to reassign as usual)
Sergey commented 4 years ago
Owner

@ZedDB, you can't just disable asserts, they are there for a very good reason...
Do you have backtrace of assert itself handy?

@ZedDB, you can't just disable asserts, they are there for a very good reason... Do you have backtrace of assert itself handy?
ZedDB commented 4 years ago
Collaborator

Here you have the backtrace to the assert:

Thread 1 "blender" received signal SIGABRT, Aborted.
0x00007ffff3180f1b in raise () from /lib64/libc.so.6
(gdb) bt
- 0  0x00007ffff3180f1b in raise () from /lib64/libc.so.6
- 1  0x00007ffff316a535 in abort () from /lib64/libc.so.6
- 2  0x0000555557f2b7fe in DEG_get_evaluated_scene (graph=0x7fffccb2cf08) at /home/zed/prog/blender/source/blender/depsgraph/intern/depsgraph_query.cc:159
- 3  0x00005555586a958b in DRW_draw_select_loop (depsgraph=0x7fffccb2cf08, ar=0x7fffe679dd88, v3d=0x7fffebbfe708, UNUSED_use_obedit_skip=false,
    draw_surface=true, UNUSED_use_nearest=true, rect=0x7fffffff35d0, select_pass_fn=0x555558c380e8 <drw_select_loop_pass>,
    select_pass_user_data=0x7fffffff35f0, object_filter_fn=0x0, object_filter_user_data=0x0)
    at /home/zed/prog/blender/source/blender/draw/intern/draw_manager.c:2217
#4  0x0000555558c38c64 in view3d_opengl_select (vc=0x7fffffff3ab0, buffer=0x7fffffff3b20, bufsize=10000, input=0x7fffffff3950,
    select_mode=VIEW3D_SELECT_PICK_NEAREST, select_filter=VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK)
    at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_view.c:1144
#5  0x0000555558c278ac in mixed_bones_object_selectbuffer (vc=0x7fffffff3ab0, buffer=0x7fffffff3b20, mval=0x7fffffffd7c0,
    select_filter=VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK, do_nearest=true) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:1848
#6  0x0000555558c27d5d in mixed_bones_object_selectbuffer_extended (vc=0x7fffffff3ab0, buffer=0x7fffffff3b20, mval=0x7fffffffd7c0,
    select_filter=VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK, use_cycle=true, enumerate=false, r_do_nearest=0x7fffffff3a12)
    at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:1947
#7  0x0000555558c28b14 in ed_object_select_pick (C=0x7fffeb891208, mval=0x7fffffffd7c0, extend=false, deselect=false, toggle=false, obcenter=false,
    enumerate=false, object=false) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:2223
#8  0x0000555558c29cf7 in view3d_select_exec (C=0x7fffeb891208, op=0x7fffd1933ac8)
    at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:2580
#9  0x0000555558c29e07 in view3d_select_invoke (C=0x7fffeb891208, op=0x7fffd1933ac8, event=0x7fffd0add888)
    at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:2610
#10 0x000055555822a529 in wm_operator_invoke (C=0x7fffeb891208, ot=0x7fffe661b528, event=0x7fffd0add888, properties=0x7fffd267ab28, reports=0x0,
    poll_only=false, use_last_properties=true) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:1438
#11 0x000055555822c581 in wm_handler_operator_call (C=0x7fffeb891208, handlers=0x7fffe679ded0, handler_base=0x7fffe5682508, event=0x7fffd0add888,
    properties=0x7fffd267ab28) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2275
#12 0x000055555822ce6f in wm_handlers_do_keymap_with_keymap_handler (C=0x7fffeb891208, event=0x7fffd0add888, handlers=0x7fffe679ded0,
    handler=0x7fffe5682508, keymap=0x7fffd2636b88, do_debug_handler=false)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2555
#13 0x000055555822d4c8 in wm_handlers_do_intern (C=0x7fffeb891208, event=0x7fffd0add888, handlers=0x7fffe679ded0)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2692
#14 0x000055555822e361 in wm_handlers_do (C=0x7fffeb891208, event=0x7fffd0add888, handlers=0x7fffe679ded0)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2945
- 15 0x000055555822f935 in wm_event_do_handlers (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:3397
- 16 0x00005555582227fc in WM_main (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm.c:417
#17 0x0000555557b7bb39 in main (argc=1, argv=0x7fffffffe018) at /home/zed/prog/blender/source/creator/creator.c:500
Here you have the backtrace to the assert: ``` Thread 1 "blender" received signal SIGABRT, Aborted. 0x00007ffff3180f1b in raise () from /lib64/libc.so.6 (gdb) bt - 0 0x00007ffff3180f1b in raise () from /lib64/libc.so.6 - 1 0x00007ffff316a535 in abort () from /lib64/libc.so.6 - 2 0x0000555557f2b7fe in DEG_get_evaluated_scene (graph=0x7fffccb2cf08) at /home/zed/prog/blender/source/blender/depsgraph/intern/depsgraph_query.cc:159 - 3 0x00005555586a958b in DRW_draw_select_loop (depsgraph=0x7fffccb2cf08, ar=0x7fffe679dd88, v3d=0x7fffebbfe708, UNUSED_use_obedit_skip=false, draw_surface=true, UNUSED_use_nearest=true, rect=0x7fffffff35d0, select_pass_fn=0x555558c380e8 <drw_select_loop_pass>, select_pass_user_data=0x7fffffff35f0, object_filter_fn=0x0, object_filter_user_data=0x0) at /home/zed/prog/blender/source/blender/draw/intern/draw_manager.c:2217 #4 0x0000555558c38c64 in view3d_opengl_select (vc=0x7fffffff3ab0, buffer=0x7fffffff3b20, bufsize=10000, input=0x7fffffff3950, select_mode=VIEW3D_SELECT_PICK_NEAREST, select_filter=VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_view.c:1144 #5 0x0000555558c278ac in mixed_bones_object_selectbuffer (vc=0x7fffffff3ab0, buffer=0x7fffffff3b20, mval=0x7fffffffd7c0, select_filter=VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK, do_nearest=true) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:1848 #6 0x0000555558c27d5d in mixed_bones_object_selectbuffer_extended (vc=0x7fffffff3ab0, buffer=0x7fffffff3b20, mval=0x7fffffffd7c0, select_filter=VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK, use_cycle=true, enumerate=false, r_do_nearest=0x7fffffff3a12) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:1947 #7 0x0000555558c28b14 in ed_object_select_pick (C=0x7fffeb891208, mval=0x7fffffffd7c0, extend=false, deselect=false, toggle=false, obcenter=false, enumerate=false, object=false) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:2223 #8 0x0000555558c29cf7 in view3d_select_exec (C=0x7fffeb891208, op=0x7fffd1933ac8) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:2580 #9 0x0000555558c29e07 in view3d_select_invoke (C=0x7fffeb891208, op=0x7fffd1933ac8, event=0x7fffd0add888) at /home/zed/prog/blender/source/blender/editors/space_view3d/view3d_select.c:2610 #10 0x000055555822a529 in wm_operator_invoke (C=0x7fffeb891208, ot=0x7fffe661b528, event=0x7fffd0add888, properties=0x7fffd267ab28, reports=0x0, poll_only=false, use_last_properties=true) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:1438 #11 0x000055555822c581 in wm_handler_operator_call (C=0x7fffeb891208, handlers=0x7fffe679ded0, handler_base=0x7fffe5682508, event=0x7fffd0add888, properties=0x7fffd267ab28) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2275 #12 0x000055555822ce6f in wm_handlers_do_keymap_with_keymap_handler (C=0x7fffeb891208, event=0x7fffd0add888, handlers=0x7fffe679ded0, handler=0x7fffe5682508, keymap=0x7fffd2636b88, do_debug_handler=false) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2555 #13 0x000055555822d4c8 in wm_handlers_do_intern (C=0x7fffeb891208, event=0x7fffd0add888, handlers=0x7fffe679ded0) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2692 #14 0x000055555822e361 in wm_handlers_do (C=0x7fffeb891208, event=0x7fffd0add888, handlers=0x7fffe679ded0) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2945 - 15 0x000055555822f935 in wm_event_do_handlers (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:3397 - 16 0x00005555582227fc in WM_main (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm.c:417 #17 0x0000555557b7bb39 in main (argc=1, argv=0x7fffffffe018) at /home/zed/prog/blender/source/creator/creator.c:500 ```
Sergey commented 4 years ago
Owner

My guess here is that it is due to undo and select operators being handled in the same event loop iteration, so the selection does not receive proper dependency graph even though it is supposed to.

Unfortunately, me and Sebastian couldn't reproduce the crash on my computer yet. Here is a possible fix for the problem: P1050

@ZedDB, can you test it on your computer?

My guess here is that it is due to undo and select operators being handled in the same event loop iteration, so the selection does not receive proper dependency graph even though it is supposed to. Unfortunately, me and Sebastian couldn't reproduce the crash on my computer yet. Here is a possible fix for the problem: [P1050](https://archive.blender.org/developer/P1050.txt) @ZedDB, can you test it on your computer?
ZedDB commented 4 years ago
Collaborator

@Sergey that patch seems to do the trick. I can't get it to crash anymore.

@Sergey that patch seems to do the trick. I can't get it to crash anymore.
Collaborator

This issue was referenced by 3566b81c8b

This issue was referenced by 3566b81c8bfa8c69d542a5de29ecb8d5af3ccb3d
Sergey commented 4 years ago
Owner

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sergey closed this issue 4 years ago
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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
7 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#67454
Loading…
There is no content yet.