unreal91 commented on issue #23891:
URL: https://github.com/apache/pulsar/issues/23891#issuecomment-2615058077
@lhotari
docker run --rm apachepulsar/pulsar:4.0.2 java -version
Output for above command
```
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x0000ffff9793fc5c, pid=1, tid=7
#
# JRE version: (21.0.5+11) (build )
# Java VM: OpenJDK 64-Bit Server VM (21.0.5+11-LTS, mixed mode, tiered,
compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# j java.lang.System.registerNatives()V+0 java.base
#
# No core dump will be written. 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:
# /tmp/hs_err_pid1.log
[0.073s][warning][os] Loading hsdis library failed
#
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
```
I will try on a different machine, I am not sure whats the issue with my
machine, it was working earlier and then stopped working, when it pulled new
images using latest.
What I did is downloaded the standalone binary zip, extracted it, created a
dockerfile with FROM openjdk:24-jdk-slim and ran it using `/bin/pulsar
standalone` command, this works on my machine, its something to do with the
Java base image that is in the `apachepulsar/pulsar:latest` image.
my new dockerfile looks something like below:
```
FROM openjdk:24-jdk-slim
WORKDIR /usr/src/app
COPY . /usr/src/app
```
dokcer-compose.yml
```
services:
pulsar:
build:
context: .
dockerfile: Dockerfile
command: [bin/pulsar, standalone ]
image: pulsar-service
ports:
- '6650:6650'
- '8080:8080'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]