Re: [xml] NAN problems on Win32



On Thu, Jan 24, 2002 at 11:52:53AM -0700, Vakoc, Mark wrote:
I'm not familiar with 'error 11', what is that?  Compiling w/ various
optimizations is my next step.  The only saving grace is that it is
consistent in where it throws the exception.  I have eyeballed the code and
attempted to duplicate it and the code looks fine (both mine and libxml) and
any attempts to duplicate it have failed.

  Did you changed your compiler ? Or is that the same binary which
fails on one system and works on others ? Do you have a way to check
that systems have a similar setup ?

  First the XPath code can push the floating point/integer mix of
instructions to the point of breaking the compiler (I happened to
raise such a problem in gcc/i386 with it). This can also exhibit
system/drivers bugs if FP are not saved/restored properly. And the
last possibility is flacky hardware (or overheating which can generate
similar hazards). The fact that NaN and infinity values can be frequently
used by the XPath engine, while they are not common in usual code
can also increase the probability of troubles. However they
should not show up as indexes in a node set :-\

Daniel


-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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