netinhoteixeira / mac-soapclient

Automatically exported from code.google.com/p/mac-soapclient
0 stars 0 forks source link

crash on Snow Leopard #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a WSDL URL that fails to parse properly
2. Fix the issue in the WSDL
3. Click parse on the same URL again, crash.

See crash report attached.

Original issue reported on code.google.com by steve.sw...@gmail.com on 30 Oct 2009 at 12:20

Attachments:

GoogleCodeExporter commented 9 years ago
Actually, you don't need to fix the issue at all in step two. Just click parse 
a second time on a broken WSDL and it 
will crash.

Original comment by steve.sw...@gmail.com on 30 Oct 2009 at 12:35

GoogleCodeExporter commented 9 years ago
I'm not sure it even needs a bad WSDL or anything.

This thing just crashes on SL period.  

It'll parse my WSDL, but as soon as I try to execute a call, it crashes.

Used to work great on Leopard, no problem .. same webservice, same WSDL.  I 
guess it's just simply not 
compatible with SL.  Unfortunate .. I haven't found anything as handy for SOAP 
debugging on Mac.

Original comment by darrell....@gmail.com on 12 Dec 2009 at 11:07

GoogleCodeExporter commented 9 years ago
I think it is the same issue as #15 and has to do with multithreaded use of 
libxml.

Try to uncomment xmlCleanupParser() (WSDLParsingServiceLibxsltImpl.m, line 307) 
and you should have fixed 
the issue. As http://xmlsoft.org/html/libxml-parser.html states it would be 
best to move xmlCleanupParser() 
somewhere like applicationWillTerminate:.

For doPrettyPrinting: in SCController.m the result dictionary could be released 
before the execution (async) of 
finish: has completed.

Original comment by m...@tobias-hoehmann.de on 15 Jan 2010 at 8:54

GoogleCodeExporter commented 9 years ago

Original comment by christia...@googlemail.com on 30 Jan 2010 at 10:02