RE: [xml] Problem running testapi for libxml2



GDB shows the stack better:
(gdb) where
#0  0xfeeb3218 in strlen () from /usr/lib/libc.so.1
#1  0xfef06520 in _doprnt () from /usr/lib/libc.so.1
#2  0xfef08694 in vsnprintf () from /usr/lib/libc.so.1
#3  0xff22e0ac in __xmlRaiseError (schannel=0x20aac <structured_errors>,
    channel=0xff22e8f8 <xmlParserWarning>, data=0xfef402a4, ctx=0xa19f0,
    nod=0x0, domain=8, code=1549, level=XML_ERR_WARNING, file=0x0,
line=0,
    str1=0x0, str2=0x0, str3=0x0, int1=0, col=0,
    msg=0xff2f8338 "failed to load external entity \"%s\"\n") at
error.c:492
#4  0xff257954 in __xmlLoaderErr (ctx=0xa19f0,
    msg=0xff2f8338 "failed to load external entity \"%s\"\n",
filename=0x0)
    at xmlIO.c:427
#5  0xff2312a8 in xmlNewInputFromFile (ctxt=0xa19f0, filename=0x0)
    at parserInternals.c:1493
#6  0x0003a64c in test_xmlNewInputFromFile () at testapi.c:16026
#7  0x0003b770 in test_parserInternals () at testapi.c:16638
#8  0x00022190 in testlibxml2 () at testapi.c:1153
#9  0x00020dec in main (argc=1, argv=0xffbee98c) at testapi.c:138
(gdb)

-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com] 
Sent: Wednesday, January 12, 2005 6:10 PM
To: Beylin, Alex
Cc: xml gnome org
Subject: Re: [xml] Problem running testapi for libxml2

On Wed, Jan 12, 2005 at 04:42:39PM -0500, ABeylin axsone com wrote:
Hello Daniel, thank you for the quick reply.

On Sun, with the snapshot's source "testapi" still creates core, stack
is attached below.

  I don't understand where, seems in snprintf but the output is
unreadable
can you make sure you're compiling with debugging options or someone
provides
a patch for Solaris.





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