Error occurred in pycharm python IDE

  • Context: Python 
  • Thread starter Thread starter shivajikobardan
  • Start date Start date
  • Tags Tags
    Error Python
Click For Summary
SUMMARY

The forum discussion centers on a fatal error encountered in PyCharm, specifically an EXCEPTION_ACCESS_VIOLATION (0xc0000005) related to the Java Runtime Environment (JRE) version OpenJDK 11.0.12.7. The error occurs due to a problematic frame in jvm.dll, indicating potential compatibility issues with the JVM on Windows 10. Users are advised to check their JVM version and consider using the correct one for their operating system to resolve the issue.

PREREQUISITES
  • Understanding of Java Runtime Environment (JRE) and its components
  • Familiarity with PyCharm IDE, specifically version 2021.2
  • Knowledge of Windows 10 operating system architecture
  • Basic troubleshooting skills for software errors
NEXT STEPS
  • Research compatibility requirements for OpenJDK with Windows 10
  • Learn how to configure JVM options in PyCharm
  • Explore common Java exceptions and their resolutions
  • Investigate alternative JVM distributions suitable for PyCharm
USEFUL FOR

Developers using PyCharm, Java programmers troubleshooting JVM issues, and system administrators managing Java applications on Windows 10.

shivajikobardan
Messages
637
Reaction score
54
TL;DR
error in pycharm
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffd51d4257f, pid=9852, tid=11684
#
# JRE version: OpenJDK Runtime Environment JBR-11.0.12.7-1504.40-jcef (11.0.12+7) (build 11.0.12+7-b1504.40)
# Java VM: OpenJDK 64-Bit Server VM JBR-11.0.12.7-1504.40-jcef (11.0.12+7-b1504.40, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# V [jvm.dll+0x50257f]
#
# 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:
# https://bugreport.java.com/bugreport/crash.jsp
#

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

Command Line: exit -Xmx1011m -Xms128m -XX:ReservedCodeCacheSize=512m -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -ea -Dsun.io.useCanonCaches=false -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Djb.vmOptionsFile=C:\Users\foo\AppData\Roaming\JetBrains\PyCharmCE2021.2\pycharm64.exe.vmoptions -Djava.system.class.loader=com.intellij.util.lang.PathClassLoader -Didea.vendor.name=JetBrains -Didea.paths.selector=PyCharmCE2021.2 -Didea.platform.prefix=PyCharmCore -Dsplash=true -Dide.native.launcher=true -XX:ErrorFile=C:\Users\foo\java_error_in_pycharm64_%p.log -XX:HeapDumpPath=C:\Users\foo\java_error_in_pycharm64.hprof

Host: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 4 cores, 7G, Windows 10 , 64 bit Build 19041 (10.0.19041.1348)
Time: Fri Nov 26 09:08:41 2021 Nepal Standard Time elapsed time: 2274.700665 seconds (0d 0h 37m 54s)

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

Current thread (0x000000002b548800): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=11684, stack(0x000000002c980000,0x000000002ca80000)]Current CompileTask:
C2:2274700 31209 4 com.intellij.openapi.util.io.FileUtilRt::toCanonicalPath (450 bytes)

Stack: [0x000000002c980000,0x000000002ca80000], sp=0x000000002ca7ad60, free space=1003k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x50257f]
V [jvm.dll+0x516eae]
V [jvm.dll+0x514270]
V [jvm.dll+0x51395d]
V [jvm.dll+0x209d33]
V [jvm.dll+0x203970]
V [jvm.dll+0x2010af]
V [jvm.dll+0x18ae6c]
V [jvm.dll+0x20fb97]
V [jvm.dll+0x20e3c1]
V [jvm.dll+0x74b88f]
V [jvm.dll+0x744355]
V [jvm.dll+0x5fe316]
C [ucrtbase.dll+0x21bb2]
C [KERNEL32.DLL+0x17034]
C [ntdll.dll+0x52651]siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x0000000000000028Register to memory mapping:

