soup-wsdl coredump (while parsing GoogleSearch.wsdl)
Thomas Finneid <[email protected]> 21 Jun 2002 15:56:45 +0200
| Newsgroups | gmane.comp.gnome.ximian.soup |
|---|---|
| Message-ID | <1024667811.8007.53.camel@thomasf> |
The GoogleSearch wsdl file can be downloaded from:
http://api.google.com/GoogleSearch.wsdl
1:
The core dump happens while the libxml parser is parsing the comments.
Whether this error is induced by soup-wsdl or libxml is unknown. What is
known, is that, using xmllint to check the file does'nt make libxml
coredump.
By removing all the comments in the file, soup-wsdl only reports an
error, 34 in fact. The results, both coredump and errors, are the same
whether I use libxml 1 or 2.
I dont know whether it is the soup or libxml project that should be
receiving this information, but in case you are interrested in
investigating the error I have attached the backtrace at the end of this
email.
2:
I am currently hacking the code to try to glean some information out of
soup-wsdl and libxml about any errors reported. Any information on how
to access error information would be appreciated.
This is the backtrace of the coredump:
#0 0x40088a03 in comment (ctx=0x805e7d0,
value=0x806dca0 " WSDL description of the Google Web APIs.\n The
Google Web APIs are in beta release. All interfaces are subject to\n
change as we refine and extend our APIs. Please see the terms of
use\n for"...)
at SAX.c:1759
#1 0x40096d7f in xmlParseComment (ctxt=0x805e858) at parser.c:2938
#2 0x400a015f in xmlParseMisc (ctxt=0x805e858) at parser.c:7539
#3 0x400a04c0 in xmlParseDocument (ctxt=0x805e858) at parser.c:7628
#4 0x0804d488 in wsdl_parse_xml (sax=0xbffffb2c, user_data=0x805e7d0,
file=0xbffffd85 "/home/thomasf/src/soup/test2/GoogleSearch.wsdl") at
wsdl-parse.c:1980
#5 0x0804d640 in wsdl_parse (file=0xbffffd85
"/home/thomasf/src/soup/test2/GoogleSearch.wsdl") at wsdl-parse.c:2056
#6 0x080493ce in main (argc=5, argv=0xbffffc44) at main.c:103
--
Yours sincerely
Thomas Finneid
_______________________________________________
Soup-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/soup-list