commit | 0ad8ea80dcb3660bf19672582e7e83b95fd182eb | [log] [tgz] |
---|---|---|
author | Leo Ufimtsev <lufimtse@redhat.com> | Tue Oct 03 10:54:36 2017 -0400 |
committer | Leo Ufimtsev <lufimtse@redhat.com> | Tue Oct 17 14:31:23 2017 -0400 |
tree | f19f9c38b0a3f9a7ac7b7ed3c58759262fe68982 | |
parent | 61a598af4dfda586b27d87537bb2d015bd614ba1 [diff] |
Bug 522733 - Crash on close with webkitgtk 2.18 (Workaround) (Backport to 4.7.2) As of Webkitgtk 2.18, webkitgtk2 crashes if the first instance of webview is not referenced when JVM shuts down. There is a exit handler that tries to dereference the first instance [which if not referenced] leads to a crash. This workaround would benefit from deeper investigation (find root cause etc...). With that said, this patch only adds a single reference to a single instance of webview, which is cleaned up on JVM shutdown. I believe this doesn't leave a memory leak behind. This bug might potentially be caused by some race condition as well. e.g webkitgtk still doing something while jvm is shutting down etc... Tests: - Browser JUnit tests on Webkit1 & Webkit2. Change-Id: I414af620cb82a745f1c3bd3c4c67ce53ffe4c320 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Thanks for your interest in this project.
See the following description for how to contribute a feature or a bug fix to SWT.
Information regarding source code management, builds, coding standards, and more and be found under the following link.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Contact the project developers via the project's “dev” list.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!