RIP=0x00007ffd51d4257f jvm.dll
RAX=0x0000000000004000 is an unknown value
RBX=0x000000002ca7b300 is pointing into the stack for thread: 0x000000002b548800
RCX=0x000000002ca7b2e0 is pointing into the stack for thread: 0x000000002b548800
RDX=0x0 is NULL
RSP=0x000000002ca7ad60 is pointing into the stack for thread: 0x000000002b548800
RBP=0x000000002ca7ae78 is pointing into the stack for thread: 0x000000002b548800
RSI=0x000000002ca7b2e0 is pointing into the stack for thread: 0x000000002b548800
RDI=0x0 is NULL
R8 =0x000000002ca7b2e0 is pointing into the stack for thread: 0x000000002b548800
R9 =0x0 is NULL
R10=0x000000006c6d6960 points into unknown readable memory: 0x000000006c2b38c8 | c8 38 2b 6c 00 00 00 00
R11=0x000000006c6d79e0 points into unknown readable memory: 0x000000002f52bde8 | e8 bd 52 2f 00 00 00 00
R12=0x000000006b9cb098 points into unknown readable memory: 0x00007ffd520878f0 | f0 78 08 52 fd 7f 00 00
R13=0x000000006b9cb098 points into unknown readable memory: 0x00007ffd520878f0 | f0 78 08 52 fd 7f 00 00
R14=0x0 is NULL
R15=0x000000002ca7af08 is pointing into the stack for thread: 0x000000002b548800Registers:
RAX=0x0000000000004000, RBX=0x000000002ca7b300, RCX=0x000000002ca7b2e0, RDX=0x0000000000000000
RSP=0x000000002ca7ad60, RBP=0x000000002ca7ae78, RSI=0x000000002ca7b2e0, RDI=0x0000000000000000
R8 =0x000000002ca7b2e0, R9 =0x0000000000000000, R10=0x000000006c6d6960, R11=0x000000006c6d79e0
R12=0x000000006b9cb098, R13=0x000000006b9cb098, R14=0x0000000000000000, R15=0x000000002ca7af08
RIP=0x00007ffd51d4257f, EFLAGS=0x0000000000010206

Top of Stack: (sp=0x000000002ca7ad60)
0x000000002ca7ad60: 000000002b539f70 00007ffd519013f2
0x000000002ca7ad70: 000000006c6d6960 0000000000000080
0x000000002ca7ad80: 0000000000000000 00007ffd51d56eae
0x000000002ca7ad90: 000000002ca7b300 000000002ca7b2e0
0x000000002ca7ada0: 0000000000000010 00007ffd51e0d06a
0x000000002ca7adb0: 000000002ca7af08 000000006b9cb098
0x000000002ca7adc0: 0000000000000003 000000002ca7aea0
0x000000002ca7add0: 0000000000002563 00007ffd51d54270
0x000000002ca7ade0: 000000002ca7b300 000000002ca7ae78
0x000000002ca7adf0: 000000002c3898c0 00007ffd51d55523
0x000000002ca7ae00: 0000000000000011 0000000000000002
0x000000002ca7ae10: 000000002ca7b2e0 0000000000000000
0x000000002ca7ae20: 000000002b539f70 0000000000000000
0x000000002ca7ae30: 000000002ca7af40 00007ffd51d5395d
0x000000002ca7ae40: 000000002ca7b2e0 00000000661d37a0
0x000000002ca7ae50: 0000000000000003 000000002ca7af08

