Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5449] iOS: Non-repro crash while invoking picker in remove contacts test case on iOS5

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-10-13T08:41:02.000+0000
Affected Version/sRelease 1.7.3
Fix Version/sSprint 2011-40, Release 1.7.3, Release 1.8.0
ComponentsiOS
Labelsos-ios5
ReporterThomas Huelbert
AssigneeBlain Hamon
Created2011-10-05T15:06:59.000+0000
Updated2014-06-19T12:46:29.000+0000

Description

1. Ipad2 running ios5 gm seed, install ks using Oct 4 2011 13:42 r49cd3279 2. Phone > contacts > delete contact results: crash while the picker was being invoked. Not repro.

Attachments

FileDateSize
KitchenSink_2011-10-05-130434_nhuynh-ipad2.crash2011-10-05T15:06:59.000+000037526
KitchenSink_2011-10-06-102252_openDoc.crash2011-10-06T10:28:57.000+000037877
KitchenSink_2011-10-12-132704_cyberDog.crash2011-10-12T12:32:51.000+000038368

Comments

  1. Eric Merriman 2011-10-06

    I just experienced this on iPhone 4, iOS 5. Oct 6 10:22:51 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : [DEBUG] loading: /var/mobile/Applications/90188E18-90AE-4670-B677-ED92EF99269E/KitchenSink.app/examples/contacts_remove.js, resource: examples/contacts_remove_js Oct 6 10:22:52 unknown KitchenSink[792] : -[__NSCFData isKJSThread]: unrecognized selector sent to instance 0x6d2a150 Oct 6 10:22:52 unknown KitchenSink[792] : *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFData isKJSThread]: unrecognized selector sent to instance 0x6d2a150' *** First throw call stack: (0x30c4a8bf 0x37def1e5 0x30c4dacb 0x30c4c945 0x30ba7680 0x2f6a3 0x37deb0c5 0xdaa03 0x30ba922b 0x37cf0757 0x30c1eb03 0x30c1e2cf 0x30c1d075 0x30ba04dd 0x30ba03a5 0x337cefed 0x32c12743 0x4503 0x35f4) Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : [ERROR] The application has crashed with an unhandled exception. Stack trace: Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 0 CoreFoundation 0x30c4a8bf __exceptionPreprocess + 162 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 1 libobjc.A.dylib 0x37def1e5 objc_exception_throw + 32 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 2 CoreFoundation 0x30c4dacb -[NSObject doesNotRecognizeSelector:] + 174 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 3 CoreFoundation 0x30c4c945 ___forwarding___ + 300 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 4 CoreFoundation 0x30ba7680 _CF_forwarding_prep_0 + 48 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 5 KitchenSink 0x0002f6a3 KitchenSink + 190115 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 6 libobjc.A.dylib 0x37deb0c5 _objc_rootRelease + 36 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 7 KitchenSink 0x000daa03 KitchenSink + 891395 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 8 CoreFoundation 0x30ba922b -[NSObject performSelector:withObject:] + 42 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 9 Foundation 0x37cf0757 __NSThreadPerformPerform + 350 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 10 CoreFoundation 0x30c1eb03 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 11 CoreFoundation 0x30c1e2cf __CFRunLoopDoSources0 + 214 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 12 CoreFoundation 0x30c1d075 __CFRunLoopRun + 652 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 13 CoreFoundation 0x30ba04dd CFRunLoopRunSpecific + 300 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 14 CoreFoundation 0x30ba03a5 CFRunLoopRunInMode + 104 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 15 GraphicsServices 0x337cefed GSEventRunModal + 156 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 16 UIKit 0x32c12743 UIApplicationMain + 1090 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 17 KitchenSink 0x00004503 KitchenSink + 13571 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : 18 KitchenSink 0x000035f4 KitchenSink + 9716 Oct 6 10:22:52 unknown UIKitApplication:com.eric.pushtest[0x8164][792] : terminate called throwing an exception Oct 6 10:22:53 unknown ReportCrash[1047] : Formulating crash report for process KitchenSink[792] Oct 6 10:22:53 unknown com.apple.launchd[1] : (UIKitApplication:com.eric.pushtest[0x8164]) Job appears to have crashed: Abort trap: 6 Oct 6 10:22:53 unknown SpringBoard[15] : Application 'KitchenSink' exited abnormally with signal 6: Abort trap: 6
  2. Reggie Seagraves 2011-10-10

    We have been unable to reproduce this crash. Resolving as such. Let's see if it comes up again during the 1.7.3 pass.
  3. Natalie Huynh 2011-10-12

    Encountered the crash on iPod Touch 4g (5.0 9A334) with build 1.7.3.v20111012114613 attached crash log
  4. Blain Hamon 2011-10-12

    Bingo. The latest crash log has the smoking gun. This is a case of a callback's KrollContext already left before the KrollCallback has time to unregister itself. I'm not sure why this is happening yet (a foundational issue that deserves a better look in the future) but we can protect against this for now by looking before leaping.
  5. Natalie Huynh 2011-10-13

    Tested with iPod Touch 4g (5.0 9A334) with build 1.7.3.v20111013094213 does not crash
  6. Alan Vaghti 2011-10-13

    Tested and could not reproduce issue on an iPod 4.3.3 with SDK 1.7.3.v20111013094213.
  7. Thomas Huelbert 2011-12-10

    ipad2 5.0.1, 1.8.0.1 rc1 10.6.8

JSON Source