Opened 3 months ago

Last modified 2 months ago

#2454 new defect

The router with jbigi crashes on arm5

Reported by: newbie Owned by:
Priority: minor Milestone: undecided
Component: router/general Version: 0.9.38
Keywords: jbigi, arm5 Cc:
Parent Tickets:

Description

The router with jbigi crashes on arm5. Without this library the router works fine.
i2p v. 0.9.38.0; java 8.0; linux 2.6.32.12
Device: Synology NAS
the router is started using the script ./runplain.sh

logs.jsp INFO (started without jbigi):

I2P version: 0.9.38-0
Java version: Oracle Corporation 1.8.0_181 (Java(TM) SE Embedded Runtime Environment 1.8.0_181-b13)
Wrapper version: none
Server version: 9.2.25.v20180606
Servlet version: Jasper JSP 2.3 Engine
JSTL version: standard-taglib 1.2.0
Platform: Linux arm 2.6.32.12
Processor: (armv5)
JBigI status: Native BigInteger? library jbigi not loaded - using pure Java - poor performance may result - see http://i2p-projekt.i2p/jbigi for help
GMP version: unknown
JBigI version: 0
Encoding: UTF-8
Charset: UTF-8
Built By: zzz

Here is hs_err_pid.log (crashes with jbigi):

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x49b2147c, pid=4336, tid=0x49bdf470
#
# JRE version: Java(TM) SE Embedded Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)
# Java VM: Java HotSpot(TM) Embedded Client VM (25.181-b13 mixed mode linux-arm )
# Problematic frame:
# C  [libjbigi.so+0x447c]  convert_j2mp+0xa0
#
# Core dump written. Default location: /volume1/homes/admin/i2pj/core or core.4336
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/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 (0x49896400):  JavaThread "YK Precalc" daemon [_thread_in_native, id=4354, stack(0x49b90000,0x49be0000)]

siginfo: si_signo: 4 (SIGILL), si_code: 1 (ILL_ILLOPC), si_addr: 0x49b2147c

Registers:
  r0  = 0x0002af80
  r1  = 0x00000000
  r2  = 0xffffffff
  r3  = 0x00000000
  r4  = 0x40a3e654
  r5  = 0x49b20e2c
  r6  = 0xffffffff
  r7  = 0x00000000
  r8  = 0x49bdea20
  r9  = 0x48fcc170
  r10 = 0x49896400
  fp  = 0x49bde974
  r12 = 0x00000041
  sp  = 0x49bde938
  lr  = 0x49b21474
  pc  = 0x49b2147c
  cpsr = 0xa0000010

Top of Stack: (sp=0x49bde938)
0x49bde938:   00000001 00000000 0002ad78 49b20e2c
0x49bde948:   ffffffff 49bde98c 49bdea18 49896534
0x49bde958:   49896400 400152b0 49896534 49bdea18
0x49bde968:   0002ad78 00000101 49bde9bc 49b20e5c
0x49bde978:   49bdea1c 49bdea20 49bdea14 49896534
0x49bde988:   00000000 00000041 00000040 0002ae80
0x49bde998:   49bde9c8 49bde9c0 4989699c 49896400
0x49bde9a8:   49bde9c8 49bde9c0 49bde9e4 4047d2fc 

Instructions: (pc=0x49b2147c)
0x49b2145c:   e58d2008 e51b0028 e1a01003 e3a02001
0x49b2146c:   e3a03001 ebfffd53 e51b300c e5d33000
0x49b2147c:   e6af3073 e3530000 aa000023 e51b0028
0x49b2148c:   e51b1028 ebfffdd2 e24b3018 e1a00003 

Register to memory mapping:

  r0  = 0x0002af80
0x0002af80 is an unknown value

  r1  = 0x00000000
0x00000000 is an unknown value

  r2  = 0xffffffff
0xffffffff is an unknown value

  r3  = 0x00000000
0x00000000 is an unknown value

  r4  = 0x40a3e654
0x40a3e654 is at code_begin+2580 in 
[CodeBlob (0x40a3dc08)]
Framesize: 0
BufferBlob (0x40a3dc08) used for native signature handlers

  r5  = 0x49b20e2c
0x49b20e2c: Java_net_i2p_util_NativeBigInteger_nativeModPow+0 in /tmp/i2p-oOmtUee0.tmp/libjbigi.so at 0x49b1d000

  r6  = 0xffffffff
0xffffffff is an unknown value

  r7  = 0x00000000
0x00000000 is an unknown value

  r8  = 0x49bdea20
0x49bdea20 is pointing into the stack for thread: 0x49896400

  r9  = 0x48fcc170
{method} {0x48fcc170} 'nativeModPow' '([B[B[B)[B' in 'net/i2p/util/NativeBigInteger'

  r10 = 0x49896400
0x49896400 is a thread

  fp  = 0x49bde974
0x49bde974 is pointing into the stack for thread: 0x49896400

  r12 = 0x00000041
0x00000041 is an unknown value

  sp  = 0x49bde938
0x49bde938 is pointing into the stack for thread: 0x49896400

  lr  = 0x49b21474
