|
From: | Piotr Stanczyk |
Subject: | Re: [Openexr-devel] pyilmbase - Iex_2_2::InvalidFpOpExc crash |
Date: | Mon, 10 Oct 2016 09:58:27 -0700 |
So I managed to build pyilmbase (CentOS 6.5 + Red Hat DTS 2.1 (g++ v4.8.2)), and I run tests from file pyImathTest.py
All of them pass except for testFpExceptions() which crashes with following error:
terminate called after throwing an instance of 'Iex_2_2::InvalidFpOpExc'
what(): Invalid floating-point operation.
Aborted (core dumped)
The crash happend on line 8038:
f = sqrt (-1)
It will pass if I remove preceding code fragment, starting at line 8023:
# The overflow exception is not masked properly on Windows -- see
# Platform/PlatformFpu.cpp and note the non-implementation of
# setFpExceptions().
#
if sys.platform != 'win32' and sys.platform != 'darwin':
try:
v = V3d (1e200, 1e200, 1e200)
v = v * v * v
print v
except iex.MathExc:
pass
else:
assert 0
Is this smth I should worry about? Any hints appreciated.
thanks,
-michal
_______________________________________________
Openexr-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/openexr-devel
[Prev in Thread] | Current Thread | [Next in Thread] |