Regression: Crash after moving NLA action strips #98795

Closed
opened 2022-06-11 16:57:07 +02:00 by Georg K · 8 comments

System Information
Operating system: Linux-5.17.9-1-MANJARO-x86_64-with-glibc2.35 64 Bits
Graphics card: AMD VERDE (LLVM 13.0.1, DRM 2.50, 5.17.9-1-MANJARO) AMD 4.5 (Core Profile) Mesa 22.0.4

Blender Version
Broken: version: 3.2.0, 3.3.0 Alpha, branch: master, commit date: 2022-06-08 11:15, hash: 7a751327fa
Worked: 2.91.2, 2.93.0, 3.1.2
Caused by 63cf0d0890

Short description of error
If you try to move NLA strips, Blender crashes, no matter if they are linked or local.
My initial assumption was that the crash requires them to be linked, but that was false. So while I attached both files, "... destination" isn't strictly required for the crash, but if you try it there, it also crashes.

Exact steps for others to reproduce the error
[only in case of "CRASH NLA - Source.blend": push the action down, duplicate it at least two times on the same NLA track, distance does not matter]

  • Open CRASH NLA - destination.blend
  • select all three action strips,
  • Move them with mouse drag or {key G} key
  • Blender crashes.

CRASH NLA - Source.blend
CRASH NLA - destination.blend

Blender 3.2.0, Commit date: 2022-06-08 10:22, Hash e05e1e369187
bpy.ops.action.push_down()  # Operator
bpy.ops.nla.duplicate(linked=False, mode='TRANSLATION')  # Operator
bpy.ops.transform.transform(mode='TRANSLATION', value=(20.5877, -105.42, 0, 0), orient_axis='Z', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', mirror=False, use_proportional_edit=Fa>
bpy.ops.nla.duplicate(linked=False, mode='TRANSLATION')  # Operator
bpy.ops.transform.transform(mode='TRANSLATION', value=(31.6585, -54.216, 0, 0), orient_axis='Z', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', mirror=False, use_proportional_edit=Fa>
bpy.ops.transform.transform(mode='TRANSLATION', value=(-11.0708, 5.02, 0, 0), orient_axis='Z', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', mirror=False, use_proportional_edit=Fals>
bpy.ops.nla.select_box(tweak=True, xmin=46, xmax=476, ymin=79, ymax=191, mode='SET')  # Operator

backtrace
./blender(BLI_system_backtrace+0x20) [0xc1491e0]
./blender() [0x11d8e2a]
/usr/lib/libc.so.6(+0x3e8e0) [0x7ff8ed08f8e0]
./blender() [0x12760bf]
./blender() [0x12760f2]
./blender(BKE_nla_tracks_copy_from_adt+0x53) [0x12767c3]
./blender(BKE_animdata_copy+0x57) [0x158c467]
./blender(BKE_libblock_copy_ex+0x1b3) [0x1243883]
./blender(BKE_id_copy_ex+0x73) [0x1243903]
./blender(_ZN7blender3deg34deg_update_copy_on_write_datablockEPKNS0_9DepsgraphEPKNS0_6IDNodeE+0x179) [0x1913399]
./blender() [0x1912382]
./blender() [0x1912552]
./blender() [0xc14cf5d]
./blender() [0x1795125]
./blender() [0x17953db]
./blender(BLI_task_pool_work_and_wait+0xaa) [0xc14cd6a]
./blender(_ZN7blender3deg23deg_evaluate_on_refreshEPNS0_9DepsgraphE+0x1c2) [0x19128e2]
./blender() [0x12ee344]
./blender(wm_event_do_depsgraph+0xab) [0x179faab]
./blender(wm_event_do_refresh_wm_and_depsgraph+0x87) [0x179fbe7]
./blender(wm_event_do_notifiers+0x3f0) [0x17a71a0]
./blender(WM_main+0x28) [0x179aa38]
./blender(main+0x322) [0x10d47e2]
/usr/lib/libc.so.6(+0x29290) [0x7ff8ed07a290]
/usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7ff8ed07a34a]
./blender() [0x11d570c]

Python backtrace
**System Information** Operating system: Linux-5.17.9-1-MANJARO-x86_64-with-glibc2.35 64 Bits Graphics card: AMD VERDE (LLVM 13.0.1, DRM 2.50, 5.17.9-1-MANJARO) AMD 4.5 (Core Profile) Mesa 22.0.4 **Blender Version** Broken: version: 3.2.0, 3.3.0 Alpha, branch: master, commit date: 2022-06-08 11:15, hash: `7a751327fa` Worked: 2.91.2, 2.93.0, 3.1.2 Caused by 63cf0d0890 **Short description of error** If you try to move NLA strips, Blender crashes, no matter if they are linked or local. My initial assumption was that the crash requires them to be linked, but that was false. So while I attached both files, "... destination" isn't strictly required for the crash, but if you try it there, it also crashes. **Exact steps for others to reproduce the error** [only in case of "CRASH NLA - Source.blend": push the action down, duplicate it at least two times on the same NLA track, distance does not matter] - Open `CRASH NLA - destination.blend` - select all three action strips, - Move them with mouse drag or {key G} key - Blender crashes. [CRASH NLA - Source.blend](https://archive.blender.org/developer/F13145905/CRASH_NLA_-_Source.blend) [CRASH NLA - destination.blend](https://archive.blender.org/developer/F13145906/CRASH_NLA_-_destination.blend) ```lines=10 Blender 3.2.0, Commit date: 2022-06-08 10:22, Hash e05e1e369187 bpy.ops.action.push_down() # Operator bpy.ops.nla.duplicate(linked=False, mode='TRANSLATION') # Operator bpy.ops.transform.transform(mode='TRANSLATION', value=(20.5877, -105.42, 0, 0), orient_axis='Z', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', mirror=False, use_proportional_edit=Fa> bpy.ops.nla.duplicate(linked=False, mode='TRANSLATION') # Operator bpy.ops.transform.transform(mode='TRANSLATION', value=(31.6585, -54.216, 0, 0), orient_axis='Z', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', mirror=False, use_proportional_edit=Fa> bpy.ops.transform.transform(mode='TRANSLATION', value=(-11.0708, 5.02, 0, 0), orient_axis='Z', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', mirror=False, use_proportional_edit=Fals> bpy.ops.nla.select_box(tweak=True, xmin=46, xmax=476, ymin=79, ymax=191, mode='SET') # Operator backtrace ./blender(BLI_system_backtrace+0x20) [0xc1491e0] ./blender() [0x11d8e2a] /usr/lib/libc.so.6(+0x3e8e0) [0x7ff8ed08f8e0] ./blender() [0x12760bf] ./blender() [0x12760f2] ./blender(BKE_nla_tracks_copy_from_adt+0x53) [0x12767c3] ./blender(BKE_animdata_copy+0x57) [0x158c467] ./blender(BKE_libblock_copy_ex+0x1b3) [0x1243883] ./blender(BKE_id_copy_ex+0x73) [0x1243903] ./blender(_ZN7blender3deg34deg_update_copy_on_write_datablockEPKNS0_9DepsgraphEPKNS0_6IDNodeE+0x179) [0x1913399] ./blender() [0x1912382] ./blender() [0x1912552] ./blender() [0xc14cf5d] ./blender() [0x1795125] ./blender() [0x17953db] ./blender(BLI_task_pool_work_and_wait+0xaa) [0xc14cd6a] ./blender(_ZN7blender3deg23deg_evaluate_on_refreshEPNS0_9DepsgraphE+0x1c2) [0x19128e2] ./blender() [0x12ee344] ./blender(wm_event_do_depsgraph+0xab) [0x179faab] ./blender(wm_event_do_refresh_wm_and_depsgraph+0x87) [0x179fbe7] ./blender(wm_event_do_notifiers+0x3f0) [0x17a71a0] ./blender(WM_main+0x28) [0x179aa38] ./blender(main+0x322) [0x10d47e2] /usr/lib/libc.so.6(+0x29290) [0x7ff8ed07a290] /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7ff8ed07a34a] ./blender() [0x11d570c] Python backtrace ```
Author

Added subscriber: @georgK

Added subscriber: @georgK
Member

Added subscribers: @dr.sybren, @PratikPB2123

Added subscribers: @dr.sybren, @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Hi, thanks for the report. I can confirm the crash.
Root cause of this and #98700 could be same (Crash occurs on the same line): https://developer.blender.org/diffusion/B/browse/master/source/blender/blenkernel/intern/nla.c$263
cc @dr.sybren

Hi, thanks for the report. I can confirm the crash. Root cause of this and #98700 could be same (Crash occurs on the same line): https://developer.blender.org/diffusion/B/browse/master/source/blender/blenkernel/intern/nla.c$263 cc @dr.sybren
Pratik Borhade changed title from Crash moving 2 NLA action strips on the same track to Regression: Crash after moving NLA action strips 2022-06-11 18:50:44 +02:00

Added subscriber: @KevinCurry_Unity

Added subscriber: @KevinCurry_Unity
Sybren A. Stüvel self-assigned this 2022-06-14 13:11:19 +02:00

This is the same issue as #98700 (Regression: Crash when recursively nesting NLA meta strips); when moving NLA strips the transform system turns them into a meta-strip, which then turns this issue into that one.

This is the same issue as #98700 (Regression: Crash when recursively nesting NLA meta strips); when moving NLA strips the transform system turns them into a meta-strip, which then turns this issue into that one.

Closed as duplicate of #98700

Closed as duplicate of #98700

Added subscriber: @AdamJanz

Added subscriber: @AdamJanz
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#98795
No description provided.