Crash when adding hook to curve with vertex parenting #69257

Closed
opened 2019-08-28 18:23:54 +02:00 by Alex · 7 comments

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.02

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449

Short description of error
If you add object as hook to curve vertex when it's vertex parented to this object, you get a crash.

Exact steps for others to reproduce the error
Add curve. Add mesh. Select curve, then mesh, vertex parent curve to mesh.
Select mesh, than curve, select vertex of curve and add object as hook.

crash_curve.blend

Безымянный.png

**System Information** Operating system: Windows-10-10.0.17763 64 Bits Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.02 **Blender Version** Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: `f6cb5f5449` **Short description of error** If you add object as hook to curve vertex when it's vertex parented to this object, you get a crash. **Exact steps for others to reproduce the error** Add curve. Add mesh. Select curve, then mesh, vertex parent curve to mesh. Select mesh, than curve, select vertex of curve and add object as hook. [crash_curve.blend](https://archive.blender.org/developer/F7707945/crash_curve.blend) ![Безымянный.png](https://archive.blender.org/developer/F7707958/Безымянный.png)
Author

Added subscriber: @Fluffyrescent

Added subscriber: @Fluffyrescent

Added subscriber: @AbidMaqbool

Added subscriber: @AbidMaqbool

In Blender 2.80 stable can confirm bug/error
Same Proposed Steps:

  • Add Curve Object (e.g. Bezier Curve)
  • Add Mesh Object (e.g. Cube)
  • Select Mesh then Curve (important step) (I think @Fluffyrescent forget this step)
  • Ctrl + P Parent -> Vertex
  • Enter Edit Mode & Select a vertex of Curve
  • Apply Ctrl + H Hooks -> Hook to Selected Object
    Crash Blender

Further Checking...

In Blender 2.80 stable **can confirm bug/error** Same **Proposed** Steps: * Add **Curve** Object (e.g. Bezier Curve) * Add **Mesh** Object (e.g. Cube) * Select **Mesh** then **Curve** (important step) (I think @Fluffyrescent forget this step) * **Ctrl + P** `Parent` -> **Vertex** * Enter **Edit Mode** & Select **a vertex** of `Curve` * Apply **Ctrl + H** `Hooks` -> **Hook to Selected Object** **Crash Blender** **Further Checking...**

Hum! Blender 2.81 (sub 3) 2019-08-28 03:44 f88022b96f seems fine for me!
I think, It's already resolved in latest blender version
@Fluffyrescent You can confirm in latest daily build! https://builder.blender.org/download/

Hum! Blender **2.81 (sub 3)** `2019-08-28 03:44` f88022b96f seems **fine for me**! I think, It's **already resolved** in latest blender version @Fluffyrescent You can confirm in latest daily build! https://builder.blender.org/download/
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Philipp Oeser self-assigned this 2019-08-30 13:07:57 +02:00
Member

It's a weird setup (in that it results in a dependency cycle):

Dependency cycle detected:
  OBBezierCurve/Geometry Component/GEOMETRY_EVAL() depends on
  OBCube/Transform Component/TRANSFORM_FINAL() via 'Hook Modifier'
  OBCube/Transform Component/TRANSFORM_SIMULATION_INIT() via 'Simulation -> Final Transform'
  OBCube/Transform Component/TRANSFORM_EVAL() via 'Transform Eval -> Simulation Init'
  OBCube/Transform Component/TRANSFORM_PARENT() via 'Eval'
  OBCube/Transform Component/TRANSFORM_LOCAL() via 'ObLocal -> ObParent'
  OBCube/Transform Component/TRANSFORM_INIT() via 'Transform Init'
  OBBezierCurve/Geometry Component/GEOMETRY_EVAL() via 'Vertex Parent'
Detected 1 dependency cycles

But can confirm the crash is resolved in master (assume this was fixed by blender/blender-staging@3566b81c8b, not sure though)

Anyways, lets close this, @Fluffyrescent: feel free to comment again / reopen if issues persist...

It's a weird setup (in that it results in a dependency cycle): ``` Dependency cycle detected: OBBezierCurve/Geometry Component/GEOMETRY_EVAL() depends on OBCube/Transform Component/TRANSFORM_FINAL() via 'Hook Modifier' OBCube/Transform Component/TRANSFORM_SIMULATION_INIT() via 'Simulation -> Final Transform' OBCube/Transform Component/TRANSFORM_EVAL() via 'Transform Eval -> Simulation Init' OBCube/Transform Component/TRANSFORM_PARENT() via 'Eval' OBCube/Transform Component/TRANSFORM_LOCAL() via 'ObLocal -> ObParent' OBCube/Transform Component/TRANSFORM_INIT() via 'Transform Init' OBBezierCurve/Geometry Component/GEOMETRY_EVAL() via 'Vertex Parent' Detected 1 dependency cycles ``` But can confirm the crash is resolved in master (assume this was fixed by blender/blender-staging@3566b81c8b, not sure though) Anyways, lets close this, @Fluffyrescent: feel free to comment again / reopen if issues persist...
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#69257
No description provided.