Re: [xslt] Re: [xml] xsltproc segfaults under windows



On Sat, Jan 22, 2005 at 08:06:33PM +0100, Igor Zlatkovic wrote:
> Joel Reed wrote:
> >I reproduce it using libxml2-2.6.17 and libxslt-1.1.12
> >with the command:
> >                                                                            
> >  xsltproc -v function.1.xsl function.1.xml  
> >
> >run in the tests/exslt/function directory. I was more looking for
> >pointers as to where to start looking though so I could look myself.
> >
> >it only seems to be an issue on windows.
> 
> An issue on someone else's Windows, perhaps :)

i've done some more research on this issue with a new windows box.
it only happens for me if i compile libxml2 and libxslt with 
cruntime=/MT. if i using cruntime=/MD it does not happen.

here's the call stack:

 ntdll.dll!RtlpWaitForCriticalSection()  + 0x57 bytes      
 ntdll.dll!RtlEnterCriticalSection()  + 0x44 bytes         
 libxml2.dll!xmlFileWrite(void * context=0x00424c18, const
 char * buffer=0x003ebe18, int len=60)  Line 806 + 0x13 bytes
 libxml2.dll!xmlOutputBufferFlush(_xmlOutputBuffer *
 out=0x003e9c58)  Line 3221 + 0x21 bytes           
 libxslt.dll!xsltSaveResultTo(_xmlOutputBuffer *
 buf=0x003e9c58, _xmlDoc * result=0x003e7cd0, _xsltStylesheet
 * style=0x003eacf8)  Line 1402 + 0x9 bytes   
 libxslt.dll!xsltSaveResultToFile(_iobuf * file=0x00424c18,
 _xmlDoc * result=0x003e7cd0, _xsltStylesheet *
 style=0x003eacf8)  Line 1490 + 0x11 bytes    
 xsltproc.exe!xsltProcess(_xmlDoc * doc=0x003e8770,
 _xsltStylesheet * cur=0x003eacf8, const char *
 filename=0x005e3322)  Line 443 + 0x16 bytes  
 xsltproc.exe!main(int argc=3, char * * argv=0x005e32d8)
 Line 837 + 0x17 bytes 
 xsltproc.exe!mainCRTStartup()  Line 283 + 0x12 bytes      
 kernel32.dll!TerminateThread()  + 0x113 bytes  
  
i'm using windows 2003 btw. i'll keep poking around i guess.

jr


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