warp icon indicating copy to clipboard operation
warp copied to clipboard

Warp for Windows crushing during the update

Open oknemixam opened this issue 1 year ago • 17 comments

Dupe Check

Describe the bug

Error message "Process can't access the file, because this file is blocked by another process"

To reproduce

  • Click "Update Warp" button in the top right corner of the window.
  • Click on the "Install update (v0.2025.01.29.08.02.stable_00)" in the dropdown.
  • Warp window closes
  • Error message appears saying "Process can't access the file, because this file is blocked by another process"

Expected behavior

The update in actually happening

Screenshots

Image

Image

Operating system

MacOS

Operating system and version

Windows 10.0.22631

Shell Version

No response

Current Warp version

v0.2025.01.22.23.18.stable_01

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

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

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

oknemixam avatar Jan 30 '25 07:01 oknemixam

Hi @oknemixam, thank you for reporting and sorry for the issues here. This kind of issue typically happens when there are multiple instances of the app running; the installer can't replace files that are already in use. Could you try closing all Warp windows, then reopening a single window before clicking "Update Warp" again?

lucieleblanc avatar Jan 30 '25 16:01 lucieleblanc

I am having this issue as well and all instances are closed. There is nothing named "warp" in task manager. Would it be using another process?

KrunchMuffin avatar Jan 30 '25 17:01 KrunchMuffin

Hmm, is there an OpenConsole process running? Does terminating that process help?

lucieleblanc avatar Jan 30 '25 17:01 lucieleblanc

No, that didn't help.

KrunchMuffin avatar Jan 30 '25 17:01 KrunchMuffin

Hi @oknemixam, thank you for reporting and sorry for the issues here. This kind of issue typically happens when there are multiple instances of the app running; the installer can't replace files that are already in use. Could you try closing all Warp windows, then reopening a single window before clicking "Update Warp" again?

Hi @lucieleblanc no problem, I hope the guys will eventually fix it.

  1. Only 1 instance of the app is running [double checked this];
  2. If you close all Warp windows then, well... there's no way to launch the update process because everything is closed.. by definition and by nature of this process at least one instance of the Warp must be running;
  3. OpenConsole process is running, one per tab. If I'm killing this process - then the Warp itself is closing. So I guess at least one OpenConsole will be running anyway when one would launch an Update.

oknemixam avatar Jan 31 '25 14:01 oknemixam

Hi all, thank you for the details. Are you running antivirus software? If so, do you see Warp or any terminal-related files/processes in the antivirus software's recent activity?

If you're able to, please send specifics to the team in the early tester Slack -- that will make it easier for the whole Warp on Windows team to read and respond.

lucieleblanc avatar Jan 31 '25 19:01 lucieleblanc

I am facing this issue as well and Warp is not in the activity of the antivirus

defensky avatar Feb 14 '25 07:02 defensky

I have this issue too.

I've got no other instances of Warp, OpenConsole, or any other console running.

Before tyrying to do the lates update...

Image

After selecting the install link...

Image

I have managed to update Warp previously by downloading the latest install file from GitHub.

Like @oknemixam I've had this bug / issue evey since I started using Warp.

Great terminal tool BTW.

nosher150 avatar Feb 20 '25 00:02 nosher150

Hello @lucieleblanc any updates on this?

defensky avatar Feb 20 '25 17:02 defensky

Hi, I have similar issue, happens right now. As I see, when warp is started in Windows 11 it brings two warp.exe processes up - probably this is the root cause of the issue. Please not that when I close warp (e.g. by executing exit command from within warp), both processes get closed.

Attached is the screenshot illustrating two warp processes in the tasks list.

Image

ilyaka-gmx avatar Mar 07 '25 07:03 ilyaka-gmx

Here's a workaround that's worked for me. I've noticed that the error popup shows up when I update warp with:

  1. multiple tabs open. This throws the "another process is using it" error. -> close all tabs except one, otherwise you won't be able to run update.

  2. In the one tab that's open, navigate to your home directory cd ~ then click update. Clicking update in a non-home folder also triggers the error.

This has worked for me with the last two updates. Hope it helps someone...

WilliamChavula avatar Jun 25 '25 13:06 WilliamChavula

The same crash happens to me on Windows with WSL, regardless of whether I have multiple tabs open or a single tab.

I would like to add that after an update, the "Restore session" setting is reset to off, and I have to turn it on manually every time I update the app.

unrealbato avatar Oct 05 '25 07:10 unrealbato

This issue persists over a full year later! It just happened to me - AGAIN! This is the single most annoying bug in Warp, if you ask me. This happens with every update in Windows.

But the workaround to close all but 1 tab seems to do it. @lucieleblanc why don't you just make it so that when you click Update, it closes all the tabs first before applying the update? Warp's history as it is now (which was a solid improvement of a few months ago) makes it easy enough to revive those tabs when the update comes back.

mcasalaina avatar Mar 20 '26 15:03 mcasalaina

This issue persists with last week's update and this week's. I just got it again a minute ago.

Warp people like @alokedesai: for the love of god would you PLEASE fix this. It's been over a year that this has been happening. It literally happens with every Warp update, evidently to many of us. I suspect that everyone at Warp has a Mac and no one uses Windows as their day-to-day machine. This needs to change. Somebody has to bite the bullet and use Windows as their primary machine. Only then will you see the kinds of issues Windows users actually experience with Warp.

mcasalaina avatar Apr 12 '26 01:04 mcasalaina

Hey @mcasalaina and others. A few updates here:

  1. We started a tiger team that is solely focused on dogfooding and improving the state of our Windows build.
  2. This specific issue has been one of the main things they've been working on. I'll spare you the details, but there are a lot of contributing factors that can cause it. We've made a few improvements already (see graph below) and have a bunch more in-flight that will fully address the issue.
  3. Lead times for this are longer than normal fixes because it requires the fix to be in the app and for there to be an update for the fix to actually take affect.
  4. I'll continue to post updates here; we should have more fixes coming out in next week's release
Image

alokedesai avatar Apr 12 '26 20:04 alokedesai

Image

Same issue

PierrunoYT avatar May 06 '26 15:05 PierrunoYT

Hi all. I'm still working on this issue. We've shipped an update in last week's release that should've reduced the frequency of this error but there are still other failure modes. I believe this is due to #10202 so I'm working on fixing that next which should help. If anyone notices a warp.exe process in Task Manager lingering after they've closed Warp, can you collect a memory dump and send it to me?

  1. open task manager
  2. click on the details page
  3. search for "warp"
  4. right-click the warp process and click "create memory dump file"

To send me the dump, please email me at [email protected] and I'll add you to a folder in our shared Google Drive where you can drop the upload

acarl005 avatar May 06 '26 19:05 acarl005