Originator:rajanikanth05
Number:rdar://23593458 Date Originated:
Status:Open Resolved:
Product:iOS Product Version:9.x
Classification:Crash Reproducible:
 
[UIThreadSafeNode textInputView]: unrecognized selector sent to instance

2015-11-13 15:33:12,858 INFO  [http-bio-8080-exec-2] com.cerner.aeon.ops.resource.LogResource correlationId=7732fec3-1d89-4252-be82-52561d821247 userId=1315931 systemId=nya9mWd9vqI_z1LcF5uLfCwewAGCVrY1 sessionId=0c5daa39-f562-462e-9a11-0b3d9d8a35ea data=[
  [
    {
      "SessionId" : "a2cb63d1-54c2-43b0-b64e-74dc44a232a4",
      "NetworkStatus" : "WiFi",
      "ExceptionName" : "NSInvalidArgumentException",
      "ExceptionUserInfo" : "",
      "AppVersion" : "3.9",
      "DeviceId" : "48DFFE86-3898-436B-B273-37BF136D759C",
      "TenantId" : "nya9mWd9vqI_z1LcF5uLfCwewAGCVrY1",
      "TimeStamp" : "2015-11-12 08:43:07:882",
      "DeviceModel" : "iPad5,4",
      "UserId" : "etpcp",
      "DeviceOS" : "iPhone OS Version 9.1 (Build 13B143)",
      "RegionId" : "",
      "MessageType" : "CrashReport",
      "ExceptionReason" : "-[UIThreadSafeNode textInputView]: unrecognized selector sent to instance 0x13fc5dcb0",
      "IPAddress" : "172.16.3.156",
      "AppName" : "Ambulatory",
      "BuildDateTime" : "2015-10-22 16:27:05",
      "CrashReportVersion" : "2.1",
      "DeviceName" : "Jessica's iPad"
    },
    {
      "StackTrace" : [
        "#0  CoreFoundation                      0X0000000185B38F48 <redacted>()",
        "#1  libobjc.A.dylib                     0X000000019A97FF80 objc_exception_throw()",
        "#2  CoreFoundation                      0X0000000185B3FC5C <redacted>()",
        "#3  CoreFoundation                      0X0000000185B3CC00 <redacted>()",
        "#4  CoreFoundation                      0X0000000185A40CAC _CF_forwarding_prep_0()",
        "#5  UIKit                               0X000000018B5D17E0 -[_UIKeyboardTextSelectionGestureController redisableEnclosingScrollViewNestedPinching]",
        "#6  UIKit                               0X000000018B5D0640 -[_UIKeyboardTextSelectionGestureController _cleanupDeadGesturesIfNecessary]",
        "#7  UIKit                               0X000000018B5D4C58 -[_UIKeyboardBasedTextSelectionGestureController _cleanupDeadGesturesIfNecessary]",
        "#8  UIKit                               0X000000018B4D8734 -[UIKeyboardImpl setTextSelectionControllerFromDelegate]",
        "#9  UIKit                               0X000000018B0F9800 -[UIKeyboardImpl setDelegate:force:]",
        "#10 UIKit                               0X000000018B0F30B8 -[UIPeripheralHost _reloadInputViewsForResponder:]",
        "#11 UIKit                               0X000000018B1DCBB4 -[UIResponder _finishResignFirstResponder]",
        "#12 UIKit                               0X000000018B17DFD4 -[UIResponder resignFirstResponder]",
        "#13 UIKit                               0X000000018B2EF72C -[UIWebDocumentView resignFirstResponder]",
        "#14 UIKit                               0X000000018B2EF648 -[UIWebBrowserView resignFirstResponder]",
        "#15 UIKit                               0X000000018B2627FC -[UIView endEditing:]",
        "#16 Ambulatory                          0X0000000100207308 -[ChartSummaryViewController dismissKeyboard]",
        "#17 Ambulatory                          0X0000000100205EC0 -[ChartSummaryViewController viewWillDisappear:]",
        "#18 UIKit                               0X000000018B0E46B4 -[UIViewController _setViewAppearState:isAnimating:]",
        "#19 UIKit                               0X000000018B15B8C4 -[UIViewController __viewWillDisappear:]",
        "#20 UIKit                               0X000000018B1A7180 -[UINavigationController viewWillDisappear:]",
        "#21 UIKit                               0X000000018B0E46B4 -[UIViewController _setViewAppearState:isAnimating:]",
        "#22 UIKit                               0X000000018B186444 <redacted>()",
        "#23 CoreFoundation                      0X0000000185A365D0 <redacted>()",
        "#24 CoreFoundation                      0X0000000185A2D2F8 -[__NSArrayI enumerateObjectsWithOptions:usingBlock:]",
        "#25 UIKit                               0X000000018B0E47FC -[UIViewController _setViewAppearState:isAnimating:]",
        "#26 UIKit                               0X000000018B186444 <redacted>()",
        "#27 CoreFoundation                      0X0000000185A365D0 <redacted>()",
        "#28 CoreFoundation                      0X0000000185A2D320 -[__NSArrayI enumerateObjectsWithOptions:usingBlock:]",
        "#29 UIKit                               0X000000018B0E47FC -[UIViewController _setViewAppearState:isAnimating:]",
        "#30 UIKit                               0X000000018B186444 <redacted>()",
        "#31 CoreFoundation                      0X0000000185A365D0 <redacted>()",
        "#32 CoreFoundation                      0X0000000185A2D320 -[__NSArrayI enumerateObjectsWithOptions:usingBlock:]",
        "#33 UIKit                               0X000000018B0E47FC -[UIViewController _setViewAppearState:isAnimating:]",
        "#34 UIKit                               0X000000018B15B8C4 -[UIViewController __viewWillDisappear:]",
        "#35 UIKit                               0X000000018B15B738 -[UIViewController applicationWantsViewsToDisappear]",
        "#36 CoreFoundation                      0X0000000185ADE60C <redacted>()",
        "#37 CoreFoundation                      0X0000000185ADDE2C <redacted>()",
        "#38 CoreFoundation                      0X0000000185ADDBAC <redacted>()",
        "#39 CoreFoundation                      0X0000000185B43424 -[_CFXNotificationRegistrar find:object:observer:enumerator:]",
        "#40 CoreFoundation                      0X0000000185A1E714 _CFXNotificationPost()",
        "#41 Foundation                          0X000000018698EDCC -[NSNotificationCenter postNotificationName:object:userInfo:]",
        "#42 UIKit                               0X000000018B3793DC <redacted>()",
        "#43 UIKit                               0X000000018B37C56C <redacted>()",
        "#44 UIKit                               0X000000018B3894BC <redacted>()",
        "#45 UIKit                               0X000000018B0BD984 <redacted>()",
        "#46 CoreFoundation                      0X0000000185AEFBD0 <redacted>()",
        "#47 CoreFoundation                      0X0000000185AED974 <redacted>()",
        "#48 CoreFoundation                      0X0000000185AEDDA4 <redacted>()",
        "#49 CoreFoundation                      0X0000000185A1CCA0 CFRunLoopRunSpecific()",
        "#50 GraphicsServices                    0X0000000190AB0088 GSEventRunModal()",
        "#51 UIKit                               0X000000018B134FFC UIApplicationMain()",
        "#52 Ambulatory                          0X000000010006E2B4 -[AppDelegate openChartSummaryAfterLoginWithPatient:andEncounter:]",
        "#53 libdyld.dylib                       0X000000019B1CE8B8 <redacted>()"
      ]
    },


I couldn't reproduce the issue but in Production this is happening quite often. Based on the crash logs, here is the workflow.

1. search for patient and load review page.
2. Review page is a table view. Some rows have UIWebViews with html text fields. (These webviews have .css and .js styles as well). 
3. Add some text in text fields sections. 
4. Let it sit idle until the session times out or take the app to background. 
5. App crashes.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!