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

_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to