Creating a duplicate cone mesh object and then typing in its coordinates after placement crashes blender
Open, ConfirmedPublic

Description

System Information
Windows 7 GTX 980

Blender Version
Broken: blender 2.80.0 git - a3d9ef2 - msvc14 - windows64 (built: 2017-07-15)

Description: Blender crashes upon creation of a duplicate (or duplicate-linked) cone whose location is manually modified post creation.

Minimal steps to reproduce:

  1. Start with a new scene (delete the starting cube)
  2. Create a cone at the origin (default size)
  3. Click on Duplicate or Duplicate Linked (both have the issue), positioning the new cone just below the original along the Z axis (alignment isn't critical here) and left clicking to place

Comment: Now, in order to fully align the newly created and manually placed cone along the Z axis, we want to change its X and Y coordinates manually to 0.0

  1. With the new duplicate cone still selected, we click on Vector/X in the left panel to manually enter the X coordinate of its position.
  2. Type in the value 0 for the X coordinate.
  3. Upon pressing Enter to confirm the value, Blender crashes.

Details

Type
Bug
Michael Goldshteyn (mikegold10) edited the task description. (Show Details)
Michael Goldshteyn (mikegold10) triaged this task as "Unbreak Now!" priority.
Michael Goldshteyn (mikegold10) changed the title from "Creating a linked cone mesh and then typing in its coordinates after placement crashes blender" to "Creating a duplicate cone mesh object and then typing in its coordinates after placement crashes blender".Sat, Jul 15, 11:07 PM
Aaron Carlisle (Blendify) lowered the priority of this task from "Unbreak Now!" to "Needs Triage".Sat, Jul 15, 11:57 PM
Bastien Montagne (mont29) triaged this task as "Confirmed" priority.

Trying to use a NULL pointer somehow after undo/redo implied by redoing an operator I think?

ASAN:DEADLYSIGNAL
=================================================================
==9192==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x5632f536f393 bp 0x7fff2cb29ba0 sp 0x7fff2cb29b50 T0)
    #0 0x5632f536f392 in IDP_MergeGroup /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/idprop.c:611
    #1 0x5632f51e98a5 in BKE_collection_object_add_from /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/collection.c:265
    #2 0x5632f3f967cb in object_add_duplicate_internal /home/i74700deb64/blender/__work__/src/source/blender/editors/object/object_add.c:2099
    #3 0x5632f3f99a6b in duplicate_exec /home/i74700deb64/blender/__work__/src/source/blender/editors/object/object_add.c:2360
    #4 0x5632f33bbb24 in wm_macro_exec /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_operators.c:250
    #5 0x5632f338b0e1 in wm_operator_exec /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:806
    #6 0x5632f338b579 in WM_operator_repeat /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:884
    #7 0x5632f3910255 in ED_undo_operator_repeat /home/i74700deb64/blender/__work__/src/source/blender/editors/util/undo.c:444
    #8 0x5632f39104ab in ED_undo_operator_repeat_cb_evt /home/i74700deb64/blender/__work__/src/source/blender/editors/util/undo.c:480
    #9 0x5632f3c112df in ui_apply_but_funcs_after /home/i74700deb64/blender/__work__/src/source/blender/editors/interface/interface_handlers.c:817
    #10 0x5632f3c571b3 in ui_handler_region_menu /home/i74700deb64/blender/__work__/src/source/blender/editors/interface/interface_handlers.c:10099
    #11 0x5632f3388fb9 in wm_handler_ui_call /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:480
    #12 0x5632f339275e in wm_handlers_do_intern /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:2106
    #13 0x5632f339351f in wm_handlers_do /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:2255
    #14 0x5632f3394e1b in wm_event_do_handlers /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:2539
    #15 0x5632f3376ff2 in WM_main /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm.c:506
    #16 0x5632f336d52f in main /home/i74700deb64/blender/__work__/src/source/creator/creator.c:526
    #17 0x7feb6245c2b0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
    #18 0x5632f336c889 in _start (/home/i74700deb64/blender/__work__/build_cmake/bin/blender+0x3285889)