Memory leak in WebEvent (UIWebView) on dismissing Keyboard
| Originator: | absessive | ||
| Number: | rdar://21248956 | Date Originated: | 04/06/2015 |
| Status: | Open | Resolved: | No |
| Product: | iOS SDK | Product Version: | iOS 8.3 |
| Classification: | Reproducible: | Yes |
Summary: When profiling an app with a UIWebView, after entering text to login, and the keyboard is dismissed automatically, there's a memory leak on WebEvent. Steps to Reproduce: After unzipping the project, run it on XCode 6.3.2 1. Launch the instruments and profile the app in an IOS 8.3 device. 2. Type text into the text fields and press enter 3. Dismiss the keyboard and wait for a few seconds. Expected Results: No memory leaks Actual Results: A memory leak with the leaked object - WebEvent and the following stack trace. 4 UIKit -[UIKeyboardImpl _handleWebKeyEvent:withEventType:withInputString:withInputStringIgnoringModifiers:] 5 UIKit -[UIKeyboardImpl _handleWebKeyEvent:withIndex:inInputString:executionContext:] 6 UIKit -[UIKeyboardImpl _handleWebKeyEvent:withInputString:executionContext:] 7 UIKit -[UIKeyboardImpl handleKeyEvent:executionContext:] 8 UIKit __33-[UIKeyboardImpl handleKeyEvent:]_block_invoke 9 UIKit -[UIKeyboardTaskQueue continueExecutionOnMainThread] 10 UIKit -[UIKeyboardTaskQueue addTask:] 11 UIKit -[UIKeyboardImpl handleKeyEvent:] 12 UIKit -[UIApplication _handleKeyUIEvent:] Version: iOS 8.3 Notes: Configuration: iPad 2, iPod 5
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!