Crash with a rotation on z of a camera (follow path and track to) #56008

Closed
opened 2018-07-17 10:20:06 +02:00 by Damien Monteillard · 8 comments

System Information
Arch Linux 18.04 - Nvidia Geforce Titan Z

Blender Version
Broken: blender-2.80-dc3b3d94538
Worked: blender-2.79b-f4dc9f9d68b

Short description of error
Blender crash when i want to rotate on z axe the camera.
It will be nice to have this z normal rotation possible. Or have a nice horizontal orientation of the camera

Exact steps for others to reproduce the error
I have made :
A simple follow path of a Camera and a BezierCurve and a Track to constraint of the camera to an Empty

Best,
Damien

**System Information** Arch Linux 18.04 - Nvidia Geforce Titan Z **Blender Version** Broken: blender-2.80-dc3b3d94538 Worked: blender-2.79b-f4dc9f9d68b **Short description of error** Blender crash when i want to rotate on z axe the camera. It will be nice to have this z normal rotation possible. Or have a nice horizontal orientation of the camera **Exact steps for others to reproduce the error** I have made : A simple follow path of a Camera and a BezierCurve and a Track to constraint of the camera to an Empty - Open [follow_path_crash.blend](https://archive.blender.org/developer/F3976808/follow_path_crash.blend) - Rotate on z (blue one) with Normal orientation gizmo Best, Damien

Added subscriber: @lastrodamo

Added subscriber: @lastrodamo

Added subscribers: @Sergey, @mont29

Added subscribers: @Sergey, @mont29
Sergey Sharybin was assigned by Bastien Montagne 2018-07-17 12:12:20 +02:00

@Sergey par->curve_cache is NULL, there is some ifdef’ed code above that handles that case, comments says this should not happen anymore… Since it seems related to depsgraph, I’ll assign to you for now. :)

@Sergey `par->curve_cache` is NULL, there is some ifdef’ed code above that handles that case, comments says this should not happen anymore… Since it seems related to depsgraph, I’ll assign to you for now. :)

eeeh, par->curve_cache in object.c’s ob_parcurve() function, here is the whole crash backtrace:

==14927==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000030 (pc 0x56268f5dfdec bp 0x7ffc23360410 sp 0x7ffc233601d0 T0)
==14927==The signal is caused by a READ memory access.
==14927==Hint: address points to the zero page.
    - 0 0x56268f5dfdeb in ob_parcurve /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/object.c:1729
    - 1 0x56268f5e1fc5 in BKE_object_get_parent_matrix /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/object.c:2018
    - 2 0x56268f5e2360 in solve_parenting /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/object.c:2066
    - 3 0x56268f5e2844 in BKE_object_where_is_calc_time_ex /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/object.c:2123
    - 4 0x56268f5e2eab in BKE_object_where_is_calc /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/object.c:2188
    - 5 0x56268d4fd388 in ObjectToTransData /home/i74700deb64/blender/__work__/src/source/blender/editors/transform/transform_conversions.c:5669
    - 6 0x56268d50699e in createTransObject /home/i74700deb64/blender/__work__/src/source/blender/editors/transform/transform_conversions.c:6854
    - 7 0x56268d51652e in createTransData /home/i74700deb64/blender/__work__/src/source/blender/editors/transform/transform_conversions.c:8636
    - 8 0x56268d444698 in initTransform /home/i74700deb64/blender/__work__/src/source/blender/editors/transform/transform.c:2259
    - 9 0x56268d548011 in transformops_data /home/i74700deb64/blender/__work__/src/source/blender/editors/transform/transform_ops.c:367
    - 10 0x56268d54875c in transform_invoke /home/i74700deb64/blender/__work__/src/source/blender/editors/transform/transform_ops.c:481
    - 11 0x56268d0007a5 in wm_operator_invoke /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:1321
    - 12 0x56268d004beb in wm_handler_operator_call /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:2040
    - 13 0x56268d0065f4 in wm_handlers_do_intern /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:2325
    - 14 0x56268d007eca in wm_handlers_do /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:2573
    - 15 0x56268d00b05f in wm_event_do_handlers /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:3027
    - 16 0x56268cff07f4 in WM_main /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm.c:471
    - 17 0x56268cfe5f38 in main /home/i74700deb64/blender/__work__/src/source/creator/creator.c:521
    - 18 0x7fb1d11b9a86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21a86)
    - 19 0x56268cfe52f9 in _start (/home/i74700deb64/blender/__work__/build_blender28_debug/bin/blender+0x32ac2f9)
