Page MenuHome

Shift Ctrl Alt LMB / Ctrl Alt LMB in an empty scene closes / crashes Blender
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.16299 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 416.81

Blender Version
Broken: version: 2.80 (sub 71), branch: blender2.7, commit date: 2019-05-22 21:50, hash: rBa1ad71304c2d
Broken also in latest build: 2.80 (sub 72), branch: blender2.7, commit date: 2019-05-23 20:37, hash: rBb3f96da2e605
Worked: 2.80 (sub 71), branch: blender2.7, commit date: 2019-05-20 22:03, hash: rBe78770039397

Short description of error
Shift Ctrl Alt LMB / Ctrl Alt LMB in an empty scene closes / crashes Blender.
In the default keymap these two combinations are both Select (under 3D View).
However, they do not work like the normal select. For meshes, cameras and lights I have to click exactly on the origin point. Clicking anywhere else doesn't select anything.
If I select and delete everything and try any of these combinations in the scene, Blender crashes.

Exact steps for others to reproduce the error

  1. Open Blender
  2. Load factory defaults
  3. Select all (A) and delete
  4. Shift Ctrl Alt LMB / Ctrl Alt LMB anywhere in the scene

Event Timeline

ctx_link was 0xFFFFFFFFFFFFFFDF

>	blender.exe!object_mouse_select_menu(bContext * C, ViewContext * vc, unsigned int * buffer, int hits, const int * mval, bool toggle) Line 1487	C
 	blender.exe!ed_object_select_pick(bContext * C, const int * mval, bool extend, bool deselect, bool toggle, bool obcenter, bool enumerate, bool object) Line 1951	C
 	blender.exe!view3d_select_exec(bContext * C, wmOperator * op) Line 2356	C
 	blender.exe!view3d_select_invoke(bContext * C, wmOperator * op, const wmEvent * event) Line 2387	C
 	blender.exe!wm_operator_invoke(bContext * C, wmOperatorType * ot, wmEvent * event, PointerRNA * properties, ReportList * reports, const bool poll_only, bool use_last_properties) Line 1407	C
 	blender.exe!wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties) Line 2243	C
 	blender.exe!wm_handlers_do_keymap_with_keymap_handler(bContext * C, wmEvent * event, ListBase * handlers, wmEventHandler_Keymap * handler, wmKeyMap * keymap, const bool do_debug_handler) Line 2523	C
 	blender.exe!wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Line 2652	C
 	blender.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 2825	C
 	blender.exe!wm_event_do_handlers(bContext * C) Line 3267	C
 	blender.exe!WM_main(bContext * C) Line 420	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 502	C
 	[External Code]
#define CTX_DATA_BEGIN(C, Type, instance, member) \
  { \
    ListBase ctx_data_list; \
    CollectionPointerLink *ctx_link; \
    CTX_data_##member(C, &ctx_data_list); \     <-----ctx_data_list = {first=0xcccccccccccccccc last=0xcccccccccccccccc }
    for (ctx_link = ctx_data_list.first; ctx_link; ctx_link = ctx_link->next) { \
      Type instance = ctx_link->ptr.data;
Philipp Oeser (lichtwerk) triaged this task as Waiting for Developer to Reproduce priority.

However, they do not work like the normal select. For meshes, cameras and lights I have to click exactly on the origin point. Clicking anywhere else doesn't select anything.

Thats the normal behavior for Shift Ctrl Alt LMB / Ctrl Alt LMB, you select using centers in this mode.

If I select and delete everything and try any of these combinations in the scene, Blender crashes.

Cannot reproduce here.

Philipp Oeser (lichtwerk) raised the priority of this task from Waiting for Developer to Reproduce to Needs Triage by Developer.May 24 2019, 10:59 AM

Hm interesting, doesnt happen here...

Cannot reproduce with linux intel gpu.

Reliably crashes with win10 amg gpu. Checked with 911116e1ba5d5cb63e74c32ba257bc665831c853, also broken 2019 05 22 rB85322737.

it works fine with 2019 05 09 rB6ef48b13186c.

Jacques Lucke (JacquesLucke) triaged this task as Confirmed, High priority.

Can reproduce.

Operating system: Linux-4.18.0-20-generic-x86_64-with-Ubuntu-18.04-bionic 64 Bits
Graphics card: Quadro RTX 6000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.14

ED_view3d_project_base(const struct ARegion * ar, struct Base * base) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_project.c:104)
object_mouse_select_menu(bContext * C, ViewContext * vc, uint * buffer, int hits, const int * mval, _Bool toggle) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_select.c:1502)
ed_object_select_pick(bContext * C, const int * mval, _Bool extend, _Bool deselect, _Bool toggle, _Bool obcenter, _Bool enumerate, _Bool object) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_select.c:1951)
view3d_select_exec(bContext * C, wmOperator * op) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_select.c:2356)
view3d_select_invoke(bContext * C, wmOperator * op, const wmEvent * event) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_select.c:2386)
wm_operator_invoke(bContext * C, wmOperatorType * ot, wmEvent * event, PointerRNA * properties, ReportList * reports, const _Bool poll_only, _Bool use_last_properties) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:1407)
wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2243)
wm_handlers_do_keymap_with_keymap_handler(bContext * C, wmEvent * event, ListBase * handlers, wmEventHandler_Keymap * handler, wmKeyMap * keymap, const _Bool do_debug_handler) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2523)
wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2652)
wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2910)
wm_event_do_handlers(bContext * C) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:3267)
WM_main(bContext * C) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm.c:417)
main(int argc, const char ** argv) (/home/jacques/blender-git/blender/source/creator/creator.c:500)

Introduced on rB0910932e71d2 it seems. Looking at it.