Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764926 - dev-util/pycharm-community USE="bundled-jdk" crashes on start
Summary: dev-util/pycharm-community USE="bundled-jdk" crashes on start
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-11 08:06 UTC by gevisz@gmail.com
Modified: 2021-06-25 19:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
a full log file (java_error_in_PYCHARM_2305.log,115.13 KB, text/x-log)
2021-01-11 08:06 UTC, gevisz@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gevisz@gmail.com 2021-01-11 08:06:47 UTC
Created attachment 682348 [details]
a full log file

$ /opt/pycharm-community/bin/pycharm.sh                                                                                                                            -- INSERT --
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2021-01-11 09:36:16,160 [   5880]   WARN - llij.ide.plugins.PluginManager - Resource bundle redefinition for plugin 'com.jetbrains.pycharm.community.customization'. Old value: messages.ActionsBundle, new value: messages.PyBundle 
2021-01-11 09:36:17,188 [   6908]   WARN - llij.ide.plugins.PluginManager - Problems found loading plugins:
  The BashSupport (id=BashSupport, path=~/.local/share/JetBrains/PyCharmCE2020.1/BashSupport, version=1.7.7) plugin is incompatible (reason: until build 191.SNAPSHOT < PC-201.8538.36, target build range is 145.0 to 191.*)
  The IdeaVim (id=IdeaVIM, path=~/.local/share/JetBrains/PyCharmCE2020.1/IdeaVim, version=0.51) plugin was marked as broken 
2021-01-11 09:36:22,486 [  12206]   WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: com.intellij] 
2021-01-11 09:36:22,499 [  12219]   WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: com.intellij] 
2021-01-11 09:36:22,499 [  12219]   WARN - nSystem.impl.ActionManagerImpl - keymap "NetBeans 6.5" not found [Plugin: com.intellij] 
2021-01-11 09:36:22,500 [  12220]   WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: com.intellij] 
2021-01-11 09:36:23,304 [  13024]   WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: PythonCore] 
2021-01-11 09:36:23,304 [  13024]   WARN - nSystem.impl.ActionManagerImpl - keymap "NetBeans 6.5" not found [Plugin: PythonCore] 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000000000, pid=2305, tid=2349
#
# JRE version: OpenJDK Runtime Environment (11.0.7+10) (build 11.0.7+10-b765.64)
# Java VM: OpenJDK 64-Bit Server VM (11.0.7+10-b765.64, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
# Problematic frame:
# C  0x0000000000000000
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/gevis/java_error_in_PYCHARM_2305.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/opt/pycharm-community/bin/pycharm.sh: line 224:  2305 Aborted                 "$JAVA_BIN" -classpath "$CLASSPATH" ${VM_OPTIONS} "-XX:ErrorFile=$HOME/java_error_in_PYCHARM_%p.log" "-XX:HeapDumpPath=$HOME/java_error_in_PYCHARM.hprof" -Didea.paths.selector=PyCharmCE2020.1 "-Djb.vmOptionsFile=$VM_OPTIONS_FILE" ${IDE_PROPERTIES_PROPERTY} -Didea.platform.prefix=PyCharmCore com.intellij.idea.Main "$@
Comment 1 Tomáš Mózes 2021-01-11 14:20:53 UTC
Works fine without USE="bundled-jdk"?
Comment 2 gevisz@gmail.com 2021-01-11 17:53:58 UTC
(In reply to Tomáš Mózes from comment #1)
> Works fine without USE="bundled-jdk"?

I have not tried it for the current "stable" version of pycharm-community that is 2020.1.3. However, version 2018.03.04 worked for me without this use flag on the same computer and similar configuration of the Gentoo system.
Comment 3 gevisz@gmail.com 2021-01-24 07:16:10 UTC
(In reply to Tomáš Mózes from comment #1)
> Works fine without USE="bundled-jdk"?

Yes. It works when compeled without bundled-jdk use flag.

Moreover, in https://wiki.gentoo.org/wiki/PyCharm_Community_Edition, is stated that "There are currently no USE flags available for dev-util/pycharm-community" which is definitely not true. (Or, may be, it is true taking into account that bundled-jdk use flag is not working. :) In this case, this use flag should be deleted.)
Comment 4 gevisz@gmail.com 2021-01-24 07:24:01 UTC
Also, to start, it demands
export PYCHARM_JDK=`java-config -O`

Without it, it reports the following error:
"No JDK found. Please validate either PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation."

May be, it is the reason why it does not start when compiled with bundled-jdk as well. However, in that case, it does not report the error above.
Comment 5 Joakim Tjernlund 2021-05-08 15:28:18 UTC
For me dev-util/pycharm-community-2020.3 SEGVs with >dev-java/openjdk-11.0.9_p11
Comment 6 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-06-25 19:25:44 UTC
Please test with never version