Failed assertion in OSL 1.9.9 aborts rendering on Ubuntu/Debian #69075

Closed
opened 2019-08-23 08:36:12 +02:00 by Nicolas Antille · 4 comments

System Information
Operating system: Ubuntu 16 and 18 and also Debian, all tested via Docker
Graphics card: -

Blender Version
Broken: 2.81.3 master e283f0807c60
Worked: There was no such problem on MacOS Mojave

Short description of error
The whole compilation and install process works like a charm. However you cannot enable OSL with Cycles and render. The following error occurs:
Fra:1 Mem:126.54M (0.00M, Peak 128.94M) | Time:00:00.22 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Updating Scene
Fra:1 Mem:126.54M (0.00M, Peak 128.94M) | Time:00:00.22 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Updating Shaders
Couldn't find function osl_raytype_bit
/root/src/blender-deps/OpenShadingLanguage-1.9.9/src/liboslexec/llvm_util.cpp:1240: failed assertion 'func'
Aborted

Exact steps for others to reproduce the error

  1. Compile dependencies with install_deps.sh --with-all
  2. Compile Blender
  3. Start Blender
  4. Set Cycles as render engine
  5. Enable Open Shading Language
  6. Save your scene under osl_test.blend
  7. With the command line, call blender -b osl_test.blend -f 1
    The error above occurs. Note that we haven't yet used any OSL feature.
**System Information** Operating system: Ubuntu 16 and 18 and also Debian, all tested via Docker Graphics card: - **Blender Version** Broken: 2.81.3 master e283f0807c60 Worked: There was no such problem on MacOS Mojave **Short description of error** The whole compilation and install process works like a charm. However you cannot enable OSL with Cycles and render. The following error occurs: Fra:1 Mem:126.54M (0.00M, Peak 128.94M) | Time:00:00.22 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Updating Scene Fra:1 Mem:126.54M (0.00M, Peak 128.94M) | Time:00:00.22 | Mem:0.00M, Peak:0.00M | Scene, RenderLayer | Updating Shaders Couldn't find function osl_raytype_bit /root/src/blender-deps/OpenShadingLanguage-1.9.9/src/liboslexec/llvm_util.cpp:1240: failed assertion 'func' Aborted **Exact steps for others to reproduce the error** 1. Compile dependencies with install_deps.sh --with-all 2. Compile Blender 3. Start Blender 4. Set Cycles as render engine 5. Enable Open Shading Language 6. Save your scene under osl_test.blend 7. With the command line, call blender -b osl_test.blend -f 1 The error above occurs. Note that we haven't yet used any OSL feature.

Added subscriber: @nantille

Added subscriber: @nantille

This issue was referenced by 3d1cb78336

This issue was referenced by 3d1cb783362722d9567289b150aeaf37573f1393

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Brecht Van Lommel self-assigned this 2019-08-23 12:05:23 +02:00

Man that was fast! Thanks!

Man that was fast! Thanks!
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#69075
No description provided.