Community
Participate
Working Groups
Created attachment 261892 [details] example repro In Java editor when hovering on Java element whose javadoc contains <embed svg> tags Eclipse hangs and JVM crashes shortly after. Reproducible both with GTK2 and GTK3 on Ubuntu 14.04 32 and 64 bit. A real world example of this issue is ANTLR's ATNState class that uses SVGs in its javadoc. http://www.antlr.org/api/Java/org/antlr/v4/runtime/atn/ATNState.html
Created attachment 261893 [details] jvm crashdump
Even trying to open the referenced svg file(https://upload.wikimedia.org/wikipedia/commons/b/bd/Test.svg) in internal web browser doesn't work (browser does nothing). Leo, please investigate.
Ooops, my mistake. Internal browser works proper but when hovering over class A it actually opens Web Browser editor instead of rendering in the popup.
Yea, it seems specific to the javadoc 'hover'. It opens the page in a new external browser for some reason. Webkit1 just crashes Webkit2 sort of hangs, doesn't render properly. Hmmm.
As a note, this is not a duplicate of: 530678 – [webkit2] UI hangs after navigating through Javadoc hover, when clicking an icon or link to an image. https://bugs.eclipse.org/bugs/show_bug.cgi?id=530678 This issue occurs on webkit1 & webkit2. The other is webkit2 specific.
Note to self: Offending javadoc: /** * <embed src="https://upload.wikimedia.org/wikipedia/commons/b/bd/Test.svg" type="image/svg+xml"/> */ On Windows, this opens a new Browser tab when hoving with mouse over javadoc.
Fixed via: https://git.eclipse.org/r/#/c/120730/ Thank you for this bug report.