hg.loongnix.org 里面的 java ,怎么我运行直接报错?

我自己编译的 fedora 28。仅仅是执行一下 java -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000fff53803d4, pid=19, tid=0x000000fff46671e0
#
# JRE version: (8.0) (build ) (Loongson 8.1-mips64r2-S)
# Java VM: OpenJDK 64-Bit Server VM (25.71-b00 mixed mode linux-mips64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x9c43d4] strlwr(char*)+0x54
#
# Core dump written. Default location: //core or core.19
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#

--------------- T H R E A D ---------------

Current thread (0x000000fff000a800): JavaThread "Unknown thread" [_thread_in_vm, id=20, stack(0x000000fff4568000,0x000000fff4668000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x000000fff4668000

Registers:
R0=0x0000000000000000, AT=0x0000000000000001, V0=0x000000fff46678f8, V1=0x000000000000007f
A0=0x00000000000001fc, A1=0x0000000000000001, A2=0x0000000000000108, A3=0x0000000000000001
A4=0x000000fff00008f1, A5=0x0a0a0a0a0a0a0a0a, A6=0x000000fff00006a0, A7=0xfffffffffffffff8
T0=0x0000000000000000, T1=0xffffffff80206a3c, T2=0x0000000000000001, T3=0x0000000000000000
S0=0x000000fff4668001, S1=0x000000fff4666888, S2=0x000000fff000a800, S3=0x000000fff4666740
S4=0x000000fff4666780, S5=0x000000fff54f3678, S6=0x000000fff54f3670, S7=0x0000000000000000
T8=0x0000000000000000, T9=0x000000fff5550170, K0=0x000000fff56c74f8, K1=0x0000000000000000
GP=0x000000fff54c4330, SP=0x000000fff4663cb0, FP=0x000000fff4663cb0, RA=0x000000fff53803b0

Top of Stack: (sp=0x000000fff4663cb0)
0x000000fff4663c90: 0000000000000000 0000000000000000
0x000000fff4663ca0: 0000000000000000 000000fff54c4330
0x000000fff4663cb0: 0000000000000000 000000fff54c4330
0x000000fff4663cc0: 000000fff4663cd0 000000fff5380434
0x000000fff4663cd0: 74206d6574737973 67203a0909657079
0x000000fff4663ce0: 6c2d636972656e65 2d6e6f73676e6f6f
0x000000fff4663cf0: 0a656e696863616d 09656e696863616d
0x000000fff4663d00: 6e6f6f6c203a0909 6e65672c6e6f7367
0x000000fff4663d10: 6f72700a63697265 0909726f73736563
0x000000fff4663d20: 207570630a30203a 3a09096c65646f6d
0x000000fff4663d30: 6f73676e6f6f6c20 392e307620332d6e
0x000000fff4663d40: 3076207570662020 6c65646f6d0a312e
0x000000fff4663d50: 3a0909656d616e20 6f73676e6f6f6c20
0x000000fff4663d60: 2033722061332d6e 6f73676e6f6f6c28
0x000000fff4663d70: 3030303361332d6e 3030343120402029
0x000000fff4663d80: 207570630a7a686d 203a0909097a686d
0x000000fff4663d90: 0a32302e30303431 7370696d6f676f62
0x000000fff4663da0: 35383732203a0909 746961770a38382e

Instructions: (pc=0x000000fff53803d4)
0x000000fff5380394: 30 7b 99 df 10 00 be ff 25 f0 a0 03 00 00 b0 ff
0x000000fff53803a4: 18 00 bf ff 09 f8 20 03 25 80 80 00 00 00 03 82
0x000000fff53803b4: 80 00 65 24 80 01 a5 2c 04 00 a0 10 b8 20 03 00
0x000000fff53803c4: 00 00 43 dc 2d 18 64 00 00 00 63 80 01 00 10 66
0x000000fff53803d4: f6 ff 00 10 ff ff 03 a2 00 00 00 00 e0 d7 bd 67
0x000000fff53803e4: 08 28 bc ff 14 00 1c 3c 2d e0 99 03 50 3f 9c 67
0x000000fff53803f4: 40 7b 99 df 10 28 be ff 25 f0 a0 03 00 28 06 24
0x000000fff5380404: 25 28 00 00 18 28 bf ff 09 f8 20 03 25 20 c0 03

Stack: [0x000000fff4568000,0x000000fff4668000], sp=0x000000fff4663cb0, free space=1007k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x9c43d4] strlwr(char*)+0x54
V [libjvm.so+0xb08330]


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

Java Threads: ( => current thread )

Other Threads:

=>0x000000fff000a800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=20, stack(0x000000fff4568000,0x000000fff4668000)]

