Modifying bone's 'Custom Object' reference shape causes blender to crash #66707

Closed
opened 2019-07-11 13:53:08 +02:00 by Ash Curkpatrick · 21 comments

System Information
Operating system: macOS 10.14.5
Graphics card: Radeon Pro Vega 48 8 GB

Blender Version
Broken: 2.80 Beta macOS 64bit bb7b741d2f1c

Stable
141.42MB

Short description of error

Editing the custom shapes for a bone whilst actively being referenced will crash blender and close the application. Removing the custom bone shape and editing the reference shape before re-referencing it again will work.

Exact steps for others to reproduce the error
・Create a bone
・Create an object to reference as a custom shape
・Add the object on the bone as a 'Custom Object' for the bone shape
・Select the custom object
・Go in to Edit Mode for the object
・Select the vertices
・Move the vertices
・The application will crash

**System Information** Operating system: macOS 10.14.5 Graphics card: Radeon Pro Vega 48 8 GB **Blender Version** Broken: 2.80 Beta macOS 64bit bb7b741d2f1c Stable 141.42MB **Short description of error** Editing the custom shapes for a bone whilst actively being referenced will crash blender and close the application. Removing the custom bone shape and editing the reference shape before re-referencing it again will work. **Exact steps for others to reproduce the error** ・Create a bone ・Create an object to reference as a custom shape ・Add the object on the bone as a 'Custom Object' for the bone shape ・Select the custom object ・Go in to Edit Mode for the object ・Select the vertices ・Move the vertices ・The application will crash

Added subscriber: @curkas

Added subscriber: @curkas

#66932 was marked as duplicate of this issue

#66932 was marked as duplicate of this issue

#66721 was marked as duplicate of this issue

#66721 was marked as duplicate of this issue

Added subscribers: @WilliamReynish, @Sergey, @ZedDB

Added subscribers: @WilliamReynish, @Sergey, @ZedDB

I can see the bone flickering when editing the object, but no crashes and ASAN doesn't complain about anything either.

@Sergey @WilliamReynish can you reproduce this on a mac?

I can see the bone flickering when editing the object, but no crashes and ASAN doesn't complain about anything either. @Sergey @WilliamReynish can you reproduce this on a mac?

Yes indeed I can reproduce this crash.

Yes indeed I can reproduce this crash.

Can someone upload .blend file?

Can someone upload .blend file?
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

Hello @curkas

I am not able to reproduce. Could you provide an example file to make sure I execute the steps in exactly the same way as you describe it.

Thanks.

Hello @curkas I am not able to reproduce. Could you provide an example file to make sure I execute the steps in exactly the same way as you describe it. Thanks.

This is the example I came up with (note that I couldn't get it to crash):
untitled.blend

This is the example I came up with (note that I couldn't get it to crash): [untitled.blend](https://archive.blender.org/developer/F7592364/untitled.blend)

Here's the crash log I get, when I move those verts in Edit mode:

untitled-2.crash.txt

macOS Mojave 10.14.5

Here's the crash log I get, when I move those verts in Edit mode: [untitled-2.crash.txt](https://archive.blender.org/developer/F7592376/untitled-2.crash.txt) macOS Mojave 10.14.5

Added subscriber: @fclem

Added subscriber: @fclem

@WilliamReynish, do you have crash with the file from Sebastian?

Can reproduce the flickering on my mac. Maybe it's same source of crash.

@fclem, the backtrace shows drawing code is involved. Do you have any ideas?

@WilliamReynish, do you have crash with the file from Sebastian? Can reproduce the flickering on my mac. Maybe it's same source of crash. @fclem, the backtrace shows drawing code is involved. Do you have any ideas?

@Sergey yes that file crashes if I enter edit mode on the mesh object and begin to move the verts. I have no flickering, only a crash here.

@Sergey yes that file crashes if I enter edit mode on the mesh object and begin to move the verts. I have no flickering, only a crash here.

@Jeroen-Bakker I can't get it to always happen in a new file (though it does occur), but it will invariably occur in this file particular file here

Host02.blend

You can see the result here in this screen recording.

Screen Recording 2019-07-12 at 11.10.10.mp4

@Jeroen-Bakker I can't get it to always happen in a new file (though it does occur), but it will invariably occur in this file particular file here [Host02.blend](https://archive.blender.org/developer/F7597990/Host02.blend) You can see the result here in this screen recording. [Screen Recording 2019-07-12 at 11.10.10.mp4](https://archive.blender.org/developer/F7598097/Screen_Recording_2019-07-12_at_11.10.10.mp4)

Added subscribers: @linosia, @GavinScott

Added subscribers: @linosia, @GavinScott

@fclem, i can not see anything obviously wrong in the dependency graph logs. My speculation here is that editing vertex causes draw batch to be invalidated, and armature somehow uses old draw batch, which gets re-created by the mesh object. At lest that's my understanding why flickering happens and why backtrace goes to the draw code.

@fclem, i can not see anything obviously wrong in the dependency graph logs. My speculation here is that editing vertex causes draw batch to be invalidated, and armature somehow uses old draw batch, which gets re-created by the mesh object. At lest that's my understanding why flickering happens and why backtrace goes to the draw code.
Clément Foucault self-assigned this 2019-07-15 15:46:40 +02:00

I can reproduce the flickering and this is exactly what @Sergey was suggesting.

I can reproduce the flickering and this is exactly what @Sergey was suggesting.

Added subscriber: @Zophiekat

Added subscriber: @Zophiekat

This issue was referenced by 4404a0dcd4

This issue was referenced by 4404a0dcd4c593d199786d01a092105267243235

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
7 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#66707
No description provided.