I am getting SIGSEGV running 1.5.4 on Synology DS-209+II
I have complied it myself on the slug. Configure options:
./configure --prefix=/opt --with-classpath-install-dir=/opt --disable-tls
I had to change "lwsync" to "sync" in src/arch.h as otherwise it fails with "invalid instruction" signal.
After that I get a SIGSEGV running any java app.
Backtrace:
root@anaconda:~/wiki.in.a.jar> gdb jamvm
dlopen failed on 'libthread_db.so.1' - libthread_db.so.1: cannot open shared object file: No such file or directory
GDB will not be able to debug pthreads.
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-linux-gnuspe"...
(gdb) handle SIG32 nostop pass
Signal Stop Print Pass to program Description
SIG32 No Yes Yes Real-time event 32
(gdb) run -jar wiki.in.a.jar 3003
Starting program: /opt/bin/jamvm -jar wiki.in.a.jar 3003
Program received signal SIG32, Real-time event 32.
Program received signal SIG32, Real-time event 32.
Program received signal SIG32, Real-time event 32.
Program received signal SIGSEGV, Segmentation fault.
finish () at callNative.S:241
241 lbz 0,1(14)
Current language: auto; currently asm
(gdb) bt
#0 finish () at callNative.S:241
#1 0x1000dab0 in callJNIWrapper (class=0x30830c30, mb=0x102994f4, ostack=0x380a82e0) at dll.c:433
#2 0x1000dd78 in resolveNativeWrapper (class=0x30830c30, mb=0x102994f4, ostack=0x380a82e0) at dll.c:217
#3 0x1002934c in executeJava () at interp.c:2190
#4 0x1000ef78 in executeMethodVaList (ob=0x0, class=0x30830b98, mb=0x1029ac50, jargs=0x7fba4840) at execute.c:129
#5 0x1000f048 in executeMethodArgs (ob=<value optimized out>, class=<value optimized out>, mb=<value optimized out>) at execute.c:100
#6 0x10009b64 in initClass (class=0x30830b98) at class.c:1253
#7 0x1001cea4 in resolveField (class=0x30830a50, cp_index=11) at resolve.c:319
#8 0x10027bc4 in executeJava () at interp.c:1277
#9 0x1001c0c4 in invoke (ob=0x0, mb=0x10219544, arg_array=<value optimized out>, param_types=<value optimized out>) at reflect.c:1092
#10 0x1001843c in methodInvoke (class=<value optimized out>, mb2=<value optimized out>, ostack=0x380a80d0) at natives.c:1118
#11 0x1000dd78 in resolveNativeWrapper (class=0x3003f1a8, mb=0x10104ee4, ostack=0x380a80d0) at dll.c:217
#12 0x1002934c in executeJava () at interp.c:2190
#13 0x1000ef78 in executeMethodVaList (ob=0x0, class=0x30090178, mb=0x101e61f4, jargs=0x7fba4af0) at execute.c:129
#14 0x1000f048 in executeMethodArgs (ob=<value optimized out>, class=<value optimized out>, mb=<value optimized out>) at execute.c:100
#15 0x100037c0 in main (argc=4, argv=0x7fba4c34) at jam.c:400
(gdb)
cpuinfo (I think Synology guys get the CPU model wrong, it should be MPC8533, see here: http://forum.synology.com/enu/viewtopic.php?f=141&t=15884\):
root@anaconda:~/wiki.in.a.jar> cat /proc/cpuinfo
processor : 0
cpu : e500v2
clock : 1066.560000MHz
revision : 2.2 (pvr 8021 0022)
bogomips : 133.12
timebase : 66660000
platform : MPC8544 DS
Vendor : Freescale Semiconductor
PVR : 0x80210022
SVR : 0x80340011
PLL setting : 0x4
Memory : 512 MB
Any help will be really appreciated.