Skip to content

Pyrefly crashes VSCode when allocating memory on glibc 2.17 #1636

@varchasgopalaswamy

Description

@varchasgopalaswamy

Describe the Bug

When I use the Pyrefly vscode extension, after a few minutes it causes vscode to crash. A core file is created. When I check it with gdb, I get the following:

Core was generated by `.../.vscode-server/extensions/meta.pyrefly-0.42.2-linux-x64/bin/pyrefly'.
Program terminated with signal 6, Aborted.
#0  0x00002ad2b0c30802 in __restore_sigs ()
(gdb) bt
#0  0x00002ad2b0c30802 in __restore_sigs ()
#1  0x00002ad2b0c30843 in raise ()
#2  0x00002ad2b0aa7c2f in std::io::Write::write_fmt::he598795b07ae9227 ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Any idea what's wrong?

IDE Information

VSCode
Version: 1.105.1
Commit: 7d842fb85a0275a4a8e4d7e040d2625abbf7f084
Date: 2025-10-14T22:33:36.618Z (1 mo ago)
Electron: 37.6.0
ElectronBuildId: 12502201
Chromium: 138.0.7204.251
Node.js: 22.19.0
V8: 13.8.258.32-electron.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    language-serverIssues specific to our IDE integration rather than type checking

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions