fatal error when starting rainbow

Create issue
Issue #572 on hold
Former user created an issue

Hi, rainbow crashes with a fatal error when started:


SIGSEGV (0xb) at pc=0x00007f1d69109601, pid=12261, tid=0x00007f1d692e4700

JRE version: Java(TM) SE Runtime Environment (8.0_112-b15) (build 1.8.0_112-b15)

Java VM: Java HotSpot(TM) 64-Bit Server VM (25.112-b15 mixed mode linux-amd64 compressed oops)

Problematic frame:

C [ld-linux-x86-64.so.2+0xb601] _dl_relocate_object+0xa1


I have attached the core dump.

Comments (4)

  1. Chase Tingley

    Relevant bits:

    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;Z)V+0
    j  java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z+328
    j  java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+48
    j  java.lang.Runtime.load0(Ljava/lang/Class;Ljava/lang/String;)V+57
    j  java.lang.System.load(Ljava/lang/String;)V+7
    j  org.eclipse.swt.internal.Library.load(Ljava/lang/String;Ljava/lang/StringBuffer;)Z+12
    j  org.eclipse.swt.internal.Library.loadLibrary(Ljava/lang/String;Z)V+602
    j  org.eclipse.swt.internal.Library.loadLibrary(Ljava/lang/String;)V+2
    j  org.eclipse.swt.internal.C.<clinit>()V+2
    v  ~StubRoutines::call_stub
    j  org.eclipse.swt.internal.Converter.wcsToMbcs(Ljava/lang/String;[CZ)[B+17
    j  org.eclipse.swt.internal.Converter.wcsToMbcs(Ljava/lang/String;Ljava/lang/String;Z)[B+23
    j  org.eclipse.swt.widgets.Display.<clinit>()V+17
    v  ~StubRoutines::call_stub
    j  net.sf.okapi.applications.rainbow.Main.main([Ljava/lang/String;)V+4
    v  ~StubRoutines::call_stub
    Internal exceptions (2 events):
    Event: 0,064 Thread 0x00007f1d60008000 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x0000000757f87c78) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u112/7884/hotspot/src/sh
    Event: 0,064 Thread 0x00007f1d60008000 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x0000000757f87f60) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u112/7884/hotspot/src/share/vm/prims/jni.c

    Those exceptions are very strange. It makes it look like there is something wrong with the Java installation.

    This is on Arch Linux.

  2. Chase Tingley

    Based on the exception and symptom, it sounds a bit like JDK-8076445. That bug thread says that running with -Xint works fine, so you might try adding that to rainbow.sh and seeing if that helps.

  3. Andre Jonas

    Hi, thread starter here. Sorry for the late replay, I was laying down with a cold for the last week.

    Unfortunately, adding -Xint didn’t change anything. I also tried OpenJDK 7 and 8 but ran into the same problem.

  4. Jim Hargrave (OLD)

    I am assuming this was a glitch. I've never seen this on Ubuntu. Unless we can reproduce this we should close.

  5. Log in to comment