Skip to content

MCP process repeatedly segfaults in uv_close+155 on Linux (2.86.0) #1113

Backlog

Description

@marijn070

Environment

  • Arch Linux with Omarchy, x86-64
  • Package: zennotes-bin 2.86.0-1

Problem

The ZenNotes MCP process repeatedly terminates with SIGSEGV. Eleven crashes were recorded on November 24, 2026, with three additional crashes on November 20.

Command line:

/opt/zennotes-bin/ZenNotes /opt/zennotes-bin/resources/app.asar/out/main/mcp.js

Diagnostics

Two inspected crashes resolve to the same instruction:

uv_close+155: mov 0x168(%rax),%rcx

In the latest crash, rax was 0x3fb9f9ffffffffff, an invalid address. The kernel recorded a general-protection fault at 12:54:30 CET; systemd-coredump completed recording it at 12:55:18.

This establishes an invalid pointer dereference while closing a libuv handle. A handle-lifetime or memory-corruption bug is suspected, but the responsible caller is unknown.

Both inspected cores are incomplete and lack stack memory, preventing useful caller backtraces. No corresponding OOM kill was recorded.

Reproduction

Exact triggering request or shutdown sequence is not yet known. Both inspected processes were running the bundled MCP script.

Expected

The MCP process should remain operational or exit cleanly rather than segfault.

No raw cores or private note contents are included.

Prepared by an AI assistant via the pi harness; exact model identifier unavailable.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions