Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1043] App crash while quit because of ti.facebook module

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-08-25T08:16:40.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator Modules
Labelsn/a
Reporter陈 明
AssigneeShak Hossain
Created2015-02-12T07:06:12.000+0000
Updated2016-03-08T07:37:23.000+0000

Description

1 double tap home 2 quit the app which use the ti.facebook module 3 you can below crash log [ERROR] : The application has crashed with an uncaught exception 'NSInternalInconsistencyException'. [ERROR] : Reason: [ERROR] : An instance 0x1559d000 of class FBSessionManualTokenCachingStrategy was deallocated while key value observers were still registered with it. Current observation info: ( [ERROR] : Context: 0x5e002c, Property: 0x168777e0> [ERROR] : Context: 0x5e002c, Property: 0x15691230> [ERROR] : ) [ERROR] : Stack trace: [ERROR] : [ERROR] : 0 CoreFoundation 0x2418a49f + 126 [ERROR] : 1 libobjc.A.dylib 0x319a9c8b objc_exception_throw + 38 [ERROR] : 2 CoreFoundation 0x2418a3e5 + 0 [ERROR] : 3 Foundation 0x24e33bc5 + 288 [ERROR] : 4 libobjc.A.dylib 0x319c3d5f + 166 [ERROR] : 5 Perkd 0x0039ee33 _ZN3WTI13tryMakeStringIPKcN2TI7UStringES2_EENS_10PassRefPtrINS_10StringImplEEET_T0_T1_ + 13778 [ERROR] : 6 libobjc.A.dylib 0x319c3d5f + 166 [ERROR] : 7 Perkd 0x0039bea9 _ZN3WTI13tryMakeStringIPKcN2TI7UStringES2_EENS_10PassRefPtrINS_10StringImplEEET_T0_T1_ + 1608 [ERROR] : 8 libobjc.A.dylib 0x319c3d5f + 166 [ERROR] : 9 CoreFoundation 0x2409100d CFRelease + 600 [ERROR] : 10 CoreFoundation 0x240a913f + 134 [ERROR] : 11 libobjc.A.dylib 0x319c3d5f + 166 [ERROR] : 12 Perkd 0x000dcec3 Perkd + 106179 [ERROR] : 13 Perkd 0x000df043 Perkd + 114755 [ERROR] : 14 Perkd 0x000e7d81 Perkd + 150913 [ERROR] : 15 Foundation 0x24e9aafb + 1118 [ERROR] : 16 libsystem_pthread.dylib 0x3206ce93 + 138 [ERROR] : 17 libsystem_pthread.dylib 0x3206ce07 _pthread_start + 118 [ERROR] : 18 libsystem_pthread.dylib 0x3206ab90 thread_start + 8 [ERROR] : *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x1559d000 of class FBSessionManualTokenCachingStrategy was deallocated while key value observers were still registered with it. Current observation info: ( [ERROR] : Context: 0x5e002c, Property: 0x168777e0> [ERROR] : Context: 0x5e002c, Property: 0x15691230> [ERROR] : )' [ERROR] : *** First throw call stack: [ERROR] : (0x2418a49f 0x319a9c8b 0x2418a3e5 0x24e33bc5 0x319c3d5f 0x39ee33 0x319c3d5f 0x39bea9 0x319c3d5f 0x2409100d 0x240a913f 0x319c3d5f 0xdcec3 0xdf043 0xe7d81 0x24e9aafb 0x3206ce93 0x3206ce07 0x3206ab90)

Comments

  1. Shuo Liang 2015-02-13

    HI, Please provide a simple test case to reproduce your problem. That will be really help to address your issue. Thanks Ref about how to create a test case: [http://docs.appcelerator.com/titanium/3.0/#!/guide/How_to_Submit_a_Bug_Report-section-29004732_HowtoSubmitaBugReport-CreatingaTestCase] Regards, Shuo
  2. Harish Mridha 2015-08-25

    Hi , I tested the issue you reported. It looks like the feature "ti.facebook " in Appcelerator Studio is working fine for me. I tested this using the *studio build: 4.1.1.201507141126, ti.facebook 4.0.5 , iOS SDK: 8.1 and TiSDK 4.1.0GA* I recommend you upgrade SDK and ti.facebook module to the latest build and let us know if you get the error again. I will mark this ticket as "resolved" since I can't reproduce it. However, feel free to reopen with additional information if you notice otherwise. Thanks

JSON Source