Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

23235185: App crashed while UIWebView doing spell check #8062

Open
openradar-mirror opened this issue Apr 10, 2016 · 0 comments
Open

23235185: App crashed while UIWebView doing spell check #8062

openradar-mirror opened this issue Apr 10, 2016 · 0 comments

Comments

@openradar-mirror
Copy link

Description

Summary:
My UIWebView shows a login page. The app crashed while UIWebView doing spell check on username field. I am not sure how the spell check started. Please find the stacktrace below -

"StackTrace" : [
"#0 MyApp 0X00000001001A4AB4 +[Logging signalHandler:]",
"#1 MyApp 0X000000010017CD8C -[NSURL portByScheme]",
"#2 libsystem_platform.dylib 0X000000019817C95C _sigtramp()",
"#3 ProofReader 0X0000000191FB8B34 ICspl()",
"#4 ProofReader 0X0000000191FB8B34 ICspl()",
"#5 ProofReader 0X0000000191FB77A4 PRIcs()",
"#6 ProofReader 0X0000000191FBEF20 PRword()",
"#7 ProofReader 0X0000000191FBEACC -[AppleSpell validateWordBuffer:length:connection:]",
"#8 ProofReader 0X0000000191FD0B50 -[AppleSpell validateWordBuffer:length:language:connection:sender:checkBase:checkDict:checkTemp:checkUser:checkNames:checkHyphens:checkIntercaps:checkOptions:depth:]",
"#9 ProofReader 0X0000000191FBDA6C -[AppleSpell validateWordBuffer:length:language:connection:sender:checkBase:checkDict:checkTemp:checkNames:checkHyphens:checkIntercaps:checkOptions:depth:]",
"#10 ProofReader 0X0000000191FB3618 -[AppleSpell spellServer:findMisspelledWordInString:range:languages:topLanguages:orthography:checkOrthography:mutableResults:offset:autocorrect:keyEventData:appIdentifier:wordCount:countOnly:correction:]",
"#11 ProofReader 0X0000000191FB2930 -[AppleSpell spellServer:findMisspelledWordInString:language:wordCount:countOnly:correction:]",
"#12 UIKit 0X000000018A9001EC -[UITextChecker _chunkAndFindMisspelledWordInString:language:learnedDictionaries:wordCount:correction:usingChecker:]",
"#13 UIKit 0X000000018A8FFDD8 -[UITextChecker checkSpellingOfString:startingAt:language:wrap:correction:]",
"#14 UIKit 0X000000018A8FFAAC -[UITextChecker rangeOfMisspelledWordInString:range:startingAt:wrap:language:]",
"#15 UIKit 0X000000018A9630C0 -[UIWebDocumentView checkSpellingOfString:]",
"#16 CoreFoundation 0X0000000185CB6050 ()",
"#17 CoreFoundation 0X0000000185BB1F9C -[NSInvocation invoke]",
"#18 CoreFoundation 0X0000000185BB6AD0 -[NSInvocation invokeWithTarget:]",
"#19 WebKitLegacy 0X0000000195909488 -[_WebSafeForwarder forwardInvocation:]",
"#20 CoreFoundation 0X0000000185CB3EC0 ()",
"#21 CoreFoundation 0X0000000185BB696C _CF_forwarding_prep_0()",
"#22 CoreFoundation 0X0000000185CB6050 ()",
"#23 CoreFoundation 0X0000000185BB1F9C -[NSInvocation invoke]",
"#24 WebCore 0X0000000194AADA60 ()",
"#25 CoreFoundation 0X0000000185C67F8C ()",
"#26 CoreFoundation 0X0000000185C67230 ()",
"#27 CoreFoundation 0X0000000185C652E0 ()",
"#28 CoreFoundation 0X0000000185B90F74 CFRunLoopRunSpecific()",
"#29 GraphicsServices 0X000000018F5F36FC GSEventRunModal()",
"#30 UIKit 0X000000018A792D94 UIApplicationMain()",
"#31 CareAwareConnect 0X000000010013CA1C -[LocationsRetriever .cxx_destruct]",
"#32 libdyld.dylib 0X0000000197FCEA08 ()"
]

Steps to Reproduce:

  1. Launch an app with UIWebView showing some input field.
  2. Try entering some miss-spelled word on input filed. Make sure its doing spell check.
  3. The app will crash.

Expected Results:
The app shouldn't crash.

Actual Results:
The app crashed with SIGSEGV - segmentation violation in [AppleSpell validateWordBuffer:length:connection:].

Version:
iPhone OS Version 8.4.1 (Build 12H321)

Configuration:
iPhone 5s using WiFi

Product Version: iPhone OS Version 8.4.1 (Build 12H321)
Created: 2015-10-23T15:35:47.883330
Originated: 2015-10-23T10:30:00
Open Radar Link: http://www.openradar.me/23235185

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant