Blender crashes when trying to display an OpenEXR Multilayer (created with the File Output Node) #45539

Closed
opened 2015-07-23 14:23:11 +02:00 by Loïc Pinsard · 15 comments

System Information
Windows 7 64bits & GeForce GTX 460

Blender Version
Broken: 2.75a c27589e

Short description of error
Blender crashes when trying to display an OpenEXR Multilayer (created with the File Output Node)

Exact steps for others to reproduce the error

From the blend file I sent:

  • Render the image
  • Import it in the node editor (make sure you import the one created with the file output node)
  • Display a pass with the viewer node or with the composite with 'Render Result' selected in the UV/Image Editor
  • Crash

From a new file:

  • Switch to Cycles (There is no problem with Blender Internal)
  • Plug each of the output of the Render Layers in an input of the File Output Node
  • Set the File Output to OpenEXR Multi Layer
  • Render the image
  • Import it in the node editor (make sure you import the one created with the file output node)
  • Display a pass with the viewer node or with the composite with 'Render Result' selected in the UV/Image Editor

Notes

  • It doesn't crash with every pass (Passes like diffuse, glossy Transmission and subsurface crash, others don't)
  • It does not crash at all when the Alpha is not exported (though I get some weird results in passes like the Zdepth)
  • There is no problem when working with OpenEXR instead of OpenEXR Multipass
  • I have Included the blend file and the render

Bug_EXR_MultiLayer.zip

