[MSVC2015/x86] Crash when rendering with cycles. #50176

Closed
opened 2016-12-03 22:17:25 +01:00 by Ray molenkamp · 13 comments
Member

When rendering with cycles (any scene), blender crashes instantly (in release x86 builds only, debug is fine, x64 is fine)

a nullref in beckmann_table_rows seems to be the culprit, problem goes away if i turn int index_slope_x to volatile (feels like a codegen bug, but lack the time to properly investigate).

Bumped into it while running sanity checks on the lib updates from this week, but can replicate the crash with a daily from the buildbot (used blender-2.78-841f3e4-win32-vc14.zip but really doubt it matters much)

When rendering with cycles (any scene), blender crashes instantly (in release x86 builds only, debug is fine, x64 is fine) a nullref in beckmann_table_rows seems to be the culprit, problem goes away if i turn int index_slope_x to volatile (feels like a codegen bug, but lack the time to properly investigate). Bumped into it while running sanity checks on the lib updates from this week, but can replicate the crash with a daily from the buildbot (used blender-2.78-841f3e4-win32-vc14.zip but really doubt it matters much)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Author
Member

Added subscribers: @Sergey, @MartijnBerger

Added subscribers: @Sergey, @MartijnBerger

Added subscriber: @BFTKO

Added subscriber: @BFTKO

i would just loike the rendering to start not to take me off the software

i would just loike the rendering to start not to take me off the software

is their anyway i could prevent this from happening

is their anyway i could prevent this from happening
Author
Member

Use a different build. Just the experimental 2015 x86 build has this issue.

Use a different build. Just the experimental 2015 x86 build has this issue.

Added subscriber: @mont29

Added subscriber: @mont29
Ray molenkamp was assigned by Bastien Montagne 2016-12-09 10:17:10 +01:00

@LazyDodo assigning to you since you maintain MSVC2015 afaik? Feel free to merge or close if you consider this as known issue for now, though.

Maybe @Sergey will also want to have a lok here (if he is not yet aware of the issue)?

@LazyDodo assigning to you since you maintain MSVC2015 afaik? Feel free to merge or close if you consider this as known issue for now, though. Maybe @Sergey will also want to have a lok here (if he is not yet aware of the issue)?

Interesting. Are you talking about index_slope_x for loop over random number U1 ?

Interesting. Are you talking about `index_slope_x` for `loop over random number U1` ?
Author
Member

https://git.blender.org/gitweb/gitweb.cgi/blender.git/blob/HEAD:/intern/cycles/render/shader.cpp#l75
^^ this guy

I have to admit, i have no idea why this solves the crash, nor have I confirmed the resulting table is identical to 'good' build.

https://git.blender.org/gitweb/gitweb.cgi/blender.git/blob/HEAD:/intern/cycles/render/shader.cpp#l75 ^^ this guy I have to admit, i have no idea why this solves the crash, nor have I confirmed the resulting table is identical to 'good' build.
Author
Member

Update: With this fix and D2367 applied , x86/2015 passes all of our tests tests.

Update: With this fix and [D2367](https://archive.blender.org/developer/D2367) applied , x86/2015 passes all of our tests tests.
Author
Member

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