RE: [xml] NAN problems on Win32



It is W2K SP2.  The user is an admin.  The more I think about it, I not sure
it's a NAN problem, but some other type of floating point problem.  The
crash occurs when xmlXPathCountFunction calls
xmlXPathNewFloat((double)cur->nodesetval->nodeNr), nodeNr is an int and so
NAN doesn't seem to be dealt with.

The general trend in causing the problem is evaluating and xpath expression
such as 'count(COLSET/*)'.  Problem occurs when there is and is not nodes in
the nodeset returned.

The problem occurs in several other places in libxml, such as the following
crash:

01232002_163935 | SA | fatal   |
//=====================================================
01232002_163935 | SA | fatal   | Exception code: C0000090
01232002_163935 | SA | fatal   | Fault address:  011C92A3 01:000482A3
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\libxml2.dll
01232002_163935 | SA | fatal   | 
Registers:
01232002_163935 | SA | fatal   | EAX:03CD2E00
EBX:03CD2E00
ECX:00EF9F2C
EDX:00EF9F60
ESI:03CD2E00
EDI:00000001
01232002_163935 | SA | fatal   | CS:EIP:001B:011C82F4
01232002_163935 | SA | fatal   | SS:ESP:0023:032CF82C  EBP:032CFAB8
01232002_163935 | SA | fatal   | DS:0023  ES:0023  FS:003B  GS:0000
01232002_163935 | SA | fatal   | Flags:00010206
01232002_163935 | SA | fatal   | Call stack:
01232002_163935 | SA | fatal   | Address   Frame
01232002_163935 | SA | fatal   | 011C82F4  032CF828  
01232002_163935 | SA | fatal   | xmlXPathCastToNumber+4
01232002_163935 | SA | fatal   | 011C83C5  032CF838  
01232002_163935 | SA | fatal   | xmlXPathConvertNumber+25
01232002_163935 | SA | fatal   | 011CB745  032CF854  
01232002_163935 | SA | fatal   | xmlXPathNumberFunction+A5
01232002_163935 | SA | fatal   | 0114AD99  032CFAB8  
01232002_163935 | SA | fatal   | gsstoolsGetOutputFileFunc+D4

I will do more research and post what I find.  It is difficult because I
cannot duplicate it and I think I am trying my clients patience



-----Original Message-----
From: Igor Zlatkovic [mailto:izlatkovic daenet de]
Sent: Thursday, January 24, 2002 5:57 AM
To: Vakoc, Mark; xml gnome org
Subject: RE: [xml] NAN problems on Win32


Which Windows? Which version?

If Windows is NT or 2k or XP, does the user who runs into trouble have
administrative privileges on her local machine?



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