Crash when hiding collection that contains a disabled collection #68586

Closed
opened 2019-08-12 22:04:51 +02:00 by Mape · 13 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67

Blender Version
Broken: version: 2.81 (sub 1), branch: master, commit date: 2019-08-11 15:10, hash: 0d719fcacb
Worked: (optional)

Short description of error
Blender crashes when hiding a collection that contains another collection that is disabled. This also happens in the latest official release.

Exact steps for others to reproduce the error
Open the default startup file.

  • Select the cube, press M to move it to a new collection. Leave the default name of "Collection 2"

The following steps are all performed inside the outliner

  • Disable Collection 2 by clicking the checkbox
  • Right click and create a new collection. Leave the default name of "Collection 3"
  • Drag Collection 2 into Collection 3
  • Click the eye icon of Collection 3
  • Blender crashes.
**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67 **Blender Version** Broken: version: 2.81 (sub 1), branch: master, commit date: 2019-08-11 15:10, hash: `0d719fcacb` Worked: (optional) **Short description of error** Blender crashes when hiding a collection that contains another collection that is disabled. This also happens in the latest official release. **Exact steps for others to reproduce the error** Open the default startup file. * Select the cube, press M to move it to a new collection. Leave the default name of "Collection 2" The following steps are all performed inside the outliner * Disable Collection 2 by clicking the checkbox * Right click and create a new collection. Leave the default name of "Collection 3" * Drag Collection 2 into Collection 3 * Click the eye icon of Collection 3 * Blender crashes.
Author

Added subscriber: @MaskedApe

Added subscriber: @MaskedApe

Added subscriber: @rocketman

Added subscriber: @rocketman

Confirmed on my end!

Confirmed on my end!
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Confirmed, checking...

Confirmed, checking...
Member

Drag Collection 2 into Collection 3

Note: one of the problems here is that this step already shows wrong behavior: the cube inside the disabled collection gets visible (it shouldnt -- thats a bug that probably leads to crash later when hiding the Collection 3)
If you drag Collection 2 into Collection 3 and only then disable the Collection 2 by clicking the checkbox, the cube will be correctly excluded from the viewlayer (and no crash happens later when hiding the Collection 3)

> Drag Collection 2 into Collection 3 Note: one of the problems here is that this step already shows wrong behavior: the cube inside the disabled collection gets visible (it shouldnt -- thats a bug that probably leads to crash later when hiding the `Collection 3`) If you drag `Collection 2` into `Collection 3` and only then disable the `Collection 2` by clicking the checkbox, the cube will be correctly excluded from the viewlayer (and no crash happens later when hiding the `Collection 3`)
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Philipp Oeser self-assigned this 2019-09-09 14:40:31 +02:00
Member

I cannot reproduce the crash anymore (as of 98d3a16281).
Havent hunted down the commit that fixed this, but...
The issue with the cube inside the disabled collection getting visible is now reported separately in #69644 (Objects in hidden collection become visible when the hidden collection gets parented to a visible collection)

@MaskedApe: feel free to comment again or reopen if issues persist...

I cannot reproduce the crash anymore (as of 98d3a16281). Havent hunted down the commit that fixed this, but... The issue with the cube inside the disabled collection getting visible is now reported separately in #69644 (Objects in hidden collection become visible when the hidden collection gets parented to a visible collection) @MaskedApe: feel free to comment again or reopen if issues persist...
Author

I'm still seeing this crash in the build from September 09, 23:15:36 - 3e81c1c1d5 Windows 64 bit

I'm still seeing this crash in the build from September 09, 23:15:36 - 3e81c1c1d5fd Windows 64 bit
Member

Changed status from 'Resolved' to: 'Open'

Changed status from 'Resolved' to: 'Open'
Philipp Oeser was unassigned by Dalai Felinto 2019-09-12 15:58:52 +02:00

Added subscriber: @dfelinto

Added subscriber: @dfelinto

BLI_assert failed: //source/blender/blenkernel/intern/object_update.c:429, BKE_object_eval_eval_base_flags(), at 'base_index < MEM_allocN_len(view_layer->object_bases_array) / sizeof(Base *)'

Full backtrace: P1097

**BLI_assert failed**: `//source/blender/blenkernel/intern/object_update.c:429, BKE_object_eval_eval_base_flags(), at 'base_index < MEM_allocN_len(view_layer->object_bases_array) / sizeof(Base *)'` **Full backtrace**: [P1097](https://archive.blender.org/developer/P1097.txt)
Dalai Felinto self-assigned this 2019-10-08 01:19:04 +02:00

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Thomas Dinges added this to the 2.81 milestone 2023-02-08 16:48:02 +01: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
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#68586
No description provided.