views:

1202

answers:

7

I am using OpenNLP and my English NameFinder on Linux (CentOS 5.3,Java 1.6.0_13) keeps giving me this error:

An unexpected error has been detected by Java Runtime Environment:

SIGSEGV (0xb) at pc=0x0657e436, pid=3484, tid=2291964816

Java VM: Java HotSpot(TM) Server VM (11.3-b02 mixed mode linux-x86)
Problematic frame:
V  [libjvm.so+0x57e436]

An error report file with more information is saved as:
/home/continuum/workspace/entity-extraction-data-service/hs_err_pid3484.log

If you would like to submit a bug report, please visit:
  http://java.sun.com/webapps/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

However, on Windows it works fine. I'm thinking perhaps a character encoding issue might be my problem, however I would like to see if anyone else has any thoughts on this or have run into it before. Thanks.


Update: Other Java applications run fine.

+1  A: 

Since a similar bug has been reported with an issue from libgcj7-jar (using the GCJ, Gnu Compiler for Java), may be updating this package would help. Or executing it with a sun jvm.

[..]
[Loaded java.lang.Class from /usr/share/java/libgcj-4.1.jar]

The error occurs independent from any file and reproducibly (removing libgcj7-jar makes the error go away and reinstalling makes the error reappear).

VonC
Agree. If the Sun JVM is used elsewhere, the Sun JVM should be used on Linux.
Thorbjørn Ravn Andersen
A: 

This looks to be a problem with Cent OS and Java 1.6 (we are using the Sun JVM as well). The following tests were done and all passed, the Cent with 1.6 is the only failure:

  • Fedora Core 5.0 with Java 1.5 and using 1.5 as the compile target.
  • Fedora Core 5.0 with Java 1.6.0_14
  • Cent OS 5.3 using Java 1.5.0_10

Log File: -------------- T H R E A D ---------------

Current thread (0x09059800):  JavaThread "CompilerThread1" daemon [_thread_in_native, id=3497, stack(0x88949000,0x889ca000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000

Registers:
EAX=0x00000000, EBX=0x093134f8, ECX=0x09284b3c, EDX=0x09135c4c
ESP=0x889c6f20, EBP=0x889c6f88, ESI=0x000002c9, EDI=0x09135c4c
EIP=0x0657e436, CR2=0x00000000, EFLAGS=0x00210202

Top of Stack: (sp=0x889c6f20)
0x889c6f20:   00000000 092eae50 09284c44 064f7e96
0x889c6f30:   092eaed8 000004ea 092eaf28 092eaf28
0x889c6f40:   00000002 092eaf28 889c85b4 00000001
0x889c6f50:   092eae50 092eaed8 889c6fb8 06533423
0x889c6f60:   092eaed8 09135c4c 00000001 0915de10
0x889c6f70:   09283938 000004eb 889c73a0 091e3f90
0x889c6f80:   889c7390 00000004 889c7058 0657fc72
0x889c6f90:   889c7390 09284b3c 091e21b0 09283968

Instructions: (pc=0x0657e436)
0x0657e426:   00 00 8b 43 08 8b 04 b0 89 c3 83 e3 fe 8b 43 04
0x0657e436:   8b 00 85 c0 0f 84 6d 06 00 00 8b 55 f0 8d 7b 01

Stack: [0x88949000,0x889ca000],  sp=0x889c6f20,  free space=503k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x57e436]
V  [libjvm.so+0x57fc72]
V  [libjvm.so+0x4b4739]
V  [libjvm.so+0x4b5664]
V  [libjvm.so+0x4ae25f]
V  [libjvm.so+0x2aafaa]
V  [libjvm.so+0x2a8493]
V  [libjvm.so+0x2503a9]
V  [libjvm.so+0x2afa0a]
V  [libjvm.so+0x2af416]
V  [libjvm.so+0x5cde5d]
V  [libjvm.so+0x506929]
C  [libpthread.so.0+0x549b]


Current CompileTask:
C2: 90      opennlp.tools.sentdetect.DefaultSDContextGenerator.previousSpaceIndex(Ljava/lang/CharSequence;I)I (53 bytes)


Java Threads: ( => current thread )
  0x88801000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3498, stack(0x887af000,0x88800000)]
