Warp crash: caused excessive writes to ssd 450GB (approx)

Open
#2,360 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
django, macos, zsh

Research direction

Start by reproducing the report using the described Django HTTP server and Ctrl+C or Ctrl+D on macOS, then inspect the diagnostic report details for the Warp process. Done means the server exits without Warp becoming unresponsive or causing sustained excessive SSD writes; the issue does not name source files or tests to target.

Written by the indexing model from the issue text.

Description

bug ready-to-implement triaged
Discord username (optional)

No response

Describe the bug

Warp error caused system to write approx 450GB

Closed Django http server with ctrl + c. After a few minutes I noticed the http server did not close, I preceded to force close warp from the activity monitor when warp was unresponsive. The activity bar graph was showing extremely high writes to the ssd, when I closed the warp process the ssd writes stopped.

Mac diagnostic report:

Date/Time: 2022-12-13 18:08:32.557 +0000
End time: 2022-12-13 18:15:42.458 +0000
OS Version: macOS 13.0.1 (Build 22A400)
Architecture: arm64e
Report Version: 40
Incident Identifier: 40CA8A66-7EE8-46C1-A76B-8D9448358466

Data Source: Microstackshots
Shared Cache: 2D053604-1CB6-3821-A8DF-360EB2EB519B slid base address 0x1a15b0000, slide 0x215b0000

Command: stable
Path: /Applications/Warp.app/Contents/MacOS/stable
Identifier: dev.warp.Warp-Stable
Version: 0.1.0 (20221208.235924)
Team ID: 2BBY89MBSN
Is First Party: No
Resource Coalition ID: 680
Architecture: arm64
Parent: UNKNOWN [1]
PID: 31486

Event: disk writes
Action taken: none
Writes: 137.44 GB of file backed memory dirtied over 430 seconds (319.70 MB per second average), exceeding limit of 1590.73 KB per second over 86400 seconds
Writes limit: 137.44 GB
Limit duration: 86400s
Writes caused: 137.44 GB
Writes duration: 430s
Duration: 429.90s
Steps: 13105 (10.49 MB/step)

To Reproduce

Closing Django http:server

ctrl + d

Expected behaviour

No response

Screenshots

No response

Operating System

MacOS

OS Version

13.0.1 (22A400)

Shell Version

zsh 5.8.1 (x86_64-apple-darwin22.0)

Warp Version

v0.2022.12.06.08.03.stable_01

Additional context

No response

Does this block you from using Warp daily?

Yes

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

None

Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

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.

More from warpdotdev/warp

All issues in warpdotdev/warp

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.