Summary: | [GTK][webkit] Eclipse freezes sometimes when showing proposals | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Alexander Suter <alexander.suter> | ||||||
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||
Status: | NEW --- | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | christian.strebel, loskutov, reguel.wermelinger, simeon.danailov.andreev | ||||||
Version: | 4.15 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
See Also: |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=564911 https://bugs.eclipse.org/bugs/show_bug.cgi?id=569853 |
||||||||
Whiteboard: | |||||||||
Attachments: |
|
Please provide exact Eclipse, GTK3 and webkit versions you are using. Eclipse: 4.15.0.v20200305-0155 GTK: org.eclipse.swt.internal.gtk.version=3.24.18 / libgtk-3-0:amd64 3.24.18-1ubuntu1 amd64 WebKit: org.eclipse.swt.gtk.linux.x86_64 / 3.114.0.v20200304-0601 But the thread dump is from an older version of eclipse. At the moment I'm not able to take a thread dump anymore, because the jvm is crashing (bug in jvm). I will try to take another one, somehow. But its maybe the same place where the application is hanging. Please attach JVM crash log file. Created attachment 283179 [details] JVM Crash after taking a thread dump When creating a thread dump jvm is crashing. Therefore I have reported a bug report: https://github.com/AdoptOpenJDK/openjdk-support/issues/122 The AdoptOpenJDK team has closed the issue https://github.com/AdoptOpenJDK/openjdk-support/issues/122. The assumption is that this must be fixed in the native libraries of eclipse. As stated in https://github.com/AdoptOpenJDK/openjdk-support/issues/122 the root cause seems to be in Eclipse or the product (Axon.ivy). (In reply to Alexander Suter from comment #7) > As stated in https://github.com/AdoptOpenJDK/openjdk-support/issues/122 the > root cause seems to be in Eclipse or the product (Axon.ivy). The first SWT commit that I can see the jstack crash with is: https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=558be9a19c6de3c914ccbed0ac541d5c849bf1f5 Probably best to move this discussion in a separate ticket though. |
Created attachment 283178 [details] Threaddump Eclipse is freezing when showing proposals in Java Editor. It seems that it want to show a swt webkit browser. We built a product out of the eclipse platform and have implemented an own "Web Editor" which is based on a JavaFX. As soon as this was in charge eclipse freezes when showing proposals in the Java Editor. JavaFX changes the name of the 'main'-Thread to "JavaFX Application Thread". This is not very nice, but maybe no problem at all? It seems that somewhere here is something strange: org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) I think its a locking issue in webkit, but I'm not really sure ... Have a look at the ThreadDump.