crashes with OpenEXR plugin

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
dee
Posts: 11
Joined: Fri Dec 26, 2008 12:32 am

crashes with OpenEXR plugin

Post by dee » Fri Jul 15, 2011 7:54 am

Steps to reproduce
0. completely delete old XnView and settings
1. unpack XnView v1.98.1 Complete version for Windows
2. discover that it does not support .exr files, although .exr is listed as supported on web
3. unpack OpenEXR plugin from http://www.xnview.com/en/plugins.html into plugins directory
4. run XnView
5. discover that OpenEXR is missing in Plug-Ins Information window
6. discover that OpenEXR is listed twice in Supported Formats window
7. discover that when .exr file is encountered, XnView usually crashes
It is nondeterministical, sometimes XnView displays .exr image as expected, next time it crashes with the same file.
Visual Studio describes crash as "Unhandled exception at 0x77b70e2c in xnview.exe: 0xC0000005: Access violation reading location 0x00000004."
OS: Vista x64

dee
Posts: 11
Joined: Fri Dec 26, 2008 12:32 am

Re: crashes with OpenEXR plugin

Post by dee » Sat Jul 30, 2011 6:31 pm

I wonder, is there anyone else who tried to display .exr with xnview?
I remember I tried it few years ago and it did not work, this was my second attempt.

thibaud
Posts: 269
Joined: Sat Dec 02, 2006 12:41 am
Contact:

Re: crashes with OpenEXR plugin

Post by thibaud » Sat Jul 30, 2011 7:54 pm

alternative:
1. Install xnviewMP
2. discover that .exr , .hdr and .rpf among many others are supported natively and works perfectly fine.

dee
Posts: 11
Joined: Fri Dec 26, 2008 12:32 am

.exr files that crash xnview and xnviewMP

Post by dee » Mon Aug 15, 2011 8:45 am

Thanks for information that exr works for you. It indicates that problem is related to my files.

Several small .exr images that crash xnview and xnviewMP: http://dee.cz/x/exr_xnview_crash.zip

When xnviewMP 0.38.7 encounters these files, it crashes with
Unhandled exception at 0x670015d3 in xnview.exe: 0xC0000005: Access violation writing location 0x39e63b62.

All images were created by FreeImage 3.15.0 and they work fine when opened by FreeImage.

thibaud
Posts: 269
Joined: Sat Dec 02, 2006 12:41 am
Contact:

Re: .exr files that crash xnview and xnviewMP

Post by thibaud » Mon Aug 15, 2011 11:35 am

dee wrote: When xnviewMP 0.38.7 encounters these files, it crashes with
Unhandled exception at 0x670015d3 in xnview.exe: 0xC0000005: Access violation writing location 0x39e63b62.
Confirmed.

files details:
Image
------
resolution: 128x128
type: 128 Bits (RGBA)
channels Available: (RGBA) Half Float (16 bits/Channel)

Attributes
------------
compression: piz-based wavelet compression (PIZ)
dataWindow - (box2i) : <0/0><127/127>
displayWindow - (box2i) : <0/0><127/127>
lineOrder : increasing Y
pixelAspectRatio - (float): 1.000

Edit: I'm puzzled I tried a few other .exr (including the samples from openexr.org) and now Mp doesn't crash anymore on the files you provided

Post Reply