Skip to content

runtime: SIGSEGV in node buffer.resolveObjectURL / object-URL test #6240

Description

@proggeramlug

Summary

SIGSEGV (exit 139) running test/js/node/buffer-resolveObjectURL.test.ts from Bun's suite. Pre-existing — reproduces on a clean main build, unrelated to any recent blob-handle work.

Repro

The full file crashes. The basic flow works in isolation:

import { Blob, resolveObjectURL } from "buffer";
const blob = new Blob(["hello"]);
const id = URL.createObjectURL(blob);
resolveObjectURL(id);   // ok, size 5

Not yet minimized to one line — the crash emerges from the full multi-test() file, which additionally exercises new Blob() (empty), object-URL id mutation, resolveObjectURL()/(1)/("foo") with invalid args, and await blob.text().

Also observed (conformance, not the crash)

A resolved blob is not instanceof Blob and otherBlob.constructor !== Blob.

Found via running Bun's own test suite through perry.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed defect or regression

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions