[xml] Re: [xslt] libxml2 segfault



On Fri, Aug 29, 2003 at 06:46:00PM +0200, Novický Marek wrote:
Hi,

From time to time I get Segmentation fault in PECL::SOAP php module which internally use libxml2.

  Wrong list then, this should go to xml gnome org

Back-trace on gdb cannot resolve the last function called see bellow.

Is it possible to say where the problem come from or how to turn on some more debugging ?

  I really have no idea.
You don't even state the version of libxml2 used, nor the platform ...
this looks like Linux on ia32 ...
Do you use catalogs ? Do you have a /etc/xml/catalog ? 
Do you use threads ? Is the library compiled with thread support ?

Thanks for any idea.

  
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 22912)]
0x41671004 in ?? ()
(gdb) bt
#0  0x41671004 in ?? ()
#1  0x40a9279c in xmlParseCatalogFile () from /usr/lib/libxml2.so.2
#2  0x40a9320f in xmlParseCatalogFile () from /usr/lib/libxml2.so.2
#3  0x40a934f4 in xmlParseCatalogFile () from /usr/lib/libxml2.so.2
#4  0x40a9436f in xmlParseCatalogFile () from /usr/lib/libxml2.so.2
#5  0x40a956a7 in xmlACatalogResolve () from /usr/lib/libxml2.so.2
#6  0x40a95f8a in xmlCatalogResolve () from /usr/lib/libxml2.so.2

  I really don't see how xmlParserGetDirectory() called xmlCatalogResolve()
there is no such call in the code.

#7  0x40a51a52 in xmlParserGetDirectory () from /usr/lib/libxml2.so.2
#8  0x40a51aee in xmlLoadExternalEntity () from /usr/lib/libxml2.so.2
#9  0x40a429d2 in xmlCreateFileParserCtxt () from /usr/lib/libxml2.so.2
#10 0x40a42a9e in xmlSAXParseFileWithData () from /usr/lib/libxml2.so.2
#11 0x40a42bb5 in xmlSAXParseFile () from /usr/lib/libxml2.so.2
#12 0x40a42c2f in xmlParseFile () from /usr/lib/libxml2.so.2
#13 0x4164da0d in load_wsdl (
    struri=0x823166c "http://sun.aag.cz:81/jaxrpc-simple/simple?WSDL";,
    parent=0x0) at /tmp/php-4.3.2/ext/soap/php_sdl.c:545

  I really don't have enough information to even try to track this down.

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]