=>0x09059800 JavaThread "CompilerThread1" daemon [_thread_in_native, id=3497, stack(0x88949000,0x889ca000)]
  0x09057400 JavaThread "CompilerThread0" daemon [_thread_in_native, id=3496, stack(0x889ca000,0x88a4b000)]
  0x09055c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3495, stack(0x88a4b000,0x88a9c000)]
  0x09045800 JavaThread "Finalizer" daemon [_thread_blocked, id=3494, stack(0x88c9c000,0x88ced000)]
  0x09041000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3493, stack(0x88ced000,0x88d3e000)]
  0x08f99800 JavaThread "main" [_thread_in_Java, id=3487, stack(0xb7f5b000,0xb7fac000)]

Other Threads:
  0x0903d800 VMThread [stack: 0x88d3e000,0x88dbf000] [id=3492]
  0x88802c00 WatcherThread [stack: 0x8872e000,0x887af000] [id=3499]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 61568K, used 26339K [0xb07b0000, 0xb4d90000, 0xb4e20000)
  eden space 52288K, 49% used [0xb07b0000,0xb2110058,0xb3ac0000)
  from space 9280K, 3% used [0xb3ac0000,0xb3b18e30,0xb43d0000)
  to   space 8832K, 0% used [0xb44f0000,0xb44f0000,0xb4d90000)
 PSOldGen        total 36096K, used 23539K [0x8d420000, 0x8f760000, 0xb07b0000)
  object space 36096K, 65% used [0x8d420000,0x8eb1cce8,0x8f760000)
 PSPermGen       total 26880K, used 26786K [0x89420000, 0x8ae60000, 0x8d420000)
  object space 26880K, 99% used [0x89420000,0x8ae489b8,0x8ae60000)

