ish-app / ish

Linux shell for iOS
https://ish.app
Other
16.95k stars 892 forks source link

[BUG] SIGSEGV when using maven #2101

Open Zhou-Shilin opened 1 year ago

Zhou-Shilin commented 1 year ago

(Sorry, my english is not very well so some words maybe strange)
Hi! I'm trying to use maven to build my java project. So I installed maven by apk. But when I type mvn --version, it crashes.

zk-qq:~# mvn --version
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xf7618177, pid=15, tid=0xf70afd90
#
# JRE version: OpenJDK Runtime Environment (8.0_302-b08) (build 1.8.0_302-b08)
# Java VM: OpenJDK Server VM (25.302-b08 mixed mode linux-x86 )
# Derivative: IcedTea 3.20.0
# Distribution: Custom build (Wed Dec  8 12:39:55 UTC 2021)
# Problematic frame:
# V  [libjvm.so+0x3a9177]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /root/hs_err_pid15.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   https://icedtea.classpath.org/bugzilla
#
Aborted

It told me try ulimit -c unlimited, but i got another error.

zk-qq:~# ulimit -c unlimited
zk-qq:~# mvn
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xf7618177, pid=76, tid=0xf70afd90
#
# JRE version: OpenJDK Runtime Environment (8.0_302-b08) (build 1.8.0_302-b08)
# Java VM: OpenJDK Server VM (25.302-b08 mixed mode linux-x86 )
# Derivative: IcedTea 3.20.0
# Distribution: Custom build (Wed Dec  8 12:39:55 UTC 2021)
# Problematic frame:
# V  [libjvm.so+0x3a9177]
#
# Core dump written. Default location: /root/core or core.76
#
# An error report file with more information is saved as:
# /root/hs_err_pid76.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   https://icedtea.classpath.org/bugzilla

The output error report file: https://gist.github.com/Zhou-Shilin/1fe16bfa529e6a960b2d84f8ca8bc4fa
Here's the dump of the log messages:

zk-qq:~# dmesg
15(java) stub syscall 375
15(java) stub syscall 375
32 page fault on 0x2f67738f at 0xf7618177
47(java) stub syscall 375
47(java) stub syscall 375
64 page fault on 0x2f67738f at 0xf7618177