Instructions: (pc=0x00007ffd51d4257f)
0x00007ffd51d4247f: 7d 6e d4 ff e8 58 53 0f 00 8b 4b 28 48 8b 87 00
0x00007ffd51d4248f: 0a 00 00 48 8b 5c 24 30 8b 04 88 48 83 c4 20 5f
0x00007ffd51d4249f: c3 40 53 48 83 ec 20 48 8b d9 48 85 c9 74 21 8b
0x00007ffd51d424af: 41 2c 24 0f 3c 08 75 18 ba 11 00 00 00 e8 bf ab
0x00007ffd51d424bf: 0c 00 48 85 c0 74 09 48 8b c3 48 83 c4 20 5b c3
0x00007ffd51d424cf: 80 3d ce b7 50 00 00 74 20 48 85 db 74 1b 8b 43
0x00007ffd51d424df: 2c 24 0f 3c 08 75 12 ba 10 00 00 00 48 8b cb e8
0x00007ffd51d424ef: 8d ab 0c 00 48 85 c0 75 ce 80 3d 92 b8 50 00 00
0x00007ffd51d424ff: 74 20 48 85 db 74 1b 8b 43 2c 24 0f 3c 08 75 12
0x00007ffd51d4250f: ba 08 00 00 00 48 8b cb e8 64 ab 0c 00 48 85 c0
0x00007ffd51d4251f: 75 a5 33 c0 48 83 c4 20 5b c3 cc cc cc cc cc cc
0x00007ffd51d4252f: cc 40 53 48 83 ec 20 48 8b d9 48 85 c9 74 20 8b
0x00007ffd51d4253f: 41 2c 24 0f 3c 08 75 17 e8 34 ab 0c 00 33 d2 48
0x00007ffd51d4254f: 85 c0 48 0f 45 d3 48 8b c2 48 83 c4 20 5b c3 33
0x00007ffd51d4255f: c0 48 83 c4 20 5b c3 cc cc cc cc cc cc cc cc cc
0x00007ffd51d4256f: cc 48 89 5c 24 08 48 89 74 24 10 57 48 83 ec 20
0x00007ffd51d4257f: 8b 72 28 48 8d 79 20 3b 77 08 73 0a 48 8b 5f 10
0x00007ffd51d4258f: 48 8b 1c f3 eb 02 33 db 48 83 e3 fe 48 8b 43 08
0x00007ffd51d4259f: 48 83 38 00 75 35 8b 4f 08 8b 43 28 3b c1 73 0a
0x00007ffd51d425af: 48 8b 5f 10 48 8b 1c c3 eb 02 33 db 48 83 e3 fe
0x00007ffd51d425bf: 48 8b 43 08 48 83 38 00 74 df 8b 43 2c 83 e0 07
0x00007ffd51d425cf: 3c 05 75 07 48 8b 43 08 48 8b 18 3b 77 08 72 0a
0x00007ffd51d425df: 8b d6 48 8b cf e8 a7 9d 12 00 48 8b 47 10 48 8d
0x00007ffd51d425ef: 53 01 48 89 14 f0 48 8b c3 48 8b 5c 24 30 48 8b
0x00007ffd51d425ff: 74 24 38 48 83 c4 20 5f c3 cc cc cc cc cc cc cc
0x00007ffd51d4260f: cc 48 89 5c 24 08 57 48 83 ec 20 48 8b fa 48 8b
0x00007ffd51d4261f: d9 e8 cb d0 db ff 84 c0 75 12 48 8b 83 90 09 00
0x00007ffd51d4262f: 00 48 8b 5c 24 30 48 83 c4 20 5f c3 8b 47 28 3b
0x00007ffd51d4263f: 43 28 73 15 8b c8 48 8b 43 30 48 8b 04 c8 48 8b
0x00007ffd51d4264f: 5c 24 30 48 83 c4 20 5f c3 33 c0 48 8b 5c 24 30
0x00007ffd51d4265f: 48 83 c4 20 5f c3 cc cc cc cc cc cc cc cc cc cc
0x00007ffd51d4266f: cc 48 89 5c 24 08 57 48 83 ec 20 83 79 04 00 48 Stack slot to memory mapping:
stack at sp + 0 slots: 0x000000002b539f70 points into unknown readable memory: 0x0000000000000006 | 06 00 00 00 00 00 00 00
stack at sp + 1 slots: 0x00007ffd519013f2 jvm.dll
stack at sp + 2 slots: 0x000000006c6d6960 points into unknown readable memory: 0x000000006c2b38c8 | c8 38 2b 6c 00 00 00 00
stack at sp + 3 slots: 0x0000000000000080 is an unknown value
stack at sp + 4 slots: 0x0 is NULL
stack at sp + 5 slots: 0x00007ffd51d56eae jvm.dll
stack at sp + 6 slots: 0x000000002ca7b300 is pointing into the stack for thread: 0x000000002b548800
stack at sp + 7 slots: 0x000000002ca7b2e0 is pointing into the stack for thread: 0x000000002b548800

com.intellij.diagnostic.JBRCrash

this is the error message.
 
Last edited by a moderator:
Technology news on Phys.org
Google is your friend. Did you try to google the error? I'm sure others have experienced similar issues and Jetbrains folks responded with answers.

I found this error report which suggests that you have the wrong jvm for your windows 10.

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003156740-failed-to-load-JVM-DLL-bin-server-jvm-dll

other references are here:

https://www.google.com/search?q=pycharm+jvm+error+on+windows+10
 
Well that blows that easy-to-install theory out of the window!
 
  • Haha
Likes   Reactions: jedishrfu

Similar threads

  • · Replies 58 ·
2
Replies
58
Views
5K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 18 ·
Replies
18
Views
13K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 23 ·
Replies
23
Views
6K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K