Skip to content

Issue running mvn #13

@didiermichel

Description

@didiermichel

During Hands-on Lab: Automatic Instrumentation and Instrumentation Libraries
Exercise 1: Zero-code Instrumentation for Java and Python

in automatic-instrumentation/initial/todobackend-springboot
cmd mvn clean package Fails:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x0000ffff7fd3fc5c, pid=138813, tid=138834
#
# JRE version:  (21.0.5+11) (build )
# Java VM: OpenJDK 64-Bit Server VM (21.0.5+11-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@21.0.5
#
# 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:
# /workspaces/LFS148-code/exercises/automatic-instrumentation/initial/todobackend-springboot/hs_err_pid138813.log
[0.084s][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.
#
Aborted

Notice that I was using advised setting (vscode and docker extension).
Also all previous steps were done successfully.
It's sad because course material is really well done.

My guess It is probably related to my machine using arm achitecture.

I will try to continue by setting up dependencies on my local environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions