Object with drivers and hooks crashes blender when switching to rendered view #63446

Closed
opened 2019-04-10 04:54:48 +02:00 by Armando Tello · 8 comments

System Information
Operating system: Windows 10 Pro
Graphics card: Nvidia 2x1080GTX

Blender Version
Broken: 2.80, 009dbc2bc9, 2019-04-10
Worked: 2.80, d2d84132dd, 2019-04-07

Short description of error
There are two issues going on, both that can't be replicated with a new scene and a cube. I'm not sure what's going on. Both issues are happening within the same file, but I isolated each issue with the least amount of objects in its own blend file because there were hundreds of objects and drivers, so it would be even harder to pinpoint the problem.

Second issue (wall.blend)
When switching to rendered view in the viewport, blender crashes. The console shows a memory error before closing itself.
Error: EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF741AC7203
Module: C:\B28\blender.exe{F6925444}

This issue is not present in older versions of 2.8 (2019-04-07).

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

  • open wall.blend file
  • switch to rendered view

wall.blend

**System Information** Operating system: Windows 10 Pro Graphics card: Nvidia 2x1080GTX **Blender Version** Broken: 2.80, 009dbc2bc9fb, 2019-04-10 Worked: 2.80, d2d84132ddf9, 2019-04-07 **Short description of error** There are two issues going on, both that can't be replicated with a new scene and a cube. I'm not sure what's going on. Both issues are happening within the same file, but I isolated each issue with the least amount of objects in its own blend file because there were hundreds of objects and drivers, so it would be even harder to pinpoint the problem. Second issue (wall.blend) When switching to rendered view in the viewport, blender crashes. The console shows a memory error before closing itself. Error: EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF741AC7203 Module: C:\B28\blender.exe{[F6925444](https://archive.blender.org/developer/F6925444/wall.blend)} This issue is not present in older versions of 2.8 (2019-04-07). **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). - open wall.blend file - switch to rendered view [wall.blend](https://archive.blender.org/developer/F6925469/wall.blend)
Author

Added subscriber: @ArmandoTello

Added subscriber: @ArmandoTello
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Seems I cannot reproduce here [no crash]
I am getting the same missing libs/external files as stated in #63445.

In addition, in this file I get:

[SCScene :: RenderLayer]: BKE_animsys_eval_driver on OBmeshWall (0x7f97f065a608) fcu ["openingWidth"]- [x] (0x7f97f4e18f88)
ERROR (bke.anim_sys): /blender/source/blender/blenkernel/intern/anim_sys.c:3795 BKE_animsys_eval_driver: invalid driver - ["openingWidth"][0]
[SCScene :: RenderLayer]: BKE_animsys_eval_driver on OBmeshWindowPanesBorder (0x7f97e8fe0008) fcu hide_render- [x] (0x7f97f1697a88)
[SCScene :: RenderLayer]: BKE_animsys_eval_driver on OBmeshWall (0x7f97f065a608) fcu ["openingLeft"]- [x] (0x7f97f4e18008)
ERROR (bke.anim_sys): /blender/blenkernel/intern/anim_sys.c:3795 BKE_animsys_eval_driver: invalid driver - ["openingLeft"][0]

Here, openingLeft and openingWidth custom properties seem to be missing on the meshWall object? If I add these by hand the driver errors go away...

So I suggest to try a couple of things to proceed with this report:

  • could you try "fixing" the two erroring drivers like I did (and see if this will prevent the crash)?
  • if that doesnt work: could you try removing the drivers on visibility (and see if this will prevent the crash)?
  • if that also doesnt crash: could you reupload the .blend with everything packed [just so we are all on the same page and can investigate further...]
Seems I cannot reproduce here [no crash] I am getting the same missing libs/external files as stated in #63445. In addition, in this file I get: > [SCScene :: RenderLayer]: BKE_animsys_eval_driver on OBmeshWall (0x7f97f065a608) fcu ["openingWidth"]- [x] (0x7f97f4e18f88) > ERROR (bke.anim_sys): /blender/source/blender/blenkernel/intern/anim_sys.c:3795 BKE_animsys_eval_driver: invalid driver - ["openingWidth"][0] > [SCScene :: RenderLayer]: BKE_animsys_eval_driver on OBmeshWindowPanesBorder (0x7f97e8fe0008) fcu hide_render- [x] (0x7f97f1697a88) > [SCScene :: RenderLayer]: BKE_animsys_eval_driver on OBmeshWall (0x7f97f065a608) fcu ["openingLeft"]- [x] (0x7f97f4e18008) > ERROR (bke.anim_sys): /blender/blenkernel/intern/anim_sys.c:3795 BKE_animsys_eval_driver: invalid driver - ["openingLeft"][0] Here, `openingLeft` and `openingWidth` custom properties seem to be missing on the `meshWall` object? If I add these by hand the driver errors go away... So I suggest to try a couple of things to proceed with this report: - could you try "fixing" the two erroring drivers like I did (and see if this will prevent the crash)? - if that doesnt work: could you try removing the drivers on visibility (and see if this will prevent the crash)? - if that also doesnt crash: could you reupload the .blend with everything packed [just so we are all on the same page and can investigate further...]
Author

Sorry about all the missing files. Here's the (hopefully) fixed file with no materials.

When I added the missing custom properties, something else came up. When I add the custom properties, they are added with drivers already attached to them. No idea what that is all about - maybe it's just me being stupid. Anyway... I made a video of it that hopefully shows the problem a bit clearer. I'm attaching two files this time.
bug_wall_fixedCustomProperty.blend : file with the custom properties that were missing, already added (btw... these custom properties weren't being used, that's why I got rid of them)
bug_wall_addCustomProperty.blend file without the custom properties added. You can add them yourself to reproduce the issue described in the video.

Here's the link to the video
https://youtu.be/HdpJdfNNIHs

bug_wall_fixedCustomProperty.blend
bug_wall_addCustomProperty.blend

Sorry about all the missing files. Here's the (hopefully) fixed file with no materials. When I added the missing custom properties, something else came up. When I add the custom properties, they are added with drivers already attached to them. No idea what that is all about - maybe it's just me being stupid. Anyway... I made a video of it that hopefully shows the problem a bit clearer. I'm attaching two files this time. bug_wall_fixedCustomProperty.blend : file with the custom properties that were missing, already added (btw... these custom properties weren't being used, that's why I got rid of them) bug_wall_addCustomProperty.blend file without the custom properties added. You can add them yourself to reproduce the issue described in the video. Here's the link to the video https://youtu.be/HdpJdfNNIHs [bug_wall_fixedCustomProperty.blend](https://archive.blender.org/developer/F6931511/bug_wall_fixedCustomProperty.blend) [bug_wall_addCustomProperty.blend](https://archive.blender.org/developer/F6931513/bug_wall_addCustomProperty.blend)

Added subscriber: @ZedDB

Added subscriber: @ZedDB

As with the other report, I can't seem to reproduce this either. Is this also still an issue with the latest blender beta?

As with the other report, I can't seem to reproduce this either. Is this also still an issue with the latest blender beta?
Author

I downloaded last night's build and it seems the problem is gone now... go figure.

I downloaded last night's build and it seems the problem is gone now... go figure.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sebastian Parborg self-assigned this 2019-04-25 18:31:03 +02:00
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#63446
No description provided.