-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
crashAn issue that could cause a crashAn issue that could cause a crashmacOSAn issue that occurs on macOSAn issue that occurs on macOSregression
Description
How can we reproduce the crash?
Bug: @react-email render function causes segmentation fault in v1.2.12
Upgrading Bun from from v1.2.9 to v1.2.12 causes a segmentation fault when calling the render function on @react-email. This issue did not occur in v1.2.9 and appears to be a regression.
Minimal repro:
import {render} from "@react-email/components";
const emailHtml = await render(
InviteEmail({registerUrl, orgName, recipientEmail: toEmail})
);Relevant log output
Stack Trace (bun.report)
Bun v1.2.12 (32a47ae) on macos aarch64 [AutoCommand]
Segmentation fault at address 0x00000010
- 2 unknown/js code
js_ast.Expr.Data.Store.append__anon_235372js_parser.NewParser_js_parser.NewParser_js_parser.NewParser_js_parser.NewParser_js_parser.Parser._parse__anon_547511cache.JavaScript.parsetranspiler.Transpiler.parseMaybeReturnFileOnlyAllowSharedBuffer__anon_326333
Features: transpiler_cache, tsconfig, tsconfig_paths, process_dlopen, Bun.stderr, Bun.stdout, bunfig, dotenv, http_server, jsc, dev_server
Sentry Issue: BUN-HS6
Metadata
Metadata
Assignees
Labels
crashAn issue that could cause a crashAn issue that could cause a crashmacOSAn issue that occurs on macOSAn issue that occurs on macOSregression