{"action":"created","issue":{"url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/419","repository_url":"https://api.github.com/repos/slackhq/SlackTextViewController","labels_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/419/labels{/name}","comments_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/419/comments","events_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/419/events","html_url":"https://github.com/slackhq/SlackTextViewController/issues/419","id":141548093,"number":419,"title":"Crash in [SLKTextViewController textView:shouldChangeTextInRange:replacementText:]","user":{"login":"kevinrenskers","id":229384,"avatar_url":"https://avatars.githubusercontent.com/u/229384?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinrenskers","html_url":"https://github.com/kevinrenskers","followers_url":"https://api.github.com/users/kevinrenskers/followers","following_url":"https://api.github.com/users/kevinrenskers/following{/other_user}","gists_url":"https://api.github.com/users/kevinrenskers/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinrenskers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinrenskers/subscriptions","organizations_url":"https://api.github.com/users/kevinrenskers/orgs","repos_url":"https://api.github.com/users/kevinrenskers/repos","events_url":"https://api.github.com/users/kevinrenskers/events{/privacy}","received_events_url":"https://api.github.com/users/kevinrenskers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-17T10:56:45Z","updated_at":"2016-03-17T15:55:23Z","closed_at":null,"body":"```\r\nIncident Identifier: 68EC739B-49F8-41F1-9DFC-22C44666DAD2\r\nCrashReporter Key:   9632BADF-F9D2-4D65-A276-35DD67D96B8C\r\nHardware Model:      iPhone7,2\r\nProcess:         sling [5368]\r\nPath:            /var/mobile/Containers/Bundle/Application/485CC99D-8407-4863-A7E5-823EA90A84AA/sling.app/sling\r\nIdentifier:      is.gangverk.sling\r\nVersion:         1.24 (252)\r\nCode Type:       ARM-64\r\nParent Process:  ??? [1]\r\n\r\nDate/Time:       2016-03-17T03:37:36Z\r\nLaunch Time:     2016-03-17T03:37:16Z\r\nOS Version:      iPhone OS 9.2.1 (13D15)\r\nReport Version:  104\r\n\r\nException Type:  SIGABRT\r\nException Codes: #0 at 0x18078c140\r\nCrashed Thread:  0\r\n\r\nApplication Specific Information:\r\n*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSTaggedPointerString rangeOfString:options:range:locale:]: Range {0, 18446744073709551615} out of bounds; string length 1'\r\n\r\nLast Exception Backtrace:\r\n0   CoreFoundation                       0x0000000180be9900 __exceptionPreprocess + 124\r\n1   libobjc.A.dylib                      0x0000000180257f80 objc_exception_throw + 52\r\n2   CoreFoundation                       0x0000000180be9848 +[NSException raise:format:] + 116\r\n3   Foundation                           0x00000001814caf38 -[NSString rangeOfString:options:range:locale:] + 200\r\n4   sling                                0x00000001001e91b0 -[SLKTextViewController textView:shouldChangeTextInRange:replacementText:] (SLKTextViewController.m:1883)\r\n5   sling                                0x0000000100082f34 -[BaseSlackTextViewController textView:shouldChangeTextInRange:replacementText:] (BaseSlackTextViewController.m:249)\r\n6   UIKit                                0x0000000185aabdd8 -[UITextView keyboardInput:shouldInsertText:isMarkedText:] + 156\r\n7   UIKit                                0x0000000185aabcb0 -[UIKeyboardImpl callShouldInsertText:] + 124\r\n8   UIKit                                0x0000000185abd6fc -[UIKeyboardImpl addWordTerminator:afterSpace:elapsedTime:executionContext:] + 84\r\n9   UIKit                                0x0000000186245f64 -[UIKeyboardTaskExecutionContext returnExecutionToParentWithInfo:] + 268\r\n10  UIKit                                0x0000000185cf4be0 -[UIKeyboardImpl acceptAutocorrectionForWordTerminator:executionContextPassingTIKeyboardCandidate:] + 276\r\n11  UIKit                                0x0000000185cf443c -[UIKeyboardImpl addInputEvent:executionContext:] + 1060\r\n12  UIKit                                0x0000000185cf3f94 __81-[UIKeyboardImpl addInputString:withFlags:withInputManagerHint:executionContext:]_block_invoke + 56\r\n13  UIKit                                0x0000000186245f64 -[UIKeyboardTaskExecutionContext returnExecutionToParentWithInfo:] + 268\r\n14  UIKit                                0x0000000185cf3ed0 -[UIKeyboardImpl addInputString:withFlags:withInputManagerHint:executionContext:] + 412\r\n15  UIKit                                0x0000000185aab930 -[UIKeyboardImpl handleKeyWithString:forKeyEvent:executionContext:] + 668\r\n16  UIKit                                0x0000000185aab254 -[UIKeyboardImpl handleKeyEvent:executionContext:] + 1768\r\n17  UIKit                                0x0000000185aa9730 -[UIKeyboardImpl _handleKeyEvent:executionContext:] + 224\r\n18  UIKit                                0x0000000185aa8358 -[UIKeyboardLayoutStar completeRetestForTouchUp:timestamp:interval:executionContext:] + 4464\r\n19  UIKit                                0x0000000185aa6a08 __28-[UIKeyboardLayout touchUp:]_block_invoke + 216\r\n20  UIKit                                0x0000000185906e84 -[UIKeyboardTaskQueue continueExecutionOnMainThread] + 340\r\n21  Foundation                           0x00000001815abe20 __NSThreadPerformPerform + 336\r\n22  CoreFoundation                       0x0000000180ba0efc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 20\r\n23  CoreFoundation                       0x0000000180ba0990 __CFRunLoopDoSources0 + 536\r\n24  CoreFoundation                       0x0000000180b9e690 __CFRunLoopRun + 720\r\n25  CoreFoundation                       0x0000000180acd680 CFRunLoopRunSpecific + 380\r\n26  GraphicsServices                     0x0000000181fdc088 GSEventRunModal + 176\r\n27  UIKit                                0x0000000185944d90 UIApplicationMain + 200\r\n28  sling                                0x0000000100068bc8 main (main.m:15)\r\n29  ???                                  0x000000018066e8b8 0x0 + 0\r\n```\r\n\r\nNo idea how it happened, I can't reproduce it myself."},"comment":{"url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/comments/197945222","html_url":"https://github.com/slackhq/SlackTextViewController/issues/419#issuecomment-197945222","issue_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/419","id":197945222,"user":{"login":"dzenbot","id":590579,"avatar_url":"https://avatars.githubusercontent.com/u/590579?v=3","gravatar_id":"","url":"https://api.github.com/users/dzenbot","html_url":"https://github.com/dzenbot","followers_url":"https://api.github.com/users/dzenbot/followers","following_url":"https://api.github.com/users/dzenbot/following{/other_user}","gists_url":"https://api.github.com/users/dzenbot/gists{/gist_id}","starred_url":"https://api.github.com/users/dzenbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzenbot/subscriptions","organizations_url":"https://api.github.com/users/dzenbot/orgs","repos_url":"https://api.github.com/users/dzenbot/repos","events_url":"https://api.github.com/users/dzenbot/events{/privacy}","received_events_url":"https://api.github.com/users/dzenbot/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T15:55:23Z","updated_at":"2016-03-17T15:55:23Z","body":"Are you using markdown formatters?\r\nWhat version of the lib are you currently using?"}}