JRE runtime errors in headless mode

Hi, all

I am trying to build projects in headless mode and quite often I get JRE runtime error when importing projects into workspace. I have 27 projects that make up our application. Failure occurs on different project every time. Sometimes it works OK.
OS: Ubuntu 10.04
M2M 2.0.0

Here is error I get:
Importing project “sym_crc16” in the workspace…

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

SIGSEGV (0xb) at pc=0xb5a4ecb7, pid=8848, tid=3030874992

JRE version: 6.0_20-b20

Java VM: OpenJDK Client VM (19.0-b09 mixed mode, sharing linux-x86 )

Derivative: IcedTea6 1.9.8

Distribution: Ubuntu 10.04.1 LTS, package 6b20-1.9.8-0ubuntu1~10.04.1

Problematic frame:

J com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl.setChunkValue([[Ljava/lang/Object;Ljava/lang/Object;II)Ljava/lang/String;

Attached is Java crash report (hs_err_pid8848.log.zip)

Any ideas how to fix it?

hs_err_pid8848.log.gz (8.34 KB)

Sounds like a JVM bug, since it should not brutally crash like this…
Could you make the try with another JVM, maybe if you have an (old?) Linux system with a Sun JVM, or a on a Windows machine/box?..