SIGSEGV (core dump) java -Xmx64m -jar $JAR -storepass "$storepass"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ca-certificates-java (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
## Environment
OS version: Ubuntu arm64-bionic
I am using below ubuntu container.
https:/
ca-certificates
```
$ uname -a
Linux 4e7245866a0e 4.15.0-1026-gcp #27~16.04.1-Ubuntu SMP Fri Dec 7 09:59:47 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
```
## How to reproduce
I created reproducer script.
https:/
The actual result. You can see the core dump here.
https:/
```
$ git clone https:/
``
Then run Travis CI on your repository,
or run below commands
```
$ docker run --rm --privileged multiarch/
$ docker build --rm -t sample -f Dockerfile-arm64 .
```
or run below commands on your ARM (arm64) environment
```
# apt-get update && apt-get install -y ca-certificates
```
Below result is shown randomly with around 30%.
When trying 3 times, succeeded 2 times, failed 1 time on my impression.
```
...
Setting up ca-certificates
/usr/bin/head: cannot open '/etc/ssl/
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000004001
#
# JRE version: (10.0.2+13) (build )
# Java VM: OpenJDK 64-Bit Server VM (10.0.2+
# Problematic frame:
# V [libjvm.
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/
#
# An error report file with more information is saved as:
# //hs_err_
#
# If you would like to submit a bug report, please visit:
# http://
#
/var/lib/
5827 Aborted (core dumped) | java -Xmx64m -jar $JAR -storepass "$storepass"
dpkg: error processing package ca-certificates
installed ca-certificates
```
`default-jre` package installation is also failed for this issue.
Below is possibly same issue. /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 920562# 5
https:/