Dynamic libraries:
00ace000-00ae8000 r-xp 00000000 fd:00 8028192    /lib/ld-2.5.so
00ae8000-00ae9000 r-xp 00019000 fd:00 8028192    /lib/ld-2.5.so
00ae9000-00aea000 rwxp 0001a000 fd:00 8028192    /lib/ld-2.5.so
00af1000-00c2f000 r-xp 00000000 fd:00 8028193    /lib/libc-2.5.so
00c2f000-00c31000 r-xp 0013e000 fd:00 8028193    /lib/libc-2.5.so
00c31000-00c32000 rwxp 00140000 fd:00 8028193    /lib/libc-2.5.so
00c32000-00c35000 rwxp 00c32000 00:00 0
00c37000-00c39000 r-xp 00000000 fd:00 8028200    /lib/libdl-2.5.so
00c39000-00c3a000 r-xp 00001000 fd:00 8028200    /lib/libdl-2.5.so
00c3a000-00c3b000 rwxp 00002000 fd:00 8028200    /lib/libdl-2.5.so
00c3d000-00c62000 r-xp 00000000 fd:00 8028197    /lib/libm-2.5.so
00c62000-00c63000 r-xp 00024000 fd:00 8028197    /lib/libm-2.5.so
00c63000-00c64000 rwxp 00025000 fd:00 8028197    /lib/libm-2.5.so
00c66000-00c79000 r-xp 00000000 fd:00 8028195    /lib/libpthread-2.5.so
00c79000-00c7a000 r-xp 00012000 fd:00 8028195    /lib/libpthread-2.5.so
00c7a000-00c7b000 rwxp 00013000 fd:00 8028195    /lib/libpthread-2.5.so
00c7b000-00c7d000 rwxp 00c7b000 00:00 0
00ce1000-00ce8000 r-xp 00000000 fd:00 8028196    /lib/librt-2.5.so
00ce8000-00ce9000 r-xp 00006000 fd:00 8028196    /lib/librt-2.5.so
00ce9000-00cea000 rwxp 00007000 fd:00 8028196    /lib/librt-2.5.so
00d01000-00d14000 r-xp 00000000 fd:00 8028198    /lib/libnsl-2.5.so
00d14000-00d15000 r-xp 00012000 fd:00 8028198    /lib/libnsl-2.5.so
00d15000-00d16000 rwxp 00013000 fd:00 8028198    /lib/libnsl-2.5.so
00d16000-00d18000 rwxp 00d16000 00:00 0
06000000-06676000 r-xp 00000000 fd:00 4325406    /opt/jdk1.6.0_13/jre/lib/i386/server/libjvm.so
06676000-066bb000 rwxp 00675000 fd:00 4325406    /opt/jdk1.6.0_13/jre/lib/i386/server/libjvm.so
066bb000-06add000 rwxp 066bb000 00:00 0
08048000-08052000 r-xp 00000000 fd:00 4325380    /opt/jdk1.6.0_13/jre/bin/java
08052000-08053000 rwxp 00009000 fd:00 4325380    /opt/jdk1.6.0_13/jre/bin/java
08f94000-093a6000 rwxp 08f94000 00:00 0          [heap]
88200000-88362000 rwxp 88200000 00:00 0
88362000-88400000 --xp 88362000 00:00 0
88400000-88600000 rwxp 88400000 00:00 0
88600000-886ff000 rwxp 88600000 00:00 0
886ff000-88700000 --xp 886ff000 00:00 0
8872e000-8872f000 --xp 8872e000 00:00 0
8872f000-887af000 rwxp 8872f000 00:00 0
887af000-887b2000 --xp 887af000 00:00 0
887b2000-888f9000 rwxp 887b2000 00:00 0
888f9000-88900000 --xp 888f9000 00:00 0
8891d000-8891f000 r-xs 00008000 03:41 13124498   /mnt/IDE500GB/.m2/repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar
8891f000-88922000 r-xs 0001b000 03:41 13123633   /mnt/IDE500GB/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
88922000-88929000 r-xs 00029000 03:41 13140905   /mnt/IDE500GB/.m2/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
88929000-8892c000 r-xs 00020000 03:41 13140959   /mnt/IDE500GB/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
8892c000-88930000 r-xs 0002f000 03:41 13123831   /mnt/IDE500GB/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
88930000-88932000 r-xs 0000b000 03:41 13140291   /mnt/IDE500GB/.m2/repository/org/apache/maven/surefire/surefire-api/2.3/surefire-api-2.3.jar
88932000-88936000 r-xs 0002f000 03:41 13123831   /mnt/IDE500GB/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
88936000-8893c000 r-xs 0004c000 03:41 13124627   /mnt/IDE500GB/.m2/repository/opennlp-tools/opennlp-tools/1.4.3/opennlp-tools-1.4.3.jar
8893c000-88944000 r-xs 00051000 03:41 13124641   /mnt/IDE500GB/.m2/repository/trove/trove/1.0/trove-1.0.jar
88944000-88949000 r-xs 00025000 03:41 13124642   /mnt/IDE500GB/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar
88949000-8894c000 --xp 88949000 00:00 0
8894c000-889ca000 rwxp 8894c000 00:00 0
889ca000-889cd000 --xp 889ca000 00:00 0
889cd000-88a4b000 rwxp 889cd000 00:00 0
88a4b000-88a4e000 --xp 88a4b000 00:00 0
88a4e000-88a9c000 rwxp 88a4e000 00:00 0
88a9c000-88c9c000 r-xp 00000000 fd:00 3807014    /usr/lib/locale/locale-archive
88c9c000-88c9f000 --xp 88c9c000 00:00 0
88c9f000-88ced000 rwxp 88c9f000 00:00 0
88ced000-88cf0000 --xp 88ced000 00:00 0
88cf0000-88d3e000 rwxp 88cf0000 00:00 0
88d3e000-88d3f000 --xp 88d3e000 00:00 0
88d3f000-88df2000 rwxp 88d3f000 00:00 0
88df2000-88f84000 r-xs 02f34000 fd:00 4325511    /opt/jdk1.6.0_13/jre/lib/rt.jar
88f84000-88f85000 --xp 88f84000 00:00 0
88f85000-89005000 rwxp 88f85000 00:00 0
89005000-89006000 --xp 89005000 00:00 0
89006000-89086000 rwxp 89006000 00:00 0
89086000-89087000 --xp 89086000 00:00 0
89087000-89107000 rwxp 89087000 00:00 0
89107000-89108000 --xp 89107000 00:00 0
89108000-89196000 rwxp 89108000 00:00 0
89196000-891a8000 rwxp 89196000 00:00 0
891a8000-891ba000 rwxp 891a8000 00:00 0
891ba000-892c2000 rwxp 891ba000 00:00 0
892c2000-892d0000 rwxp 892c2000 00:00 0
892d0000-892e2000 rwxp 892d0000 00:00 0
892e2000-892f4000 rwxp 892e2000 00:00 0
892f4000-893fb000 rwxp 892f4000 00:00 0
893fb000-8941f000 rwxp 893fb000 00:00 0
8941f000-8ae60000 rwxp 8941f000 00:00 0
8ae60000-8d420000 rwxp 8ae60000 00:00 0
8d420000-8f760000 rwxp 8d420000 00:00 0
8f760000-b07b0000 rwxp 8f760000 00:00 0
b07b0000-b4d90000 rwxp b07b0000 00:00 0
b4d90000-b4e20000 rwxp b4d90000 00:00 0
b4e20000-b4e23000 r-xs 00027000 03:41 13141073   /mnt/IDE500GB/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
b4e23000-b4e26000 r-xs 0001b000 03:41 13123633   /mnt/IDE500GB/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
b4e26000-b4e2d000 r-xs 00051000 03:41 13123679   /mnt/IDE500GB/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar
b4e2d000-b4e36000 rwxp b4e2d000 00:00 0
b4e36000-b4eed000 rwxp b4e36000 00:00 0
b4eed000-b512d000 rwxp b4eed000 00:00 0
b512d000-b7eed000 rwxp b512d000 00:00 0
b7eed000-b7efc000 r-xp 00000000 fd:00 4325422    /opt/jdk1.6.0_13/jre/lib/i386/libzip.so
b7efc000-b7efe000 rwxp 0000e000 fd:00 4325422    /opt/jdk1.6.0_13/jre/lib/i386/libzip.so
b7efe000-b7f21000 r-xp 00000000 fd:00 4325418    /opt/jdk1.6.0_13/jre/lib/i386/libjava.so
b7f21000-b7f23000 rwxp 00023000 fd:00 4325418    /opt/jdk1.6.0_13/jre/lib/i386/libjava.so
b7f23000-b7f2e000 r-xp 00000000 fd:00 4325417    /opt/jdk1.6.0_13/jre/lib/i386/libverify.so
b7f2e000-b7f2f000 rwxp 0000b000 fd:00 4325417    /opt/jdk1.6.0_13/jre/lib/i386/libverify.so
b7f2f000-b7f37000 rwxs 00000000 fd:00 3768337    /tmp/hsperfdata_continuum/3484
b7f37000-b7f3c000 r-xp 00000000 fd:00 3833971    /lib/libnss_winbind.so.2
b7f3c000-b7f3d000 rwxp 00004000 fd:00 3833971    /lib/libnss_winbind.so.2
b7f3d000-b7f42000 rwxp b7f3d000 00:00 0
b7f42000-b7f4b000 r-xp 00000000 fd:00 3833884    /lib/libnss_files-2.5.so
b7f4b000-b7f4c000 r-xp 00008000 fd:00 3833884    /lib/libnss_files-2.5.so
b7f4c000-b7f4d000 rwxp 00009000 fd:00 3833884    /lib/libnss_files-2.5.so
b7f4d000-b7f4f000 r-xs 0000e000 03:41 13124640   /mnt/IDE500GB/.m2/repository/maxent/maxent/2.5.2/maxent-2.5.2.jar
b7f4f000-b7f51000 r-xs 0000d000 03:41 13124599   /mnt/IDE500GB/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
b7f51000-b7f54000 r-xs 00027000 03:41 13141073   /mnt/IDE500GB/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
b7f54000-b7f5a000 r-xp 00000000 fd:00 4325404    /opt/jdk1.6.0_13/jre/lib/i386/native_threads/libhpi.so
b7f5a000-b7f5b000 rwxp 00006000 fd:00 4325404    /opt/jdk1.6.0_13/jre/lib/i386/native_threads/libhpi.so
b7f5b000-b7f5e000 --xp b7f5b000 00:00 0
b7f5e000-b7fae000 rwxp b7f5e000 00:00 0
b7fae000-b7fb5000 r-xp 00000000 fd:00 4325420    /opt/jdk1.6.0_13/jre/lib/i386/jli/libjli.so
b7fb5000-b7fb7000 rwxp 00006000 fd:00 4325420    /opt/jdk1.6.0_13/jre/lib/i386/jli/libjli.so
b7fb7000-b7fb8000 r-xs 00002000 03:41 13140264   /mnt/IDE500GB/.m2/repository/org/apache/maven/surefire/surefire-junit/2.3/surefire-junit-2.3.jar
b7fb8000-b7fba000 r-xs 0000b000 03:41 13140291   /mnt/IDE500GB/.m2/repository/org/apache/maven/surefire/surefire-api/2.3/surefire-api-2.3.jar
b7fba000-b7fbc000 r-xs 00006000 03:41 13140272   /mnt/IDE500GB/.m2/repository/org/apache/maven/surefire/surefire-booter/2.3/surefire-booter-2.3.jar
b7fbc000-b7fbd000 rwxp b7fbc000 00:00 0
b7fbd000-b7fbe000 r-xp b7fbd000 00:00 0
b7fbe000-b7fbf000 rwxp b7fbe000 00:00 0
b7fbf000-b7fc0000 r-xp b7fbf000 00:00 0          [vdso]
bf98b000-bf9a0000 rwxp bffea000 00:00 0          [stack]

