Page MenuHome

Instant crash when Shift+D duplicating a Collection Instance
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Linux-5.4.45-050445-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.64.00

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-18 16:27, hash: rBd5954ef11c97
Worked: 2.83 Final, 2.90.0 2797a63a6606 from a few days ago also worked

Short description of error
Using Shift+D to duplicate a Collection Instance instantly closes Blender.

Exact steps for others to reproduce the error

  • Create an object (a simple cube will do)
  • Use M to move it into a new Collection
  • Shift+A and add the new Collection Instance
  • Shift+D to duplicate it -> Crash

Event Timeline

Robert Guetzkow (rjg) changed the task status from Needs Triage to Confirmed.Jun 18 2020, 7:37 PM
Robert Guetzkow (rjg) triaged this task as High priority.

obn->data in BKE_object_duplicate is NULL.

BKE_object_duplicate(Main * bmain, Object * ob, const eDupli_ID_Flags dupflag, const eLibIDDuplicateFlags duplicate_options) Line 1809	C
object_add_duplicate_internal(Main * bmain, Scene * scene, ViewLayer * view_layer, Object * ob, const eDupli_ID_Flags dupflag, const eLibIDDuplicateFlags duplicate_options) Line 2814	C
duplicate_exec(bContext * C, wmOperator * op) Line 2895	C
wm_macro_invoke_internal(bContext * C, wmOperator * op, const wmEvent * event, wmOperator * opm) Line 372	C
wm_operator_invoke(bContext * C, wmOperatorType * ot, wmEvent * event, PointerRNA * properties, ReportList * reports, const bool poll_only, bool use_last_properties) Line 1287	C
wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties, const unsigned char * kmi_idname) Line 2116	C
wm_handlers_do_keymap_with_keymap_handler(bContext * C, wmEvent * event, ListBase * handlers, wmEventHandler_Keymap * handler, wmKeyMap * keymap, const bool do_debug_handler) Line 2426	C
wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Line 2727	C
wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 2857	C
wm_event_do_handlers(bContext * C) Line 3360	C
WM_main(bContext * C) Line 478	C
main(int argc, const unsigned char * * UNUSED_argv_c) Line 534	C
Bastien Montagne (mont29) changed the subtype of this task from "Report" to "Bug".