warpdotdev / warpdotdev/warp

Get "segment fault" when launch python only in warp

Open
#3,872 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:ssh bug ready-to-implement SSH triaged
Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

Discord username (optional)

No response

Operating System

MacOS

Operating System and Version

macOS Sonoma 14.0

Local Shell Version

5.9

Remote Shell Version

4.2.46(2)-release

Warp Version

v0.2023.10.17.08.03.stable_02

I have tried commenting out my system & user rcfiles and warp still will not bootstrap
  • Yes
Screenshots

image
image
image
image

When I run python on my server with warp, I got segment fault.(fig 1) The same python run successfully with other terminals.(eg fig.2 with vscode terminal, I also test original terminal app on Mac).
fig3 and fig4 show the output backtrace when I try "gdb python" in warp.
I'm not sure if this can be reproduced on others' system and I have run python successfully with warp on this system for about half a year.

Include shell xtrace output

ssh succeed and no output.

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore) - linear-label:e7dfaa84-5fdb-4a00-b754-d8912da923fa

None

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the python segmentation fault over SSH in Warp on macOS Sonoma, then compare it with Terminal or VS Code and inspect the gdb python backtrace shown in the report. Done means the same remote Python command runs successfully in Warp without a segmentation fault.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.