openjdk crash on linux kernel 6.1.5

Ze Zhang zhangze.linux at gmail.com
Tue Jan 31 07:14:13 UTC 2023


hi,
on kernel 6.1.5,  java -version crashes:

Type "apropos word" to search for commands related to "word"...
Reading symbols from java...
Reading symbols from
/usr/lib/jvm/java-20+gitAUTOINC+5dfc4ec7d9-openjdk-riscv64/bin/.debug/java...
(gdb) run -version
Starting program: /usr/bin/java -version
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".




[New Thread 0x7ffff6086180 (LWP 543)]
[New Thread 0x7ffff4c56180 (LWP 544)]
[New Thread 0x7ffff4a54180 (LWP 545)]
[New Thread 0x7ffff4852180 (LWP 546)]
[New Thread 0x7fffbdbfb180 (LWP 547)]
[New Thread 0x7fffbd9f9180 (LWP 548)]
[New Thread 0x7fffbd776180 (LWP 549)]

Thread 2 "java" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff6086180 (LWP 543)]
0x00007ffff7fdf916 in __vdso_clock_gettime ()
(gdb)
(gdb)
(gdb)
(gdb)
(gdb) bt
#0  0x00007ffff7fdf916 in __vdso_clock_gettime ()
#1  0x00007ffff7f1e712 in __GI___clock_gettime (clock_id=<optimized out>,
tp=<optimized out>) at
/usr/src/debug/glibc/2.36-r0/sysdeps/unix/sysv/linux/clock_gettime.c:42
#2  0xaa140004aa140003 in ?? ()
(gdb)
Broadcast message from systemd-journald at qemuriscv64 (Tue 2022-12-20
18:46:12 UTC):

systemd[1]: Caught <SEGV> from PID 4.


Message from syslogd at qemuriscv64 at Tue Dec 20 18:46:12 2022 ...
systemd[1]: Caught <SEGV> from PID 4.

Broadcast message from systemd-journald at qemuriscv64 (Tue 2022-12-20
18:46:12 UTC):

systemd[1]: Caught <SEGV>, dumped core as pid 554.


Broadcast message from systemd-journald at qemuriscv64 (Tue 2022-12-20
18:46:12 UTC):

systemd[1]: Freezing execution.


Message from syslogd at qemuriscv64 at Tue Dec 20 18:46:12 2022 ...
systemd[1]: Caught <SEGV>, dumped core as pid 554.

Message from syslogd at qemuriscv64 at Tue Dec 20 18:46:12 2022 ...
systemd[1]: Freezing execution.

#0  0x00007ffff7fdf916 in __vdso_clock_gettime ()
#1  0x00007ffff7f1e712 in __GI___clock_gettime (clock_id=<optimized out>,
tp=<optimized out>) at
/usr/src/debug/glibc/2.36-r0/sysdeps/unix/sysv/linux/clock_gettime.c:42
#2  0xaa140004aa140003 in ?? ()
(gdb)

#2  0xaa140004aa140003 in ?? ()
(gdb)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/riscv-port-dev/attachments/20230131/974a17d4/attachment-0001.htm>


More information about the riscv-port-dev mailing list