[ 
https://issues.apache.org/jira/browse/KARAF-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406376#comment-13406376
 ] 

Freeman Fang commented on KARAF-1595:
-------------------------------------

Hi,

Could you append the hs_err_pid*number*.log when crash?

Especially do you see exception like
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
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.exractAndLoad(Ljava/util/ArrayList;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z+172
j  org.fusesource.hawtjni.runtime.Library.doLoad()V+285
j  org.fusesource.hawtjni.runtime.Library.load()V+9
j  org.fusesource.jansi.internal.CLibrary.<clinit>()V+18
v  ~StubRoutines::call_stub
j  
org.fusesource.jansi.AnsiConsole.wrapOutputStream(Ljava/io/OutputStream;)Ljava/io/OutputStream;+61
j  org.fusesource.jansi.AnsiConsole.<clinit>()V+13
v  ~StubRoutines::call_stub
j  
org.apache.karaf.shell.console.jline.Activator.start(Lorg/osgi/framework/BundleContext;)V+0
j  
org.apache.felix.framework.util.SecureAction.startActivator(Lorg/osgi/framework/BundleActivator;Lorg/osgi/framework/BundleContext;)V+44
j  
org.apache.felix.framework.Felix.activateBundle(Lorg/apache/felix/framework/BundleImpl;Z)V+120
j  
org.apache.felix.framework.Felix.startBundle(Lorg/apache/felix/framework/BundleImpl;I)V+477

in that file?
If so I think  it's libjansi.so doesn't work on your machine, you can try to 
build it yourself on your machine to see if it helps.

Freeman
                
> Karaf starts failed
> -------------------
>
>                 Key: KARAF-1595
>                 URL: https://issues.apache.org/jira/browse/KARAF-1595
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.8
>         Environment: SuSe Linux 2.6.16.60-0.69.1-smp #1 SMP Fri Sep 17 
> 17:07:54 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
> Java HotSpot(TM) 64-Bit Server VM (17.0-b14 mixed mode linux-amd64 ) machine
>            Reporter: Xin Wu
>
> When I upgrade my Karaf to 2.2.8, it failed to start and report a fetal JRE 
> error file. 
> ---------------------
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGFPE (0x8) at pc=0x00002b5c6f47568f, pid=11052, tid=1101281600
> #
> # JRE version: 6.0_21-b04
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b14 mixed mode linux-amd64 
> )
> # Problematic frame:
> # C  [ld-linux-x86-64.so.2+0x868f]
> #
> # 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.
> #
> ---------------  T H R E A D  ---------------
> Current thread (0x00002aaad5f49800):  JavaThread "FelixStartLevel" daemon 
> [_thre
> ad_in_native, id=11107, stack(0x0000000041943000,0x0000000041a44000)]
> siginfo:si_signo=SIGFPE: si_errno=0, si_code=1 (FPE_INTDIV), 
> si_addr=0x00002b5c6
> f47568f

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to