-
Notifications
You must be signed in to change notification settings - Fork 283
Closed
Labels
language-serverIssues specific to our IDE integration rather than type checkingIssues specific to our IDE integration rather than type checking
Description
Describe the Bug
This seems to be a variation on #380 .
On Fedora 43 (Asahi Remix) on a M2 MacBook with 16kB page size.
When running VSCodium (installed as flatpak com.vscodium.codium, version 1.107.18627) the extension meta.pyrefly fails to do anything. The first thing in its output is <jemalloc>: Unsupported system page size.
If I manually set the setting lspPath as the path to a pyrefly executable (installed via pip), it seems to start the server without error. It still doesn't seem to work after that, but I guess that's a separate issue.
Sandbox Link
No response
(Only applicable for extension issues) IDE Information
Running extension version 0.54.0.
Full extension output:
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 4 bytes failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Error - 4:40:37 PM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 4:40:37 PM] Connection to server got closed. Server will restart.
true
[Error - 4:40:37 PM] Pyrefly language server client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 4:40:37 PM] Server process exited with signal SIGABRT.
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 4 bytes failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Error - 4:40:37 PM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 4:40:37 PM] Connection to server got closed. Server will restart.
true
[Error - 4:40:37 PM] Pyrefly language server client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 4:40:37 PM] Server process exited with signal SIGABRT.
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 4 bytes failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Error - 4:40:37 PM] Server process exited with signal SIGABRT.
[Error - 4:40:37 PM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 4:40:37 PM] Connection to server got closed. Server will restart.
true
[Error - 4:40:37 PM] Pyrefly language server client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 4:40:37 PM] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 4 bytes failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Error - 4:40:37 PM] Server process exited with signal SIGABRT.
[Error - 4:40:37 PM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 4:40:37 PM] Connection to server got closed. Server will restart.
true
[Error - 4:40:37 PM] Pyrefly language server client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 4:40:37 PM] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 4 bytes failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Error - 4:40:37 PM] Server process exited with signal SIGABRT.
[Error - 4:40:37 PM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 4:40:37 PM] The Pyrefly language server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 4:40:37 PM] Pyrefly language server client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 4:40:37 PM] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
language-serverIssues specific to our IDE integration rather than type checkingIssues specific to our IDE integration rather than type checking