FS#69283 - intellij idea fails to start due to JRE SIGSEGV

Attached to Project: Community Packages
Opened by Sergey Ivanov (voivoid) - Sunday, 10 January 2021, 21:18 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 11 January 2021, 19:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:
Intellij Idea fails to start due to JRE SIGSEGV error

see the attached file for full log.

JRE top stack frames:
j com.sun.java.swing.plaf.gtk.GTKStyle.nativeGetXThickness(I)I+0 java.desktop@11.0.10
j com.sun.java.swing.plaf.gtk.GTKStyle.<init>(Ljava/awt/Font;Lcom/sun/java/swing/plaf/gtk/GTKEngine$WidgetType;)V+24 java.desktop@11.0.10
j com.sun.java.swing.plaf.gtk.GTKStyleFactory.getStyle(Ljavax/swing/JComponent;Ljavax/swing/plaf/synth/Region;)Ljavax/swing/plaf/synth/SynthStyle;+310 java.desktop@11.0.10

Everything was fine before a jdk11-openjdk update (11.0.8.u10-1 -> 11.0.10.u8-1).
Reverting to the previous jdk version fixes the problem.

here is a bug with a very similar stack trace - https://bugs.openjdk.java.net/browse/JDK-8255790


Additional info:
* package version(s)
intellij-idea-community-edition 2:2021.3.1-2

Steps to reproduce:
- update jdk and jre to 11.0.10.u8-1
- run intellij idea
This task depends upon

Closed by  Levente Polyak (anthraxx)
Monday, 11 January 2021, 19:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  11.0.10.u8-2
Comment by Levente Polyak (anthraxx) - Sunday, 10 January 2021, 21:41 GMT
nice analysis thanks for the report. can you try if its working if you rebuild openjdk11 with the mentioned patch reverted?
Comment by Helge Heuer (Holgerillo) - Monday, 11 January 2021, 12:13 GMT
By downgrading to jdk/jre 11.0.8 intellij is working.
Comment by Levente Polyak (anthraxx) - Monday, 11 January 2021, 12:45 GMT
@Helge, that has already been pointed out in the description please dont duplicate info :)
What would help is testing the revert I have pointed out in the comment.
Comment by Peter Weber (hoschi) - Monday, 11 January 2021, 12:47 GMT
OpenJDK 15 also doesn't work. And OpenJDK8 isn't longer supported.
Comment by Helge Heuer (Holgerillo) - Monday, 11 January 2021, 13:04 GMT
@Levente oh I am sorry, what do you mean by "mentioned patch reverted" then?
Comment by Levente Polyak (anthraxx) - Monday, 11 January 2021, 13:13 GMT
The comments in https://bugs.openjdk.java.net/browse/JDK-8255790 mention that reverting the patch for https://bugs.openjdk.java.net/browse/JDK-8249821 may address the problem
Comment by Levente Polyak (anthraxx) - Monday, 11 January 2021, 13:22 GMT
Please test 11.0.10.u8-2 i've enabled system harfbuzz and give feedback if that works for you
Comment by Helge Heuer (Holgerillo) - Monday, 11 January 2021, 13:32 GMT
Its working! Thank you :)
Comment by Helge Heuer (Holgerillo) - Monday, 11 January 2021, 14:28 GMT
Comment by Helge Heuer (Holgerillo) - Monday, 11 January 2021, 15:37 GMT
Comment by Sergey Ivanov (voivoid) - Monday, 11 January 2021, 17:30 GMT
Works like a charm! Thanks!

Loading...