**System Information** Windows 7 64bits & GeForce GTX 460 **Blender Version** Broken: 2.75a c27589e **Short description of error** Blender crashes when trying to display an OpenEXR Multilayer (created with the File Output Node) **Exact steps for others to reproduce the error** From the blend file I sent: - Render the image - Import it in the node editor (make sure you import the one created with the file output node) - Display a pass with the viewer node or with the composite with 'Render Result' selected in the UV/Image Editor - Crash From a new file: - Switch to Cycles (There is no problem with Blender Internal) - Plug each of the output of the Render Layers in an input of the File Output Node - Set the File Output to OpenEXR Multi Layer - Render the image - Import it in the node editor (make sure you import the one created with the file output node) - Display a pass with the viewer node or with the composite with 'Render Result' selected in the UV/Image Editor **Notes** - It doesn't crash with every pass (Passes like diffuse, glossy Transmission and subsurface crash, others don't) - It does not crash at all when the Alpha is not exported (though I get some weird results in passes like the Zdepth) - There is no problem when working with OpenEXR instead of OpenEXR Multipass - I have Included the blend file and the render [Bug_EXR_MultiLayer.zip](https://archive.blender.org/developer/F211921/Bug_EXR_MultiLayer.zip)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Muream

Added subscriber: @Muream
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

Could you try with the latest build from buildbot ?

Could you try with the latest build from [buildbot ](https://builder.blender.org/download/)?
Author

I just tried and the problem is still there. Though for some reason the scene that I provided doesn't create a render that causes a crash (the provided image does).
Here is a new blend file with the bug
Bug_EXR_MultiLayer_02.blend
I tested with 7ae44e8 and the file has been created with this version as well.

I just tried and the problem is still there. Though for some reason the scene that I provided doesn't create a render that causes a crash (the provided image does). Here is a new blend file with the bug [Bug_EXR_MultiLayer_02.blend](https://archive.blender.org/developer/F212015/Bug_EXR_MultiLayer_02.blend) I tested with 7ae44e8 and the file has been created with this version as well.

Added subscriber: @RainerTrummer

Added subscriber: @RainerTrummer

I am having the same issue too. We made a lot of use in a recent project of the file output node and rendered the passes to OpenEXR MultiLayer. Not every output file crashed however, it was very hard to reproduce the error. However we were still able to do the compositing without problems by using Blender version 2.72 for Comp. That one never crashed.

Not sure if it is related to MultiView, I rather think it came up when the Compositor memory consumption improvements were merged to master. But that's partially guesswork.

I am having the same issue too. We made a lot of use in a recent project of the file output node and rendered the passes to OpenEXR MultiLayer. Not every output file crashed however, it was very hard to reproduce the error. However we were still able to do the compositing without problems by using Blender version 2.72 for Comp. That one never crashed. Not sure if it is related to MultiView, I rather think it came up when the Compositor memory consumption improvements were merged to master. But that's partially guesswork.
Dalai Felinto was assigned by Julian Eisel 2015-07-26 02:33:15 +02:00
Member

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Member

Seems to be a multiview issue, goes to @dfelinto's desk!

0	__GI_raise	/usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so	56	0x7fd54beb5cc9	
1	__GI_abort	/usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so	89	0x7fd54beb90d8	
2	__gnu_cxx::__verbose_terminate_handler()			0x7fd54b8d5535	
3	??			0x7fd54b8d36d6	
4	std::terminate()			0x7fd54b8d3703	
5	__cxa_throw			0x7fd54b8d3922	
6	Imf::Header::operator[](const char *) const			0x7fd54d1a28dd	
7	Imf::Header::channels() const			0x7fd54d1a2c90	
8	IMB_exr_has_singlelayer_multiview	openexr_api.cpp	1849	0x2c50acc	
9	load_image_single	image.c	3456	0x277ad1a	
10	image_load_image_file	image.c	3519	0x277afdc	
11	image_acquire_ibuf	image.c	3975	0x277c178	
12	BKE_image_acquire_ibuf	image.c	4043	0x277c421	
13	cmp_node_image_create_outputs	node_composite_image.c	235	0x29186cf	
14	cmp_node_image_verify_outputs	node_composite_image.c	299	0x291890c	
15	cmp_node_image_update	node_composite_image.c	338	0x2918a78	
16	nodeUpdate	node.c	3043	0x27f5d20	
17	rna_Image_Node_update_id	rna_nodetree.c	2767	0x2a03e83	
18	rna_property_update	rna_access.c	1684	0x2937472	
19	RNA_property_update	rna_access.c	1717	0x29375a1	
...	<More>				

Seems to be a multiview issue, goes to @dfelinto's desk! ``` 0 __GI_raise /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so 56 0x7fd54beb5cc9 1 __GI_abort /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so 89 0x7fd54beb90d8 2 __gnu_cxx::__verbose_terminate_handler() 0x7fd54b8d5535 3 ?? 0x7fd54b8d36d6 4 std::terminate() 0x7fd54b8d3703 5 __cxa_throw 0x7fd54b8d3922 6 Imf::Header::operator[](const char *) const 0x7fd54d1a28dd 7 Imf::Header::channels() const 0x7fd54d1a2c90 8 IMB_exr_has_singlelayer_multiview openexr_api.cpp 1849 0x2c50acc 9 load_image_single image.c 3456 0x277ad1a 10 image_load_image_file image.c 3519 0x277afdc 11 image_acquire_ibuf image.c 3975 0x277c178 12 BKE_image_acquire_ibuf image.c 4043 0x277c421 13 cmp_node_image_create_outputs node_composite_image.c 235 0x29186cf 14 cmp_node_image_verify_outputs node_composite_image.c 299 0x291890c 15 cmp_node_image_update node_composite_image.c 338 0x2918a78 16 nodeUpdate node.c 3043 0x27f5d20 17 rna_Image_Node_update_id rna_nodetree.c 2767 0x2a03e83 18 rna_property_update rna_access.c 1684 0x2937472 19 RNA_property_update rna_access.c 1717 0x29375a1 ... <More> ```

There were some memory leaks which got fixed recently, could you please try again?

There were some memory leaks which got fixed recently, could you please try again?
Author

I just tried with 32157d8
This time it crashes as soon as I add the image in the node editor

I just tried with 32157d8 This time it crashes as soon as I add the image in the node editor

@Muream the fix I was referring to was the commit following the revision you tested (d4b5dd31).

@Muream the fix I was referring to was the commit following the revision you tested (d4b5dd31).
Author

Oh my bad, I downloaded the last one from https://builder.blender.org/download/
I will try again after work tonight

Oh my bad, I downloaded the last one from https://builder.blender.org/download/ I will try again after work tonight
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Can't recreate anymore here :)

Closing as resolved for now, we can reopen if the issue still appears for someone.

Can't recreate anymore here :) Closing as resolved for now, we can reopen if the issue still appears for someone.
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#45539
No description provided.