Sending the 2nd message in a session kills the Obsidian renderer — no CLI process is ever spawned, no crash dump
Before submitting
- I searched existing issues and did not find the same problem.
- I have read the relevant documentation (e.g. the README) but could not resolve this issue.
Problem
The Obsidian renderer process is killed when I send the second message in a chat session. The window stays open but goes entirely flat grey (no title bar, no content) and only a full Obsidian restart brings it back.
I have process-level evidence collected by a 3-second sampler that records every Obsidian process (PID, role, working set) plus a screenshot of the window. In every occurrence:
- The process list goes from
alive=4(main / gpu / NetworkService utility / renderer) toalive=3— the renderer PID disappears, main + gpu + network service are untouched. - The same instant, the window renders as a uniform
#f0f0f0rectangle with no title bar text (blank screenshot). - No crash dump is produced and there is no WER entry or Application-log error.
- ⭐ At that instant, no provider CLI process is ever spawned. This is the key negative evidence — see below.
Because I have to go through a proxy at cliPath (see "Logs and other evidence"), every CLI launch leaves a log line. At the moment of every blank window, the proxy log directory has no new entry; the next entry is the next successful send, minutes later. The renderer dies before Claudian ever reaches the point of launching the CLI.
Reproduction
Deterministic on this machine — one blank window per Obsidian session, always on the 2nd send:
| # | time | action | CLI proxy entry at that instant? | result |
|---|---|---|---|---|
| 1 | 12:15:34 | send #1 (after a full OS reboot) | yes — exits code=0 |
ok |
| 2 | 12:17:20 | send #2 | none | blank |
| 3 | 12:19:33 | send #1 (after Obsidian restart) | yes — code=0 |
ok |
| 4 | 12:24:10 | send #2 | none | blank |
| 5 | 12:24:27 | send #1 in a brand-new conversation | yes — code=0 (no --resume in argv, i.e. genuinely a new session) |
ok |
| 6 | 12:24:54 | send #2 in that new conversation | none | blank |
| 7 | 12:36:20 | send #1 (new conversation, byte-for-byte pass-through proxy) | yes — code=0 |
ok |
| 8 | 12:36:51 | send #2 | none | blank |
Steps:
- Restart Obsidian (or reboot the OS) so exactly one renderer exists.
- Open a chat and send any message. It works normally.
- Send a second message. The window goes flat grey within seconds. No error is shown anywhere.
Expected behavior
Sending a second message should work, and if something in the send path throws, it should surface as an error in the panel — not silently take the whole renderer process down. A plugin-side bug should not be able to kill the Obsidian window with zero diagnostics.
Environment
- Claudian version: 2.3.9 / 2.3.3 / 2.2.7 — all three reproduce
- Obsidian version: 1.13.6 (also reproduced on 1.13.7 before rolling back)
- Operating system: Windows 11 Home build 26200 (10.0.26200), x64
- Provider: Claude
- Provider CLI version: Claude Code 2.1.198 (native installer); also reproduced on 2.1.283
- Provider CLI installation method: native installer (
claude install) cliPathpoints at a proxy script instead of the binary (see below)
Logs and other evidence
A. What the blank window actually looks like. Uniform #f0f0f0, no title bar, no content. The blank screenshots taken seconds apart are byte-identical (37,139 bytes), so it is a fixed, fully-unrendered surface — not a repaint glitch.
B. It is not memory pressure.
- Renderer working set was flat at ~287 MB for the two minutes before the death — no spike, no growth.
- 15.7 GB physical RAM, ~8 GB free; commit 23.4 GB with 13.6 GB free; page file 7,424 MB allocated and 29 MB used.
C. It is not crash-dump-shaped.
%LOCALAPPDATA%\CrashDumps: noobsidian.exeentry at all.WER\ReportArchiveandWER\ReportQueue: empty for the relevant window.- Application event log around each occurrence: no Error/Critical entries (only unrelated
Security-SPPinformational events).
D. It is not the conversation size. Occurrence 6 above is a brand-new conversation whose session file was 26 KB. The long-running conversation's file was 3.3 MB at the time. Both blank on the 2nd send.
E. It is not the cliPath proxy. I replaced the proxy with a byte-for-byte pass-through (it only does stdin.pipe / stdout.pipe / stderr.pipe, and does not inspect or end any stream) — occurrences 7 and 8 above are with that pass-through in place, and the 2nd send still blanks.
F. It is probably not #1462. #1462 describes .meta.json files growing to tens of MB. On this vault the largest file under .claudian/sessions/**/ is 678 bytes — nothing is bloated there.
G. Possibly relevant. claudian-settings.json on this machine has:
"maxWarmAgentProcesses": 6,
"enableAutoTitleGeneration": trueWith enableAutoTitleGeneration I can see an extra short-lived CLI invocation per new conversation (--tools "" --no-session-persistence, no --resume) immediately before the real one. Both go through cliPath.
H. Related issues. #1432 ("sending fails, no CLI process is spawned", works on 2.3.3) looks like the same route — the failure happens before the CLI is launched — though 2.3.3 reproducibly blanks here. #1420 (a 51-second single main-thread task from JSON.stringify(resumeSeed) on every binding check) is the closest thing I found to a code path that runs on send, but a 26 KB new conversation blanks too, so size-dependent cost alone doesn't explain it.
Request
Two things that would make this much easier to pin down:
- Please wrap the send path so a failure can't take the renderer down — a
process.on('uncaughtException')/unhandledRejectionhandler in the plugin that writes to a log file and shows an error in the panel would turn a silent renderer death into a diagnosable stack trace. As it stands the plugin kills the whole window and leaves no evidence behind, which is why this took days to characterize. - I'm happy to run any build with extra logging you want and report back — including per-step timing of the send path up to the CLI spawn. I have the whole machine instrumented.
I'm also happy to send the raw monitor log (a timestamped line every 3 seconds covering all eight occurrences, with per-process roles and memory) if that's useful.
Source: YishenTu/claudian