Skip to content

SIGILL on apple silicon #1064

@Jesper-Hustad

Description

@Jesper-Hustad

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running main-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

When running

docker run -it -p 8080:8080 -e DYNAMIC_CONFIG_ENABLED=true ghcr.io/kafbat/kafka-ui:main

I get this error:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x0000f5fb7ef40c5c, pid=1, tid=6
#
# JRE version:  (21.0.6+7) (build )
# Java VM: OpenJDK 64-Bit Server VM (21.0.6+7-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# j  java.lang.System.registerNatives()V+0 java.base
#
# Core dump will be written. Default location: //core
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid1.log
[0.010s][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.
#

Expected behavior

I expect kafka-ui to start successfully

Your installation details

main and latest

sha256:185da4ad3e88538a0f4da067f4c7bb23aa0efa608c74d115f0876919b5d3a91b

sha256:9907962c9ee2fe6d1c5588f1cae919f25446aff8566263850d330f5c1820d4a3

Steps to reproduce

on MacOS with M4 run this command:

docker run -it -p 8080:8080 -e DYNAMIC_CONFIG_ENABLED=true --platform linux/arm64 ghcr.io/kafbat/kafka-ui

Screenshots

No response

Logs

No response

Additional context

Changing to --platform linux/amd64 solves the problem

docker run -it -p 8080:8080 -e DYNAMIC_CONFIG_ENABLED=true --platform linux/arm64 ghcr.io/kafbat/kafka-ui

By default i got the linux/arm64 version

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions