最近idea提示可以升级到2023.3.2版本,于是点击升级了,之后就一直启动崩溃,无论是付费版还是社区版都一样。电脑和软件具体版本如下: MacBook Pro,Apple M1,macOS sonoma 14.0
IntelliJ IDEA 2023.3.2 (Community Edition)
看来是两者存在不兼容问题,国外idea论坛也在讨论此问题,只能等待Mac或者idea修复此问题, https://youtrack.jetbrains.com/issue/JBR-6451/OS-freezes-when-using-Go-To-related-actions-after-upgrading-to-Sonoma
idea启动失败截图:
各位如果使用的Mac OS 14.0及以上版本,暂不要升级idea到2023.3.2;如果已经升级了,退回到2023.3.1或者更老的版本即可,idea老版本下载地址https://www.jetbrains.com/zh-cn/idea/download/other.html
idea崩溃后产生的错误日志:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x0000000103a91074, pid=5663, tid=3075
#
# JRE version: (17.0.9+7) (build )
# Java VM: OpenJDK 64-Bit Server VM (17.0.9+7-b1087.9, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# V [libjvm.dylib+0x42d074] CodeHeap::allocate(unsigned long)+0x1c8
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
#
--------------- S U M M A R Y ------------
Command Line: vfprintf -XX:ErrorFile=/Users/lbc/java_error_in_idea_%p.log -XX:HeapDumpPath=/Users/lbc/java_error_in_idea.hprof -Xms128m -Xmx2048m -XX:ReservedCodeCacheSize=512m -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -XX:+IgnoreUnrecognizedVMOptions -XX:CompileCommand=exclude,com/intellij/openapi/vfs/impl/FilePartNodeRoot,trieDescend -ea -Dsun.io.useCanonCaches=false -Dsun.java2d.metal=true -Djbr.catch.SIGABRT=true -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Dapple.awt.application.appearance=system -Djb.vmOptionsFile=/Applications/IntelliJ IDEA CE.app/Contents/Resources/../bin/idea.vmoptions -Djava.system.class.loader=com.intellij.util.lang.PathClassLoader -Didea.vendor.name=JetBrains -Didea.paths.selector=IdeaIC2023.3 -Djna.boot.library.path=/Applications/IntelliJ IDEA CE.app/Contents/lib/jna/aarch64 -Dpty4j.preferred.native.folder=/Applications/IntelliJ IDEA CE.app/Contents/lib/pty4j -Djna.nosys=true -Djna.noclasspath=true -Dintellij.platform.runtime.repository.path=/Applications/IntelliJ IDEA CE.app/Contents/modules/module-descriptors.jar -Didea.platform.prefix=Idea -Dsplash=true -Daether.connector.resumeDownloads=false --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.ref=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/java.util.concurrent.locks=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.nio.fs=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED --add-opens=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.base/sun.net.dns=ALL-UNNAMED --add-opens=java.desktop/com.apple.eawt=ALL-UNNAMED --add-opens=java.desktop/com.apple.eawt.event=ALL-UNNAMED --add-opens=java.desktop/com.apple.laf=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/java.awt.font=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=ALL-UNNAMED --add-opens=java.desktop/sun.font=ALL-UNNAMED --add-opens=java.desktop/sun.java2d=ALL-UNNAMED --add-opens=java.desktop/sun.lwawt=ALL-UNNAMED --add-opens=java.desktop/sun.lwawt.macosx=ALL-UNNAMED --add-opens=java.desktop/sun.swing=ALL-UNNAMED --add-opens=java.desktop/com.sun.java.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 com.intellij.idea.Main
Host: "MacBookPro17,1" arm64, 8 cores, 16G, Darwin 23.0.0, macOS 14.0 (23A344)
Time: Mon Dec 25 09:53:56 2023 CST elapsed time: 0.008174 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x000000014a818600): JavaThread "Unknown thread" [_thread_in_vm, id=3075, stack(0x000000016dd3c000,0x000000016df3f000)]
Stack: [0x000000016dd3c000,0x000000016df3f000], sp=0x000000016df3e5f0, free space=2057k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.dylib+0x42d074] CodeHeap::allocate(unsigned long)+0x1c8
V [libjvm.dylib+0x2828e8] CodeCache::allocate(int, int, bool, int)+0xa0
V [libjvm.dylib+0x27bc54] BufferBlob::create(char const*, int)+0xe0
V [libjvm.dylib+0x95f844] StubRoutines::initialize1()+0x80
V [libjvm.dylib+0x45d630] init_globals()+0x28
V [libjvm.dylib+0x9bd1e0] Threads::create_vm(JavaVMInitArgs*, bool*)+0x364
V [libjvm.dylib+0x4f9f88] JNI_CreateJavaVM+0x78
C [idea+0x580f8] std::sys_common::backtrace::__rust_begin_short_backtrace::h7f1156e096c81a58+0x5e8
C [idea+0x5f894] core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h1212bbe3c3327fd8+0xe8
C [idea+0x52da0] std::sys::unix::thread::Thread::new::thread_start::h7f56b35fafcfec87+0x30
C [libsystem_pthread.dylib+0x7034] _pthread_start+0x88
版权声明
本站文章、图片、视频等(除转载外),均采用知识共享署名 4.0 国际许可协议(CC BY-NC-SA 4.0),转载请注明出处、非商业性使用、并且以相同协议共享。
© 空空博客,本文链接:https://www.yeetrack.com/?p=1544
擦 我也是
还没解决啊,我还在用2023.3.1
找到解决方法了,重装MacOS就好了 参考链接:https://blogs.oracle.com/java/post/java-on-macos-14-4
这个成本还是蛮高的, 我还是继续用idea 23.3.1吧。