Karaf
  1. Karaf
  2. KARAF-1377

Karaf crash on SLES 10 when running with 32-bit Java 6

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6
    • Fix Version/s: None
    • Component/s: karaf-shell
    • Labels:
      None
    • Environment:

      SuSE Linux Enterprise Server 10.x
      Oracle Java 6 32-bit

      Description

      If you start Karaf on SLES 10.x with Java 6 32-bit, you will hit a server crash with the core dump like this:

      --------------- T H R E A D ---------------
      ...
      ...
      EBX=0xb770fff4
      0xb770fff4: <offset 0x1cff4> in /lib/ld-linux.so.2 at 0xb76f3000

      ECX=0x084063d0
      0x084063d0 is pointing to unknown location

      EDX=0x00000000
      0x00000000 is pointing to unknown location

      ESP=0xb6c4cc64
      0xb6c4cc64 is pointing into the stack for thread: 0x0805a000
      "main" prio=10 tid=0x0805a000 nid=0x23e6 runnable [0xb6c4d000]
      java.lang.Thread.State: RUNNABLE

      EBP=0xb6c4ccc0
      0xb6c4ccc0 is pointing into the stack for thread: 0x0805a000
      "main" prio=10 tid=0x0805a000 nid=0x23e6 runnable [0xb6c4d000]
      java.lang.Thread.State: RUNNABLE

      ESI=0x0840657c
      0x0840657c is pointing to unknown location

      EDI=0xb6c4cd4c
      0xb6c4cd4c is pointing into the stack for thread: 0x0805a000
      "main" prio=10 tid=0x0805a000 nid=0x23e6 runnable [0xb6c4d000]
      java.lang.Thread.State: RUNNABLE

      Top of Stack: (sp=0xb6c4cc64)
      ...
      ...

      Stack: [0xb6bff000,0xb6c50000], sp=0xb6c4cc64, free space=311k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [ld-linux.so.2+0x91fb]
      C [ld-linux.so.2+0x9587]
      C [ld-linux.so.2+0xac00]
      C [ld-linux.so.2+0x11481]
      C [ld-linux.so.2+0xd3a6]
      C [ld-linux.so.2+0x10cae]
      C [libdl.so.2+0xe8d]
      C [ld-linux.so.2+0xd3a6]
      C [libdl.so.2+0x133c]
      C [libdl.so.2+0xdc4] dlopen+0x44
      V [libjvm.so+0x371779]
      V [libjvm.so+0x2b8d09]
      C [libjava.so+0xbc4c] Java_java_lang_ClassLoader_00024NativeLibrary_load+0x6c
      j java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;)V+0
      j java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z+300
      j java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+127
      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.fusesource.hawtjni.runtime.Library.load(Ljava/util/ArrayList;Ljava/io/File;)Z+4
      j org.fusesource.hawtjni.runtime.Library.doLoad()V+166
      j org.fusesource.hawtjni.runtime.Library.load()V+9
      j org.fusesource.jansi.internal.CLibrary.<clinit>()V+18
      v ~StubRoutines::call_stub
      V [libjvm.so+0x23f671]
      V [libjvm.so+0x375498]
      V [libjvm.so+0x23f49f]
      V [libjvm.so+0x21b3a1]
      V [libjvm.so+0x21a06e]
      V [libjvm.so+0x219568]
      V [libjvm.so+0x32050a]
      V [libjvm.so+0x31fc73]
      V [libjvm.so+0x236e08]
      j org.fusesource.jansi.AnsiConsole.wrapOutputStream(Ljava/io/OutputStream;)Ljava/io/OutputStream;+34
      j org.fusesource.jansi.AnsiConsole.<clinit>()V+13
      v ~StubRoutines::call_stub
      V [libjvm.so+0x23f671]
      V [libjvm.so+0x375498]
      V [libjvm.so+0x23f49f]
      V [libjvm.so+0x21b3a1]
      V [libjvm.so+0x21a06e]
      V [libjvm.so+0x219568]
      V [libjvm.so+0x3208bf]
      V [libjvm.so+0x32265f]
      V [libjvm.so+0x3223cc]
      V [libjvm.so+0x2381bb]
      j org.apache.karaf.shell.console.jline.Activator.start(Lorg/osgi/framework/BundleContext;)V+0

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Forrest Xia
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development