Skip to content

macOS: annotation editor survives PTY closure, spins at 100% CPU, and does not exit on SIGTERM #128

Closed

Description

@yak-liu-NEU

Summary

herdr-annotate editor can remain running after its terminal disconnects, two orphan editor processes consuming approximately 100% CPU and subsequently fails to exit on SIGTERM.

Environment

  • macOS 27.2 (26B123), Apple Silicon / arm64
  • Native herdr-annotate executable
  • Observed through both a GitHub-installed Herdr plugin and a local Herdr app annotation mod

Observed behavior

Two processes were running:

.../bin/herdr-annotate.exe editor
.../bin/herdr-annotate editor

Both had been adopted by launchd (PPID 1) and retained terminal file descriptors for stdin, stdout, and [stderr.]

The annotator Mod implemented:

main.js

Activity

  1. backnotprop commented on Nov 14, 2026

    @backnotprop
    Contributor

    Both halves have shipped: plannotator-tui 0.9.10 (#139) exits when its terminal hangs up, and herdr-annotate's editor and manager do the same in helper 0.2.4 (plannotator/herdr-annotate#90). The herdr-annotate plugin now pins plannotator-tui 0.9.11 and helper 0.2.4, so updating the plugin picks up both.

  2. added a commit that references this issue on Nov 14, 2026
    29643fb
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions