Skip to content

Releases

taskhealth 0.2.2

Choose a tag to compare

@LuHaoran1981 LuHaoran1981 released this 01 Nov 05:26

TaskHealth 0.2.2

Changes since 0.2.1:

  • Fix Unix domain socket permissions: allow non-root clients to connect (relax socket mode to 0666, drop the same-uid accept gate), with SO_PEERCRED anti-spoofing checks
  • Fix a use-after-free in the demo mutex teardown path
  • Packaging: add %check (make check-daemon check-integration), sync hardened systemd unit, Fedora spec review fixes

Full changelog: v0.2.1...v0.2.2

TaskHealth v0.2.1

Choose a tag to compare

@LuHaoran1981 LuHaoran1981 released this 19 Aug 15:50

What's new in v0.2.1

Features

  • Process-crash detection — a client process that disconnects without a
    clean shutdown (i.e. crashes) now emits an UNEXPECTED_EXIT alert, on top of
    the existing per-thread exit detection.

Documentation

  • Man pages for taskhealthd(8), taskhealth(7), and taskhealth-demo(1).
  • A taskhealthd.service systemd unit.

Packaging

  • Debian install file lists for all four binary packages.
  • Yocto recipe renamed to taskhealth_0.2.1.bb with the v0.2.1 tarball sha256.
  • Upstream contact email switched to luhaoran1981@icloud.com.

TaskHealth v0.2.0

Choose a tag to compare

@LuHaoran1981 LuHaoran1981 released this 15 Aug 16:52

What's new in v0.2.0

Features

  • Lock-name resolution — DEADLOCK / LOCK_WAIT alerts now resolve the blocked
    futex address to a registered mutex name (via the client's cooperative
    MSG_MUTEX_REGISTER hook), so alerts read lock=lock-A instead of a bare address.

Fixes & hardening

  • Watchdog snapshot/write-back — /proc probes and alert emission no longer
    hold the registry lock, so slow probes don't block client registration.
  • Heartbeat recovery — deadlock / lock-wait flags reset when a thread
    heartbeats again, so a new episode re-alerts.
  • Error distinction — register now distinguishes table-full vs
    already-registered (distinct error codes).
  • Client response timeout — the synchronous register response wait is bounded
    (2s) so a hung daemon can't block the caller indefinitely.

Packaging

  • SPDX license identifiers on all source files (MIT for src/ + include/,
    GPL-2.0-or-later for daemon/ + demo/ + test/).
  • Fixed Debian install paths (usr/include/taskhealth/protocol.h,
    usr/bin/taskhealth-demo) and 3.0 (quilt) source format.

v0.1.0

Choose a tag to compare

@LuHaoran1981 LuHaoran1981 released this 12 Aug 17:48

首个 client-daemon 架构版本。

  • taskhealthd 守护进程:跨进程线程健康监控(epoll + Unix domain socket)
  • libtaskhealth 客户端库:注册 / 心跳 / 注销
  • 检测:线程意外退出、futex 死锁、锁等待超时
  • 打包:Debian / RPM / Yocto