Open sistematico opened 1 month ago
@sistematico, the latest version of Bun is v1.1.20, but this crash was reported on Bun v1.1.18.
Are you able to reproduce this crash on the latest version of Bun?
bun upgrade
bun upgrade
Jul 13 10:37:44 ananke bun[1376]: ============================================================
Jul 13 10:37:44 ananke bun[1376]: Bun v1.1.20 (ae194892) Linux x64
Jul 13 10:37:44 ananke bun[1376]: Linux Kernel v6.5.0 | glibc v2.35
Jul 13 10:37:44 ananke bun[1376]: CPU: sse42 popcnt avx avx2
Jul 13 10:37:44 ananke bun[1376]: Args: "/home/nginx/.bun/bin/bun" "run" "/var/www/somdomato/backend/src/index.ts"
Jul 13 10:37:44 ananke bun[1376]: Features: jsc
Jul 13 10:37:44 ananke bun[1376]: Elapsed: 4ms | User: 38ms | Sys: 38ms
Jul 13 10:37:44 ananke bun[1376]: RSS: 1.07GB | Peak: 13.37MB | Commit: 1.07GB | Faults: 0
Jul 13 10:37:44 ananke bun[1376]: panic(main thread): Segmentation fault at address 0x7FFE1E936238
Jul 13 10:37:44 ananke bun[1376]: oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Jul 13 10:37:44 ananke bun[1376]: To send a redacted crash report to Bun's team,
Jul 13 10:37:44 ananke bun[1376]: please file a GitHub issue using the link below:
Jul 13 10:37:44 ananke bun[1376]: https://bun.report/1.1.20/lr1ae19489AC+xyQgn7v3Cw6vw8Cqv878Cmux88C6uil3C+gqk3CA28//Bwjxtye
Jul 13 10:37:45 ananke systemd[1]: somdomato-hono.service: Main process exited, code=dumped, status=4/ILL
Same.
How can we reproduce the crash?
Unit: https://github.com/somdomato/somdomato/blob/main/ansible/files/etc/systemd/system/somdomato-hono.service
index.ts:
Run manually, everything works just fine.
Tried with Bun 1.1.19, 1.1.20 and 1.1.20-canary, using nginx and root user.
Bun is running under Oracle VPS(amd64):
Relevant log output