Skip to content

[BUG] Java crash on startup - after the 9.0.114-ls79 update #134

@skynet01

Description

@skynet01

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Looks like the JRE to 21 update crashes startup on ARM images. Tried it with fresh db install as well, reverting to previous version removes the problem

Expected Behavior

Normal startup and operation

Steps To Reproduce

Do a fresh install and start up the container

Environment

- OS: Ubuntu 2022 (6.1.0-13-arm64) running in Parallels on Mac mini m4
- How docker service was installed: using sudo apt-get

CPU architecture

arm64

Docker creation

unifi-db:
    image: docker.io/mongo:8.0.4
    container_name: unifi-mango
    environment:
      - MONGO_INITDB_ROOT_USERNAME=root
      - MONGO_INITDB_ROOT_PASSWORD=vfkl40245k2fF32
      - MONGO_USER=unifi
      - MONGO_PASS=vfkl40245k2fF32
      - MONGO_DBNAME=unifi
      - MONGO_AUTHSOURCE=admin
      - PUID=${PUID} # default user id, defined in .env
      - PGID=${PGID} # default group id, defined in .env
      - TZ=${TZ} # timezone, defined in .env
    volumes:
      - ${ROOT}/config/unifi/unifi-db/data:/data/db
      - ${ROOT}/config/unifi/init-mongo.sh:/docker-entrypoint-initdb.d/init-mongo.sh:ro #<-- must have init script to start this bitch for the first time: https://secure.fabriceleven.com/n/OhxPeg
    restart: unless-stopped
    networks:
      - unifi-network
    logging:
      options:
        max-size: "5m"
        max-file: "2"  
  
  unifi-network-app:
    # working_dir: /app
    depends_on:
      unifi-db:
        condition: service_started
    image: lscr.io/linuxserver/unifi-network-application:latest
    container_name: unifi-network-app
    environment:
      - PUID=${PUID} # default user id, defined in .env
      - PGID=${PGID} # default group id, defined in .env
      - TZ=${TZ} # timezone, defined in .env
      - MONGO_USER=unifi
      - MONGO_PASS=vfkl40245k2fF32
      - MONGO_HOST=unifi-db
      - MONGO_PORT=27017
      - MONGO_DBNAME=unifi
      - MONGO_AUTHSOURCE=admin
      - MEM_LIMIT=1024 #optional
      - MEM_STARTUP=1024 #optional
      - MONGO_TLS= #optional
    volumes:
      - ${ROOT}/config/unifi/data:/config
    ports:
      - 8443:8443
      - 3478:3478/udp
      - 10001:10001/udp
      - 8080:8080
      - 1900:1900/udp #optional
      - 8843:8843 #optional
      - 8880:8880 #optional
      - 6789:6789 #optional
      - 5514:5514/udp #optional
    networks:
      - unifi-network
    restart: unless-stopped
    logging:
      options:
        max-size: "5m"
        max-file: "2"

Container logs

unifi-network-app  | [migrations] started
unifi-network-app  | [migrations] no migrations found
unifi-network-app  | ───────────────────────────────────────
unifi-network-app  |
unifi-network-app  |       ██╗     ███████╗██╗ ██████╗
unifi-network-app  |       ██║     ██╔════╝██║██╔═══██╗
unifi-network-app  |       ██║     ███████╗██║██║   ██║
unifi-network-app  |       ██║     ╚════██║██║██║   ██║
unifi-network-app  |       ███████╗███████║██║╚██████╔╝
unifi-network-app  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
unifi-network-app  |
unifi-network-app  |    Brought to you by linuxserver.io
unifi-network-app  | ───────────────────────────────────────
unifi-network-app  |
unifi-network-app  | To support LSIO projects visit:
unifi-network-app  | https://www.linuxserver.io/donate/
unifi-network-app  |
unifi-network-app  | ───────────────────────────────────────
unifi-network-app  | GID/UID
unifi-network-app  | ───────────────────────────────────────
unifi-network-app  |
unifi-network-app  | User UID:    1000
unifi-network-app  | User GID:    1000
unifi-network-app  | ───────────────────────────────────────
unifi-network-app  | Linuxserver.io version: 9.0.114-ls79
unifi-network-app  | Build-date: 2025-02-12T21:20:54+00:00
unifi-network-app  | ───────────────────────────────────────
unifi-network-app  |
unifi-network-app  | *** Waiting for MONGO_HOST unifi-db to be reachable. ***
unifi-network-app  | #
unifi-network-app  | # A fatal error has been detected by the Java Runtime Environment:
unifi-network-app  | #
unifi-network-app  | #  SIGILL (0x4) at pc=0x0000ffff7bf1ec5c, pid=136, tid=137
unifi-network-app  | #
unifi-network-app  | # JRE version:  (21.0.6+7) (build )
unifi-network-app  | # Java VM: OpenJDK 64-Bit Server VM (21.0.6+7-Ubuntu-124.04.1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
unifi-network-app  | # Problematic frame:
unifi-network-app  | # j  java.lang.System.registerNatives()V+0 java.base
unifi-network-app  | #
unifi-network-app  | # Core dump will be written. Default location: /run/s6-rc:s6-rc-init:fmodOj/servicedirs/s6rc-oneshot-runner/core
unifi-network-app  | #
unifi-network-app  | # An error report file with more information is saved as:
unifi-network-app  | # /run/s6-rc:s6-rc-init:fmodOj/servicedirs/s6rc-oneshot-runner/hs_err_pid136.log
unifi-network-app  | [0.027s][warning][os] Loading hsdis library failed
unifi-network-app  | #
unifi-network-app  | # The crash happened outside the Java Virtual Machine in native code.
unifi-network-app  | # See problematic frame for where to report the bug.
unifi-network-app  | #
unifi-network-app  | /etc/s6-overlay/s6-rc.d/init-unifi-network-application-config/run: line 72:   136 Aborted                 (core dumped) keytool -genkey -keyalg RSA -alias unifi -keystore /config/data/keystore -storepass aircontrolenterprise -keypass aircontrolenterprise -validity 3650 -keysize 4096 -dname "cn=unifi" -ext san=dns:unifi
unifi-network-app  | /usr/bin/find: ‘/config/data/keystore’: No such file or directory
unifi-network-app  | **** Permissions could not be set. This is probably because your volume mounts are remote or read-only. ****
unifi-network-app  | **** The app may not work properly and we will not provide support for it. ****
unifi-network-app  | [custom-init] No custom files found, skipping...
unifi-network-app  | #
unifi-network-app  | # A fatal error has been detected by the Java Runtime Environment:
unifi-network-app  | #
unifi-network-app  | #  SIGILL (0x4) at pc=0x0000ffff73f1eb5c, pid=177, tid=188
unifi-network-app  | #
unifi-network-app  | # JRE version:  (21.0.6+7) (build )
unifi-network-app  | # Java VM: OpenJDK 64-Bit Server VM (21.0.6+7-Ubuntu-124.04.1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, linux-aarch64)
unifi-network-app  | # Problematic frame:
unifi-network-app  | # j  java.lang.System.registerNatives()V+0 java.base
unifi-network-app  | #
unifi-network-app  | # Core dump will be written. Default location: /config/core
unifi-network-app  | #
unifi-network-app  | # An error report file with more information is saved as:
unifi-network-app  | # /config/hs_err_pid177.log
unifi-network-app  | [0.175s][warning][os] Loading hsdis library failed
unifi-network-app  | #
unifi-network-app  | # The crash happened outside the Java Virtual Machine in native code.
unifi-network-app  | # See problematic frame for where to report the bug.
unifi-network-app  | #
unifi-network-app  | #
unifi-network-app  | # A fatal error has been detected by the Java Runtime Environment:
unifi-network-app  | #
unifi-network-app  | #  SIGILL (0x4) at pc=0x0000ffff7ff1eb5c, pid=207, tid=212
unifi-network-app  | #
unifi-network-app  | # JRE version:  (21.0.6+7) (build )
unifi-network-app  | # Java VM: OpenJDK 64-Bit Server VM (21.0.6+7-Ubuntu-124.04.1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, linux-aarch64)
unifi-network-app  | # Problematic frame:
unifi-network-app  | # j  java.lang.System.registerNatives()V+0 java.base
unifi-network-app  | #
unifi-network-app  | # Core dump will be written. Default location: /config/core
unifi-network-app  | #
unifi-network-app  | # An error report file with more information is saved as:
unifi-network-app  | # /config/hs_err_pid207.log
unifi-network-app  | [0.794s][warning][os] Loading hsdis library failed
unifi-network-app  | #
unifi-network-app  | # The crash happened outside the Java Virtual Machine in native code.
unifi-network-app  | # See problematic frame for where to report the bug.
unifi-network-app  | #
unifi-network-app  | #
unifi-network-app  | # A fatal error has been detected by the Java Runtime Environment:
unifi-network-app  | #
unifi-network-app  | #  SIGILL (0x4) at pc=0x0000ffff9bf1eb5c, pid=238, tid=243
unifi-network-app  | #
unifi-network-app  | # JRE version:  (21.0.6+7) (build )
unifi-network-app  | # Java VM: OpenJDK 64-Bit Server VM (21.0.6+7-Ubuntu-124.04.1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, linux-aarch64)
unifi-network-app  | # Problematic frame:
unifi-network-app  | # j  java.lang.System.registerNatives()V+0 java.base
unifi-network-app  | #
unifi-network-app  | # Core dump will be written. Default location: /config/core
unifi-network-app  | #
unifi-network-app  | # An error report file with more information is saved as:
unifi-network-app  | # /config/hs_err_pid238.log
unifi-network-app  | [0.066s][warning][os] Loading hsdis library failed
unifi-network-app  | #
unifi-network-app  | # The crash happened outside the Java Virtual Machine in native code.
unifi-network-app  | # See problematic frame for where to report the bug.
unifi-network-app  | #
unifi-network-app  | #
unifi-network-app  | # A fatal error has been detected by the Java Runtime Environment:
unifi-network-app  | #
unifi-network-app  | #  SIGILL (0x4) at pc=0x0000ffffa3f1eb5c, pid=255, tid=260
unifi-network-app  | #
unifi-network-app  | # JRE version:  (21.0.6+7) (build )
unifi-network-app  | # Java VM: OpenJDK 64-Bit Server VM (21.0.6+7-Ubuntu-124.04.1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, linux-aarch64)
unifi-network-app  | # Problematic frame:
unifi-network-app  | # j  java.lang.System.registerNatives()V+0 java.base
unifi-network-app  | #
unifi-network-app  | # Core dump will be written. Default location: /config/core
unifi-network-app  | #
unifi-network-app  | # An error report file with more information is saved as:
unifi-network-app  | # /config/hs_err_pid255.log
unifi-network-app  | [0.664s][warning][os] Loading hsdis library failed
unifi-network-app  | #
unifi-network-app  | # The crash happened outside the Java Virtual Machine in native code.
unifi-network-app  | # See problematic frame for where to report the bug.
unifi-network-app  | #

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions