Crash running Discontinuity (Euler) filter on "baked" curves #95400

Closed
opened 2022-02-01 16:30:46 +01:00 by Demeter Dzadik · 12 comments
Member

System Information
Operating system: Linux-5.15.11-76051511-generic-x86_64-with-glibc2.34 64 Bits
Graphics card: NVIDIA GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.86

Blender Version
Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-02-01 13:59, hash: 32b33e91eb
Worked: Unknown

Short description of error
Through some unintentional button clicks, @PabloFournier has found a repeatable crash.

Thread 1 "blender" received signal SIGSEGV, Segmentation fault.
euler_filter_multi_channel (euf=0x7fffa134fcc8, reports=0x7fff8f24e638) at /media/data/blender_guest/blender_master/source/blender/editors/space_graph/graph_edit.c:1829
1829	      fcu_rot_x->bezt[0].vec[1][1],
#0  euler_filter_multi_channel (euf=0x7fffa134fcc8, reports=0x7fff8f24e638)
    at /media/data/blender_guest/blender_master/source/blender/editors/space_graph/graph_edit.c:1829
#1  0x000000000596fb74 in euler_filter_perform_filter
    (eulers=0x7fffffffd7e0, reports=0x7fff8f24e638, r_curves_filtered=0x7fffffffd7c4, r_curves_seen=0x7fffffffd7c8)
    at /media/data/blender_guest/blender_master/source/blender/editors/space_graph/graph_edit.c:1920
#2  0x000000000596fd95 in graphkeys_euler_filter_exec
    (C=0x7ffff49345c8, op=0x7fffc0a47fc8)
    at /media/data/blender_guest/blender_master/source/blender/editors/space_graph/graph_edit.c:1976
#3  0x00000000044121be in wm_operator_invoke
    (C=0x7ffff49345c8, ot=0x7ffff4fa3a08, event=0x7fffceba5808, properties=0x7fffffffdc90, reports=0x0, poll_only=false, use_last_properties=true)
    at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:1351
#4  0x0000000004412820 in wm_operator_call_internal
    (C=0x7ffff49345c8, ot=0x7ffff4fa3a08, properties=0x7fffffffdc90, reports=0x0, context=WM_OP_INVOKE_REGION_WIN, poll_only=false, event=0x7fffceba5808)
    at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:1546
--Type <RET> for more, q to quit, c to continue without paging--c
- 5  0x0000000004412a21 in WM_operator_name_call_ptr (C=0x7ffff49345c8, ot=0x7ffff4fa3a08, context=WM_OP_INVOKE_REGION_WIN, properties=0x7fffffffdc90) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:1593
- 6  0x000000000441303b in WM_operator_name_call_ptr_with_depends_on_cursor (C=0x7ffff49345c8, ot=0x7ffff4fa3a08, opcontext=WM_OP_INVOKE_REGION_WIN, properties=0x7fffffffdc90, drawstr=0x7fffffffddf0 "Discontinuity (Euler) Filter") at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:1781
- 7  0x00000000057d779f in ui_apply_but_funcs_after (C=0x7ffff49345c8) at /media/data/blender_guest/blender_master/source/blender/editors/interface/interface_handlers.c:1024
- 8  0x00000000057f4f78 in ui_handler_region_menu (C=0x7ffff49345c8, event=0x7fff8c210208, UNUSED_userdata=0x7fffc01bfd08) at /media/data/blender_guest/blender_master/source/blender/editors/interface/interface_handlers.c:11399
- 9  0x000000000441054f in wm_handler_ui_call (C=0x7ffff49345c8, handler=0x7fffb1de01e8, event=0x7fff8c210208, always_pass=0) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:714
- 10 0x0000000004416b37 in wm_handlers_do_intern (C=0x7ffff49345c8, win=0x7fffb805ce88, event=0x7fff8c210208, handlers=0x7fffb805cf98) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:3041
- 11 0x00000000044171ae in wm_handlers_do (C=0x7ffff49345c8, event=0x7fff8c210208, handlers=0x7fffb805cf98) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:3161
- 12 0x0000000004418a82 in wm_event_do_handlers (C=0x7ffff49345c8) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:3691
- 13 0x0000000004409baa in WM_main (C=0x7ffff49345c8) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm.c:639
- 14 0x0000000003c4a5b2 in main (argc=1, argv=0x7fffffffe4d8) at /media/data/blender_guest/blender_master/source/creator/creator.c:560

