Community
Participate
Working Groups
Created attachment 277925 [details] error logfile From time to time Eclipse crashes after typing the Java object's point operator which calls the autocomplete function for methods, attributes etc. Example: "myObject." Unfortunately, I can't reproduce it. Sometimes Eclipse works several days without problems, sometimes it crashes 3 times per hour. I already unsuccessfully tried the hint -Dorg.eclipse.swt.browser.DefaultType=mozilla Some days ago I switched to openJDK. This had no (positive) effects, too. This problem I got with Luna, Oxygen, Photon. At this time I'm using: Version: 2018-12 (4.10.0) Build id: 20181214-0600
I believe this is a lucene/JDK issue with memory mapping via DirectByteBuffer. See also https://www.google.com/search?q=java%20crash%20org.apache.lucene.store.DataInput.readVInt I've seen EGit issues on Linux which caused crashes with memory mapping (bug 539918), I believe there were also few bug in JDK with memory mapped IO (http://www.mapdb.org/blog/mmap_files_alloc_and_jvm_crash/). See also javadoc for MMapDirectory. # EXCEPTION_IN_PAGE_ERROR (0xc0000006) at pc=0x0000000009cd88e3, pid=9852, tid=0x000000000000093c # # JRE version: OpenJDK Runtime Environment (8.0_201-b09) (build 1.8.0_201-1-ojdkbuild-b09) # Java VM: OpenJDK 64-Bit Server VM (25.201-b09 mixed mode windows-amd64 compressed oops) # Problematic frame: # J 31270 C2 org.apache.lucene.store.DataInput.readVInt()I (132 bytes) @ 0x0000000009cd88e3 [0x0000000009cd8860+0x83] # Register to memory mapping: RAX={method} {0x0000000038498208} 'readVInt' '()I' in 'org/apache/lucene/store/DataInput' RBX={method} {0x0000000038498208} 'readVInt' '()I' in 'org/apache/lucene/store/DataInput' RCX=0x00000000ce9abeb0 is an oop org.apache.lucene.store.MMapDirectory$MMapIndexInput - klass: 'org/apache/lucene/store/MMapDirectory$MMapIndexInput' RDX=0x00000000ce9abeb0 is an oop org.apache.lucene.store.MMapDirectory$MMapIndexInput - klass: 'org/apache/lucene/store/MMapDirectory$MMapIndexInput' RSP=0x00000000012fc460 is pointing into the stack for thread: 0x0000000004028000 RBP=0x000000000004fe1b is an unknown value RSI=0x0000000000200020 is an unknown value RDI=0x0000000000000002 is an unknown value R8 =0x00000000000187c9 is an unknown value R9 =0x00000000ce9abf10 is an oop java.nio.DirectByteBufferR - klass: 'java/nio/DirectByteBufferR'
After disabling some "proposal kinds" I could not observe any problems for the last days. :-o See screenshot of my preferences ...
Created attachment 278439 [details] Screenshot preferences
I tried few things and not able to recreate. Perhaps comment#1
Some steps that could help recreate this would help.
I find that for me this is most likely to happen when my pc just woke up from sleep-mode or when my pc is just Idle for a while. I know that my laptop simply won't do data-access when in sleep-mode (at least not external via USB, hence why I regulary see 'failed to write to somefile.snap1 during auto-save' after which I usually restart eclipse). Not sure if this is in any way connected, but at least a start for reproducing I hope.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.