VM state:not at safepoint (not fully initialized)

VM Mutex/Monitor currently owned by a thread: None

Deoptimization events (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (0 events):
No events

Events (0 events):
No events


Dynamic libraries:
00010000-00014000 r-xp 00000000 00:00 0
00014000-00284000 rwxp 00000000 00:00 0
00284000-03014000 ---p 00000000 00:00 0
120000000-120004000 r-xp 00000000 08:05 4460089 /usr/local/jvm/openjdk-1.8.0-internal/bin/java
120010000-120014000 rwxp 00000000 08:05 4460089 /usr/local/jvm/openjdk-1.8.0-internal/bin/java
12806c000-128090000 rwxp 00000000 00:00 0 [heap]
fff0000000-fff0024000 rwxp 00000000 00:00 0
fff0024000-fff4000000 ---p 00000000 00:00 0
fff41d8000-fff43dc000 rwxp 00000000 00:00 0
fff43dc000-fff4490000 ---p 00000000 00:00 0
fff4490000-fff44b0000 r-xp 00000000 08:05 4589969 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/libzip.so
fff44b0000-fff44bc000 ---p 00020000 08:05 4589969 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/libzip.so
fff44bc000-fff44c0000 rwxp 0001c000 08:05 4589969 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/libzip.so
fff44c0000-fff44cc000 r-xp 00000000 08:05 4066597 /usr/lib64/libnss_files-2.27.so
fff44cc000-fff44d8000 ---p 0000c000 08:05 4066597 /usr/lib64/libnss_files-2.27.so
fff44d8000-fff44dc000 r-xp 00008000 08:05 4066597 /usr/lib64/libnss_files-2.27.so
fff44dc000-fff44e0000 rwxp 0000c000 08:05 4066597 /usr/lib64/libnss_files-2.27.so
fff44e0000-fff44e4000 rwxp 00000000 00:00 0
fff44e4000-fff4514000 r-xp 00000000 08:05 4589962 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/libjava.so
fff4514000-fff4520000 ---p 00030000 08:05 4589962 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/libjava.so
fff4520000-fff4524000 rwxp 0002c000 08:05 4589962 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/libjava.so
fff4524000-fff4534000 r-xp 00000000 08:05 4589993 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/libverify.so
fff4534000-fff4540000 ---p 00010000 08:05 4589993 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/libverify.so
fff4540000-fff4544000 r-xp 0000c000 08:05 4589993 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/libverify.so
fff4544000-fff4548000 rwxp 00010000 08:05 4589993 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/libverify.so
fff4548000-fff4550000 r-xp 00000000 08:05 4069751 /usr/lib64/librt-2.27.so
fff4550000-fff455c000 ---p 00008000 08:05 4069751 /usr/lib64/librt-2.27.so
fff455c000-fff4560000 r-xp 00004000 08:05 4069751 /usr/lib64/librt-2.27.so
fff4560000-fff4564000 rwxp 00008000 08:05 4069751 /usr/lib64/librt-2.27.so
fff4564000-fff4568000 ---p 00000000 00:00 0
fff4568000-fff4570000 ---p 00000000 00:00 0
fff4570000-fff4668000 rwxp 00000000 00:00 0
fff4668000-fff46d4000 r-xp 00000000 08:05 4069712 /usr/lib64/libgcc_s-8-20180801.so.1
fff46d4000-fff46e0000 ---p 0006c000 08:05 4069712 /usr/lib64/libgcc_s-8-20180801.so.1
fff46e0000-fff46e4000 r-xp 00068000 08:05 4069712 /usr/lib64/libgcc_s-8-20180801.so.1
fff46e4000-fff46e8000 rwxp 0006c000 08:05 4069712 /usr/lib64/libgcc_s-8-20180801.so.1
fff46e8000-fff47c4000 r-xp 00000000 08:05 4066920 /usr/lib64/libm-2.27.so
fff47c4000-fff47d0000 ---p 000dc000 08:05 4066920 /usr/lib64/libm-2.27.so
fff47d0000-fff47d4000 rwxp 000d8000 08:05 4066920 /usr/lib64/libm-2.27.so
fff47d4000-fff4994000 r-xp 00000000 08:05 4067100 /usr/lib64/libstdc++.so.6.0.25
fff4994000-fff49a0000 ---p 001c0000 08:05 4067100 /usr/lib64/libstdc++.so.6.0.25
fff49a0000-fff49b0000 r-xp 001bc000 08:05 4067100 /usr/lib64/libstdc++.so.6.0.25
fff49b0000-fff49bc000 rwxp 001cc000 08:05 4067100 /usr/lib64/libstdc++.so.6.0.25
fff49bc000-fff541c000 r-xp 00000000 08:05 4589953 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/server/libjvm.so
fff541c000-fff5428000 ---p 00a60000 08:05 4589953 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/server/libjvm.so
fff5428000-fff5484000 r-xp 00a5c000 08:05 4589953 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/server/libjvm.so
fff5484000-fff54cc000 rwxp 00ab8000 08:05 4589953 /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/mips64el/server/libjvm.so
fff54cc000-fff5504000 rwxp 00000000 00:00 0
fff5504000-fff56b4000 r-xp 00000000 08:05 4066650 /usr/lib64/libc-2.27.so
fff56b4000-fff56c0000 ---p 001b0000 08:05 4066650 /usr/lib64/libc-2.27.so
fff56c0000-fff56c4000 r-xp 001ac000 08:05 4066650 /usr/lib64/libc-2.27.so
fff56c4000-fff56cc000 rwxp 001b0000 08:05 4066650 /usr/lib64/libc-2.27.so
fff56cc000-fff56d0000 rwxp 00000000 00:00 0
fff56d0000-fff56d4000 r-xp 00000000 08:05 4069817 /usr/lib64/libdl-2.27.so
fff56d4000-fff56e0000 ---p 00004000 08:05 4069817 /usr/lib64/libdl-2.27.so
fff56e0000-fff56e4000 rwxp 00000000 08:05 4069817 /usr/lib64/libdl-2.27.so
fff56e4000-fff5700000 r-xp 00000000 08:05 4326806 /usr/local/jvm/openjdk-1.8.0-internal/lib/mips64el/jli/libjli.so
fff5700000-fff570c000 ---p 0001c000 08:05 4326806 /usr/local/jvm/openjdk-1.8.0-internal/lib/mips64el/jli/libjli.so
fff570c000-fff5710000 rwxp 00018000 08:05 4326806 /usr/local/jvm/openjdk-1.8.0-internal/lib/mips64el/jli/libjli.so
fff5710000-fff5730000 r-xp 00000000 08:05 4067026 /usr/lib64/libpthread-2.27.so
fff5730000-fff573c000 ---p 00020000 08:05 4067026 /usr/lib64/libpthread-2.27.so
fff573c000-fff5740000 rwxp 0001c000 08:05 4067026 /usr/lib64/libpthread-2.27.so
fff5740000-fff5744000 rwxp 00000000 00:00 0
fff5744000-fff576c000 r-xp 00000000 08:05 4067037 /usr/lib64/ld-2.27.so
fff576c000-fff5774000 rwxs 00000000 00:26 53069 /tmp/hsperfdata_root/19
fff5774000-fff5778000 rwxp 00000000 00:00 0
fff5778000-fff5780000 rwxp 00024000 08:05 4067037 /usr/lib64/ld-2.27.so
ffff9dc000-ffffa00000 rwxp 00000000 00:00 0 [stack]
ffffc00000-ffffc04000 rwxp 00000000 00:00 0
ffffd8c000-ffffd90000 r--p 00000000 00:00 0 [vvar]
ffffd90000-ffffd94000 r-xp 00000000 00:00 0 [vdso]

VM Arguments:
java_command: <unknown>
java_class_path (initial): .
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
SHELL=/bin/bash

Signal Handlers:
SIGSEGV: [libjvm.so+0x9b9540], sa_mask[0]=11111111011111111111110111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.so+0x9b9540], sa_mask[0]=11111111011111111111110111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.so+0x7c5c88], sa_mask[0]=11111111011111111111110111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.so+0x7c5c88], sa_mask[0]=11111111011111111111110111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.so+0x7c5c88], sa_mask[0]=11111111011111111111110111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.so+0x7c5c88], sa_mask[0]=11111111011111111111110111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGUSR2: [libjvm.so+0x7c5ad8], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGINT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGTERM: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGQUIT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none


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

OS:Fedora release 28 (Twenty Eight)

uname:Linux 4.14.54-1.fc28.1.mips64el #1 SMP PREEMPT Fri Jul 13 16:58:00 CST 2018 mips64
libc:glibc 2.27 NPTL 2.27
rlimit: STACK 8192k, CORE infinity, NPROC 31854, NOFILE 4096, AS infinity
load average:0.78 0.45 0.67

/proc/meminfo:
MemTotal: 8186944 kB
MemFree: 4581936 kB
MemAvailable: 6718624 kB
Buffers: 309168 kB
Cached: 2896704 kB
SwapCached: 32 kB
Active: 805072 kB
Inactive: 2535424 kB
Active(anon): 72448 kB
Inactive(anon): 66672 kB
Active(file): 732624 kB
Inactive(file): 2468752 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 9128768 kB
SwapFree: 9128736 kB
Dirty: 21840 kB
Writeback: 0 kB
AnonPages: 134624 kB
Mapped: 163472 kB
Shmem: 4512 kB
Slab: 218112 kB
SReclaimable: 154240 kB
SUnreclaim: 63872 kB
KernelStack: 2928 kB
PageTables: 5648 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 13222240 kB
Committed_AS: 747872 kB
VmallocTotal: 137434759136 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 32768 kB


CPU:total 4 (initial active 4)

/proc/cpuinfo:
system type : generic-loongson-machine
machine : loongson,generic
processor : 0
cpu model : Loongson-3 V0.9 FPU V0.1
model name : Loongson-3A R3 (Loongson-3A3000) @ 1400MHz
CPU MHz : 1400.02
BogoMIPS : 2785.88
wait instruction : yes
microsecond timers : yes
tlb_entries : 1088
extra interrupt vector : no
hardware watchpoint : yes, count: 0, address/irw mask:
isa : mips1 mips2 mips3 mips4 mips5 mips32r1 mips32r2 mips64r1 mips64r2
ASEs implemented : dsp dsp2 vz
shadow register sets : 1
kscratch registers : 6
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available

processor : 1
cpu model : Loongson-3 V0.9 FPU V0.1
model name : Loongson-3A R3 (Loongson-3A3000) @ 1400MHz
CPU MHz : 1400.02
BogoMIPS : 2799.97
wait instruction : yes
microsecond timers : yes
tlb_entries : 1088
extra interrupt vector : no
hardware watchpoint : yes, count: 0, address/irw mask:
isa : mips1 mips2 mips3 mips4 mips5 mips32r1 mips32r2 mips64r1 mips64r2
ASEs implemented : dsp dsp2 vz
shadow register sets : 1
kscratch registers : 6
package : 0
core : 1
VCED exceptions : not available
VCEI exceptions : not available

processor : 2
cpu model : Loongson-3 V0.9 FPU V0.1
model name : Loongson-3A R3 (Loongson-3A3000) @ 1400MHz
CPU MHz : 1400.02
BogoMIPS : 2799.97
wait instruction : yes
microsecond timers : yes
tlb_entries : 1088
extra interrupt vector : no
hardware watchpoint : yes, count: 0, address/irw mask:
isa : mips1 mips2 mips3 mips4 mips5 mips32r1 mips32r2 mips64r1 mips64r2
ASEs implemented : dsp dsp2 vz
shadow register sets : 1
kscratch registers : 6
package : 0
core : 2
VCED exceptions : not available
VCEI exceptions : not available

processor : 3
cpu model : Loongson-3 V0.9 FPU V0.1
model name : Loongson-3A R3 (Loongson-3A3000) @ 1400MHz
CPU MHz : 1400.02
BogoMIPS : 2799.97
wait instruction : yes
microsecond timers : yes
tlb_entries : 1088
extra interrupt vector : no
hardware watchpoint : yes, count: 0, address/irw mask:
isa : mips1 mips2 mips3 mips4 mips5 mips32r1 mips32r2 mips64r1 mips64r2
ASEs implemented : dsp dsp2 vz
shadow register sets : 1
kscratch registers : 6
package : 0
core : 3
VCED exceptions : not available
VCEI exceptions : not available



Memory: 16k page, physical 8186944k(4581936k free), swap 9128768k(9128736k free)

vm_info: OpenJDK 64-Bit Server VM (25.71-b00) for linux-mips64 JRE (1.8.0-internal-root_2018_09_02_10_53-b00), built on Sep 2 2018 11:42:29 by "root" with gcc 8.2.1 20180801 (Red Hat 8.2.1-2)

time: Sun Sep 2 15:57:15 2018
elapsed time: 0 seconds (0d 0h 0m 0s)


已邀请:

aoqi

赞同来自:

使用 http://www.loongnix.org/index.php/JDK8-MIPS64 中的jdk有崩溃现象吗?
能否提供一下libjvm.so?我现在手头没有现成的fedora 28,不方便实验。

shikongzhineng

赞同来自:

debian的gcc没patch,龙芯的features无法发挥
手动滑稽

要回复问题请先登录注册