Hi all,
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
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.
regards,
Stefan
--
best regards,
Stefan Seidel
software developer
________________________
VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel. +49 (341) 9 60 50 07
fax. +49 (341) 9 60 50 92
mail. [EMAIL PROTECTED]
web. www.vub.de
HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email