denoland/deno · error

missing DENO_ORDER_RUNNER_PRELOAD\n

Error message

missing DENO_ORDER_RUNNER_PRELOAD\n

What it means

Error "missing DENO_ORDER_RUNNER_PRELOAD\n" thrown in denoland/deno.

Source

Thrown at tools/startup_order/orderfile_trace_runner.c:55

  }
  generator_pid = (pid_t)parsed_pid;

  int gate[2];
  if (pipe(gate) != 0) {
    perror("pipe");
    return 1;
  }

  child_pid = fork();
  if (child_pid < 0) {
    perror("fork");
    return 1;
  }
  if (child_pid == 0) {
    close(gate[1]);
    const char *preload = getenv("DENO_ORDER_RUNNER_PRELOAD");
    if (preload == NULL) {
      fprintf(stderr, "missing DENO_ORDER_RUNNER_PRELOAD\n");
      _exit(127);
    }
#if defined(__APPLE__)
    if (setenv("DYLD_INSERT_LIBRARIES", preload, 1) != 0) {
#else
    if (setenv("LD_PRELOAD", preload, 1) != 0) {
#endif
      perror("setting tracer preload");
      _exit(127);
    }
    unsetenv("DENO_ORDER_RUNNER_PRELOAD");
    char byte;
    while (read(gate[0], &byte, 1) < 0 && errno == EINTR) {
    }
    close(gate[0]);
    execvp(argv[2], &argv[2]);
    perror("execvp");
    _exit(127);

View on GitHub (pinned to 89f33cbef2)

When it happens

Trigger: Thrown at tools/startup_order/orderfile_trace_runner.c:55 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of denoland/deno@89f33cbef2 (2026-08-16). Data as JSON: /api/errors/767035477d9beed6. Report an issue: GitHub.