IntelliJ IDEA 2022.2 (Community Edition) crash when going to Settings

已回答

My environment crash instantly when I click Settings...

Crash Report:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffa24a64cb6, pid=5088, tid=13292
#
# JRE version: OpenJDK Runtime Environment JBR-17.0.3+7-469.32-jcef (17.0.3+7) (build 17.0.3+7-b469.32)
# Java VM: OpenJDK 64-Bit Server VM JBR-17.0.3+7-469.32-jcef (17.0.3+7-b469.32, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C  [fontmanager.dll+0x4cb6]
#
# 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://youtrack.jetbrains.com/issues/JBR
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

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

Command Line: exit -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=512m -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -XX:+IgnoreUnrecognizedVMOptions -ea -Dsun.io.useCanonCaches=false -Dsun.java2d.metal=true -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Xmx2048m -Djb.vmOptionsFile=C:\Users\schpet\AppData\Roaming\\JetBrains\\IdeaIC2022.2\idea64.exe.vmoptions -Djava.system.class.loader=com.intellij.util.lang.PathClassLoader -Didea.strict.classpath=true -Didea.vendor.name=JetBrains -Didea.paths.selector=IdeaIC2022.2 -Didea.platform.prefix=Idea -Didea.jre.check=true -Dsplash=true --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.vm=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED --add-opens=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/java.awt.dnd.peer=ALL-UNNAMED --add-opens=java.desktop/java.awt.event=ALL-UNNAMED --add-opens=java.desktop/java.awt.image=ALL-UNNAMED --add-opens=java.desktop/java.awt.peer=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED --add-opens=java.desktop/sun.awt.datatransfer=ALL-UNNAMED --add-opens=java.desktop/sun.awt.image=ALL-UNNAMED --add-opens=java.desktop/sun.awt.windows=ALL-UNNAMED --add-opens=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.desktop/sun.font=ALL-UNNAMED --add-opens=java.desktop/sun.java2d=ALL-UNNAMED --add-opens=java.desktop/sun.swing=ALL-UNNAMED --add-opens=jdk.attach/sun.tools.attach=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED --add-opens=jdk.jdi/com.sun.tools.jdi=ALL-UNNAMED -Dide.native.launcher=true -XX:ErrorFile=C:\Users\schpet\\java_error_in_idea64_%p.log -XX:HeapDumpPath=C:\Users\schpet\\java_error_in_idea64.hprof 

Host: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz, 8 cores, 31G,  Windows 10 , 64 bit Build 19041 (10.0.19041.1806)
Time: Tue Aug  9 15:51:19 2022 W. Europe Summer Time elapsed time: 20.878751 seconds (0d 0h 0m 20s)

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

Current thread (0x0000000056bf4130):  JavaThread "ApplicationImpl pooled thread 3" [_thread_in_native, id=13292, stack(0x0000000162300000,0x0000000162400000)]

Stack: [0x0000000162300000,0x0000000162400000],  sp=0x00000001623fde50,  free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [fontmanager.dll+0x4cb6]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.font.FreetypeFontScaler.getFontMetricsNative(Lsun/font/Font2D;JJ)Lsun/font/StrikeMetrics;+0 java.desktop
j  sun.font.FreetypeFontScaler.getFontMetrics(J)Lsun/font/StrikeMetrics;+25 java.desktop
j  sun.font.FileFont.getFontMetrics(J)Lsun/font/StrikeMetrics;+5 java.desktop
j  sun.font.FileFontStrike.getFontMetrics()Lsun/font/StrikeMetrics;+16 java.desktop
J 11576 c2 sun.font.FontDesignMetrics.getMetrics(Ljava/awt/Font;Ljava/awt/font/FontRenderContext;)Lsun/font/FontDesignMetrics; java.desktop (265 bytes) @ 0x000000001668baec [0x0000000016689d20+0x0000000000001dcc]
J 17212 c2 java.awt.Font.getStringBounds([CIILjava/awt/font/FontRenderContext;)Ljava/awt/geom/Rectangle2D; java.desktop (219 bytes) @ 0x0000000016493ce4 [0x0000000016493c00+0x00000000000000e4]
j  com.intellij.util.ui.FontInfo.getCharWidth(Ljava/awt/Font;C)I+21
j  com.intellij.util.ui.FontInfo.getFontWidth(Ljava/awt/Font;I)I+25
j  com.intellij.util.ui.FontInfo.isMonospacedWithStyles(Ljava/awt/Font;)Z+2
j  com.intellij.util.ui.FontInfo.create(Ljava/lang/String;Ljava/awt/Font;)Lcom/intellij/util/ui/FontInfo;+93
j  com.intellij.util.ui.FontInfo.byName(Ljava/lang/String;)Lcom/intellij/util/ui/FontInfo;+13
j  com.intellij.util.ui.FontInfo.byName()Ljava/util/List;+42
j  com.intellij.util.ui.FontInfo$LazyListByName.<clinit>()V+0
v  ~StubRoutines::call_stub
j  com.intellij.util.ui.FontInfo.getAll(Z)Ljava/util/List;+22
j  com.intellij.ui.FontComboBox$Model.lambda$new$1(ZLcom/intellij/openapi/application/Application;Z)V+1
j  com.intellij.ui.FontComboBox$Model$$Lambda$3549+0x0000000102156118.run()V+16
j  com.intellij.openapi.application.impl.ApplicationImpl$1.run()V+15
J 10837 c1 java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object; java.base@17.0.3 (14 bytes) @ 0x00000000075bc20c [0x00000000075bc1a0+0x000000000000006c]
J 19579 c1 java.util.concurrent.FutureTask.run()V java.base@17.0.3 (123 bytes) @ 0x00000000083f17ac [0x00000000083f0fe0+0x00000000000007cc]
j  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+92 java.base@17.0.3
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@17.0.3
j  java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run()Ljava/lang/Void;+23 java.base@17.0.3
j  java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run()Ljava/lang/Object;+1 java.base@17.0.3
j  java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object;+29 java.base@17.0.3
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+13 java.base@17.0.3
j  java.util.concurrent.Executors$PrivilegedThreadFactory$1.run()V+15 java.base@17.0.3
j  java.lang.Thread.run()V+11 java.base@17.0.3
v  ~StubRoutines::call_stub

siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x000000000000004c


Register to memory mapping:

RIP=0x00007ffa24a64cb6 fontmanager.dll
RAX=0x0 is NULL
RBX=0x000000018dc1f4d0 points into unknown readable memory: 0x0000000000010000 | 00 00 01 00 00 00 00 00
RCX=0x000000018e93cd10 points into unknown readable memory: 0x0000000000000001 | 01 00 00 00 00 00 00 00
RDX=0x0000000000000002 is an unknown value
RSP=0x00000001623fde50 is pointing into the stack for thread: 0x0000000056bf4130
RBP=0x00000001623fe050 is pointing into the stack for thread: 0x0000000056bf4130
RSI=0x0000000056bf43d8 points into unknown readable memory: 0x00007ffa084d17e0 | e0 17 4d 08 fa 7f 00 00
RDI=0x000000018dc1ec60 points into unknown readable memory: 0x0000000056bf43d8 | d8 43 bf 56 00 00 00 00
R8 =0x000000018e93cd10 points into unknown readable memory: 0x0000000000000001 | 01 00 00 00 00 00 00 00
R9 =0x0 is NULL
R10=0x00000000000003e8 is an unknown value
R11=0x000000018deb3d20 points into unknown readable memory: 0x00007ffa251e4bc0 | c0 4b 1e 25 fa 7f 00 00
R12=0x0 is NULL
R13={method} {0x0000000168fe99b0} 'getFontMetricsNative' '(Lsun/font/Font2D;JJ)Lsun/font/StrikeMetrics;' in 'sun/font/FreetypeFontScaler'
R14=0x00000001623fe058 is pointing into the stack for thread: 0x0000000056bf4130
R15=0x0000000056bf4130 is a thread


Registers:
RAX=0x0000000000000000, RBX=0x000000018dc1f4d0, RCX=0x000000018e93cd10, RDX=0x0000000000000002
RSP=0x00000001623fde50, RBP=0x00000001623fe050, RSI=0x0000000056bf43d8, RDI=0x000000018dc1ec60
R8 =0x000000018e93cd10, R9 =0x0000000000000000, R10=0x00000000000003e8, R11=0x000000018deb3d20
R12=0x0000000000000000, R13=0x0000000168fe99a8, R14=0x00000001623fe058, R15=0x0000000056bf4130
RIP=0x00007ffa24a64cb6, EFLAGS=0x0000000000010246

Top of Stack: (sp=0x00000001623fde50)
0x00000001623fde50:   000000018dc1f4d0 0000000056bf43d8
0x00000001623fde60:   00000001623fded0 0000000056bf4130
0x00000001623fde70:   00000001623fdf00 000000000822294c
0x00000001623fde80:   000000008368edd0 00007ffa07d07207
0x00000001623fde90:   0000000000000000 00007ffa07d342b2
0x00000001623fdea0:   0000000000000008 0000000056bf4130
0x00000001623fdeb0:   0000000056bf4130 00007ffa07dd742a
0x00000001623fdec0:   00008e65f9fd7914 0000000000000000
0x00000001623fded0:   0004cd8469388159 0000000000000000
0x00000001623fdee0:   fffc2063c52faa00 0000000000000000
0x00000001623fdef0:   fffece5bce3dfc00 0000000000000000
0x00000001623fdf00:   00020c210aa8902c 0000000000000000
0x00000001623fdf10:   0000000084f87c7c 0000000000000000
0x00000001623fdf20:   0000000100041d88 0000000000000000
0x00000001623fdf30:   0000000000000038 0000000000000000
0x00000001623fdf40:   000000002000ba0d 0000000000000000 

Instructions: (pc=0x00007ffa24a64cb6)
0x00007ffa24a64bb6:   2e 04 00 00 4c 8b cb 88 44 24 20 4c 8b c7 48 8b
0x00007ffa24a64bc6:   d5 48 8b ce e8 f1 27 00 00 85 c0 74 55 48 8b 06
0x00007ffa24a64bd6:   0f 57 db 4c 8b 05 28 dc 09 00 66 49 0f 7e d9 48
0x00007ffa24a64be6:   8b 15 14 dc 09 00 48 8b ce 0f 11 5c 24 58 0f 11
0x00007ffa24a64bf6:   5c 24 48 0f 11 5c 24 38 0f 11 5c 24 28 f2 0f 11
0x00007ffa24a64c06:   5c 24 20 ff 90 e0 00 00 00 4c 8b c7 49 8b d6 48
0x00007ffa24a64c16:   8b ce 48 8b d8 e8 00 27 00 00 48 8b c3 e9 fc 03
0x00007ffa24a64c26:   00 00 48 63 43 34 4c 8b 47 10 0f 29 b4 24 00 01
0x00007ffa24a64c36:   00 00 0f 29 bc 24 f0 00 00 00 44 0f 29 84 24 e0
0x00007ffa24a64c46:   00 00 00 44 0f 29 8c 24 d0 00 00 00 44 0f 29 94
0x00007ffa24a64c56:   24 c0 00 00 00 44 0f 29 9c 24 b0 00 00 00 44 0f
0x00007ffa24a64c66:   29 a4 24 a0 00 00 00 44 0f 29 ac 24 90 00 00 00
0x00007ffa24a64c76:   44 0f 29 b4 24 80 00 00 00 44 0f 29 7c 24 70 83
0x00007ffa24a64c86:   f8 ff 0f 85 11 01 00 00 8d 50 03 49 8b c8 e8 12
0x00007ffa24a64c96:   8d 06 00 f2 0f 10 25 a7 ad 06 00 0f 57 c0 f2 0f
0x00007ffa24a64ca6:   10 1d a4 ad 06 00 0f 57 ed 4c 8b 47 10 45 33 c9
0x00007ffa24a64cb6:   0f b7 50 4c 0f b7 48 4e 8b c1 4d 8b 90 80 00 00
0x00007ffa24a64cc6:   00 f7 d8 f3 0f 2a c2 45 8b 5a 20 f3 41 0f 2a eb
0x00007ffa24a64cd6:   f3 0f 59 c5 0f 5a c8 0f 57 c0 f2 0f 59 cc f3 0f
0x00007ffa24a64ce6:   2a c0 8d 04 11 f2 0f 59 cb f3 0f 59 c5 66 44 0f
0x00007ffa24a64cf6:   5a f1 0f 5a c8 0f 57 c0 44 0f 57 35 2a a9 06 00
0x00007ffa24a64d06:   f2 0f 59 cc f3 0f 2a c0 f2 0f 59 cb f3 0f 59 c5
0x00007ffa24a64d16:   66 44 0f 5a f9 0f 5a c8 44 0f 57 3d 0a a9 06 00
0x00007ffa24a64d26:   f2 0f 59 cc f2 0f 59 cb 66 44 0f 5a e9 f3 45 0f
0x00007ffa24a64d36:   58 ee f3 45 0f 5c ef 44 38 4b 1d 74 13 41 69 42
0x00007ffa24a64d46:   2c 6a 36 00 00 99 0f b7 ea 03 e8 c1 fd 10 eb 03
0x00007ffa24a64d56:   41 8b e9 44 38 4b 1c 74 1d 41 0f b7 48 68 41 8b
0x00007ffa24a64d66:   d3 e8 2d 8c 06 00 4c 8b 47 10 99 83 e2 1f 44 8d
0x00007ffa24a64d76:   0c 02 41 c1 f9 05 49 8b 80 80 00 00 00 8b 48 30
0x00007ffa24a64d86:   41 03 c9 03 cd 66 0f 6e e1 0f 5b e4 f3 0f 59 25
0x00007ffa24a64d96:   aa ac 06 00 e9 c1 00 00 00 48 8b c8 49 8b 40 30
0x00007ffa24a64da6:   48 03 c9 8b 54 c8 04 8b 4b 30 e8 ea 8b 06 00 f2 


Stack slot to memory mapping:
stack at sp + 0 slots: 0x000000018dc1f4d0 points into unknown readable memory: 0x0000000000010000 | 00 00 01 00 00 00 00 00
stack at sp + 1 slots: 0x0000000056bf43d8 points into unknown readable memory: 0x00007ffa084d17e0 | e0 17 4d 08 fa 7f 00 00
stack at sp + 2 slots: 0x00000001623fded0 is pointing into the stack for thread: 0x0000000056bf4130
stack at sp + 3 slots: 0x0000000056bf4130 is a thread
stack at sp + 4 slots: 0x00000001623fdf00 is pointing into the stack for thread: 0x0000000056bf4130
stack at sp + 5 slots: 0x000000000822294c is at entry_point+1068 in (nmethod*)0x0000000008222310
stack at sp + 6 slots: 0x000000008368edd0 is an oop: java.lang.ref.WeakReference 
{0x000000008368edd0} - klass: 'java/lang/ref/WeakReference'
 - ---- fields (total size 4 words):
 - private 'referent' 'Ljava/lang/Object;' @12  NULL (0)
 - volatile 'queue' 'Ljava/lang/ref/ReferenceQueue;' @16  a 'java/lang/ref/ReferenceQueue$Null'{0x0000000080526298} (80526298)
 - volatile 'next' 'Ljava/lang/ref/Reference;' @20  NULL (0)
 - private transient 'discovered' 'Ljava/lang/ref/Reference;' @24  NULL (0)
stack at sp + 7 slots: 0x00007ffa07d07207 jvm.dll

 


com.intellij.diagnostic.JBRCrash

 

0

Hello,

Could you please try to disable ASLR as suggested: https://youtrack.jetbrains.com/issue/IDEA-184029#focus=streamItem-27-3168628.0-0?

0

请先登录再写评论。