Console crash shortly after a windows reload
System details:
Positron and OS details:
Positron Version: 2025.12.0 (user setup) build 135 Code - OSS Version: 1.106.0 Commit: 94ecc36fbd8e96f0ee8bbe24661145ba88dc26cf Date: 2025-11-25T07:45:31.858Z Electron: 37.7.0 Chromium: 138.0.7204.251 Node.js: 22.20.0 V8: 13.8.258.32-electron.0 OS: Windows_NT x64 10.0.26200-->
Session details:
R- Any Python - Any
Describe the issue:
I see all R & Python consoles crash <1 minutes after reloading with Developer: Reload Window.
Steps to reproduce the issue:
- Start R and/or Python
Developer: Reload Windowfrom command palette- Wait a couple minutes
Expected or desired behavior:
Consoles to continue running
Were there any error messages in the UI, Output panel, or Developer Tools console?
From the developer tools console:
workbench.desktop.main.js:223698 Error: Cannot call write after a stream was destroyed
at _write (node:internal/streams/writable:491:11)
at Socket.Writable.write (node:internal/streams/writable:510:10)
at c:\Users\JonVanausdeln\AppData\Local\Programs\Positron\resources\app\extensions\positron-python\dist\client\extension.js:2:370247
at new Promise (<anonymous>)
at a.write (c:\Users\JonVanausdeln\AppData\Local\Programs\Positron\resources\app\extensions\positron-python\dist\client\extension.js:2:370166)
at A.doWrite (c:\Users\JonVanausdeln\AppData\Local\Programs\Positron\resources\app\extensions\positron-python\dist\client\extension.js:2:781982)
at c:\Users\JonVanausdeln\AppData\Local\Progra
From Kernel Supervisor Output channel:
17:34:00 [Positron] Session 'python-304de99b' disconnected while in state 'idle'. This is unexpected; checking server status.
17:34:00 [Positron] Kallichore server PID 45680 is not running
17:34:00 [Positron] Marking session python-304de99b as exited because the server is no longer running
17:34:00 [DEBUG] (3) kcserver::kernel_session: End of output stream (kind: Stdout)
17:34:00 [DEBUG] (22) kcserver::kernel_session: End of output stream (kind: Stderr)
17:34:00 [INFO] Child process for session python-304de99b exited with status: exit code: 0xc000013a
17:34:00 [DEBUG]
17:34:00 [Positron] Generated connection file path: C:\Users\JONVAN~1\AppData\Local\Temp\kallichore-18e85ffd-48796.json
17:34:00 [Positron] Using named pipe transport
17:34:00 [Positron] Starting Kallichore server c:\Users\JonVanausdeln\AppData\Local\Programs\Positron\resources\app\extensions\positron-supervisor\resources\kallichore\kcserver.exe with connection file C:\Users\JONVAN~1\AppData\Local\Temp\kallichore-18e85ffd-48796.json and 10000ms startup timeout
17:34:00 [Positron] Read named pipe connection information from C:\Users\JONVAN~1\AppData\Local\Temp\kallichore-18e85ffd-48796.json: \\.\pipe\kallichore-54076, constructed base path: http://npipe:\\.\pipe\kallichore-54076:
17:34:00 [Positron] Kallichore 0.1.58 server online with 0 sessions
17:34:00 [Positron] Running as pid 54076 (terminal pid 50604)
17:34:00 [Positron] Kallichore server started in 550ms
17:34:00 [Positron] Streaming Kallichore server logs from C:\Users\JONVAN~1\AppData\Local\Temp\kallichore-18e85ffd-48796.log (log level: debug)
17:34:00 [INFO] Using named pipe: \\.\pipe\kallichore-54076
17:34:00 [INFO] Wrote connection details to C:\Users\JONVAN~1\AppData\Local\Temp\kallichore-18e85ffd-48796.json
17:34:00 [DEBUG] (1) kcserver: Starting Kallichore
17:34:00 [INFO] Starting named pipe HTTP server on: \\.\pipe\kallichore-54076
17:34:00 [INFO] Server set to shut down after 1 hours of inactivity
17:34:02 [INFO] Heartbeat now tracking client: 48796
I've seen this recently as well on Mac, on dev builds.
I also just saw a crash after a window reload in a daily build:
The process supervising the interpreters has exited unexpectedly and was automatically restarted. You may need to start your interpreter again.
What I see in the console is a little different than @jonvanausdeln:
connect ECONNREFUSED /var/folders/hl/v1lzqxfd07b3hgd2tt5cjcs40000gp/T/kc-52316.sock
FWIW I tried disabling the pyrefly extension and still see this problem.
We have not seen this on Workbench so far.
Verified Fixed
Positron Version(s) : Positron Version: 2026.01.0 (Universal) build 24
OS Version : macOS Tahoe 26.1
Test scenario(s)
- I tested on macOS
- @jonvanausdeln tested on Windows
No console crash after window reload was observed.