Exact steps for others to reproduce the error

**System Information** Operating system: Linux-5.15.11-76051511-generic-x86_64-with-glibc2.34 64 Bits Graphics card: NVIDIA GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.86 **Blender Version** Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-02-01 13:59, hash: `32b33e91eb` Worked: Unknown **Short description of error** Through some unintentional button clicks, @PabloFournier has found a repeatable crash. ``` Thread 1 "blender" received signal SIGSEGV, Segmentation fault. euler_filter_multi_channel (euf=0x7fffa134fcc8, reports=0x7fff8f24e638) at /media/data/blender_guest/blender_master/source/blender/editors/space_graph/graph_edit.c:1829 1829 fcu_rot_x->bezt[0].vec[1][1], #0 euler_filter_multi_channel (euf=0x7fffa134fcc8, reports=0x7fff8f24e638) at /media/data/blender_guest/blender_master/source/blender/editors/space_graph/graph_edit.c:1829 #1 0x000000000596fb74 in euler_filter_perform_filter (eulers=0x7fffffffd7e0, reports=0x7fff8f24e638, r_curves_filtered=0x7fffffffd7c4, r_curves_seen=0x7fffffffd7c8) at /media/data/blender_guest/blender_master/source/blender/editors/space_graph/graph_edit.c:1920 #2 0x000000000596fd95 in graphkeys_euler_filter_exec (C=0x7ffff49345c8, op=0x7fffc0a47fc8) at /media/data/blender_guest/blender_master/source/blender/editors/space_graph/graph_edit.c:1976 #3 0x00000000044121be in wm_operator_invoke (C=0x7ffff49345c8, ot=0x7ffff4fa3a08, event=0x7fffceba5808, properties=0x7fffffffdc90, reports=0x0, poll_only=false, use_last_properties=true) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:1351 #4 0x0000000004412820 in wm_operator_call_internal (C=0x7ffff49345c8, ot=0x7ffff4fa3a08, properties=0x7fffffffdc90, reports=0x0, context=WM_OP_INVOKE_REGION_WIN, poll_only=false, event=0x7fffceba5808) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:1546 --Type <RET> for more, q to quit, c to continue without paging--c - 5 0x0000000004412a21 in WM_operator_name_call_ptr (C=0x7ffff49345c8, ot=0x7ffff4fa3a08, context=WM_OP_INVOKE_REGION_WIN, properties=0x7fffffffdc90) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:1593 - 6 0x000000000441303b in WM_operator_name_call_ptr_with_depends_on_cursor (C=0x7ffff49345c8, ot=0x7ffff4fa3a08, opcontext=WM_OP_INVOKE_REGION_WIN, properties=0x7fffffffdc90, drawstr=0x7fffffffddf0 "Discontinuity (Euler) Filter") at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:1781 - 7 0x00000000057d779f in ui_apply_but_funcs_after (C=0x7ffff49345c8) at /media/data/blender_guest/blender_master/source/blender/editors/interface/interface_handlers.c:1024 - 8 0x00000000057f4f78 in ui_handler_region_menu (C=0x7ffff49345c8, event=0x7fff8c210208, UNUSED_userdata=0x7fffc01bfd08) at /media/data/blender_guest/blender_master/source/blender/editors/interface/interface_handlers.c:11399 - 9 0x000000000441054f in wm_handler_ui_call (C=0x7ffff49345c8, handler=0x7fffb1de01e8, event=0x7fff8c210208, always_pass=0) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:714 - 10 0x0000000004416b37 in wm_handlers_do_intern (C=0x7ffff49345c8, win=0x7fffb805ce88, event=0x7fff8c210208, handlers=0x7fffb805cf98) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:3041 - 11 0x00000000044171ae in wm_handlers_do (C=0x7ffff49345c8, event=0x7fff8c210208, handlers=0x7fffb805cf98) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:3161 - 12 0x0000000004418a82 in wm_event_do_handlers (C=0x7ffff49345c8) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm_event_system.c:3691 - 13 0x0000000004409baa in WM_main (C=0x7ffff49345c8) at /media/data/blender_guest/blender_master/source/blender/windowmanager/intern/wm.c:639 - 14 0x0000000003c4a5b2 in main (argc=1, argv=0x7fffffffe4d8) at /media/data/blender_guest/blender_master/source/creator/creator.c:560 ``` **Exact steps for others to reproduce the error** - Open attached file - Select only one of the F-curves and run {nav Key > Bake Curve}. - Select all F-curves and run {nav Key > Discontinuity (Euler) Filter}. Running it should crash. [discontinuity_filter_on_baked_curve_crash_2.blend](https://archive.blender.org/developer/F12998753/discontinuity_filter_on_baked_curve_crash_2.blend)
Author
Member

Added subscribers: @PabloFournier, @Mets

Added subscribers: @PabloFournier, @Mets

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Can't reproduce this here, because Key -> Discontinuity (Euler) Filter button is disabled after previous step. Can you clarify these steps perhaps?

Can't reproduce this here, because Key -> Discontinuity (Euler) Filter button is disabled after previous step. Can you clarify these steps perhaps?
Author
Member

It seems that time heals bugs, because I can't repro this anymore either... What the heck x_X
I'll ask @PabloFournier when he's around...

It seems that time heals bugs, because I can't repro this anymore either... What the heck x_X I'll ask @PabloFournier when he's around...
Author
Member

I got it (with help from Pablo of course <3)! I missed a step in the reproduction steps. I updated the task description accordingly.

I got it (with help from Pablo of course <3)! I missed a step in the reproduction steps. I updated the task description accordingly.

Sorry, I am not sure if I can follow Unhide and select another curve (while holding Shift, so the baked curves are still selected)

All curves are selected in provided file and none are hidden. Perhaps, can you make video recording?

Sorry, I am not sure if I can follow `Unhide and select another curve (while holding Shift, so the baked curves are still selected)` All curves are selected in provided file and none are hidden. Perhaps, can you make video recording?

@Mets Poking if you can clarify this

@Mets Poking if you can clarify this

Added subscriber: @mano-wii

Added subscriber: @mano-wii

The steps are confusing as it says "Unhide and select another curve" although there's no hidden curve.
Also when running the Discontinuity (Euler) Filter operator the message: "No Euler Rotation F-Curves to fix up" is raised.
So is the attached file the correct one?

However I edited the attached file and managed to replicate the same crash call stack.
I will edit the description.

The steps are confusing as it says `"Unhide and select another curve"` although there's no hidden curve. Also when running the `Discontinuity (Euler) Filter` operator the message: `"No Euler Rotation F-Curves to fix up"` is raised. So is the attached file the correct one? However I edited the attached file and managed to replicate the same crash call stack. I will edit the description.

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Author
Member

Apologies, it seems I missed a few notifications! Thank you guys for clearing things up, sorry you had to do it without my help :x

Apologies, it seems I missed a few notifications! Thank you guys for clearing things up, sorry you had to do it without my help :x
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:35:12 +01:00
Christoph Lendenfeld self-assigned this 2023-02-17 10:35:18 +01:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-02-17 11:06:11 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
3 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#95400
No description provided.