Closed jumoog closed 2 weeks ago
testing my bot using discord.js
I have the same issue
I have the same issue
Bun v1.1.5 (b257a309) Windows x64
Args: "C:\Users\...\.bun\bin\bun.exe", "--hot", "index.ts"
Features: Bun.stdin(2) dotenv fetch(2) transpiler_cache(4) tsconfig(4) WebSocket
Builtins: "bun:main" "node:buffer" "node:events" "node:fs" "node:fs/promises" "node:http" "node:os" "node:path" "node:string_decoder" "node:timers" "node:timers/promises" "node:url" "node:util" "node:util/types" "node:zlib" "node:worker_threads" "undici" "ws"
Elapsed: 1198ms | User: 46ms | Sys: 31ms
RSS: 0.17GB | Peak: 0.17GB | Commit: 0.23GB | Faults: 42859
Bun v1.1.5 ([#10527](https://github.com/oven-sh/bun/pull/10527)) on windows x86_64 [AutoCommand]
Segmentation fault at address 0xFFFFFFFFFFFFFFFF
- `??`
- `??`
- `quote_cmd_arg`
- `fs__open`
- `??`
- [`javascript.zig:829`](https://github.com/oven-sh/bun/blob/b257a309772db2e9dfb745f97068aea6a32ca151/src/bun.js/javascript.zig#L829): `onUnhandledError`
- `JSC__JSValue__callCustomInspectFunction`
- [`shimmer.zig:186`](https://github.com/oven-sh/bun/blob/b257a309772db2e9dfb745f97068aea6a32ca151/src/bun.js/bindings/shimmer.zig#L186): `cppFn`
- [`resolve_path.zig:1635`](https://github.com/oven-sh/bun/blob/b257a309772db2e9dfb745f97068aea6a32ca151/src/resolver/resolve_path.zig#L1635): `normalizeStringWindowsT`
- [`cli.zig:1845`](https://github.com/oven-sh/bun/blob/b257a309772db2e9dfb745f97068aea6a32ca151/src/cli.zig#L1845): `start`
<!-- from bun.report: aT3Hnd29BTvNhSgOoRvM -->
still happens in v1.1.6
Bun v1.1.6 ([#10596](https://github.com/oven-sh/bun/pull/10596)) on windows x86_64 [TestCommand]
Segmentation fault at address 0xFFFFFFFFFFFFFFFF
- `??`
- `??`
- `quote_cmd_arg`
- `fs__open`
- `??`
- [`thread_pool.zig:455`](https://github.com/oven-sh/bun/blob/e58d67b46875280bc9002add4c3fae45472cb346/src/thread_pool.zig#L455): `notifySlow`
- [`options.zig:2071`](https://github.com/oven-sh/bun/blob/e58d67b46875280bc9002add4c3fae45472cb346/src/options.zig#L2071): `toJS`
- [`streams.zig:4310`](https://github.com/oven-sh/bun/blob/e58d67b46875280bc9002add4c3fae45472cb346/src/bun.js/webcore/streams.zig#L4310): `append`
- [`fmt.zig:1020`](https://github.com/oven-sh/bun/blob/e58d67b46875280bc9002add4c3fae45472cb346/src/deps/zig/lib/std/fmt.zig#L1020): `formatBuf`
- [`event_loop.zig:788`](https://github.com/oven-sh/bun/blob/e58d67b46875280bc9002add4c3fae45472cb346/src/bun.js/event_loop.zig#L788): `exit`
<!-- from bun.report: hBmg3qIvFXdffGkPduW8 -->
Fixed in canary v1.1.22
if is happening after bun upgrade --canary
feel free to reopen
How can we reproduce the crash?
run test file
Relevant log output
Stack Trace (bun.report)