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

19796494: SIGSEGV - segmentation violation - [UITextSelectionView textSelectionViewActivated:] #2031

Open
openradar-mirror opened this issue Aug 3, 2015 · 0 comments

Comments

@openradar-mirror
Copy link

Description

Summary:
App may crash internally when pasting and/or selecting within a contenteditable div in a UIWebView with the following trace:

"StackTrace" : [
"#0 Instanote 0X0018036B +[Logging signalHandler:]",
"#1 Instanote 0X0015C7ED signalHandler()",
"#2 libsystem_platform.dylib 0X3633587B _sigtramp()",
"#3 UIKit 0X2B785929 -[UITextSelectionView textSelectionViewActivated:]",
"#4 CoreFoundation 0X28175C61 ()",
"#5 CoreFoundation 0X280D16D5 _CFXNotificationPost()",
"#6 Foundation 0X28E03189 -[NSNotificationCenter postNotificationName:object:userInfo:]",
"#7 Foundation 0X28E07CEF -[NSNotificationCenter postNotificationName:object:]",
"#8 UIKit 0X2B7857F3 -[UITextSelectionView activate]",
"#9 UIKit 0X2BC337C3 -[UIDictationLandingView showCursor]",
"#10 UIKit 0X2BC34047 -[UIDictationLandingView stopLanding]",
"#11 UIKit 0X2BC0984F -[UIDictationController cancelDictation]",
"#12 UIKit 0X2B6B97AF -[UIKeyboardImpl prepareForSelectionChange]",
"#13 UIKit 0X2B9F08F9 -[UIWebDocumentView paste:]",
"#14 UIKit 0X2BADD399 -[UICalloutBar buttonPressed:]",
"#15 Foundation 0X28EC2F99 __NSFireDelayedPerform()",
"#16 CoreFoundation 0X28183C87 ()",
"#17 CoreFoundation 0X28183803 ()",
"#18 CoreFoundation 0X28181A53 ()",
"#19 CoreFoundation 0X280CF3C1 CFRunLoopRunSpecific()",
"#20 CoreFoundation 0X280CF1D3 CFRunLoopRunInMode()",
"#21 GraphicsServices 0X2F4A40A9 GSEventRunModal()",
"#22 UIKit 0X2B6DEFA1 UIApplicationMain()",
"#23 Instanote 0X000D2867 main()",
"#24 libdyld.dylib 0X361F5AAF ()"
]

Steps to Reproduce:
Paste some text of any length into a contenteditable div in a UIWebView. Immediately attempt to select text. There is a chance an exception may occur internally on the UIWebBrowserView.

Expected Results:
App shouldn't crash internally when pasting and selecting

Actual Results:
App crashes internally when pasting and selecting

Version:
iOS 8.1.2 (12B440)

Notes:
We were not able to reproduce this in a basic app.

Configuration:
iPad 4, WiFi

Product Version: iOS 8.1.2 (12B440)
Created: 2015-02-11T15:53:11.821088
Originated: 2015-02-11T00:00:00
Open Radar Link: http://www.openradar.me/19796494

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