Umaid1 / wsdl2objc

Automatically exported from code.google.com/p/wsdl2objc
MIT License
0 stars 0 forks source link

EXC_BAD_ACCESS after sending asynchronous operation with iphone SDK 4.2 #135

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Old project with generated WS using wsdl2objc that worked fine before SDK 4.0
2. trying to run the same project under eclipse 3.2.5 and iphone SDK 4.2
3. an exception thrwon directly after sending asynchronous 

What is the expected output?
the webservice response
What do you see instead?
the following exception:

0   libsystem_c.dylib                 0x3452a200 OSAtomicAdd32 + 0
1   Foundation                        0x30c317a4 -[NSOperation release] + 24
2   CoreFoundation                    0x343df19a CFRelease + 62
3   CoreFoundation                    0x343e1eb4 _CFAutoreleasePoolPop + 140
4   Foundation                        0x30c211c4 -[NSAutoreleasePool release] + 
92
5   UIKit                             0x34b70f08 _UIApplicationHandleEvent + 
5784
6   GraphicsServices                  0x31884e70 PurpleEventCallback + 660
7   CoreFoundation                    0x34451a90 
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 20
8   CoreFoundation                    0x34453838 __CFRunLoopDoSource1 + 160
9   CoreFoundation                    0x34454606 __CFRunLoopRun + 514
10  CoreFoundation                    0x343e4ebc CFRunLoopRunSpecific + 224
11  CoreFoundation                    0x343e4dc4 CFRunLoopRunInMode + 52
12  GraphicsServices                  0x31884418 GSEventRunModal + 108
13  GraphicsServices                  0x318844c4 GSEventRun + 56
14  UIKit                             0x34b9bd62 -[UIApplication _run] + 398
15  UIKit                             0x34b99800 UIApplicationMain + 664
16  FFMobile                          0x00002ed4 0x1000 + 7892
17  FFMobile                          0x00002e88 0x1000 + 7816

What version of the product are you using? On what operating system?
wsdl2objc 0.6, iOS 4.2 - Xcode 3.2.5

Please provide any additional information below.

Original issue reported on code.google.com by D.Adrna...@gmail.com on 16 Mar 2011 at 4:20

GoogleCodeExporter commented 8 years ago
The WSDL is here: 

Original comment by D.Adrna...@gmail.com on 16 Mar 2011 at 4:29

Attachments:

GoogleCodeExporter commented 8 years ago
Ufff, many things could have gone wrong :)
Please test with following environment variables enabled.
They will help you locating the bug more precisely (perhaps an extra 
autorelease or something).

NSDebugEnabled=YES
NSZombieEnabled=YES
NSDeallocateZombies=NO
NSHangOnUncaughtException=YES
NSAutoreleaseFreedObjectCheckEnabled=YES

Are you sure it is not the binding delegate that you release too early (before 
the server communication is finished) ?
Please check this issue for more details on this topic:
http://code.google.com/p/wsdl2objc/issues/detail?id=151

Original comment by pmilosev on 4 Oct 2011 at 12:13