Blender crash with cycles rendered viewport shading when changing settings of material with external jpg texture #50850

Closed
opened 2017-03-04 10:47:11 +01:00 by Roman Kiselevich · 18 comments

System Information
Windows 10x64 Home Ru Version 1607 Build 14393.639 + latest autoupdates
NVIDIA GeForce GTX 970 with 378.66 NVIDIA drivers (latest)
system-info.txt

Blender Version
Broken:
Nightly 2.78 6b9d73e x64
2.78c e92f235283 x64, x32
2.78b 3c04373 x64
2.78a e8299c8 x64
2.77a abf6f08 x64
2.76b 337fea x64
2.70a f93bc76 x64
2.61 r42615

Worked:
Not found

Short description of error
Blender crashes when cycles rendered viewport shading is on and any settings of material with external jpg texture are changing

Exact steps for others to reproduce the error

  • Turn viewport shading to "Rendered"
  • Start to change any material options (move roughness left-right or mute/unmute texture node e.t.c.)
  • Blender crashes (sometimes in few seconds, sometimes in one-two minutes, sometimes immediately after switch shading)
    bug.gif
    Archive with blend file and textures (original and scaled down):
    Wood.zip

Additional info
Blender crashes:

  • With CPU and GPU rendering
  • With opengl32.dll placed in blender folder
  • With scaled down to 256x256 version of same texture (in archive)
  • Without latest windows updates (i turns autoupdates on after this bug appears)
  • With previous version (361.43) of videocard drivers
  • Blender 2.61 always crashes immediately after switch shading
  • Blender 2.61 crashes with any textures - jpg, png and packed
    Blender is NOT crashes:
  • With other jpg textures (it looks like original jpg file is broken, but any resaved version of it also crashes blender)
  • With this texture saved in PNG format with original size (2000x2000)
  • With same texture packed into .blend file (with "Pack as PNG" option "on" and "off")
  • Blender 2.61 works fine if material has no any texture nodes at all
**System Information** Windows 10x64 Home Ru Version 1607 Build 14393.639 + latest autoupdates NVIDIA GeForce GTX 970 with 378.66 NVIDIA drivers (latest) [system-info.txt](https://archive.blender.org/developer/F501697/system-info.txt) **Blender Version** Broken: Nightly 2.78 6b9d73e x64 2.78c e92f235283 x64, x32 2.78b 3c04373 x64 2.78a e8299c8 x64 2.77a abf6f08 x64 2.76b 337fea x64 2.70a f93bc76 x64 2.61 r42615 Worked: Not found **Short description of error** Blender crashes when cycles rendered viewport shading is on and any settings of material with external jpg texture are changing **Exact steps for others to reproduce the error** - Turn viewport shading to "Rendered" - Start to change any material options (move roughness left-right or mute/unmute texture node e.t.c.) - Blender crashes (sometimes in few seconds, sometimes in one-two minutes, sometimes immediately after switch shading) ![bug.gif](https://archive.blender.org/developer/F501680/bug.gif) Archive with blend file and textures (original and scaled down): [Wood.zip](https://archive.blender.org/developer/F501679/Wood.zip) **Additional info** Blender crashes: - With CPU and GPU rendering - With opengl32.dll placed in blender folder - With scaled down to 256x256 version of same texture (in archive) - Without latest windows updates (i turns autoupdates on after this bug appears) - With previous version (361.43) of videocard drivers - Blender 2.61 always crashes immediately after switch shading - Blender 2.61 crashes with any textures - jpg, png and packed Blender is NOT crashes: - With other jpg textures (it looks like original jpg file is broken, but any resaved version of it also crashes blender) - With this texture saved in PNG format with original size (2000x2000) - With same texture packed into .blend file (with "Pack as PNG" option "on" and "off") - Blender 2.61 works fine if material has no any texture nodes at all

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @RKiselevich

Added subscriber: @RKiselevich

#50857 was marked as duplicate of this issue

#50857 was marked as duplicate of this issue

Also blender is not crashes:

  • on F12 render
  • with same jpg saved without EXIF
Also blender is not crashes: - on F12 render - with same jpg saved without EXIF

Added subscriber: @fablefox

Added subscriber: @fablefox
Can you include the crash log? Thanks. https://docs.blender.org/manual/de/dev/troubleshooting/crash.html

There is no crash log file in my tmp directory. Should I turn on any specific option or start blender with some command line parameters?
This is my blender temp directory prefs:
Prefs.png
Windows environment vars:
WindowsEnvVars.png
Temp directory is empty:
TempDir.png
BlenderTempDir.png
Also file search on my disk C: and D: found nothing.

There is no crash log file in my tmp directory. Should I turn on any specific option or start blender with some command line parameters? This is my blender temp directory prefs: ![Prefs.png](https://archive.blender.org/developer/F503874/Prefs.png) Windows environment vars: ![WindowsEnvVars.png](https://archive.blender.org/developer/F503876/WindowsEnvVars.png) Temp directory is empty: ![TempDir.png](https://archive.blender.org/developer/F503895/TempDir.png) ![BlenderTempDir.png](https://archive.blender.org/developer/F503880/BlenderTempDir.png) Also file search on my disk C: and D: found nothing.
Yes, you can try this parameter - debug-cycles https://docs.blender.org/manual/en/dev/advanced/command_line/arguments.html?highlight=command%20line%20argument

And again there is no any automatically created fie.
This is console output written to file:
console-output.txt

And again there is no any automatically created fie. This is console output written to file: [console-output.txt](https://archive.blender.org/developer/F503902/console-output.txt)

I'll leave it to expert from now on. However, looking at your specification above, getting this message is interesting.

I0306 19:23:31.171677 5604 opencl_util.cpp:741] Enumerating devices for platform NVIDIA CUDA.
I0306 19:23:31.171677 5604 opencl_util.cpp:812] Ignoring device GeForce GTX 970, not officially supported yet.
I0306 19:23:31.172178 5604 util_system.cpp:77] Detected 1 CPU groups.
Error: EXCEPTION_ACCESS_VIOLATION

