oven-sh/bun · error · Error
Failed to check core_pattern: ${sysctl.error}
Error message
Failed to check core_pattern: ${sysctl.error} What it means
Error "Failed to check core_pattern: ${sysctl.error}" thrown in oven-sh/bun.
Source
Thrown at scripts/runner.node.mjs:290
console.error(e);
}
}
}
let coresDir;
if (options["coredump-upload"]) {
// this sysctl is set in bootstrap.sh to /var/bun-cores-$distro-$release-$arch
const sysctl = await spawnSafe({ command: "sysctl", args: ["-n", "kernel.core_pattern"] });
coresDir = sysctl.stdout;
if (sysctl.ok) {
if (coresDir.startsWith("|")) {
throw new Error("cores are being piped not saved");
}
// change /foo/bar/%e-%p.core to /foo/bar
coresDir = dirname(sysctl.stdout);
} else {
throw new Error(`Failed to check core_pattern: ${sysctl.error}`);
}
}
let remapPort = undefined;
/**
* @typedef {Object} TestExpectation
* @property {string} filename
* @property {string[]} expectations
* @property {string[] | undefined} bugs
* @property {string[] | undefined} modifiers
* @property {string | undefined} comment
*/
/**
* @returns {TestExpectation[]}
*/
function getTestExpectations() {View on GitHub (pinned to 8c5296ac45)
When it happens
Trigger: Thrown at scripts/runner.node.mjs:290 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of oven-sh/bun@8c5296ac45 (2026-08-16).
Data as JSON: /api/errors/0cf8e7a875c5f1c8.
Report an issue: GitHub.