使用自动完成时 Eclipse 崩溃 - Java 错误日志为 EXCEPTION_ACCESS_VIOLATION

问题描述 投票:0回答:2

Eclipse 直到今天都运行良好。每次弹出自动完成菜单时,Eclipse 都会崩溃并创建一个 Java 错误日志文件,我将其粘贴在下面。例如,如果我正在编写变量的名称并按 control + 空格键,则在弹出自动完成菜单后它会崩溃。除了自动完成之外的其他一切似乎都工作正常。

我读到了一些可能与 Eclipse 的 Web 浏览器有关的内容,我注意到当我进入 Eclipse 设置并单击 Web 浏览器设置时,Eclipse 也会崩溃,所以我认为这与此有关。另一件需要注意的事情是,重新安装 Eclipse 时,Eclipse 安装程序也会因相同的 Java 错误而崩溃,因此我不得不使用包重新安装。

我尝试过的事情:

全新安装 Eclipse。

新安装Java JDK,也尝试了不同的JDK版本。

关闭防病毒,没有变化。

我正在使用最新版本的 Windows 10 64 位(顺便说一句,我的 Windows 安装非常新鲜,几周前进行了全新安装)。最新版本的 Eclipse。尝试过各种版本的JDK。

这是日志文件的上半部分和后半部分。无法发布所有日志文件。有需要的话可以多发一下。

#
# A fatal error has been detected by the Java Runtime Environment:

#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb6b65bdc8, pid=12156, tid=12520
#
# JRE version: Java(TM) SE Runtime Environment (12.0.2+10) (build 12.0.2+10)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (12.0.2+10, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C  [mshtml.dll+0x8dbdc8]
#
# 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
# 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: -Dosgi.requiredJavaVersion=1.8 [email protected]/eclipse-workspace -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=1.8 -Dosgi.dataAreaRequiresExplicitInit=true -Xms256m -Xmx1024m --add-modules=ALL-SYSTEM 

Host: Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz, 8 cores, 8G,  Windows 10 , 64 bit Build 18362 (10.0.18362.329)
Time: Tue Oct  1 21:36:45 2019 Eastern Daylight Time elapsed time: 24 seconds (0d 0h 0m 24s)

VM Arguments:
jvm_args: -Dosgi.requiredJavaVersion=1.8 [email protected]/eclipse-workspace -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=1.8 -Dosgi.dataAreaRequiresExplicitInit=true -Xms256m -Xmx1024m --add-modules=ALL-SYSTEM 
java_command: <unknown>
java_class_path (initial): C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.5.500.v20190715-1310.jar
Launcher Type: generic

[Global flags]
     intx CICompilerCount                          = 4                                         {product} {ergonomic}
     uint ConcGCThreads                            = 2                                         {product} {ergonomic}
     uint G1ConcRefinementThreads                  = 8                                         {product} {ergonomic}
   size_t G1HeapRegionSize                         = 1048576                                   {product} {ergonomic}
    uintx GCDrainStackTargetSize                   = 64                                        {product} {ergonomic}
   size_t InitialHeapSize                          = 268435456                                 {product} {command line}
   size_t MarkStackSize                            = 4194304                                   {product} {ergonomic}
   size_t MaxHeapSize                              = 1073741824                                {product} {command line}
   size_t MaxNewSize                               = 643825664                                 {product} {ergonomic}
   size_t MinHeapDeltaBytes                        = 1048576                                   {product} {ergonomic}
    uintx NonNMethodCodeHeapSize                   = 5836300                                {pd product} {ergonomic}
    uintx NonProfiledCodeHeapSize                  = 122910970                              {pd product} {ergonomic}
    uintx ProfiledCodeHeapSize                     = 122910970                              {pd product} {ergonomic}
    uintx ReservedCodeCacheSize                    = 251658240                              {pd product} {ergonomic}
     bool SegmentedCodeCache                       = true                                      {product} {ergonomic}
     bool UseCompressedClassPointers               = true                                 {lp64_product} {ergonomic}
     bool UseCompressedOops                        = true                                 {lp64_product} {ergonomic}
     bool UseG1GC                                  = true                                      {product} {command line}
     bool UseLargePagesIndividualAllocation        = false                                  {pd product} {ergonomic}
     bool UseStringDeduplication                   = true                                      {product} {command line}
---------------  S Y S T E M  ---------------

OS: Windows 10 , 64 bit Build 18362 (10.0.18362.329)

CPU:total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 26 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht, tsc, tscinvbit, tscinv

Memory: 4k page, system-wide physical 9207M (2309M free)
TotalPageFile size 18423M (AvailPageFile size 5348M)
current process WorkingSet (physical memory assigned to process): 436M, peak: 449M
current process commit charge ("private bytes"): 531M, peak: 548M

vm_info: Java HotSpot(TM) 64-Bit Server VM (12.0.2+10) for windows-amd64 JRE (12.0.2+10), built on Jul 16 2019 01:56:17 by "mach5one" with MS VC++ 15.5 (VS2017)

END.
java eclipse jvm
2个回答
0
投票

对于未来的读者来说,这个问题是由硬盘损坏引起的。新的硬盘和全新安装解决了问题。


0
投票

在ubunutu 22中找到如下所示的lanch图标,然后找到Exec add

"env WEBKIT_DISABLE_COMPOSITING_MODE=1"
,如下所示为我解决问题

-- eclipse午餐图标如下所示 ...

Exec=env WEBKIT_DISABLE_COMPOSITING_MODE=1 /home/mslm/eclipse/php-2024-032/eclipse/eclipse ...

© www.soinside.com 2019 - 2024. All rights reserved.