Environment maps cause a hard crash with OSL enabled #40971
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#40971
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
Windows 8.1 Pro
Blender Version
Broken: 2.71 final, 2.71 RCs
Worked: unknown
Assigning World an Environment Texture results in a hard crash at render time (no crash log, no debug information in the console).
Exact steps for others to reproduce the error
Tested and confirmed to occur with EXRs and JPGs.
Not tested with TIFFs.
Test scene: OSL_crash.blend
Changed status to: 'Open'
Added subscriber: @orcinus
#41123 was marked as duplicate of this issue
#40972 was marked as duplicate of this issue
The test EXR texture is packed in the file.
Just tested this in Blender 2.70a for Mac OS X and it works fine there.
Will test on 2.71 for Mac OS as well as 2.70 for Windows.
Added subscriber: @mont29
Can confirm crash with current master on linux64 as well :/
Does not crash on 2.71 Mac OS.
Does not crash on 2.70a Windows x64.
CRASHES on 2.70a Windows x64 VC2013 preview.
Added subscribers: @MartijnBerger, @ThomasDinges, @Sergey
The crahs of current master and packed image has been fixed. However, it's a crash on a new code which was added after 2.71 release in order to support packed images render.
Original report about crash crash of 2.71 i can not reproduce neither on linux nor on windows7. Could be something really platform-dependent like #40884.
@ThomasDinges, @MartijnBerger, are you able to reproduce crash?
@orcinus, are you able to reproduce the crahs NOT using packed images with latest builds from builder.blender.org?
◀ Merged tasks: #40972.
@Sergey The crash occurs with or without packed images. In fact, i can just leave an empty Image Texture node (without a texture loaded) connected to a shader and it will still crash.
Downloading buildbot version(s) now, will report when i test.
Just FYI, i have a strong hunch this is an interaction between Windows 8(.1) and VC2013.
If true, that might mean @mont29's linux reproduction is something else.
blender-2.71-4299b00-win64 - CRASHES
blender-2.71-81c3fc9-win64-vc9 - DOES NOT crash
By the way, note that #40884 reproduction wasn't really undertaken correctly.
The original bug was reported on Windows 8.1 (hint hint), while the OP's resolution was:
but on my main Blender station, a Windows 7 64-bit desktop with a GTX 580 GPU, the same Blender version under the same conditions does not crash
So, once again... Strong hunch this has to do with VC2013 under Windows 8(.1).
In case this helps, here are the Event Viewer crash dumps:
WER file: Report.wer
I've committed some fixed at
5e216a6
. Please grab a build which includes this commit and give it a test.Unsure how to check which build contains commits up to what, but if blender-2.71-5e3e095-win64 contains it, the problem is still there.
This build contains the fix i was referring to. Can not reproducethe crash atm tho.
@ThomasDinges, @MartijnBerger, mind having it a try?
I cannot reproduce the crash on a virtual machine where AVX is turned of even with 2.71 release.
I am thinking llvm as the real culprit
I'll merge #41123 in here since root of the issues are likely goes to the same thing.
Added subscribers: @joel.godin, @lichtwerk, @sambler
◀ Merged tasks: #41123.
Please test whether latest builds from builder.blender.org. We've upgraded both LLVM and OSL, this might have solved the issue.
Works fine now on OSX 10.9 for both this blend file and one from #41123.
Thanks.
Changed status from 'Open' to: 'Resolved'
Will assume the issue fixed now for everyone. @orcinus lemme know if it still happens for you.
@joel.godin Mac OS never exhibited the bug.
@Sergey Will retest in a few weeks (stuck on an island without access to my Windows desktop) and report back if it's still broken.
@orcinus Yes, it did if you read the bug I reported at #41123 which was merged with this one. :)
Ah, gotcha, sorry :)
Didn't experience that one.
Issue has not been fixed.
Tested with blender-2.71-526ae63-win64, same scene as posted in the original report, still crashes when you hit render or switch viewport shading to rendered.
(on Windows 8.1, as in the original report)
@orcinus, so far we can not reproduce the issue. Did you try reproducing the issue on another computer?
Yes i did.
i7 laptop (Asus Taichi) running Windows 8 (not .1) x64.
Exact same behaviour.
Have you tried reproducing it on Windows 8 (NOT 7)?