henriquesobral / mac-soapclient

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

Crash in pretty printing with Snow Leopard #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Executing a SOAP request would consistently crash the application for me 
running under Snow Leopard. This crash 
did not occur with Leopard or Tiger.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Soap Client 1.6.3, MacOS X 10.6 (Snow Leopard)

Please provide any additional information below.

I was able to fix the problem on my system by making the following code change. 
Instead of doing 
"doPrettyPrinting:" in a detached thread in SCController, I just had 
"SOAPService:didFinish:" directly call that 
method. It seems that "prettyStringForXMLString:" doesn't like to run in a 
background thread for some reason.

Original issue reported on code.google.com by abird...@gmail.com on 15 Sep 2009 at 6:39

GoogleCodeExporter commented 8 years ago
I am also having this issue in 1.6.3.1 in Snow Leopard.
I haven't had time to try the fix above yet

Original comment by benjamin...@gmail.com on 1 Oct 2009 at 11:51

GoogleCodeExporter commented 8 years ago
I have taken a read-only copy and got it to build without error under the 10.5 
SDK
and runs on both 10.5 and 10.6.1 without crashing.

You can grab the modified source at
http://www.oddduckcomputing.com/soapclient/mac-soapclient-fixed.zip

Original comment by howard.g...@gmail.com on 7 Oct 2009 at 11:23

GoogleCodeExporter commented 8 years ago
I was unable to get this to compile successfully and get it to run without 
crashing still. I was wondering if it 
would be possible to post the actual compiled program here (or on google code) 
that is compatible with Snow 
Leopard?

Thanks!

Original comment by swhit...@gmail.com on 9 Nov 2009 at 8:07

GoogleCodeExporter commented 8 years ago
One other note - if I run this from XCode, it does not crash. It works great. 
It only crashes when I build it and 
then move the compiled application to my apps folder.

Any suggestions as to what I might be able to do to fix this?

Thanks!

Original comment by swhit...@gmail.com on 9 Nov 2009 at 9:54

GoogleCodeExporter commented 8 years ago
Thanks for the code - the updated version works perfectly; I had to change the 
build settings for compilation on 
snowlepoard as the 10.4 SDK doesnt exist anymore... this code should certainly 
be rolled into the master 
branch.

Original comment by tperr...@gmail.com on 16 Nov 2009 at 9:31

GoogleCodeExporter commented 8 years ago
I also moved the project to SDK 10.5

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