-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
The js_run tool crashes with a QuickJS memory error when attempting to use fetch().
Reproduction
bun run examples/js_agent.ts
› Can you fetch https://example.com
Error
Aborted(Assertion failed: list_empty(&rt->gc_obj_list), at: ../../vendor/quickjs-ng/quickjs.c,1954,JS_FreeRuntime)
QuickJSUseAfterFree: Lifetime not alive
Notes
- The
js_runtool hasallowFetch: trueby default - The
jstool (persistent REPL) does not have this issue since it doesn't support fetch - Likely an issue with
@sebastianwessel/quickjsor how we're managing the sandbox lifecycle
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels