【问题标题】:pycharm is not getting started on windows 10pycharm 没有在 Windows 10 上启动
【发布时间】:2021-01-30 16:31:01
【问题描述】:

尝试重新安装 Pycharm 和 Intellij,但安装后,单击启动器时应用程序无法启动。此外,系统已经在 error_in_pycharm_2484.log 文件上添加了以下内容:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffd4303f183, pid=4284, tid=15108
#
# JRE version: OpenJDK Runtime Environment (11.0.5+10) (build 11.0.5+10-b520.17)
# Java VM: OpenJDK 64-Bit Server VM (11.0.5+10-b520.17, mixed mode, sharing, tiered, compressed oops, concurrent mark sweep gc, windows-amd64)
# Problematic frame:
# V  [jvm.dll+0x59f183]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  S U M M A R Y ------------

Command Line: exit -Xms128m -Xmx2023m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf=true -Dkotlinx.coroutines.debug=off -Djdk.module.illegalAccess.silent=true -Djb.vmOptionsFile=C:\Users\pyadgire\.PyCharmCE2019.3\config\pycharm64.exe.vmoptions -Djava.library.path=C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\jbr\\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.1\jbr\\bin\server -Didea.platform.prefix=PyCharmCore -Dide.native.launcher=true -Didea.paths.selector=PyCharmCE2019.3 -XX:ErrorFile=C:\Users\pyadgire\java_error_in_pycharm_%p.log -XX:HeapDumpPath=C:\Users\pyadgire\java_error_in_pycharm.hprof 

Host: Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz, 8 cores, 15G,  Windows 10 , 64 bit Build 16299 (10.0.16299.1146)
Time: Wed Apr  8 20:48:55 2020 India Standard Time elapsed time: 0 seconds (0d 0h 0m 0s)

---------------  T H R E A D  ---------------

Current thread (0x0000000004d89800):  JavaThread "main" [_thread_in_vm, id=15108, stack(0x0000000000050000,0x0000000000150000)]

Stack: [0x0000000000050000,0x0000000000150000],  sp=0x000000000014c320,  free space=1008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0x59f183]
V  [jvm.dll+0x59e120]
C  0x0000000008c1f077

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.lang.invoke.MethodHandleNatives.expand(Ljava/lang/invoke/MemberName;)V+0 java.base@11.0.5
j  java.lang.invoke.MemberName.expandFromVM()V+17 java.base@11.0.5
j  java.lang.invoke.MemberName.getMethodType()Ljava/lang/invoke/MethodType;+8 java.base@11.0.5
j  java.lang.invoke.MemberName.checkForTypeAlias(Ljava/lang/Class;)V+30 java.base@11.0.5
j  java.lang.invoke.MemberName$Factory.resolve(BLjava/lang/invoke/MemberName;Ljava/lang/Class;Z)Ljava/lang/invoke/MemberName;+58 java.base@11.0.5

请帮助我如何解决它。这发生在很久以前! 谢谢!

【问题讨论】:

    标签: java python windows pycharm


    【解决方案1】:

    EXCEPTION_ACCESS_VIOLATION 通常在加载一些本机代码出错时发生,如果您的内存不足或某处存在一些硬错误,则可能会发生这种情况。

    但是,对其他错误有帮助的只是删除项目中的 .idea 文件夹,但在您的情况下,听起来整个 IDE 不再启动。

    因此,我建议使用 JetBrains 填写一张票,因为这很可能超出了错误的平均范围。我使用 JetBrains IDE 已经快十年了,但从未见过这个。

    【讨论】:

    • 我按照日志中的建议在bugreport.java.com/bugreport/crash.jsp 提出了一张票。删除项目中的 .idea 文件夹无效!!
    • Oracle 不太可能在合理的时间内采取行动,但报告总是好的做法。我看到您使用 Java 11。您可以升级到更新的 Java 版本,即 15 吗?有时,它会起作用。
    猜你喜欢
    • 2015-10-29
    • 2021-05-15
    • 1970-01-01
    • 2015-09-16
    • 2019-08-14
    • 2017-07-21
    • 1970-01-01
    • 1970-01-01
    • 2020-09-03
    相关资源
    最近更新 更多