Page MenuHome

2.8 crash on drag and drop collections
Closed, ResolvedPublic

Description

System Information
Operating system and graphics card
Ubuntu 16.04.3 LTS 64bit
Geforce GTX 1060

Blender Version
Broken: 2.80 Alpha - 19a55b5a007

Short description of error
crash when moving around collections and main Scene Collection elements (which are not in a (sub)collection)

Exact steps for others to reproduce the error
error can be reproduced about 50% chance on my end, this is the minimal steps i was able to reproduce

  1. open blender
  2. add a mesh (Shift+A -> plane)
  3. move default collection under this newly added item (drag it and move around)

and i have a crash report too:
http://pastebin.com/RyGXw58h

Details

Type
Bug

Event Timeline

Bastien Montagne (mont29) claimed this task.
Bastien Montagne (mont29) triaged this task as Confirmed, Medium priority.

Confirmed, checking…

@Brecht Van Lommel (brecht) You cannot store tree elem pointer into OutlinerDragDropTooltip, outliner rebuilds its tree all the time… Tried instead basic copying of the tree elem into data->te (making that one a value and not a pointer), seems to fix the crash, but am still having asserts like:
BLI_assert failed: /home/i74700deb64/blender/__work__/src/source/blender/editors/space_outliner/outliner_ops.c:216, outliner_item_drag_drop_apply(), at '!dragged_te->reinsert_poll || dragged_te->reinsert_poll(dragged_te, &insert_handle, &insert_type)'
So think this needs a bit more investigation. Iirc, you have been working on that part of collections project too, right?

Yes, it's on my ToDo list to tackle this. I want to replace the custom collection drag and drop code with the generic one, now that it's a datablock.