You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bun v1.1.38 (bf2f153f) macOS Silicon
macOS v14.2.1
Args: "bun""test"
Features: bunfig jsc transpiler_cache(3) tsconfig
Builtins: "node:path"
Elapsed: 26ms | User: 28ms | Sys: 16ms
RSS: 61.75MB | Peak: 61.75MB | Commit: 1.07GB | Faults: 109
panic(main thread): Segmentation fault at address 0x725F5F2072617630
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.1.38/Mt1bf2f153AgkgkggD__ur07jC+5w++Bu+qme+8loe2lpkfu2koe_uukvyCA2gyv9ryDgj7lsyDtask: Failed to run task "test": exit status 133
Stack Trace (bun.report)
Bun v1.1.38 (bf2f153) on macos aarch64 [TestCommand]
How can we reproduce the crash?
This happened after I created a global mock before running all the tests with bun run test.
import { mock, jest } from "bun:test";
import { MOCK_SIGNED_URL } from "./test-constants";
mock.module("@aws-sdk/s3-request-presigner", () => {
return {
getSignedUrl: jest.fn().mockResolvedValue(MOCK_SIGNED_URL),
};
});
Relevant log output
Stack Trace (bun.report)
Bun v1.1.38 (
bf2f153
) on macos aarch64 [TestCommand]Segmentation fault at address 0x725F5F2072617630
JSC::VM::hasExceptionsAfterHandlingTraps
JSC::JSBoundFunction::create
Bun::evaluateCommonJSModuleOnce
Bun::JSCommonJSModule::evaluate
Bun::fetchCommonJSModule
Bun::jsFunctionRequireCommonJS
llint_entry
Features: bunfig, jsc, transpiler_cache, tsconfig
Sentry Issue: BUN-BXT
The text was updated successfully, but these errors were encountered: