OSL: Blender crashes when activating object with OSL material #92503

Closed
opened 2021-10-26 15:45:47 +02:00 by Ilja Razinkov · 10 comments

System Information
Operating system: 'macOS-11.6-x86_64-i386-64bit'
Graphics card: 'AMD Radeon Pro 570X OpenGL Engine'

Blender Version
Broken: 3.0.0 Alpha, branch: master, commit date: 2021-10-25 23:16, hash: 32cc9ff037, type: release
Worked: 2.93

broke between 452c78757f and 3e75f70acd

I have an object with some materials with osl scripts. With latest alpha blender constantly crashes when simply activating it (from crash.txt: osl_get_attribute)
Look at video, corresponding blend and crash log

Screen Recording 2021-10-26 at 16.35.54.mov

OSL_Crash.blend

OSL_Crash.crash.txt

**System Information** Operating system: 'macOS-11.6-x86_64-i386-64bit' Graphics card: 'AMD Radeon Pro 570X OpenGL Engine' **Blender Version** Broken: 3.0.0 Alpha, branch: master, commit date: 2021-10-25 23:16, hash: 32cc9ff03746, type: release Worked: 2.93 broke between 452c78757f and 3e75f70acd I have an object with some materials with osl scripts. With latest alpha blender constantly crashes when simply activating it (from crash.txt: osl_get_attribute) Look at video, corresponding blend and crash log [Screen Recording 2021-10-26 at 16.35.54.mov](https://archive.blender.org/developer/F11523679/Screen_Recording_2021-10-26_at_16.35.54.mov) [OSL_Crash.blend](https://archive.blender.org/developer/F11523697/OSL_Crash.blend) [OSL_Crash.crash.txt](https://archive.blender.org/developer/F11523698/OSL_Crash.crash.txt)
Author

Added subscriber: @IPv6

Added subscriber: @IPv6
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

This issue was referenced by blender/cycles@aef361db8c

This issue was referenced by blender/cycles@aef361db8ce8eec4e761f77843b59fd49813855e

This issue was referenced by 3620ce7f67

This issue was referenced by 3620ce7f67874b8d891a41b66714112bed7a23a2

Added subscriber: @brecht

Added subscriber: @brecht

I committed a workaround, upstream bug report is https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/issues/1427.

I committed a workaround, upstream bug report is https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/issues/1427.

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2021-10-28 18:10:45 +02:00
Author

Sorry to bother, but crash still exists *https:*developer.blender.org/T92645

Sorry to bother, but crash still exists *https:*developer.blender.org/T92645

This issue was referenced by blender/cycles@52ac9533b2

This issue was referenced by blender/cycles@52ac9533b21191d0ecf2d385162e821f73f303fc

This issue was referenced by f24ad274cb

This issue was referenced by f24ad274cb3002f380aa206c07ca564711bba089
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#92503
No description provided.