NousResearch/hermes-agent
Windows gateway crashes from os.kill PID checks
Cluster 5760 · gateway. Data as of
Nothing open on GitHub. Fix attempted, not merged.
The short answer
0open issues
0open PRs
17items grouped
- Known?
- Yes. 17 related items grouped here, 8 issues already closed.
- Fix event
- No fix has been merged to main. 9 PRs closed without merging; see the attempts below.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
Next step: read the attempts below. Your case may extend or revive that work.
Pick up a Lab taskA cluster of bug reports and fixes addressing crashes in the gateway startup on Windows caused by unhandled OSError, SystemError, and WinError exceptions from os.kill(pid, 0) during PID liveness checks. Also includes one unrelated feature adding model list support for user-defined providers in the CLI.
Open issues0
Open PRs0
9 PRs closed without merging
From the close comments: done elsewhere 3 · duplicate 3 · superseded by another PR 2 · other 1
-
#5762 fix(gateway): handle Windows OSError/SystemError in os.kill probes (#5760) · done elsewhere →
4c02e45,cc38282 - #6310 fix(gateway): handle windows pid probe failures · other
-
#9024 fix(gateway): #8978 resolve Windows startup crash caused by os.kill(0… · done elsewhere →
4c02e45 -
#9579 fix: tolerate Windows stale gateway pid OSError · duplicate →
#14364,#12363,#11156 -
#12363 fix(windows): handle OSError from os.kill() for non-existent PIDs · superseded by another PR →
324567c
Show 4 more
-
#13587 fix(gateway): use ctypes.OpenProcess for Windows process existence check · superseded by another PR →
#13986 - #13986 fix(windows): handle OSError from os.kill and add UTF-8 encoding for Windows (#5760, #8978, #7537, #8901) · done elsewhere
-
#14364 fix(gateway): catch OSError from os.kill on Windows for stale PID detection · duplicate →
#11140,#5760,#12359,#9574 -
#26411 fix(gateway/status): catch SystemError from os.kill on Windows · duplicate →
#5760,#5762,#21514,#13587
Closed issues · 8
- Closed#5760Windows: os.kill(pid, 0) raises SystemError/OSError in gateway/status.py
- Closed#7227Windows: hermes gateway crashes on stale gateway.pid after abrupt shutdown (os.kill(pid, 0) -> OSError)
- Closed#8978[Bug]: Windows: hermes gateway crashes on startup with OSError WinError 87
- Closed#9574[Bug]: Windows Git Bash gateway startup can crash on stale gateway.pid when os.kill(pid, 0) raises WinError 11
- Closed#12359[BUG]:Windows: os.kill(pid, 0) raises OSError [WinError 87] and crashes gateway startup
- Closed#13932[Bug]: Windows: os.kill(pid, 0) causes WinError 87 and fails to start hermes gateway
- Closed#14359os.kill(pid, 0) in gateway/status.py raises unhandled OSError on Windows
- Closed#21432os.kill(pid, 0) raises SystemError on Windows in get_running_pid(), crashing hermes gateway
How this cluster was grouped
-
Link evidence (
partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text. - Members outside that structural core may belong to a different underlying problem.
-
Pairwise link density
0.13: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- gateway
- Closed issues
- 8
- Attempts
- 9 PRs closed without merging