Part of a shader seem to crash blender (open file, copy/paste, link or attach) #68689

Closed
opened 2019-08-15 13:07:12 +02:00 by Simeon Conzendorf · 10 comments

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 980/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.36

Blender Version
Broken: version: 2.81 (sub 2), branch: soc-2019-openxr, commit date: 2019-08-14 20:59, hash: 9e7c48575a
Worked: (optional)

Short description of error
Shader (group) crashes blender when open file or copy/paste from stable 2.8

Exact steps for others to reproduce the error
I can't open the attached blend file in the current version (see above). It's also not possible to copy/paste the object or link/attach. It opens fine in stable 2.8. The bug seems to be in the material, there is a shader group (Cuivre_oxide_obj) - if you delete it, the problem is solved. But not the bug ;)

suitcase.zip

**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: GeForce GTX 980/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.36 **Blender Version** Broken: version: 2.81 (sub 2), branch: soc-2019-openxr, commit date: 2019-08-14 20:59, hash: `9e7c48575a` Worked: (optional) **Short description of error** Shader (group) crashes blender when open file or copy/paste from stable 2.8 **Exact steps for others to reproduce the error** I can't open the attached blend file in the current version (see above). It's also not possible to copy/paste the object or link/attach. It opens fine in stable 2.8. The bug seems to be in the material, there is a shader group (Cuivre_oxide_obj) - if you delete it, the problem is solved. But not the bug ;) [suitcase.zip](https://archive.blender.org/developer/F7665688/suitcase.zip)

Added subscriber: @SimeonConzendorf

Added subscriber: @SimeonConzendorf

Added subscriber: @sebastian_k

Added subscriber: @sebastian_k

I can confirm this with master as well.
It's the material called "Steel" in this file.
To make Blender crash you just need to try to append the material "Steel" from the suitcase blendfile.

I can confirm this with master as well. It's the material called "Steel" in this file. To make Blender crash you just need to try to append the material "Steel" from the suitcase blendfile.
Member

Added subscribers: @fclem, @lichtwerk

Added subscribers: @fclem, @lichtwerk
Clément Foucault was assigned by Philipp Oeser 2019-08-15 16:37:53 +02:00
Member

Can confirm, seems to enter infinite loop in do_versions_material_convert_legacy_blend_mode from 13d469e6f0, @fclem: mind checking? d5002f007e was still good...

Can confirm, seems to enter infinite loop in `do_versions_material_convert_legacy_blend_mode` from 13d469e6f0, @fclem: mind checking? d5002f007e8d was still good...

Added subscribers: @ZedDB, @mont29

Added subscribers: @ZedDB, @mont29

Ah, we had the same report today at the studio (looks like the guys did not yet make their reports though...)

@ZedDB had started handling it here.

Ah, we had the same report today at the studio (looks like the guys did not yet make their reports though...) @ZedDB had started handling it here.

I've done the fix already! commiting!

I've done the fix already! commiting!

This issue was referenced by b5fe838d44

This issue was referenced by b5fe838d44089abef761cb4723aa2d795299c68f

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