eeeh, `par->curve_cache` in object.c’s `ob_parcurve()` function, here is the whole crash backtrace: ``` ==14927==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000030 (pc 0x56268f5dfdec bp 0x7ffc23360410 sp 0x7ffc233601d0 T0) ==14927==The signal is caused by a READ memory access. ==14927==Hint: address points to the zero page. - 0 0x56268f5dfdeb in ob_parcurve /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/object.c:1729 - 1 0x56268f5e1fc5 in BKE_object_get_parent_matrix /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/object.c:2018 - 2 0x56268f5e2360 in solve_parenting /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/object.c:2066 - 3 0x56268f5e2844 in BKE_object_where_is_calc_time_ex /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/object.c:2123 - 4 0x56268f5e2eab in BKE_object_where_is_calc /home/i74700deb64/blender/__work__/src/source/blender/blenkernel/intern/object.c:2188 - 5 0x56268d4fd388 in ObjectToTransData /home/i74700deb64/blender/__work__/src/source/blender/editors/transform/transform_conversions.c:5669 - 6 0x56268d50699e in createTransObject /home/i74700deb64/blender/__work__/src/source/blender/editors/transform/transform_conversions.c:6854 - 7 0x56268d51652e in createTransData /home/i74700deb64/blender/__work__/src/source/blender/editors/transform/transform_conversions.c:8636 - 8 0x56268d444698 in initTransform /home/i74700deb64/blender/__work__/src/source/blender/editors/transform/transform.c:2259 - 9 0x56268d548011 in transformops_data /home/i74700deb64/blender/__work__/src/source/blender/editors/transform/transform_ops.c:367 - 10 0x56268d54875c in transform_invoke /home/i74700deb64/blender/__work__/src/source/blender/editors/transform/transform_ops.c:481 - 11 0x56268d0007a5 in wm_operator_invoke /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:1321 - 12 0x56268d004beb in wm_handler_operator_call /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:2040 - 13 0x56268d0065f4 in wm_handlers_do_intern /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:2325 - 14 0x56268d007eca in wm_handlers_do /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:2573 - 15 0x56268d00b05f in wm_event_do_handlers /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:3027 - 16 0x56268cff07f4 in WM_main /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm.c:471 - 17 0x56268cfe5f38 in main /home/i74700deb64/blender/__work__/src/source/creator/creator.c:521 - 18 0x7fb1d11b9a86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21a86) - 19 0x56268cfe52f9 in _start (/home/i74700deb64/blender/__work__/build_blender28_debug/bin/blender+0x32ac2f9) ```

I have change Damped Track by a Track to and i have a nice horizontal rotation of the camera.
The Track to block the rotations this is right. But there is a crash again if i move this normal x,y,z rotation gizmo.
On the Track to constraint, Is it possible to release the z axe rotation ?

I have change Damped Track by a Track to and i have a nice horizontal rotation of the camera. The Track to block the rotations this is right. But there is a crash again if i move this normal x,y,z rotation gizmo. On the Track to constraint, Is it possible to release the z axe rotation ?

Note: most certainly same issue as #55770…

Note: most certainly same issue as #55770…

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Can no longer reproduce the issue. Considering it solved by all the recent changes.
If the issue is still happening make a new report with updates file and steps to reproduce the issue.

For until then considering this solved and closing. Thanks for the report.

Can no longer reproduce the issue. Considering it solved by all the recent changes. If the issue is still happening make a new report with updates file and steps to reproduce the issue. For until then considering this solved and closing. Thanks for the report.
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
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#56008
No description provided.