VUB Stefan Seidel wrote:
I'm trying the new m2eclipse plugin, and I've noticed that:
1. It likes "Refreshing [the] Maven model" - this task is almost
constantly working - and not interruptable
It should be possible to interrupt that job in between cycles, eg.
from the Progress view.
Also you may want to check Maven console to see if it shows any
output. If not, there is a good change you are hitting a well known
issue with Subclipse, unless you are using some snapshot repository with
"update always" policy set. To verify you can take some thread dumps of
JVM where Eclipse is running.
2. It seems to crash my Java VM
There is a bug in the Sun JVM which causes the VM to crash if a ZIP or
JAR file is opened for reading and writing at the same time. My
Eclipse very often crashes now with this trace:
C [libzip.so+0xbb43]
C [libzip.so+0xc174] ZIP_GetNextEntry+0x54
C [libzip.so+0x32a6] Java_java_util_zip_ZipFile_getNextEntry+0x26
J java.util.zip.ZipFile.getNextEntry(JI)J
J java.util.zip.ZipFile$3.nextElement()Ljava/util/zip/ZipEntry;
J java.util.zip.ZipFile$3.nextElement()Ljava/lang/Object;
J
org.eclipse.jdt.internal.core.search.indexing.AddJarFileToIndex.execute(Lorg/eclipse/core/runtime/IProgressMonitor;)Z
j org.eclipse.jdt.internal.core.search.processing.JobManager.run()V+233
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [libjvm.so+0x17b2bc]
V [libjvm.so+0x28ff98]
V [libjvm.so+0x17ab15]
V [libjvm.so+0x17abae]
V [libjvm.so+0x1f2b15]
V [libjvm.so+0x2f99f3]
V [libjvm.so+0x290ba8]
C [libpthread.so.0+0x5240]
And although this is jdt, this may only be the symptom, not the cause.
The bug occurs, when a JAR file is opened for writing through one
thread and then another thread (here, the JDT indexer) reads from this
file.
It also happened to me that external Maven CLI processes crashed with
a similar error. Could it be that the M2Eclipse plugin is the cause?
Because this is the only thing that I have changed, and it seems to
work fervently on the dependencies.
To many variables to suggest anything useful. Do you have "refresh
automatically" turned on in General / Workspace preferences by any
chance? You can also try to disable automatic builds for JDT, but I
doubt it would help.
regards,
Eugene
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email