facebook / facebook/pyrefly

Pyrefly crashes VSCode when allocating memory on glibc 2.17

Open
#1,636 16 comments 2 reactions 1 assignee Claimed by @asukaminato0721 View on GitHub
crash language-server performance
Dominant language
Rust
Stars
7k
Forks
516
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.