I'll leave it to expert from now on. However, looking at your specification above, getting this message is interesting. I0306 19:23:31.171677 5604 opencl_util.cpp:741] Enumerating devices for platform NVIDIA CUDA. I0306 19:23:31.171677 5604 opencl_util.cpp:812] Ignoring device GeForce GTX 970, not officially supported yet. I0306 19:23:31.172178 5604 util_system.cpp:77] Detected 1 CPU groups. Error: EXCEPTION_ACCESS_VIOLATION

Blender 2.70a (f93bc76) also don't write info file, but it crashed with standard system error message, and windows write it's own crash report.
Windows report from c:\Users\All users\Microsoft\Windows\WER\ReportQueue\AppCrash_blender.exe:
Report.wer

Blender 2.70a (f93bc76) also don't write info file, but it crashed with standard system error message, and windows write it's own crash report. Windows report from c:\Users\All users\Microsoft\Windows\WER\ReportQueue\AppCrash_blender.exe: [Report.wer](https://archive.blender.org/developer/F503906/Report.wer)

Added subscribers: @LazyDodo, @Sergey

Added subscribers: @LazyDodo, @Sergey
Ray molenkamp was assigned by Sergey Sharybin 2017-03-08 15:36:51 +01:00

Can reproduce the issue. @LazyDodo is looking in details of the crash. From quick investigation seems a bug in OIIO.

@LazyDodo, feel free to bounds this back on me.

Can reproduce the issue. @LazyDodo is looking in details of the crash. From quick investigation seems a bug in OIIO. @LazyDodo, feel free to bounds this back on me.
Ray molenkamp was unassigned by Sergey Sharybin 2017-03-08 17:31:41 +01:00
Sergey Sharybin self-assigned this 2017-03-08 17:31:41 +01:00

This is indeed an OIIO bug, which is now reported to upstream: https://github.com/OpenImageIO/oiio/issues/1635

At the meantime, you can just strip EXIF header from your texture to workaround the crash.

Stealing the report back to me so i can keep track of it.

This is indeed an OIIO bug, which is now reported to upstream: https://github.com/OpenImageIO/oiio/issues/1635 At the meantime, you can just strip EXIF header from your texture to workaround the crash. Stealing the report back to me so i can keep track of it.

Just a quick update. The issue was fixed in b91db51 of upstream OIIO.

There are few more fixes we are waiting to happen in upstream. Once those are in we can look into possibly branching OIIO for Blender 2.79 (if OIIO release doesn't happen any time soon) or check on updating OIIO update.

Just a quick update. The issue was fixed in b91db51 of upstream OIIO. There are few more fixes we are waiting to happen in upstream. Once those are in we can look into possibly branching OIIO for Blender 2.79 (if OIIO release doesn't happen any time soon) or check on updating OIIO update.

Added subscribers: @YAFU, @LukasStockner

Added subscribers: @YAFU, @LukasStockner

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

The issue was resolved in upstream and fixed for Windows and Linux. Waiting for the new libraries for OSX, but that happens outside of the bug tracker.

The issue was resolved in upstream and fixed for Windows and Linux. Waiting for the new libraries for OSX, but that happens outside of the bug tracker.
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#50850
No description provided.