0x49b21474: convert_j2mp+0x98 in /tmp/i2p-oOmtUee0.tmp/libjbigi.so at 0x49b1d000

  pc  = 0x49b2147c
0x49b2147c: convert_j2mp+0xa0 in /tmp/i2p-oOmtUee0.tmp/libjbigi.so at 0x49b1d000



Stack: [0x49b90000,0x49be0000],  sp=0x49bde938,  free space=314k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libjbigi.so+0x447c]  convert_j2mp+0xa0

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  net.i2p.util.NativeBigInteger.nativeModPow([B[B[B)[B+0
j  net.i2p.util.NativeBigInteger.modPow(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;+49
j  net.i2p.crypto.YKGenerator.generateYK()[Ljava/math/BigInteger;+78
j  net.i2p.crypto.YKGenerator.access$300(Lnet/i2p/crypto/YKGenerator;)[Ljava/math/BigInteger;+1
j  net.i2p.crypto.YKGenerator$YKPrecalcRunner.run()V+131
j  java.lang.Thread.run()V+11
j  net.i2p.util.I2PThread.run()V+1
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
=>0x49896400 JavaThread "YK Precalc" daemon [_thread_in_native, id=4354, stack(0x49b90000,0x49be0000)]
  0x498fdc00 JavaThread "PRNG" daemon [_thread_blocked, id=4353, stack(0x49ab7000,0x49b07000)]
  0x409ea400 JavaThread "SimpleTimer2 3/3" daemon [_thread_blocked, id=4351, stack(0x49a67000,0x49ab7000)]
  0x409e8c00 JavaThread "SimpleTimer2 2/3" daemon [_thread_blocked, id=4350, stack(0x49a17000,0x49a67000)]
  0x409e7c00 JavaThread "SimpleTimer2 1/3" daemon [_thread_blocked, id=4349, stack(0x499c7000,0x49a17000)]
  0x409e3800 JavaThread "LogWriter" daemon [_thread_blocked, id=4348, stack(0x49950000,0x499a0000)]
  0x4962b000 JavaThread "Timestamper" daemon [_thread_blocked, id=4346, stack(0x49900000,0x49950000)]
  0x4099b800 JavaThread "Service Thread" daemon [_thread_blocked, id=4343, stack(0x494ee000,0x4953e000)]
  0x4097f400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=4342, stack(0x4946e000,0x494ee000)]
  0x4097dc00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4341, stack(0x4941e000,0x4946e000)]
  0x40962000 JavaThread "Finalizer" daemon [_thread_blocked, id=4340, stack(0x4909c000,0x490ec000)]
  0x4095f400 JavaThread "Reference Handler" daemon [_thread_blocked, id=4339, stack(0x4904c000,0x4909c000)]
  0x40907800 JavaThread "main" [_thread_in_Java, id=4337, stack(0x4082a000,0x4087a000)]

Other Threads:
  0x4095ac00 VMThread [stack: 0x42b7c000,0x42bfc000] [id=4338]
  0x4099e400 WatcherThread [stack: 0x4953e000,0x495be000] [id=4344]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 def new generation   total 1920K, used 365K [0x42c00000, 0x42e00000, 0x44c00000)
  eden space 1792K,  13% used [0x42c00000, 0x42c3b470, 0x42dc0000)
  from space 128K, 100% used [0x42de0000, 0x42e00000, 0x42e00000)
  to   space 128K,   0% used [0x42dc0000, 0x42dc0000, 0x42de0000)
 tenured generation   total 4096K, used 3491K [0x44c00000, 0x45000000, 0x48c00000)
   the space 4096K,  85% used [0x44c00000, 0x44f68f78, 0x44f69000, 0x45000000)
 Metaspace       used 4727K, capacity 4750K, committed 4760K, reserved 5424K

Card table byte_map: [0x42a80000,0x42ab1000] byte_map_base: 0x4286a000

Polling page: 0x40023000

CodeCache: size=32768Kb used=912Kb max_used=912Kb free=31855Kb
 bounds [0x40a00000, 0x40ae8000, 0x42a00000]
 total_blobs=321 nmethods=161 adapters=92
 compilation: enabled

Compilation events (10 events):
Event: 4.702 Thread 0x4097f400  157             sun.security.provider.ByteArrayAccess::b2iBig64 (614 bytes)
Event: 4.704 Thread 0x4097f400 nmethod 157 0x40ae2c08 code [0x40ae2d00, 0x40ae2e40]
Event: 4.704 Thread 0x4097f400  158             sun.security.provider.DigestBase::implCompressMultiBlock (23 bytes)
Event: 4.705 Thread 0x4097f400 nmethod 158 0x40ae2f48 code [0x40ae3030, 0x40ae3134]
Event: 4.715 Thread 0x4097f400  159             java.lang.AbstractStringBuilder::newCapacity (39 bytes)
Event: 4.717 Thread 0x4097f400 nmethod 159 0x40ae31c8 code [0x40ae32c0, 0x40ae3414]
Event: 4.728 Thread 0x4097f400  160  s          java.util.Hashtable::put (104 bytes)
Event: 4.730 Thread 0x4097f400 nmethod 160 0x40ae3508 code [0x40ae3630, 0x40ae3ae8]
Event: 4.768 Thread 0x4097f400  161             java.util.concurrent.ConcurrentHashMap::spread (10 bytes)
Event: 4.768 Thread 0x4097f400 nmethod 161 0x40ae3d48 code [0x40ae3e20, 0x40ae3ea8]

GC Heap History (10 events):
Event: 1.844 GC heap before
{Heap before GC invocations=0 (full 0):
 def new generation   total 1920K, used 1792K [0x42c00000, 0x42e00000, 0x44c00000)
  eden space 1792K, 100% used [0x42c00000, 0x42dc0000, 0x42dc0000)
  from space 128K,   0% used [0x42dc0000, 0x42dc0000, 0x42de0000)
  to   space 128K,   0% used [0x42de0000, 0x42de0000, 0x42e00000)
 tenured generation   total 4096K, used 0K [0x44c00000, 0x45000000, 0x48c00000)
   the space 4096K,   0% used [0x44c00000, 0x44c00000, 0x44c00200, 0x45000000)
 Metaspace       used 2218K, capacity 2300K, committed 2328K, reserved 4400K
Event: 1.866 GC heap after
Heap after GC invocations=1 (full 0):
 def new generation   total 1920K, used 128K [0x42c00000, 0x42e00000, 0x44c00000)
  eden space 1792K,   0% used [0x42c00000, 0x42c00000, 0x42dc0000)
  from space 128K, 100% used [0x42de0000, 0x42e00000, 0x42e00000)
  to   space 128K,   0% used [0x42dc0000, 0x42dc0000, 0x42de0000)
 tenured generation   total 4096K, used 616K [0x44c00000, 0x45000000, 0x48c00000)
   the space 4096K,  15% used [0x44c00000, 0x44c9a248, 0x44c9a400, 0x45000000)
 Metaspace       used 2218K, capacity 2300K, committed 2328K, reserved 4400K
}
Event: 2.502 GC heap before
{Heap before GC invocations=1 (full 0):
 def new generation   total 1920K, used 1920K [0x42c00000, 0x42e00000, 0x44c00000)
  eden space 1792K, 100% used [0x42c00000, 0x42dc0000, 0x42dc0000)
  from space 128K, 100% used [0x42de0000, 0x42e00000, 0x42e00000)
  to   space 128K,   0% used [0x42dc0000, 0x42dc0000, 0x42de0000)
 tenured generation   total 4096K, used 616K [0x44c00000, 0x45000000, 0x48c00000)
   the space 4096K,  15% used [0x44c00000, 0x44c9a248, 0x44c9a400, 0x45000000)
 Metaspace       used 2993K, capacity 3044K, committed 3096K, reserved 4400K
Event: 2.519 GC heap after
Heap after GC invocations=2 (full 0):
 def new generation   total 1920K, used 128K [0x42c00000, 0x42e00000, 0x44c00000)
  eden space 1792K,   0% used [0x42c00000, 0x42c00000, 0x42dc0000)
  from space 128K, 100% used [0x42dc0000, 0x42de0000, 0x42de0000)
  to   space 128K,   0% used [0x42de0000, 0x42de0000, 0x42e00000)
 tenured generation   total 4096K, used 1211K [0x44c00000, 0x45000000, 0x48c00000)
   the space 4096K,  29% used [0x44c00000, 0x44d2ef48, 0x44d2f000, 0x45000000)
 Metaspace       used 2993K, capacity 3044K, committed 3096K, reserved 4400K
}
Event: 3.689 GC heap before
{Heap before GC invocations=2 (full 0):
 def new generation   total 1920K, used 1667K [0x42c00000, 0x42e00000, 0x44c00000)
  eden space 1792K,  85% used [0x42c00000, 0x42d80f38, 0x42dc0000)
  from space 128K, 100% used [0x42dc0000, 0x42de0000, 0x42de0000)
  to   space 128K,   0% used [0x42de0000, 0x42de0000, 0x42e00000)
 tenured generation   total 4096K, used 1211K [0x44c00000, 0x45000000, 0x48c00000)
   the space 4096K,  29% used [0x44c00000, 0x44d2ef48, 0x44d2f000, 0x45000000)
 Metaspace       used 3853K, capacity 3878K, committed 3992K, reserved 4400K
Event: 3.708 GC heap after
Heap after GC invocations=3 (full 0):
 def new generation   total 1920K, used 128K [0x42c00000, 0x42e00000, 0x44c00000)
  eden space 1792K,   0% used [0x42c00000, 0x42c00000, 0x42dc0000)
  from space 128K, 100% used [0x42de0000, 0x42e00000, 0x42e00000)
  to   space 128K,   0% used [0x42dc0000, 0x42dc0000, 0x42de0000)
 tenured generation   total 4096K, used 1688K [0x44c00000, 0x45000000, 0x48c00000)
   the space 4096K,  41% used [0x44c00000, 0x44da6008, 0x44da6200, 0x45000000)
 Metaspace       used 3853K, capacity 3878K, committed 3992K, reserved 4400K
}
Event: 4.264 GC heap before
{Heap before GC invocations=3 (full 0):
 def new generation   total 1920K, used 1920K [0x42c00000, 0x42e00000, 0x44c00000)
  eden space 1792K, 100% used [0x42c00000, 0x42dc0000, 0x42dc0000)
  from space 128K, 100% used [0x42de0000, 0x42e00000, 0x42e00000)
  to   space 128K,   0% used [0x42dc0000, 0x42dc0000, 0x42de0000)
 tenured generation   total 4096K, used 1688K [0x44c00000, 0x45000000, 0x48c00000)
   the space 4096K,  41% used [0x44c00000, 0x44da6008, 0x44da6200, 0x45000000)
 Metaspace       used 4403K, capacity 4454K, committed 4504K, reserved 5424K
Event: 4.282 GC heap after
Heap after GC invocations=4 (full 0):
 def new generation   total 1920K, used 128K [0x42c00000, 0x42e00000, 0x44c00000)
  eden space 1792K,   0% used [0x42c00000, 0x42c00000, 0x42dc0000)
  from space 128K, 100% used [0x42dc0000, 0x42de0000, 0x42de0000)
  to   space 128K,   0% used [0x42de0000, 0x42de0000, 0x42e00000)
 tenured generation   total 4096K, used 2980K [0x44c00000, 0x45000000, 0x48c00000)
   the space 4096K,  72% used [0x44c00000, 0x44ee9150, 0x44ee9200, 0x45000000)
 Metaspace       used 4403K, capacity 4454K, committed 4504K, reserved 5424K
}
Event: 4.798 GC heap before
{Heap before GC invocations=4 (full 0):
 def new generation   total 1920K, used 1920K [0x42c00000, 0x42e00000, 0x44c00000)
  eden space 1792K, 100% used [0x42c00000, 0x42dc0000, 0x42dc0000)
  from space 128K, 100% used [0x42dc0000, 0x42de0000, 0x42de0000)
  to   space 128K,   0% used [0x42de0000, 0x42de0000, 0x42e00000)
 tenured generation   total 4096K, used 2980K [0x44c00000, 0x45000000, 0x48c00000)
   the space 4096K,  72% used [0x44c00000, 0x44ee9150, 0x44ee9200, 0x45000000)
 Metaspace       used 4692K, capacity 4718K, committed 4760K, reserved 5424K
Event: 4.812 GC heap after
Heap after GC invocations=5 (full 0):
 def new generation   total 1920K, used 128K [0x42c00000, 0x42e00000, 0x44c00000)
  eden space 1792K,   0% used [0x42c00000, 0x42c00000, 0x42dc0000)
  from space 128K, 100% used [0x42de0000, 0x42e00000, 0x42e00000)
  to   space 128K,   0% used [0x42dc0000, 0x42dc0000, 0x42de0000)
 tenured generation   total 4096K, used 3491K [0x44c00000, 0x45000000, 0x48c00000)
   the space 4096K,  85% used [0x44c00000, 0x44f68f78, 0x44f69000, 0x45000000)
 Metaspace       used 4692K, capacity 4718K, committed 4760K, reserved 5424K
}

Deoptimization events (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (10 events):
Event: 1.721 Thread 0x40907800 Exception <a 'java/security/PrivilegedActionException'> (0x42da2288) thrown at [/HUDSON/workspace/8-2-build-elinux-arm-sflt/jdk8u181/11358/hotspot/src/share/vm/prims/jvm.cpp, line 1435]
Event: 1.721 Thread 0x40907800 Exception <a 'java/security/PrivilegedActionException'> (0x42da2488) thrown at [/HUDSON/workspace/8-2-build-elinux-arm-sflt/jdk8u181/11358/hotspot/src/share/vm/prims/jvm.cpp, line 1435]
Event: 1.722 Thread 0x40907800 Exception <a 'java/security/PrivilegedActionException'> (0x42da3058) thrown at [/HUDSON/workspace/8-2-build-elinux-arm-sflt/jdk8u181/11358/hotspot/src/share/vm/prims/jvm.cpp, line 1435]
Event: 1.722 Thread 0x40907800 Exception <a 'java/security/PrivilegedActionException'> (0x42da3258) thrown at [/HUDSON/workspace/8-2-build-elinux-arm-sflt/jdk8u181/11358/hotspot/src/share/vm/prims/jvm.cpp, line 1435]
Event: 1.799 Thread 0x40907800 Exception <a 'java/security/PrivilegedActionException'> (0x42dae2b0) thrown at [/HUDSON/workspace/8-2-build-elinux-arm-sflt/jdk8u181/11358/hotspot/src/share/vm/prims/jvm.cpp, line 1435]
Event: 1.800 Thread 0x40907800 Exception <a 'java/security/PrivilegedActionException'> (0x42dae4b0) thrown at [/HUDSON/workspace/8-2-build-elinux-arm-sflt/jdk8u181/11358/hotspot/src/share/vm/prims/jvm.cpp, line 1435]
Event: 1.812 Thread 0x40907800 Exception <a 'java/security/PrivilegedActionException'> (0x42db6b20) thrown at [/HUDSON/workspace/8-2-build-elinux-arm-sflt/jdk8u181/11358/hotspot/src/share/vm/prims/jvm.cpp, line 1435]
Event: 1.812 Thread 0x40907800 Exception <a 'java/security/PrivilegedActionException'> (0x42db6d20) thrown at [/HUDSON/workspace/8-2-build-elinux-arm-sflt/jdk8u181/11358/hotspot/src/share/vm/prims/jvm.cpp, line 1435]
Event: 2.864 Thread 0x4962b000 Exception <a 'java/io/IOException'> (0x42ca24f0) thrown at [/HUDSON/workspace/8-2-build-elinux-arm-sflt/jdk8u181/11358/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 3.934 Thread 0x40907800 Exception <a 'java/io/IOException'> (0x42d3ea28) thrown at [/HUDSON/workspace/8-2-build-elinux-arm-sflt/jdk8u181/11358/hotspot/src/share/vm/prims/jni.cpp, line 709]

Events (10 events):
Event: 4.836 loading class net/i2p/crypto/provider/I2PProvider
Event: 4.836 loading class net/i2p/crypto/provider/I2PProvider done
Event: 4.850 loading class java/lang/SecurityException
Event: 4.852 loading class net/i2p/router/message/GarlicMessageParser
Event: 4.852 loading class net/i2p/router/message/GarlicMessageParser done
Event: 4.856 loading class net/i2p/router/ClientMessagePool
Event: 4.856 loading class net/i2p/router/ClientMessagePool done
Event: 4.858 loading class java/lang/SecurityException done
Event: 4.859 loading class net/i2p/crypto/provider/I2PProvider$1
Event: 4.859 loading class net/i2p/crypto/provider/I2PProvider$1 done


Dynamic libraries:
00008000-00009000 r-xp 00000000 09:02 264552     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/bin/java
00010000-00011000 rwxp 00000000 09:02 264552     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/bin/java
00011000-0004b000 rwxp 00000000 00:00 0          [heap]
40000000-40020000 r-xp 00000000 09:00 982        /usr/lib/ld-2.15.so
40020000-40023000 rwxp 00000000 00:00 0 
40023000-40024000 r-xp 00000000 00:00 0 
4002f000-40030000 r-xp 0001f000 09:00 982        /usr/lib/ld-2.15.so
40030000-40031000 rwxp 00020000 09:00 982        /usr/lib/ld-2.15.so
40031000-40046000 r-xp 00000000 09:00 3007       /usr/lib/libpthread-2.15.so
40046000-40056000 ---p 00015000 09:00 3007       /usr/lib/libpthread-2.15.so
40056000-40057000 r-xp 00015000 09:00 3007       /usr/lib/libpthread-2.15.so
40057000-40058000 rwxp 00016000 09:00 3007       /usr/lib/libpthread-2.15.so
40058000-4005a000 rwxp 00000000 00:00 0 
4005a000-4006f000 r-xp 00000000 09:02 264429     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/jli/libjli.so
4006f000-40076000 ---p 00015000 09:02 264429     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/jli/libjli.so
40076000-40077000 rwxp 00014000 09:02 264429     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/jli/libjli.so
40077000-4007b000 r-xp 00000000 09:00 1300       /usr/lib/libdl-2.15.so
4007b000-4008a000 ---p 00004000 09:00 1300       /usr/lib/libdl-2.15.so
4008a000-4008b000 r-xp 00003000 09:00 1300       /usr/lib/libdl-2.15.so
4008b000-4008c000 rwxp 00004000 09:00 1300       /usr/lib/libdl-2.15.so
4008c000-401b9000 r-xp 00000000 09:00 980        /usr/lib/libc-2.15.so
401b9000-401c9000 ---p 0012d000 09:00 980        /usr/lib/libc-2.15.so
401c9000-401cb000 r-xp 0012d000 09:00 980        /usr/lib/libc-2.15.so
401cb000-401cc000 rwxp 0012f000 09:00 980        /usr/lib/libc-2.15.so
401cc000-401cf000 rwxp 00000000 00:00 0 
401cf000-401db000 r-xp 00000000 09:00 1396       /usr/lib/libgcc_s.so.1
401db000-401ea000 ---p 0000c000 09:00 1396       /usr/lib/libgcc_s.so.1
401ea000-401eb000 rwxp 0000b000 09:00 1396       /usr/lib/libgcc_s.so.1
401eb000-4072f000 r-xp 00000000 09:02 264410     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/client/libjvm.so
4072f000-40737000 ---p 00544000 09:02 264410     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/client/libjvm.so
40737000-4075e000 rwxp 00544000 09:02 264410     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/client/libjvm.so
4075e000-40781000 rwxp 00000000 00:00 0 
40781000-40819000 r-xp 00000000 09:00 2454       /usr/lib/libm-2.15.so
40819000-40828000 ---p 00098000 09:00 2454       /usr/lib/libm-2.15.so
40828000-40829000 r-xp 00097000 09:00 2454       /usr/lib/libm-2.15.so
40829000-4082a000 rwxp 00098000 09:00 2454       /usr/lib/libm-2.15.so
4082a000-4082d000 ---p 00000000 00:00 0 
4082d000-4087a000 rwxp 00000000 00:00 0 
4087a000-40880000 r-xp 00000000 09:00 1274       /usr/lib/librt-2.15.so
40880000-4088f000 ---p 00006000 09:00 1274       /usr/lib/librt-2.15.so
4088f000-40890000 r-xp 00005000 09:00 1274       /usr/lib/librt-2.15.so
40890000-40891000 rwxp 00006000 09:00 1274       /usr/lib/librt-2.15.so
40891000-4089a000 r-xp 00000000 09:02 264444     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libverify.so
4089a000-408a2000 ---p 00009000 09:02 264444     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libverify.so
408a2000-408a3000 rwxp 00009000 09:02 264444     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libverify.so
408a3000-408d0000 r-xp 00000000 09:02 264443     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libjava.so
408d0000-408d8000 ---p 0002d000 09:02 264443     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libjava.so
408d8000-408d9000 rwxp 0002d000 09:02 264443     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libjava.so
408d9000-408f1000 r-xp 00000000 09:02 264426     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libzip.so
408f1000-408f8000 ---p 00018000 09:02 264426     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libzip.so
408f8000-408f9000 rwxp 00017000 09:02 264426     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libzip.so
40900000-409fb000 rwxp 00000000 00:00 0 
409fb000-40a00000 ---p 00000000 00:00 0 
40a00000-40ae8000 rwxp 00000000 00:00 0 
40ae8000-42a00000 ---p 00000000 00:00 0 
42a00000-42a04000 rwxp 00000000 00:00 0 
42a04000-42a80000 ---p 00000000 00:00 0 
42a80000-42a81000 rwxp 00000000 00:00 0 
42a81000-42a90000 ---p 00000000 00:00 0 
42a90000-42a92000 rwxp 00000000 00:00 0 
42a92000-42ab0000 ---p 00000000 00:00 0 
42ab0000-42ab4000 rwxp 00000000 00:00 0 
42ab4000-42ad2000 ---p 00000000 00:00 0 
42ad2000-42b7c000 rwxp 00000000 00:00 0 
42b7c000-42b7d000 ---p 00000000 00:00 0 
42b7d000-42bfc000 rwxp 00000000 00:00 0 
42c00000-42e00000 rwxp 00000000 00:00 0 
42e00000-44c00000 ---p 00000000 00:00 0 
44c00000-45000000 rwxp 00000000 00:00 0 
45000000-48c00000 ---p 00000000 00:00 0 
48c00000-49046000 rwxp 00000000 00:00 0 
49046000-4904c000 ---p 00000000 00:00 0 
4904c000-4904f000 ---p 00000000 00:00 0 
4904f000-4909c000 rwxp 00000000 00:00 0 
4909c000-4909f000 ---p 00000000 00:00 0 
4909f000-490ec000 rwxp 00000000 00:00 0 
49100000-49121000 rwxp 00000000 00:00 0 
49121000-49200000 ---p 00000000 00:00 0 
49200000-49400000 r-xp 00000000 09:00 14726      /usr/lib/locale/locale-archive
49400000-4940d000 r-xp 00000000 09:00 1348       /usr/lib/libnss_files-2.15.so
4940d000-4941c000 ---p 0000d000 09:00 1348       /usr/lib/libnss_files-2.15.so
4941c000-4941d000 r-xp 0000c000 09:00 1348       /usr/lib/libnss_files-2.15.so
4941d000-4941e000 rwxp 0000d000 09:00 1348       /usr/lib/libnss_files-2.15.so
4941e000-49421000 ---p 00000000 00:00 0 
49421000-4946e000 rwxp 00000000 00:00 0 
4946e000-49471000 ---p 00000000 00:00 0 
49471000-494ee000 rwxp 00000000 00:00 0 
494ee000-494f1000 ---p 00000000 00:00 0 
494f1000-4953e000 rwxp 00000000 00:00 0 
4953e000-4953f000 ---p 00000000 00:00 0 
4953f000-495be000 rwxp 00000000 00:00 0 
495be000-495d1000 r-xp 00000000 09:02 264452     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libnet.so
495d1000-495d9000 ---p 00013000 09:02 264452     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libnet.so
495d9000-495da000 rwxp 00013000 09:02 264452     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libnet.so
495da000-495e0000 r-xp 00000000 09:00 2961       /usr/lib/libnss_dns-2.15.so
495e0000-495ef000 ---p 00006000 09:00 2961       /usr/lib/libnss_dns-2.15.so
495ef000-495f0000 r-xp 00005000 09:00 2961       /usr/lib/libnss_dns-2.15.so
495f0000-495f1000 rwxp 00006000 09:00 2961       /usr/lib/libnss_dns-2.15.so
49600000-496ff000 rwxp 00000000 00:00 0 
496ff000-49700000 ---p 00000000 00:00 0 
49700000-497fb000 rwxp 00000000 00:00 0 
497fb000-49800000 ---p 00000000 00:00 0 
49800000-49900000 rwxp 00000000 00:00 0 
49900000-49903000 ---p 00000000 00:00 0 
49903000-49950000 rwxp 00000000 00:00 0 
49950000-49953000 ---p 00000000 00:00 0 
49953000-499a0000 rwxp 00000000 00:00 0 
499a0000-499b4000 r-xp 00000000 09:00 2507       /usr/lib/libresolv-2.15.so
499b4000-499c3000 ---p 00014000 09:00 2507       /usr/lib/libresolv-2.15.so
499c3000-499c4000 r-xp 00013000 09:00 2507       /usr/lib/libresolv-2.15.so
499c4000-499c5000 rwxp 00014000 09:00 2507       /usr/lib/libresolv-2.15.so
499c5000-499c7000 rwxp 00000000 00:00 0 
499c7000-499ca000 ---p 00000000 00:00 0 
499ca000-49a17000 rwxp 00000000 00:00 0 
49a17000-49a1a000 ---p 00000000 00:00 0 
49a1a000-49a67000 rwxp 00000000 00:00 0 
49a67000-49a6a000 ---p 00000000 00:00 0 
49a6a000-49ab7000 rwxp 00000000 00:00 0 
49ab7000-49aba000 ---p 00000000 00:00 0 
49aba000-49b07000 rwxp 00000000 00:00 0 
49b07000-49b15000 r-xp 00000000 09:02 264439     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libnio.so
49b15000-49b1c000 ---p 0000e000 09:02 264439     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libnio.so
49b1c000-49b1d000 rwxp 0000d000 09:02 264439     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libnio.so
49b1d000-49b47000 r-xp 00000000 00:0d 4213177    /tmp/i2p-oOmtUee0.tmp/libjbigi.so
49b47000-49b4e000 ---p 0002a000 00:0d 4213177    /tmp/i2p-oOmtUee0.tmp/libjbigi.so
49b4e000-49b4f000 rwxp 00029000 00:0d 4213177    /tmp/i2p-oOmtUee0.tmp/libjbigi.so
49b4f000-49b81000 r-xp 00000000 09:02 264442     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libsunec.so
49b81000-49b88000 ---p 00032000 09:02 264442     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libsunec.so
49b88000-49b8b000 rwxp 00031000 09:02 264442     /volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/lib/arm/libsunec.so
49b8b000-49b90000 rwxp 00000000 00:00 0 
49b90000-49b93000 ---p 00000000 00:00 0 
49b93000-49be0000 rwxp 00000000 00:00 0          [threadstack:0004bfa8]
49c00000-49c29000 rwxp 00000000 00:00 0 
49c29000-49d00000 ---p 00000000 00:00 0 
49d00000-49d80000 rwxp 00000000 00:00 0 
49d80000-49e00000 ---p 00000000 00:00 0 
be8cf000-be8e4000 rw-p 00000000 00:00 0          [stack]

VM Arguments:
jvm_args: -Djava.net.preferIPv4Stack=false -Djava.library.path=/volume1/homes/admin/i2pj:/volume1/homes/admin/i2pj/lib -Di2p.dir.base=/volume1/homes/admin/i2pj -DloggerFilenameOverride=logs/log-router-@.txt 
java_command: net.i2p.router.RouterLaunch
java_class_path (initial): "/volume1/homes/admin/i2pj/lib/addressbook.jar:/volume1/homes/admin/i2pj/lib/BOB.jar:/volume1/homes/admin/i2pj/lib/commons-el.jar:/volume1/homes/admin/i2pj/lib/commons-logging.jar:/volume1/homes/admin/i2pj/lib/desktopgui.jar:/volume1/homes/admin/i2pj/lib/i2p.jar:/volume1/homes/admin/i2pj/lib/i2psnark.jar:/volume1/homes/admin/i2pj/lib/i2ptunnel.jar:/volume1/homes/admin/i2pj/lib/jasper-compiler.jar:/volume1/homes/admin/i2pj/lib/jasper-runtime.jar:/volume1/homes/admin/i2pj/lib/javax.servlet.jar:/volume1/homes/admin/i2pj/lib/jbigi.jar:/volume1/homes/admin/i2pj/lib/jetty-continuation.jar:/volume1/homes/admin/i2pj/lib/jetty-deploy.jar:/volume1/homes/admin/i2pj/lib/jetty-http.jar:/volume1/homes/admin/i2pj/lib/jetty-i2p.jar:/volume1/homes/admin/i2pj/lib/jetty-io.jar:/volume1/homes/admin/i2pj/lib/jetty-java5-threadpool.jar:/volume1/homes/admin/i2pj/lib/jetty-rewrite-handler.jar:/volume1/homes/admin/i2pj/lib/jetty-security.jar:/volume1/homes/admin/i2pj/lib/jetty-servlet.jar:/volume1/homes/admin/i2pj/lib/jetty-servlets.jar:/volume1/homes/admin/i2pj/lib/jetty-sslengine.jar:/volume1/homes/admin/i2pj/lib/jetty-start.jar:/volume1/homes/admin/i2pj/lib/jetty-util.jar:/volume1/homes/admin/i2pj/lib/jetty-webapp.jar:/volume1/homes/admin/i2pj/lib/jetty-xml.jar:/volume1/homes/admin/i2pj/lib/jrobin.jar:/volume1/homes/admin/i2pj/lib/jstl.jar:/volume1/homes/admin/i2pj/lib/mstreaming.jar:/volume1/homes/admin/i2pj/lib/org.mortbay.jetty.jar:/volume1/homes/admin/i2pj/lib/org.mortbay.jmx.jar:/volume1/homes/admin/i2pj/lib/routerconsole.jar:/volume1/homes/admin/i2pj/lib/router.jar:/volume1/homes/admin/i2pj/lib/sam.jar:/volume1/homes/admin/i2pj/lib/standard.jar:/volume1/homes/admin/i2pj/lib/streaming.jar:/volume1/homes/admin/i2pj/lib/systray.jar:/volume1/homes/admin/i2pj/lib/wrapper.jar"
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/var/packages/java8/target/ejdk1.8.0_181/linux_arm_sflt/jre
CLASSPATH=.:/var/packages/java8/target/ejdk1.8.0_181/linux_arm_sflt/jre/lib
PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin:/volume1/@appstore/java8/ejdk1.8.0_181/linux_arm_sflt/jre/bin:/var/packages/java8/target/ejdk1.8.0_181/linux_arm_sflt/jre/bin
SHELL=/bin/sh

Signal Handlers:
SIGSEGV: [libjvm.so+0x4c93d0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.so+0x4c93d0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.so+0x3c0510], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.so+0x3c0510], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.so+0x3c0510], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.so+0x3c0510], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGUSR2: [libjvm.so+0x3c0674], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: SIG_IGN, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGINT: [libjvm.so+0x3c0ab0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGTERM: [libjvm.so+0x3c0ab0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGQUIT: [libjvm.so+0x3c0ab0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO


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

OS:Linux
uname:Linux 2.6.32.12 #23824 Tue Feb 12 16:48:38 CST 2019 armv5tel
libc:glibc 2.15 NPTL 2.15 
rlimit: STACK 8192k, CORE infinity, NPROC 1883, NOFILE 1024, AS infinity
load average:0.11 0.60 0.75

/proc/meminfo:
MemTotal:         249428 kB
MemFree:           56880 kB
Buffers:           14972 kB
Cached:            78256 kB
SwapCached:         9120 kB
Active:            57104 kB
Inactive:          88112 kB
Active(anon):      29136 kB
Inactive(anon):    24864 kB
Active(file):      27968 kB
Inactive(file):    63248 kB
Unevictable:        1292 kB
Mlocked:            1292 kB
SwapTotal:       2097080 kB
SwapFree:        1941476 kB
Dirty:              6692 kB
Writeback:             0 kB
AnonPages:         46356 kB
Mapped:            19964 kB
Shmem:              1920 kB
Slab:              28052 kB
SReclaimable:       6932 kB
SUnreclaim:        21120 kB
KernelStack:        2104 kB
PageTables:         6136 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2221792 kB
Committed_AS:    1174224 kB
VmallocTotal:     385024 kB
VmallocUsed:       21716 kB
VmallocChunk:     337864 kB


CPU:total 1 (initial active 1) (ARMv5)

/proc/cpuinfo:
Processor	: Feroceon 88FR131 rev 1 (v5l)
BogoMIPS	: 1589.24
Features	: swp half thumb fastmult edsp 
CPU implementer	: 0x56
CPU architecture: 5TE
CPU variant	: 0x2
CPU part	: 0x131
CPU revision	: 1

Hardware	: Synology 6282 board
Revision	: 0000
Serial		: 0000000000000000


Memory: 4k page, physical 249428k(56880k free), swap 2097080k(1941476k free)

vm_info: Java HotSpot(TM) Embedded Client VM (25.181-b13) for linux-arm-sflt JRE (1.8.0_181-b13), built on Jul  7 2018 01:58:18 by "java_re" with gcc 4.7.2 20120731 (prerelease)

time: Thu Mar  7 21:40:58 2019
elapsed time: 4 seconds (0d 0h 0m 4s)

Subtickets (add)

Change History (2)

comment:1 Changed 3 months ago by jogger

Java 8 produces lots of crashes on ARM. If you can, install newer Linux, Java 11, compile your own jbigi.

jbigi instructions https://i2pforum.net/viewtopic.php?f=21&t=507&sid=c0d430ce3c59fe2b24069e6e47de6fa2

java 11 instructions https://trac.i2p2.de/ticket/2423

comment:2 Changed 2 months ago by zzz

comment 1 above is unlikely to fix anything, the problem is with jbigi, that our armv5 library is incompatible with the processor features.

I haven't looked yet into the Feroceon and how it differs from the target that we build the library for. It's difficult to do the detection and know if it's going to be compatible, but we can do better.

Note: See TracTickets for help on using tickets.