Qwen Code bug: curl tool calls deterministically deadlock ACP sessions, daemon kills them via stats timeout
Amazakura · ghdev · 2026-11-12
QwenLM/qwen-code P1 bug #17040: in the Web Shell (qwen serve daemon), any turn that runs curl (fetching via a local HTTP proxy) kills the session with agent channel closed mid-request.
- The child process neither crashes nor stays busy — it goes idle and stops answering the daemon's qwen/status/session/stats probes, which time out and kill it (sessiondied)
- A brand-new daemon reproduces it identically, so it's a deterministic internal async deadlock in the ACP session triggered by curl/network turns, not accumulated state
- Repro: start a daemon, ask the agent to curl a URL through a local proxy; the turn hangs 20–45s then the session dies
- The reporter captured the live hung child's sync stack via process.debugProcess + CDP Debugger.pause as evidence
- Environment: Qwen Code 0.27.2 on Windows, qwen4-max-preview, Token Plan
More from coding & agent
- Floci: free local AWS emulator with 31.6k GitHub stars for faster integration tests — JeremyCMorgan · 2026-11-13
- Open-source REM tool reverse-engineers competitors' ads, SEO and social playbook from one URL — moeinteractive · 2026-11-13
- Codex agent shrinks a 27M-param transformer to 11.46M with equal loss via weight sharing — yoshiyama_akira · 2026-11-13
- Google open-sources Harness²: Agent = Model + Harness, recursive agent harnessing framework — 2C_ornot2C · 2026-11-13
- Thinking Machines' Inkling 2 Small lands on Vercel AI Gateway, open weights, stronger at coding — keirp1 · 2026-11-13
- Question's Gambit: first-step reranking lifts agentic search accuracy to 90.5% — CShorten30 · 2026-11-13