[TIMOB-8467] iOS: ACS example app crashed on first attempt to log in to Facebook
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-04-02T12:45:44.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | qe-acs |
Reporter | Eric Merriman |
Assignee | Neeraj Gupta |
Created | 2012-03-31T11:42:49.000+0000 |
Updated | 2017-03-09T22:42:48.000+0000 |
Description
Description:
While testing the Titan staging pre-production environment, I was running through some of the features of the example application provided by the module team.
I attempted to log in to Facebook and the app crashed. My second attempt seemed more successful, but I was unable to get the ACS login to complete, and couldn't exercise the feature as intended.
Steps to reproduce:
1) Install the Studio 2.0 version and the 2.0 SDK version for the Titan pre launch
2) Create a new project and copy the resources folder from the example app into your project
3) Place the app onto an iOS device
4) Create a user and log in
5) Navigate to Social > External Login
6) Enter a valid account name and password
Result:
Application crash: see attached log and following console output
Expected:
login from Facebook and ACS feature usable
Console output:
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: [ERROR] The application has crashed with an unhandled exception. Stack trace:
Mar 31 11:27:39 unknown ericCloudify[1487] <Error>: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSConcreteMutableData objectForKey:]: unrecognized selector sent to instance 0x505880'
*** First throw call stack:
(0x381888bf 0x31c6e1e5 0x3818bacb 0x3818a945 0x380e5680 0xcbda3 0xd1d3b 0xd211b 0x320e4c39 0x3203c6e9 0x3203c6b3 0x3203c5d5 0x376698a5 0x3765e545 0x3765e639 0x3765e243 0x3765e179 0x3815cb03 0x3815c2cf 0x3815b075 0x380de4dd 0x380de3a5 0x37c5cfcd 0x3556e743 0x3903 0x333c)
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 0 CoreFoundation 0x381888bf __exceptionPreprocess + 162
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 1 libobjc.A.dylib 0x31c6e1e5 objc_exception_throw + 32
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 2 CoreFoundation 0x3818bacb -[NSObject doesNotRecognizeSelector:] + 174
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 3 CoreFoundation 0x3818a945 ___forwarding___ + 300
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 4 CoreFoundation 0x380e5680 _CF_forwarding_prep_0 + 48
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 5 ericCloudify 0x000cbda3 ericCloudify + 830883
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 6 ericCloudify 0x000d1d3b ericCloudify + 855355
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 7 ericCloudify 0x000d211b ericCloudify + 856347
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 8 Foundation 0x320e4c39 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke_0 + 16
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 9 Foundation 0x3203c6e9 -[NSURLConnectionInternalConnection invokeForDelegate:] + 28
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 10 Foundation 0x3203c6b3 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 198
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 11 Foundation 0x3203c5d5 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 60
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 12 CFNetwork 0x376698a5 _ZN19URLConnectionClient23_clientDidFinishLoadingEPNS_26ClientConnectionEventQueueE + 192
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 13 CFNetwork 0x3765e545 _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 424
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 14 CFNetwork 0x3765e639 _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 668
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 15 CFNetwork 0x3765e243 _ZN19URLConnectionClient13processEventsEv + 106
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 16 CFNetwork 0x3765e179 _ZN17MultiplexerSource7performEv + 156
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 17 CoreFoundation 0x3815cb03 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 18 CoreFoundation 0x3815c2cf __CFRunLoopDoSources0 + 214
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 19 CoreFoundation 0x3815b075 __CFRunLoopRun + 652
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 20 CoreFoundation 0x380de4dd CFRunLoopRunSpecific + 300
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 21 CoreFoundation 0x380de3a5 CFRunLoopRunInMode + 104
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 22 GraphicsServices 0x37c5cfcd GSEventRunModal + 156
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 23 UIKit 0x3556e743 UIApplicationMain + 1090
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 24 ericCloudify 0x00003903 ericCloudify + 10499
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: 25 ericCloudify 0x0000333c ericCloudify + 9020
Mar 31 11:27:39 unknown UIKitApplication:com.appcelerator.hellocloudworld[0x79e4][1487] <Notice>: terminate called throwing an exception
Mar 31 11:27:39 unknown ReportCrash[1611] <Notice>: Formulating crash report for process ericCloudify[1487]
Mar 31 11:27:39 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.appcelerator.hellocloudworld[0x79e4]) Job appears to have crashed: Abort trap: 6
Mar 31 11:27:39 unknown SpringBoard[15] <Warning>: Application 'ericCloudify' exited abnormally with signal 6: Abort trap: 6
Mar 31 11:27:39 unknown ReportCrash[1611] <Error>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/ericCloudify_2012-03-31-112739_iPhone-4s-Verizon.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Attachments
File | Date | Size |
---|---|---|
ericCloudify_2012-03-31-112739_iPhone-4s-Verizon.crash | 2012-03-31T11:42:49.000+0000 | 37042 |
Unable to reproduce with the following configurations: iPad 2, iOS 5.0.1, TiSDK 2.0.0.v20120330103228, githash=b091bae (/) Successful iPod, iOS 4.3.5, TiSDK 2.0.0.v20120330103228, githash=b091bae (/) Successful iPad 2, iOS 5.1, TiSDK 2.0.0.v20120330103228, githash=b091bae (/) Successful
I have been unable to reproduce this as well. Please note the version of the SDK is 2.0.0 GA
Please reopen if this issue can be reproduced again.
Closing ticket as the issue cannot be reproduced.