Sky Texture for an OSL/Open Shading Language configured scene crashes Blender #82561
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#82561
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-09 11:54, hash:
0c4d12986a
(Daily build download of 2.92.0 Alpha for 09-N0V-2020)Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-09 12:41, (+0100) hash:
5da05dd627
Broken: First bad version from git bisect, branch: master, commit date: 2020-11-04 11:17 (+0100) hash:
31a620b942
Good: Last good version from git bisect, branch: master, commit date: 2020-11-04 22:16 (+1100) hash:
4a848d01b2
Short description of error
Using a sky texture in the World shader type for an Open Shading Language configured scene crashes Blender.
Exact steps for others to reproduce the error
Blender crashes with s SIGSEGV. See GDB
Alternatively, open this blend file and execute the last step in this procedure.
oslskybug.blend
GDB
Immediate point of failure: ##socket## parameter is not initialized as expected in ##osl.cpp in ccl::OSLCompiler::parameter##.
Breakpoint context: osl.cpp:790 in function ccl::OSLCompiler::parameter
@kevindietrich: could you take a look at this? TIA!
Added subscribers: @kevindietrich, @grosgood
Changed status from 'Needs Triage' to: 'Confirmed'
This issue was referenced by
a284e559b9
Changed status from 'Confirmed' to: 'Resolved'
Committed fix
a284e559b9
, thanks for the report.@kevindietrich
Thank you for the quick response! Much appreciated. No more crashing...
Alas, but there does appear to be a rendering issue: without (left) and with (right) OSL:
When checking off Open Shading Language, rendering is significantly different. Seems there is no sky light in the scene at all. Further, this message appears in the shell:
, ##WARNING: attempting to set nonexistent parameter: sky_type##
Currently at
bd6bfba64d
(Cycles: Enable NanoVDB usage by default).Last Good was
a4a848d01b
(Campbell Barton: Merge branch 'blender-v2.91-release'); scene renders identically with that commit.To keep things tidy, I'll open another ticket on this when the day here quiets down a bit.
Actually the other issue has the same origin as this one, I simply forgot to update the OSL scripts... so there is no need to create another ticket I think, I'll commit a fix in a few minutes.
This issue was referenced by
b980cd163a
OK. Thanks! I'll look for the commit and give it a whirl when it is out the door. Thank you again for your quick work.
Alright, I committed the other part of the fix, everything should be fine now.
@kevindietrich:
Looks good! You get to take the rest of the hour off ;)
Thank you for your quick response through all of this.