Page MenuHome

Undo/redo with local collection crashes
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.28

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-17 18:59, hash: rB5472ae6fdff6
Worked: (optional)

Short description of error
change bevel segments makes blender crash in this specific case

Exact steps for others to reproduce the error

Please open the attached file, and bevel the already selected edges, after that change the subdivision to reproduce the crash.
Also take a look at the attached video.

thank you.
Max


Event Timeline

Campbell Barton (campbellbarton) triaged this task as High priority.
Campbell Barton (campbellbarton) changed the subtype of this task from "Report" to "Known Issue".
Campbell Barton (campbellbarton) changed the subtype of this task from "Known Issue" to "Bug".

Note that this happens with many operations (bisect for example) and isn't spesific to bevel.

This is caused by the undo system not taking local collection into account.

Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Jan 20 2020, 12:43 PM
Campbell Barton (campbellbarton) renamed this task from change bevel segments makes blender crash in this specific case to Undo/redo with local collection crashes.Jan 27 2020, 4:44 AM

This seems to be only happening on Blender 2.82 (it does not happen on 2.81)

Stacktrace if you need

# Blender 2.82 (sub 6), Commit date: 2020-01-24 17:48, Hash fc1f5bded46a
bpy.ops.mesh.bevel(offset=61.7216, offset_pct=0, release_confirm=True)  # Operator

# backtrace
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender(BLI_system_backtrace+0x1d) [0x6fb81ad]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender() [0x1657639]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f9cf08eef20]
/lib/x86_64-linux-gnu/libc.so.6(+0x18e5c7) [0x7f9cf0a3e5c7]
/lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x2143) [0x7f9cf090d4d3]
/lib/x86_64-linux-gnu/libc.so.6(vsnprintf+0x90) [0x7f9cf0938910]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender() [0x2027e0b]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender(CLG_logf+0x105) [0x2028225]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender(ED_undo_object_set_active_or_warn+0x7f) [0x1dfbadf]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender() [0x1fa8da8]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender() [0x1f885ed]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender(BKE_undosys_step_undo_with_data_ex+0x88) [0x1f892a8]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender() [0x1dfaa28]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender(ED_undo_operator_repeat+0x165) [0x1dfb855]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender() [0x1e1022d]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender() [0x1e1fff5]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender() [0x1823093]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender() [0x1824e4c]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender(wm_event_do_handlers+0x312) [0x1825522]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender(WM_main+0x20) [0x181b770]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender(main+0x317) [0x159dd27]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f9cf08d1b97]
/home/tautvydas/Downloads/blender-2.82-fc1f5bded46a-linux-glibc217-x86_64/blender() [0x1653eec]

Hmm, well my file was failing for 2.81, so either it’s a separate issue after all, or something else about 2.81 is obfuscating the issue for only the other file.

Well I am using old 2.81 Alpha build (Hash: 7790298f6191, Date: 2019-10-09 11:41) so probably something changed since then