Crash when applying Scale of Object with vertex parent #63790

Closed
opened 2019-04-22 02:08:27 +02:00 by Johannes L · 8 comments

System Information
Operating system: Windows-10-10.0.16299 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 391.35

Blender Version
Broken: version: 2.80 (sub 57), branch: blender2.7, commit date: 2019-04-17 19:26, hash: b46245470f
Worked: (optional)

Short description of error
When applying the scale of an object which is parented to a Bezier Curve via vertex parent Blender crashes.

Exact steps for others to reproduce the error
Add a Bezier Curve Object to the Scene
Add a Cube to the Scene
Select the Cube then select the Bezier Curve Object
Enter edit mode and select one vertex of the Bezier Curve
Press Ctrl+P and "Make Vertex Parent"
Leave Edit Mode and only select the Cube
Press Ctrl+A and apply scale

**System Information** Operating system: Windows-10-10.0.16299 64 Bits Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 391.35 **Blender Version** Broken: version: 2.80 (sub 57), branch: blender2.7, commit date: 2019-04-17 19:26, hash: `b46245470f` Worked: (optional) **Short description of error** When applying the scale of an object which is parented to a Bezier Curve via vertex parent Blender crashes. **Exact steps for others to reproduce the error** Add a Bezier Curve Object to the Scene Add a Cube to the Scene Select the Cube then select the Bezier Curve Object Enter edit mode and select one vertex of the Bezier Curve Press Ctrl+P and "Make Vertex Parent" Leave Edit Mode and only select the Cube Press Ctrl+A and apply scale
Author

Added subscriber: @JohannesLubke

Added subscriber: @JohannesLubke
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Confirmed, checking...

Confirmed, checking...
Sergey Sharybin was assigned by Philipp Oeser 2019-04-23 10:50:53 +02:00
Member

Added subscriber: @Sergey

Added subscriber: @Sergey
Member

Asserts here:

BLI_assert failed: /blender/source/blender/blenkernel/intern/object.c:2386, give_parvert(), at 'par->runtime.curve_cache != ((void *)0)'

/* Unless there's some weird depsgraph failure the cache should exist. */

1   raise                                                   0x7ffff466853f 
2   abort                                                   0x7ffff465295e 
3   give_parvert                 object.c             2386  0x1d9c54c      
4   BKE_object_get_parent_matrix object.c             2478  0x1d9c9be      
5   solve_parenting              object.c             2505  0x1d9ca9d      
6   object_where_is_calc_ex      object.c             2539  0x1d9cbd1      
7   BKE_object_where_is_calc     object.c             2598  0x1d9ce5a      
8   apply_objects_internal       object_transform.c   782   0x2be5421      
9   object_transform_apply_exec  object_transform.c   853   0x2be5731      
10  wm_operator_invoke           wm_event_system.c    1421  0x22ecf86      
11  wm_operator_call_internal    wm_event_system.c    1623  0x22ed62e  

Hm, one for @Sergey?

Asserts here: `BLI_assert failed: /blender/source/blender/blenkernel/intern/object.c:2386, give_parvert(), at 'par->runtime.curve_cache != ((void *)0)'` /* Unless there's some weird depsgraph failure the cache should exist. */ ``` 1 raise 0x7ffff466853f 2 abort 0x7ffff465295e 3 give_parvert object.c 2386 0x1d9c54c 4 BKE_object_get_parent_matrix object.c 2478 0x1d9c9be 5 solve_parenting object.c 2505 0x1d9ca9d 6 object_where_is_calc_ex object.c 2539 0x1d9cbd1 7 BKE_object_where_is_calc object.c 2598 0x1d9ce5a 8 apply_objects_internal object_transform.c 782 0x2be5421 9 object_transform_apply_exec object_transform.c 853 0x2be5731 10 wm_operator_invoke wm_event_system.c 1421 0x22ecf86 11 wm_operator_call_internal wm_event_system.c 1623 0x22ed62e ``` Hm, one for @Sergey?

This issue was referenced by 26d4a2a516

This issue was referenced by 26d4a2a5169472369829905a960786390bc09c0e

Patch proposed in D4976 fixes this issue as well.

P.S. Attaching demo file. Always helps a lot: even if the steps reproducing seems simple, having 1 step instead of 7 :)
#63790.blend

Patch proposed in [D4976](https://archive.blender.org/developer/D4976) fixes this issue as well. P.S. Attaching demo file. Always helps a lot: even if the steps reproducing seems simple, having 1 step instead of 7 :) [#63790.blend](https://archive.blender.org/developer/F7078274/T63790.blend)

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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
4 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#63790
No description provided.