Page MenuHome

2.90 full crash with not output error after duplicating an object several times
Closed, ResolvedPublicBUG


System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-03 18:45, hash: rBb94ab93dfb82
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender crashes after doing several copies of an object, I suspect it's related to undo, and not sure it is limited to duplication or instancing

Exact steps for others to reproduce the error
Follow the video, but the steps are these:

1.- Open Blender 2.90 alpha
2.- Start duplicating the default cube or whatever object
3.- After 30 copies or so Blender will crash to desktop with no obvious error as can be seen in the video.

Event Timeline

Hans Goudey (HooglyBoogly) changed the task status from Needs Triage to Confirmed.EditedJun 4 2020, 10:22 PM
Hans Goudey (HooglyBoogly) changed the subtype of this task from "Report" to "Bug".

The number of objects seems to correlate to the number of undo steps, but not directly. With undo steps set to 2 it crashed on the 8th object for me.

I don't see the crash with "Global Undo" turned off.!raise (Unknown Source:0)!abort (Unknown Source:0)
MemorY_ErroR(const char * block, const char * error) (/home/hans/Documents/Blender-Git/blender/intern/guardedalloc/intern/mallocn_guarded_impl.c:999)
MEM_guarded_freeN(void * vmemh) (/home/hans/Documents/Blender-Git/blender/intern/guardedalloc/intern/mallocn_guarded_impl.c:874)
BLO_memfile_free(MemFile * memfile) (/home/hans/Documents/Blender-Git/blender/source/blender/blenloader/intern/undofile.c:64)
BLO_memfile_merge(MemFile * first, MemFile * second) (/home/hans/Documents/Blender-Git/blender/source/blender/blenloader/intern/undofile.c:94)
memfile_undosys_step_free(UndoStep * us_p) (/home/hans/Documents/Blender-Git/blender/source/blender/editors/undo/memfile_undo.c:264)
undosys_step_free_and_unlink(UndoStack * ustack, UndoStep * us) (/home/hans/Documents/Blender-Git/blender/source/blender/blenkernel/intern/undo_system.c:224)
undosys_stack_clear_all_first(UndoStack * ustack, UndoStep * us, UndoStep * us_exclude) (/home/hans/Documents/Blender-Git/blender/source/blender/blenkernel/intern/undo_system.c:332)
BKE_undosys_stack_limit_steps_and_memory(UndoStack * ustack, int steps, size_t memory_limit) (/home/hans/Documents/Blender-Git/blender/source/blender/blenkernel/intern/undo_system.c:447)
ED_undo_push(bContext * C, const char * str) (/home/hans/Documents/Blender-Git/blender/source/blender/editors/undo/ed_undo.c:104)
ED_undo_push_op(bContext * C, wmOperator * op) (/home/hans/Documents/Blender-Git/blender/source/blender/editors/undo/ed_undo.c:301)
wm_operator_finished(bContext * C, wmOperator * op, const _Bool repeat, const _Bool store) (/home/hans/Documents/Blender-Git/blender/source/blender/windowmanager/intern/wm_event_system.c:925)
wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties, const char * kmi_idname) (/home/hans/Documents/Blender-Git/blender/source/blender/windowmanager/intern/wm_event_system.c:2049)
wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) (/home/hans/Documents/Blender-Git/blender/source/blender/windowmanager/intern/wm_event_system.c:2806)
wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) (/home/hans/Documents/Blender-Git/blender/source/blender/windowmanager/intern/wm_event_system.c:2854)
wm_event_do_handlers(bContext * C) (/home/hans/Documents/Blender-Git/blender/source/blender/windowmanager/intern/wm_event_system.c:3283)
WM_main(bContext * C) (/home/hans/Documents/Blender-Git/blender/source/blender/windowmanager/intern/wm.c:475)
main(int argc, const char ** argv) (/home/hans/Documents/Blender-Git/blender/source/creator/creator.c:528)
Germano Cavalcante (mano-wii) triaged this task as High priority.Jun 4 2020, 10:26 PM

I experienced this as well, and it is not isolated to only duplication. For example, I deleted the default cube then selected objects from the outliner repeatedly until Blender crashed.

I'm also running into this often when selecting the same object multiple times in a simple scene.

I can reproduce on linux.

Nobody did it. So, I attach crash.txt file.

Bastien Montagne (mont29) raised the priority of this task from High to Unbreak Now!.

This also looks fairly similar to what @Julien Kaspar (JulienKaspar) was reporting yesterday in the studio chat...