openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] IStream segfault with Windows release libraries (it work


From: Dalai Felinto
Subject: [Openexr-devel] IStream segfault with Windows release libraries (it works with debug)
Date: Wed, 5 Jun 2013 20:19:32 -0700

Hi there,

I'm having some troubles with openexr2.0 libraries for windows when
building as Release.
I'm still investigating the problem (which is not so easy given that
Debug is working fine) but the segfaults starts when I open an exr
with the call:

Mem_IStream *membuf = new Mem_IStream(mem, size);

In this case MEM_IStream is a struct inheriting IStream:
http://www.pasteall.org/42868/cpp

The entire code in this file can be found:
https://svn.blender.org/svnroot/bf-blender/branches/multiview/source/blender/imbuf/intern/openexr/openexr_api.cpp

This code is working fine in Mac, Linux (release and debug) and
windows in debug mode.
Windows libraries built with default options, but switching /MD[d] to /MT[d]

Instructions:
ilmbase: http://shadowrom.de/?page_id=237
openexr: http://shadowrom.de/?page_id=241

Compiled libraries:
https://svn.blender.org/svnroot/bf-blender/trunk/lib/windows/openexr/
https://svn.blender.org/svnroot/bf-blender/trunk/lib/win64/openexr/

Has anyone experienced anything similar? Any hints on how to debug this?

Many thanks,
Dalai
--
blendernetwork.org/member/dalai-felinto
www.dalaifelinto.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]