We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java:17
Java (PR #52 ) crashes when started. Use the following commands to replicate:
wget https://raw.githubusercontent.com/unikraft/catalog-for-maintainers/main/utils/start-buildkit.sh source start-buildkit.sh git clone https://github.com/unikraft/catalog cd catalog git remote add unikraft-upb https://github.com/unikraft-upb/catalog git fetch unikraft-upb git checkout -b razvand/library/java unikraft-upb/razvand/library/java cd library/java/17 sed -i "s/# CONFIG_LIBSYSCALL_SHIM_STRACE: 'y'/CONFIG_LIBSYSCALL_SHIM_STRACE: 'y'/" Kraftfile kraft build --no-cache --no-update --plat qemu --arch x86_64 kraft rm --all ; kraft run --rm --log-type basic --log-level debug -M 1024M -p 8080:8080 .
The output message is:
clock_gettime(CLOCK_MONOTONIC, <out>timespec:{tv_sec=1, tv_nsec=519540909}) = OK newfstatat(0xffffff9c, 0x10040140b0, ...) = 0x0 readlink("/usr", <out>buf:0x10019cc540, 1023) = Invalid argument (-22) readlink("/usr/lib", <out>buf:0x10019cc540, 1023) = Invalid argument (-22) readlink("/usr/lib/jvm", <out>buf:0x10019cc540, 1023) = Invalid argument (-22) readlink("/usr/lib/jvm/java-17-openjdk-amd64", <out>buf:0x10019cc540, 1023) = Invalid argument (-22) readlink("/usr/lib/jvm/java-17-openjdk-amd64/lib", <out>buf:0x10019cc540, 1023) = Invalid argument (-22) readlink("/usr/lib/jvm/java-17-openjdk-amd64/lib/modules", <out>buf:0x10019cc540, 1023) = Invalid argument (-22) sched_getaffinity(0x0, 0x80, ...) = 0x80 clock_gettime(CLOCK_MONOTONIC, <out>timespec:{tv_sec=1, tv_nsec=531231444}) = OK mmap(NULL, 251658240, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000, fd:-1, 0) = va:0x100fa6c000 mmap(va:0x1016fa4000, 2555904, PROT_EXEC|PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, fd:-1, 0) = va:0x1016fa4000 mmap(NULL, 49152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000, fd:-1, 0) = va:0x1001a05000 mmap(va:0x1001a05000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, fd:-1, 0) = va:0x1001a05000 mmap(va:0x100fa6c000, 2555904, PROT_EXEC|PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, fd:-1, 0) = va:0x100fa6c000 mmap(NULL, 962560, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000, fd:-1, 0) = va:0x1001a11000 mmap(va:0x1001a11000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, fd:-1, 0) = va:0x1001a11000 mprotect(va:0x1004024000, 4096, PROT_READ|PROT_WRITE) = OK mmap(va:0x1017533000, 2555904, PROT_EXEC|PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, fd:-1, 0) = va:0x1017533000 mmap(NULL, 962560, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000, fd:-1, 0) = va:0x1001afc000 mmap(va:0x1001afc000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, fd:-1, 0) = va:0x1001afc000 [ 1.551647] CRIT: [libukvmem] Cannot handle read page fault at 0x0 (ec: 0x0): -14 [ 1.553021] CRIT: [libkvmplat] RIP: 0000001016fa462d CS: 0008 [ 1.554076] CRIT: [libkvmplat] RSP: 00000010019ccf88 SS: 0010 EFLAGS: 00210246 [ 1.555401] CRIT: [libkvmplat] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000cafebabe [ 1.557053] CRIT: [libkvmplat] RDX: 000000002c100800 RSI: 0000000000000000 RDI: 00000010015b17c0 [ 1.558669] CRIT: [libkvmplat] RBP: 00000010015b17c0 R08: 00000000ffffffff R09: 000000000000000c [ 1.560289] CRIT: [libkvmplat] R10: 0000001016fa4724 R11: 00000010019cd368 R12: 00000010019cd480 [ 1.561904] CRIT: [libkvmplat] R13: 000000100155b580 R14: 0000001001527024 R15: ffffffffffffffff [ 1.563514] CRIT: [libkvmplat] base is 0x10015b17c0 caller is 0x49656e696c65746e [ 1.564884] CRIT: [libkvmplat] base is 0x756e654700000016 Unhandled Trap 13 (general protection), error code=0x0 [ 1.566749] CRIT: [libkvmplat] RIP: 000000000010fd77 CS: 0008 [ 1.567809] CRIT: [libkvmplat] RSP: 000000001093bfc0 SS: 0010 EFLAGS: 00210002 [ 1.569144] CRIT: [libkvmplat] RAX: 0000000000000000 RBX: 756e654700000016 RCX: 00000000000003fd [ 1.570756] CRIT: [libkvmplat] RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 0000000010905cb3 [ 1.572377] CRIT: [libkvmplat] RBP: 000000001093bfd0 R08: 0000000000000020 R09: 00000000000003f8 [ 1.573994] CRIT: [libkvmplat] R10: 000000001093bd3b R11: 000000000000000d R12: 0000000000000005 [ 1.575618] CRIT: [libkvmplat] R13: 000000001093c030 R14: 0000001001527024 R15: ffffffffffffffff [ 1.577231] CRIT: [libkvmplat] Crashing
The output message without logging is
[ 0.709530] ERR: [libposix_process] Ignore updating resource 7: cur = 1024, max = 1024 [ 0.712424] CRIT: [libukvmem] Cannot handle read page fault at 0x0 (ec: 0x0): -14 [ 0.713910] CRIT: [libkvmplat] RIP: 0000001016fa462d CS: 0008 [ 0.715039] CRIT: [libkvmplat] RSP: 00000010019ccf88 SS: 0010 EFLAGS: 00210246 [ 0.716430] CRIT: [libkvmplat] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000cafebabe [ 0.718109] CRIT: [libkvmplat] RDX: 000000002c100800 RSI: 0000000000000000 RDI: 00000010015b17c0 [ 0.719813] CRIT: [libkvmplat] RBP: 00000010015b17c0 R08: 00000000ffffffff R09: 000000000000000c [ 0.721498] CRIT: [libkvmplat] R10: 0000001016fa4724 R11: 00000010019cd368 R12: 00000010019cd480 [ 0.723200] CRIT: [libkvmplat] R13: 000000100155b580 R14: 0000001001527024 R15: ffffffffffffffff [ 0.724890] CRIT: [libkvmplat] base is 0x10015b17c0 caller is 0x49656e696c65746e [ 0.726325] CRIT: [libkvmplat] base is 0x756e654700000016 Unhandled Trap 13 (general protection), error code=0x0 [ 0.728254] CRIT: [libkvmplat] RIP: 000000000010fd77 CS: 0008 [ 0.729348] CRIT: [libkvmplat] RSP: 0000000010932fc0 SS: 0010 EFLAGS: 00210002 [ 0.730727] CRIT: [libkvmplat] RAX: 0000000000000000 RBX: 756e654700000016 RCX: 00000000000003fd [ 0.732391] CRIT: [libkvmplat] RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 00000000108fc7f3 [ 0.734049] CRIT: [libkvmplat] RBP: 0000000010932fd0 R08: 0000000000000020 R09: 00000000000003f8 [ 0.735732] CRIT: [libkvmplat] R10: 0000000010932d3b R11: 000000000000000d R12: 0000000000000005 [ 0.737396] CRIT: [libkvmplat] R13: 0000000010933030 R14: 0000001001527024 R15: ffffffffffffffff [ 0.739068] CRIT: [libkvmplat] Crashing
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Java (PR #52 ) crashes when started. Use the following commands to replicate:
The output message is:
The output message without logging is
The text was updated successfully, but these errors were encountered: