Gentoo Archives: gentoo-user

From: gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: pycharm-community crashed on the first start
Date: Sun, 24 Jan 2021 08:07:50
Message-Id: CA+t6X7c4y5HB8at6XMTH5Regu4NT7p25ZZoAyACsfoYATc18YQ@mail.gmail.com
In Reply to: [gentoo-user] pycharm-community crashed on the first start by gevisz
1 ср, 23 дек. 2020 г. в 22:33, gevisz <gevisz@×××××.com>:
2 >
3 > I have just installed pycharm-community 2020.1.3 (marked stable) with
4 > its default settings (that is with +bundled-jdk use flag) on my newly
5 > installed Gentoo system and tried to start it using the following
6 > command:
7 > /opt/pycharm-community/bin/pycharm.sh
8 >
9 > Unfortunately, pycharm crashed on the start reporting the following error:
10 >
11 > # A fatal error has been detected by the Java Runtime Environment:
12 > #
13 > # SIGSEGV (0xb) at pc=0x0000000000000000, pid=26676, tid=26725
14 > #
15 > # JRE version: OpenJDK Runtime Environment (11.0.7+10) (build 11.0.7+10-b765.64)
16 > # Java VM: OpenJDK 64-Bit Server VM (11.0.7+10-b765.64, mixed mode,
17 > tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
18 > # Problematic frame:
19 > # C 0x0000000000000000
20 > #
21 > # Core dump will be written. Default location: /home/gevis/core
22 > #
23 > # If you would like to submit a bug report, please visit:
24 > # http://bugreport.java.com/bugreport/crash.jsp
25 > # The crash happened outside the Java Virtual Machine in native code.
26 > # See problematic frame for where to report the bug.
27 >
28 > A longer error report from /home/gevis/java_error_in_PYCHARM_26676.log
29 > tells me nothing meaningful. :(
30 >
31 > I have no other Java JDK installed on my system.
32 >
33 > Is it a known problem? Shall I try to install pycharm with
34 > -bundled-jdk use flag?
35
36 I have just compiled pycharm-community without bundled-jdk use flag
37 and found out that now it can start (after setting
38 export PYCHARM_JDK=`java-config -O`
39
40 Moreover, I have found out that, in
41 https://wiki.gentoo.org/wiki/PyCharm_Community_Edition, it is stated
42 that "There are currently no USE flags available for
43 dev-util/pycharm-community" which is definitely not true.
44
45 So, I have filed the following bug about all this:
46 https://bugs.gentoo.org/764926