VM Arguments:
java_command: org.apache.maven.surefire.booter.SurefireBooter /tmp/surefire5688667027445730448tmp /tmp/surefire7222887966087241055tmp
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/opt/jdk1.6.0_13
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/jdk1.6.0_13/bin:/usr/local/apache-maven-2.0.8/bin:/home/continuum/bin
LD_LIBRARY_PATH=/opt/jdk1.6.0_13/jre/lib/i386/server:/opt/jdk1.6.0_13/jre/lib/i386:/opt/jdk1.6.0_13/jre/../lib/i386
SHELL=/bin/bash

Signal Handlers:
SIGSEGV: [libjvm.so+0x6071f0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x6071f0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x5048b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x5048b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGXFSZ: [libjvm.so+0x5048b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x5048b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x506d80], sa_mask[0]=0x00000004, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x506b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x506b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x506b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x506b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004


---------------  S Y S T E M  ---------------

OS:CentOS release 5.3 (Final)

uname:Linux 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686
libc:glibc 2.5 NPTL 2.5
rlimit: STACK 10240k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
load average:0.51 0.29 0.16

CPU:total 4 (1 cores per cpu, 2 threads per core) family 15 model 2 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 2595696k(2026808k free), swap 4653048k(4653048k free)

vm_info: Java HotSpot(TM) Server VM (11.3-b02) for linux-x86 JRE (1.6.0_13-b03), built on Mar  9 2009 01:16:42 by "java_re" with gcc 3.2.1-7a (J2SE release)


time: Mon Jun  1 16:45:05 2009
elapsed time: 13 seconds


Update: Corv1nus is AAltemus, just registered.
Corv1nus
This should be in the question block or linked to from the question not as an answer
Gareth Davis
I would have except I put it under an unregistered name, then could not edit it or comment because I am a new user.
Corv1nus
Also does the same with -Xint
Corv1nus
Are you also running a jvm in server mode in windows?
Daniel H.
Windows Settings:java version "1.6.0_13"Java(TM) SE Runtime Environment (build 1.6.0_13-b03)Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
Corv1nus
Depending on the operating system and hardware, the jvm is launched on client or server mode by default. Some behaviours, specially related with memory management are different from one mode to the other. I would suggest to add/remove the -server flag in the java invocation and see whether it makes any difference.
Daniel H.
More information in: http://java.sun.com/j2se/1.5.0/docs/guide/vm/server-class.html
Daniel H.
Same result basically. Client and server are fine on Windows, and neither works on Linux. I'm wondering if this is an actual outside the JVM error or I have another issue like thread synchronization causing it. There have been cases where it reports this and it's not actually the case.
Corv1nus
It works on Fedora Core 5.0 with Java 1.5 and using 1.5 as the compile target. It appears to only not work on Cent 5.3 using Java 1.6.0_13.
Corv1nus
Cent OS 5.3 using Java 1.5.0_10 works as well...
Corv1nus
A: 

It sounds like either;

  • you are running the JVM on an unsupported OS.
  • a bug in the JVM (it is possible your other programs don't trigger the bug)
  • a bug in a library you are using which is breaking your JVM.
Peter Lawrey
A: 

Is the dump in Corv1nus answer the one associated with the error?

If so we had a similar bug with a segfault from the CompilerThread. In our case a library had been compiled either with the 1.4 compiler or to target 1.4 JVMs (can't remember exactly). The bytecode this generated seemed to trigger a bug in the 1.6 Hotspot JIT compiler. We solved the problem by recompiling the library with the latest 1.6 compiler. This generated different bytecode that did not trigger the bug.

Mark
A: 

Final verdict was that the Java install on Cent was corrupted. Testing on other Cent servers and Fedora servers were fine.

Corv1nus
A: 

Is byte code gerated by java in window and linux or unix is same?

satish rana
A: 

A bit of necromancy here, but I was receiving the exact same bug. Same JVM version, same line of code it was trying to compile (crazy 'coincidence' eh?). Different distro but still linux.

It appears to be a bug in the HotSpot compiler included with 1.6.0_17.

The good news is that update 18 claims to fix the problem (haven't rolled it out yet):

http://java.sun.com/javase/6/webnotes/6u18.html

The documented bug is for "SIGSEGV during compilation of method involving loop over CharSequence":

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6855164

Funnily enough, that's exactly what that method of OpenNLP is doing, cut & paste:

private static final int previousSpaceIndex(CharSequence sb, int seek) {
  seek--;
  while (seek > 0) {
    if (sb.charAt(seek) == ' ') {
      while (seek > 0 && sb.charAt(seek - 1) == ' ')
        seek--;
      return seek;
    }
    seek--;
  }
  return 0;
}
Michael