How can we reproduce the crash?
i'm trying to work with bun these day's for a new project
but i got this error with everything with bun
bun i
bun --help
lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 36 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
CPU family: 6
Model: 23
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
Stepping: 10
BogoMIPS: 5984.88
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 c
lflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx lm constant_tsc ar
ch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_
cpl smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm pti dtherm
Caches (sum of all):
L1d: 64 KiB (2 instances)
L1i: 64 KiB (2 instances)
L2: 6 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0,1
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: KVM: Mitigation: VMX unsupported
L1tf: Mitigation; PTE Inversion
Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
Meltdown: Mitigation; PTI
Mmio stale data: Unknown: No mitigations
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Vulnerable
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affe
cted; BHI Not affected
Srbds: Not affected
Tsx async abort: Not affected
access bun binary
➜ ~ git:(main) ✗ .bun
➜ .bun git:(main) ✗ ls
bin
➜ .bun git:(main) ✗ bin
➜ bin git:(main) ✗ bun
============================================================
Bun v1.2.4 (fd9a5ea6) Linux x64 (baseline)
Linux Kernel v6.11.0 | glibc v2.39
Args:
Features: no_avx2 no_avx
Elapsed: 1ms | User: 0ms | Sys: 1ms
RSS: 0B | Peak: 6.68MB | Commit: 0B | Faults: 0
CPU lacks AVX support. Please consider upgrading to a newer CPU.
panic: Illegal instruction at address 0x3EFAA43
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:
https://bun.report/1.2.4/B_1fd9a5eaAgggggG+ypR2u0+9Dw96h+Dw00h+Di2vh+D+kuh+Dysrh+D4w522Cy8wK0oxKA3Amk1+9D
[1] 194969 illegal hardware instruction (core dumped) bun
Relevant log output
curl -fsSL https://bun.sh/install | bash
######################################################################## 100.0%
bun was installed successfully to ~/.bun/bin/bun
bash: line 175: 194396 Illegal instruction (core dumped) IS_BUN_AUTO_UPDATE=true $exe completions &> /dev/null
Run 'bun --help' to get started
bun --help
============================================================
Bun v1.2.4 (fd9a5ea6) Linux x64 (baseline)
Linux Kernel v6.11.0 | glibc v2.39
Args:
Features: no_avx2 no_avx
Elapsed: 1ms | User: 0ms | Sys: 1ms
RSS: 0B | Peak: 6.66MB | Commit: 0B | Faults: 0
CPU lacks AVX support. Please consider upgrading to a newer CPU.
panic: Illegal instruction at address 0x3EFAA43
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:
https://bun.report/1.2.4/B_1fd9a5eaAgggggG+ypR2u0+9Dw96h+Dw00h+Di2vh+D+kuh+Dysrh+D4w522Cy8wK0oxKA3Amk1+9D
[1] 194433 illegal hardware instruction (core dumped) bun --help
bun i
============================================================
Bun v1.2.4 (fd9a5ea6) Linux x64 (baseline)
Linux Kernel v6.11.0 | glibc v2.39
Args:
Features: no_avx2 no_avx
Elapsed: 1ms | User: 0ms | Sys: 2ms
RSS: 0B | Peak: 6.68MB | Commit: 0B | Faults: 0
CPU lacks AVX support. Please consider upgrading to a newer CPU.
panic: Illegal instruction at address 0x3EFAA43
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:
https://bun.report/1.2.4/B_1fd9a5eaAgggggG+ypR2u0+9Dw96h+Dw00h+Di2vh+D+kuh+Dysrh+D4w522Cy8wK0oxKA3Amk1+9D
[1] 194747 illegal hardware instruction (core dumped) bun i
Stack Trace (bun.report)
Bun v1.2.4 (fd9a5ea) on linux x86_64_baseline [_]
Illegal instruction at address 0x03EFAA43
Features: no_avx2, no_avx
Sentry Issue: BUN-7A8
How can we reproduce the crash?
i'm trying to work with bun these day's for a new project
but i got this error with everything with bun
bun i
bun --help
lscpu
Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 36 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Vendor ID: GenuineIntel Model name: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz CPU family: 6 Model: 23 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 Stepping: 10 BogoMIPS: 5984.88 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 c lflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx lm constant_tsc ar ch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_ cpl smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm pti dtherm Caches (sum of all): L1d: 64 KiB (2 instances) L1i: 64 KiB (2 instances) L2: 6 MiB (1 instance) NUMA: NUMA node(s): 1 NUMA node0 CPU(s): 0,1 Vulnerabilities: Gather data sampling: Not affected Itlb multihit: KVM: Mitigation: VMX unsupported L1tf: Mitigation; PTE Inversion Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled Meltdown: Mitigation; PTI Mmio stale data: Unknown: No mitigations Reg file data sampling: Not affected Retbleed: Not affected Spec rstack overflow: Not affected Spec store bypass: Vulnerable Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affe cted; BHI Not affected Srbds: Not affected Tsx async abort: Not affectedaccess bun binary
Relevant log output
Stack Trace (bun.report)
Bun v1.2.4 (
fd9a5ea) on linux x86_64_baseline [_]Illegal instruction at address 0x03EFAA43
??arena.c:845:mi_reserve_os_memory_exarena.c:387:mi_segment_allocsegment.c:1391:mi_segments_page_allocsegment.c:0:mi_page_fresh_allocpage.c:302:mi_find_pagepage.c:923:_mi_malloc_genericmemory_allocator.zig:45:mainFeatures: no_avx2, no_avx
Sentry Issue: BUN-7A8