Skip to content
New issue

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

bun/1.1.20: Write page fault at runtime #129

Open
StefanJum opened this issue Aug 22, 2024 · 1 comment
Open

bun/1.1.20: Write page fault at runtime #129

StefanJum opened this issue Aug 22, 2024 · 1 comment

Comments

@StefanJum
Copy link
Member

Bun pr #79 crashes at runtime.
Use:

kraft build --no-cache --no-update --plat qemu --arch x86_64
kraft run --rm -M 512M -p 3000:3000 --plat qemu --arch x86_64 .

to replicate.

Powered by Unikraft Calypso (0.17.0~ddc5bf7)
[    0.372817] CRIT: [libukvmem] Cannot handle write page fault at 0xffffc6e78 (ec: 0x2): Bad address (14).
[    0.373627] CRIT: [libkvmplat] RIP: 00000010088df442 CS: 0008
[    0.374045] CRIT: [libkvmplat] RSP: 0000000ffffc6e80 SS: 0010 EFLAGS: 00010246
[    0.374569] CRIT: [libkvmplat] RAX: 000000000000002f RBX: 0000001000128ea0 RCX: 000004d3ba0a0000
[    0.375215] CRIT: [libkvmplat] RDX: 0000000000000001 RSI: 0000000ffffc6e90 RDI: 0000000000000003
[    0.375844] CRIT: [libkvmplat] RBP: 00000010000eff00 R08: 0000000000000000 R09: 000004d3ba1b3000
[    0.376469] CRIT: [libkvmplat] R10: 0000000000007800 R11: 0000001000129570 R12: 00000010001293a0
[    0.377104] CRIT: [libkvmplat] R13: 000000100bfb8460 R14: 0000000000000001 R15: 000004d3ba010020
[    0.377741] CRIT: [libkvmplat] base is 0x10000eff00 caller is 0x10088e3d21
[    0.378232] CRIT: [libkvmplat] base is 0x1000129330 caller is 0x1008b5a6e2
[    0.378729] CRIT: [libkvmplat] base is 0x100013b0a0 caller is 0x1008b8787f
[    0.379226] CRIT: [libkvmplat] base is 0x100013b600 caller is 0x1008b8a1b4
[    0.379720] CRIT: [libkvmplat] base is 0x1000140df0 caller is 0x10088b9111
[    0.380224] CRIT: [libkvmplat] base is 0x1000158be0 caller is 0x10088b60d1
[    0.380712] CRIT: [libkvmplat] base is 0x1000158cb0 caller is 0x10001d9d0a
[    0.381206] CRIT: [libkvmplat] base is 0x100957cee0 caller is 0x5541d68949564101
[    0.381732] CRIT: [libkvmplat] base is 0xec48c73d8d4c5741 Unhandled Trap 13 (general protection), error code=0x0
[    0.382476] CRIT: [libkvmplat] RIP: 000000000010fd67 CS: 0008
[    0.382885] CRIT: [libkvmplat] RSP: 000000000611df90 SS: 0010 EFLAGS: 00010006
[    0.383410] CRIT: [libkvmplat] RAX: 0000000000000000 RBX: ec48c73d8d4c5741 RCX: 00000000000003fd
[    0.384104] CRIT: [libkvmplat] RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 00000000060e25c6
[    0.384728] CRIT: [libkvmplat] RBP: 000000000611dfa0 R08: 0000000000000020 R09: 00000000000003f8
[    0.385367] CRIT: [libkvmplat] R10: 000000000611dd0b R11: 000000000000000d R12: 0000000000000005
[    0.386010] CRIT: [libkvmplat] R13: 000000000611e000 R14: 0000000000000001 R15: 000004d3ba010020
[    0.386665] CRIT: [libkvmplat] Crashing
@Jarred-Sumner
Copy link

bun needs AVX/AVX2 instructions to work

this can make running with using QEMU difficult

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants