Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warp became broken after update. #5492

Closed
1 task done
RockBacon9922 opened this issue Nov 20, 2024 · 56 comments
Closed
1 task done

Warp became broken after update. #5492

RockBacon9922 opened this issue Nov 20, 2024 · 56 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@RockBacon9922
Copy link

Dupe Check

Describe the bug

Warp destroyed itself after its self update. When trying to launch the app Mac said the app was broken

To reproduce

No clue. All I did was press the close and update button and it caused the app to become broken.

Expected behavior

No response

Screenshots

No response

Operating system

MacOS

Operating system and version

14.6.1

Shell Version

No response

Current Warp version

No response

Regression

Yes, this bug started recently or with an X Warp version

Recent working Warp date

20/11/24

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

@RockBacon9922 RockBacon9922 added the Bugs Bugs, Hangs, Crash, and Freezes label Nov 20, 2024
@dannyneira
Copy link
Member

dannyneira commented Nov 20, 2024

Hi @RockBacon9922 sorry to hear about this. I'll let the team know asap. Please see troubleshooting steps from our team below.

@vorporeal
Copy link

Hi @RockBacon9922 - before taking any steps to fix the issue (e.g.: uninstalling and reinstalling Warp), can you run the following commands from another terminal and share the output here?

codesign --display --verbose=4 /Applications/Warp.app
codesign --verify --verbose=4 /Applications/Warp.app
codesign --verify --verbose=4 /Applications/Warp.app/Contents/MacOS/stable

@diegocuehdz
Copy link

@vorporeal I have the same issue as @RockBacon9922 , here is the output from the three commands:

Screenshot 2024-11-20 at 5 35 15 p m

@vorporeal
Copy link

Fascinating. What's the output of ls -lah /Applications/Warp.app/*?

@diegocuehdz
Copy link

@vorporeal here is the output:
Screenshot 2024-11-20 at 7 04 24 p m

@svenjr
Copy link

svenjr commented Nov 21, 2024

I have the same issue and same outputs as above

@bnavetta
Copy link

@svenjr @diegocuehdz that's interesting - would you mind running ls -lahR /Applications/Warp.app so we can see which files are missing?

@muescha
Copy link

muescha commented Nov 21, 2024

there are no files in the Warp.app folders:

muescha@MacBook Warp.app % tree
.
└── Contents
    ├── Frameworks
    │   └── Sentry.framework
    │       ├── Headers -> Versions/Current/Headers
    │       ├── Modules -> Versions/Current/Modules
    │       ├── PrivateHeaders -> Versions/Current/PrivateHeaders
    │       ├── Resources -> Versions/Current/Resources
    │       ├── Sentry -> Versions/Current/Sentry
    │       └── Versions
    │           ├── A
    │           │   ├── Headers
    │           │   ├── Modules
    │           │   ├── PrivateHeaders
    │           │   ├── Resources
    │           │   └── _CodeSignature
    │           └── Current -> A
    ├── MacOS
    ├── Resources
    └── _CodeSignature

19 directories, 1 file

@muescha
Copy link

muescha commented Nov 21, 2024

PS: I made this update through the update notification in the Warp app menu.

@muescha
Copy link

muescha commented Nov 21, 2024

I performed a reinstall:

muescha@MacBook /Applications % brew reinstall warp
==> Downloading https://app.warp.dev/download/brew?version=v0.2024.10.29.08.02.stable_02
==> Downloading from https://releases.warp.dev/stable/v0.2024.10.29.08.02.stable_02/Warp.dmg
#  #                                                                                       -=O=-
==> Uninstalling Cask warp
==> Backing App 'Warp.app' up to '/opt/homebrew/Caskroom/warp/0.2023.08.08.08.04.stable_00/Warp.app'
==> Removing App '/Applications/Warp.app'
==> Purging files for version 0.2023.08.08.08.04.stable_00 of Cask warp
==> Installing Cask warp
==> Moving App 'Warp.app' to '/Applications/Warp.app'
🍺  warp was successfully installed!

After reinstalling, the app displayed an update notification:

Bildschirmfoto 2024-11-21 um 17 58 44

I clicked at the update and this time, the update process worked. The app restarted and is now on the latest version.

Unfortunately, I don’t recall which version was installed before the initial update failure.

@bnavetta
Copy link

Thanks @muescha, that's helpful! Was your computer low on disk space recently? It looks like copying the new, downloaded version of Warp failed, so we're trying to understand why (in addition to ensuring that we don't switch to a broken version).

@muescha
Copy link

muescha commented Nov 21, 2024

No low disk space:
HD: 994,66 GB
Free: 336,23 GB

@ShaiGilboa
Copy link

I had the same issue, unistalling - then reinstalling fixed it for me. Thanks

@bnavetta
Copy link

Thanks! The latest release (v0.2024.11.19.08.02.stable_01) includes some changes that should prevent autoupdates from getting into this state.

If you're affected, you'll need to reinstall Warp. Before doing so, we'd greatly appreciate if you could these commands to check the broken installation:

codesign --display --verbose=4 /Applications/Warp.app
codesign --verify --verbose=4 /Applications/Warp.app
codesign --verify --verbose=4 /Applications/Warp.app/Contents/MacOS/stable
ls -lahR /Applications/Warp.app

@samuel-pearbio
Copy link

I encountered the same issue. Initially, I tried reinstalling with brew reinstall warp, but the problem persisted with the error: Error: It seems there is already an App at '/Applications/Warp.app'. I hesitated to uninstall because I wasn’t sure if it would erase my history. Instead, I downloaded the .dmg, installed it, and replaced the previous version. This resolved the issue, and all my previous tabs are intact.

@halcwb
Copy link

halcwb commented Nov 26, 2024

Thanks! The latest release (v0.2024.11.19.08.02.stable_01) includes some changes that should prevent autoupdates from getting into this state.

If you're affected, you'll need to reinstall Warp. Before doing so, we'd greatly appreciate if you could these commands to check the broken installation:

codesign --display --verbose=4 /Applications/Warp.app
codesign --verify --verbose=4 /Applications/Warp.app
codesign --verify --verbose=4 /Applications/Warp.app/Contents/MacOS/stable
ls -lahR /Applications/Warp.app

When I run those commands I just get:
/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable

@RockBacon9922
Copy link
Author

RockBacon9922 commented Nov 26, 2024

Just to add the computer I had the issue on was not low on disk space.
It was a m2pro mbp with 1tb of storage

@stuartjohnpage
Copy link

stuartjohnpage commented Nov 26, 2024

I had the same issue as above; and I got the same outputs:

(base) stuart@MacBook-Pro-4 ~ % codesign --display --verbose=4 /Applications/Warp.app
codesign --verify --verbose=4 /Applications/Warp.app
codesign --verify --verbose=4 /Applications/Warp.app/Contents/MacOS/stable
ls -lahR /Applications/Warp.app
/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable
/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable
/Applications/Warp.app/Contents/MacOS/stable: No such file or directory
total 0
drwxr-xr-x@  3 stuart  admin    96B Nov 26 10:08 .
drwxrwxr-x  53 root    admin   1.7K Nov 26 10:08 ..
drwxr-xr-x   6 stuart  admin   192B Nov 26 10:08 Contents

/Applications/Warp.app/Contents:
total 0
drwxr-xr-x  6 stuart  admin   192B Nov 26 10:08 .
drwxr-xr-x@ 3 stuart  admin    96B Nov 26 10:08 ..
drwxr-xr-x  3 stuart  admin    96B Nov 26 10:08 Frameworks
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 MacOS
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 Resources
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 _CodeSignature

/Applications/Warp.app/Contents/Frameworks:
total 0
drwxr-xr-x  3 stuart  admin    96B Nov 26 10:08 .
drwxr-xr-x  6 stuart  admin   192B Nov 26 10:08 ..
drwxr-xr-x  8 stuart  admin   256B Nov 26 10:08 Sentry.framework

/Applications/Warp.app/Contents/Frameworks/Sentry.framework:
total 0
drwxr-xr-x  8 stuart  admin   256B Nov 26 10:08 .
drwxr-xr-x  3 stuart  admin    96B Nov 26 10:08 ..
lrwxr-xr-x  1 stuart  admin    24B Nov 26 10:08 Headers -> Versions/Current/Headers
lrwxr-xr-x  1 stuart  admin    24B Nov 26 10:08 Modules -> Versions/Current/Modules
lrwxr-xr-x  1 stuart  admin    31B Nov 26 10:08 PrivateHeaders -> Versions/Current/PrivateHeaders
lrwxr-xr-x  1 stuart  admin    26B Nov 26 10:08 Resources -> Versions/Current/Resources
lrwxr-xr-x  1 stuart  admin    23B Nov 26 10:08 Sentry -> Versions/Current/Sentry
drwxr-xr-x  4 stuart  admin   128B Nov 26 10:08 Versions

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions:
total 0
drwxr-xr-x  4 stuart  admin   128B Nov 26 10:08 .
drwxr-xr-x  8 stuart  admin   256B Nov 26 10:08 ..
drwxr-xr-x  7 stuart  admin   224B Nov 26 10:08 A
lrwxr-xr-x  1 stuart  admin     1B Nov 26 10:08 Current -> A

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A:
total 0
drwxr-xr-x  7 stuart  admin   224B Nov 26 10:08 .
drwxr-xr-x  4 stuart  admin   128B Nov 26 10:08 ..
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 Headers
drwxr-xr-x  3 stuart  admin    96B Nov 26 10:08 Modules
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 PrivateHeaders
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 Resources
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 _CodeSignature

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Headers:
total 0
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 .
drwxr-xr-x  7 stuart  admin   224B Nov 26 10:08 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Modules:
total 0
drwxr-xr-x  3 stuart  admin    96B Nov 26 10:08 .
drwxr-xr-x  7 stuart  admin   224B Nov 26 10:08 ..
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 Sentry.swiftmodule

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Modules/Sentry.swiftmodule:
total 0
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 .
drwxr-xr-x  3 stuart  admin    96B Nov 26 10:08 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/PrivateHeaders:
total 0
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 .
drwxr-xr-x  7 stuart  admin   224B Nov 26 10:08 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Resources:
total 0
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 .
drwxr-xr-x  7 stuart  admin   224B Nov 26 10:08 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/_CodeSignature:
total 0
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 .
drwxr-xr-x  7 stuart  admin   224B Nov 26 10:08 ..

/Applications/Warp.app/Contents/MacOS:
total 0
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 .
drwxr-xr-x  6 stuart  admin   192B Nov 26 10:08 ..

/Applications/Warp.app/Contents/Resources:
total 0
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 .
drwxr-xr-x  6 stuart  admin   192B Nov 26 10:08 ..

/Applications/Warp.app/Contents/_CodeSignature:
total 0
drwxr-xr-x  2 stuart  admin    64B Nov 26 10:08 .
drwxr-xr-x  6 stuart  admin   192B Nov 26 10:08 ..

I'm going to re-install now!

Update: after re-installing, I was prompted to upgrade again. This went through without a hitch!

Screenshot 2024-11-26 at 4 35 13 PM

@JoeriDamme
Copy link

Same here this morning:

Last login: Thu Nov 21 10:35:36 on console
❯ codesign --display --verbose=4 /Applications/Warp.app
/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable
❯ codesign --verify --verbose=4 /Applications/Warp.app
/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable
❯ codesign --verify --verbose=4 /Applications/Warp.app/Contents/MacOS/stable
/Applications/Warp.app/Contents/MacOS/stable: No such file or directory
❯ ls -lahR /Applications/Warp.app
total 0
drwxr-xr-x@  3 joeridamme  admin    96B 26 nov 11:03 .
drwxrwxr-x  59 root        admin   1,8K 26 nov 14:36 ..
drwxr-xr-x   6 joeridamme  admin   192B 26 nov 11:03 Contents

/Applications/Warp.app/Contents:
total 0
drwxr-xr-x  6 joeridamme  admin   192B 26 nov 11:03 .
drwxr-xr-x@ 3 joeridamme  admin    96B 26 nov 11:03 ..
drwxr-xr-x  3 joeridamme  admin    96B 26 nov 11:03 Frameworks
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 MacOS
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 Resources
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 _CodeSignature

/Applications/Warp.app/Contents/Frameworks:
total 0
drwxr-xr-x  3 joeridamme  admin    96B 26 nov 11:03 .
drwxr-xr-x  6 joeridamme  admin   192B 26 nov 11:03 ..
drwxr-xr-x  8 joeridamme  admin   256B 26 nov 11:03 Sentry.framework

/Applications/Warp.app/Contents/Frameworks/Sentry.framework:
total 0
drwxr-xr-x  8 joeridamme  admin   256B 26 nov 11:03 .
drwxr-xr-x  3 joeridamme  admin    96B 26 nov 11:03 ..
lrwxr-xr-x  1 joeridamme  admin    24B 26 nov 11:03 Headers -> Versions/Current/Headers
lrwxr-xr-x  1 joeridamme  admin    24B 26 nov 11:03 Modules -> Versions/Current/Modules
lrwxr-xr-x  1 joeridamme  admin    31B 26 nov 11:03 PrivateHeaders -> Versions/Current/PrivateHeaders
lrwxr-xr-x  1 joeridamme  admin    26B 26 nov 11:03 Resources -> Versions/Current/Resources
lrwxr-xr-x  1 joeridamme  admin    23B 26 nov 11:03 Sentry -> Versions/Current/Sentry
drwxr-xr-x  4 joeridamme  admin   128B 26 nov 11:03 Versions

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions:
total 0
drwxr-xr-x  4 joeridamme  admin   128B 26 nov 11:03 .
drwxr-xr-x  8 joeridamme  admin   256B 26 nov 11:03 ..
drwxr-xr-x  7 joeridamme  admin   224B 26 nov 11:03 A
lrwxr-xr-x  1 joeridamme  admin     1B 26 nov 11:03 Current -> A

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A:
total 0
drwxr-xr-x  7 joeridamme  admin   224B 26 nov 11:03 .
drwxr-xr-x  4 joeridamme  admin   128B 26 nov 11:03 ..
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 Headers
drwxr-xr-x  3 joeridamme  admin    96B 26 nov 11:03 Modules
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 PrivateHeaders
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 Resources
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 _CodeSignature

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Headers:
total 0
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 .
drwxr-xr-x  7 joeridamme  admin   224B 26 nov 11:03 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Modules:
total 0
drwxr-xr-x  3 joeridamme  admin    96B 26 nov 11:03 .
drwxr-xr-x  7 joeridamme  admin   224B 26 nov 11:03 ..
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 Sentry.swiftmodule

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Modules/Sentry.swiftmodule:
total 0
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 .
drwxr-xr-x  3 joeridamme  admin    96B 26 nov 11:03 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/PrivateHeaders:
total 0
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 .
drwxr-xr-x  7 joeridamme  admin   224B 26 nov 11:03 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Resources:
total 0
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 .
drwxr-xr-x  7 joeridamme  admin   224B 26 nov 11:03 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/_CodeSignature:
total 0
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 .
drwxr-xr-x  7 joeridamme  admin   224B 26 nov 11:03 ..

/Applications/Warp.app/Contents/MacOS:
total 0
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 .
drwxr-xr-x  6 joeridamme  admin   192B 26 nov 11:03 ..

/Applications/Warp.app/Contents/Resources:
total 0
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 .
drwxr-xr-x  6 joeridamme  admin   192B 26 nov 11:03 ..

/Applications/Warp.app/Contents/_CodeSignature:
total 0
drwxr-xr-x  2 joeridamme  admin    64B 26 nov 11:03 .
drwxr-xr-x  6 joeridamme  admin   192B 26 nov 11:03 ..

@doneill
Copy link

doneill commented Nov 28, 2024

I get a slightly different output

❯ codesign --display --verbose=4 /Applications/Warp.app
/Applications/Warp.app: code object is not signed at all

logs/ERCS/3146                                                                                                                                                13:49
❯ codesign --verify --verbose=4 /Applications/Warp.app
/Applications/Warp.app: code object is not signed at all

❯ codesign --verify --verbose=4 /Applications/Warp.app/Contents/MacOS/stable
/Applications/Warp.app/Contents/MacOS/stable: No such file or directory

ls -lahR /Applications/Warp.app
/Applications/Warp.app: code object is not signed at all
/Applications/Warp.app: code object is not signed at all
/Applications/Warp.app/Contents/MacOS/stable: No such file or directory
Permissions Size User Date Modified Name
drwxr-xr-x     - dano 26 Nov 10:41  Contents

/Applications/Warp.app/Contents:
Permissions Size User Date Modified Name
drwxr-xr-x     - dano 26 Nov 10:41  Frameworks
.rw-r--r--  4.1k dano 26 Nov 10:41  Info.plist
drwxr-xr-x     - dano 26 Nov 10:41  MacOS
drwxr-xr-x     - dano 26 Nov 10:41  Resources
drwxr-xr-x     - dano 26 Nov 10:41  _CodeSignature

/Applications/Warp.app/Contents/Frameworks:
Permissions Size User Date Modified Name
drwxr-xr-x     - dano 26 Nov 10:41  Sentry.framework

/Applications/Warp.app/Contents/Frameworks/Sentry.framework:
Permissions Size User Date Modified Name
lrwxr-xr-x     - dano 26 Nov 10:41  Headers -> Versions/Current/Headers
lrwxr-xr-x     - dano 26 Nov 10:41  Modules -> Versions/Current/Modules
lrwxr-xr-x     - dano 26 Nov 10:41  PrivateHeaders -> Versions/Current/PrivateHeaders
lrwxr-xr-x     - dano 26 Nov 10:41  Resources -> Versions/Current/Resources
lrwxr-xr-x     - dano 26 Nov 10:41  Sentry -> Versions/Current/Sentry
drwxr-xr-x     - dano 26 Nov 10:41  Versions

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions:
Permissions Size User Date Modified Name
drwxr-xr-x     - dano 26 Nov 10:41  A
lrwxr-xr-x     - dano 26 Nov 10:41  Current -> A

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A:
Permissions Size User Date Modified Name
drwxr-xr-x     - dano 26 Nov 10:41  Headers
drwxr-xr-x     - dano 26 Nov 10:41  Modules
drwxr-xr-x     - dano 26 Nov 10:41  PrivateHeaders
drwxr-xr-x     - dano 26 Nov 10:41  Resources
.rwxr-xr-x  4.7M dano 26 Nov 10:41  Sentry
drwxr-xr-x     - dano 26 Nov 10:41  _CodeSignature

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Headers:
Permissions Size User Date Modified Name
.rw-r--r--  1.9k dano 26 Nov 10:41  Sentry.h
.rw-r--r--  4.0k dano 26 Nov 10:41  SentryClient.h
.rw-r--r--   403 dano 26 Nov 10:41  SentryDsn.h
.rw-r--r--  1.1k dano 26 Nov 10:41  SentryError.h
.rw-r--r--  1.8k dano 26 Nov 10:41  SentryFrame.h
.rw-r--r--  9.1k dano 26 Nov 10:41  SentryHub.h
.rw-r--r--  4.4k dano 26 Nov 10:41  SentryMeasurementUnit.h
.rw-r--r--  1.7k dano 26 Nov 10:41  SentryMechanism.h
.rw-r--r--  1.2k dano 26 Nov 10:41  SentryMechanismMeta.h
.rw-r--r--  1.3k dano 26 Nov 10:41  SentryMessage.h
.rw-r--r--   30k dano 26 Nov 10:41  SentryOptions.h
.rw-r--r--   423 dano 26 Nov 10:41  SentryProfilingConditionals.h
.rw-r--r--   15k dano 26 Nov 10:41  SentrySDK.h
.rw-r--r--   418 dano 26 Nov 10:41  SentrySampleDecision.h
.rw-r--r--  1.0k dano 26 Nov 10:41  SentrySamplingContext.h
.rw-r--r--  4.2k dano 26 Nov 10:41  SentryScope.h
.rw-r--r--   803 dano 26 Nov 10:41  SentrySpanId.h
.rw-r--r--  5.1k dano 26 Nov 10:41  SentrySpanProtocol.h
.rw-r--r--  4.1k dano 26 Nov 10:41  SentrySpanStatus.h
.rw-r--r--   947 dano 26 Nov 10:41  SentryThread.h
.rw-r--r--  2.4k dano 26 Nov 10:41  SentryWithoutUIKit.h

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Modules:
Permissions Size User Date Modified Name
drwxr-xr-x     - dano 26 Nov 10:41  Sentry.swiftmodule
.rw-r--r--   166 dano 26 Nov 10:41  module.modulemap

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Modules/Sentry.swiftmodule:
Permissions Size User Date Modified Name
.rw-r--r--  5.1k dano 26 Nov 10:41  arm64-apple-macos.private.swiftinterface
.rw-r--r--  9.4k dano 26 Nov 10:41  arm64-apple-macos.swiftdoc
.rw-r--r--  5.1k dano 26 Nov 10:41  arm64-apple-macos.swiftinterface
.rw-r--r--  207k dano 26 Nov 10:41  arm64-apple-macos.swiftmodule
.rw-r--r--  162k dano 26 Nov 10:41  x86_64-apple-macos.abi.json
.rw-r--r--  5.1k dano 26 Nov 10:41  x86_64-apple-macos.private.swiftinterface
.rw-r--r--  9.4k dano 26 Nov 10:41  x86_64-apple-macos.swiftdoc
.rw-r--r--  207k dano 26 Nov 10:41  x86_64-apple-macos.swiftmodule

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/PrivateHeaders:
Permissions Size User Date Modified Name
.rw-r--r--  6.9k dano 26 Nov 10:41  PrivateSentrySDKOnly.h
.rw-r--r--   317 dano 26 Nov 10:41  SentryAutoSessionTrackingIntegration.h
.rw-r--r--   517 dano 26 Nov 10:41  SentryCrashReportConverter.h
.rw-r--r--   515 dano 26 Nov 10:41  SentryCrashReportSink.h
.rw-r--r--   160 dano 26 Nov 10:41  SentryNSDictionarySanitize.h
.rw-r--r--   364 dano 26 Nov 10:41  SentryOptions+HybridSDKs.h
.rw-r--r--   591 dano 26 Nov 10:41  SentryOptions+Private.h
.rw-r--r--   442 dano 26 Nov 10:41  SentryRequestOperation.h
.rw-r--r--  2.5k dano 26 Nov 10:41  SentryScreenFrames.h
.rw-r--r--  1.1k dano 26 Nov 10:41  SentrySdkInfo.h
.rw-r--r--   653 dano 26 Nov 10:41  SentrySwift.h

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Resources:
Permissions Size User Date Modified Name
.rw-r--r--  2.1k dano 26 Nov 10:41  PrivacyInfo.xcprivacy

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/_CodeSignature:
Permissions Size User Date Modified Name
.rw-r--r--   14k dano 26 Nov 10:41  CodeResources

/Applications/Warp.app/Contents/MacOS:

/Applications/Warp.app/Contents/Resources:
Permissions Size User Date Modified Name
.rw-r--r--  676k dano 26 Nov 10:41  Warp.icns

/Applications/Warp.app/Contents/_CodeSignature:
Permissions Size User Date Modified Name
.rw-r--r--  2.9k dano 26 Nov 10:41  CodeResources

@SeseMueller
Copy link

I got the same problem, but it is caused by the /Applications/Warp.app folder not having any content. All the required folders are there, but they're all empty.

It might be caused by low disk space; I have about 20GB free according to finder.

After renaming the old Warp and reinstalling with brew and updating that, it works again and even loaded my sessions I had before it corrupted.

@GrungeElFz
Copy link

Same for me.

  • Installed this current update.
  • Warp application was exited automatically.
  • Warp application did not re-open automatically as usual.
  • Manually opened Warp application.
  • Received this message:
    You can’t open the application “Warp” because it may be damaged or incomplete.

Solution:

Run

brew install --cask warp
==> Upgrading 1 outdated package:
warp 0.2024.11.05.08.02.stable_02 -> 0.2024.11.19.08.02.stable_03
==> Upgrading warp
==> Downloading https://app.warp.dev/download/brew?version=v0.2024.11.19.08.02.stable_03
==> Downloading from https://releases.warp.dev/stable/v0.2024.11.19.08.02.stable_03/Warp.dmg
 #  #    #     #                                                                         -=O=-                                                        
==> Backing App 'Warp.app' up to '/opt/homebrew/Caskroom/warp/0.2024.11.05.08.02.stable_02/Warp.app'
==> Removing App '/Applications/Warp.app'
==> Moving App 'Warp.app' to '/Applications/Warp.app'
==> Purging files for version 0.2024.11.05.08.02.stable_02 of Cask warp
🍺  warp was successfully upgraded!
  • Re-opened Warp application.
  • The last session before the update is resumed automatically.

@bnavetta
Copy link

bnavetta commented Dec 2, 2024

Please let us know if this happens again (i.e. when updating from v0.2024.11.19.08.02.stable_01 to a newer version), so we can confirm if the autoupdate changes are working as intended.

Uninstalling or reinstalling should preserve your history and opened sessions - that's stored separately from the app itself. The exception would be something like brew uninstall --zap warp, where the --zap flag also deletes saved history.

@SilentGlasses
Copy link

❯ codesign --display --verbose=4 /Applications/Warp.app
/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable
❯ codesign --verify --verbose=4 /Applications/Warp.app
/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable
❯ codesign --verify --verbose=4 /Applications/Warp.app/Contents/MacOS/stable
/Applications/Warp.app/Contents/MacOS/stable: No such file or directory
❯ ls -lahR /Applications/Warp.app
/Applications/Warp.app:
total 0
drwxr-xr-x  3 silentglasses   96 Dec  3 22:02 .
drwxrwxr-x 34 root     1.1K Dec  3 22:09 ..
drwxr-xr-x  6 silentglasses  192 Dec  3 22:02 Contents

/Applications/Warp.app/Contents:
total 0
drwxr-xr-x 6 silentglasses 192 Dec  3 22:02 .
drwxr-xr-x 3 silentglasses  96 Dec  3 22:02 ..
drwxr-xr-x 3 silentglasses  96 Dec  3 22:02 Frameworks
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 MacOS
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 Resources
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 _CodeSignature

/Applications/Warp.app/Contents/Frameworks:
total 0
drwxr-xr-x 3 silentglasses  96 Dec  3 22:02 .
drwxr-xr-x 6 silentglasses 192 Dec  3 22:02 ..
drwxr-xr-x 8 silentglasses 256 Dec  3 22:02 Sentry.framework

/Applications/Warp.app/Contents/Frameworks/Sentry.framework:
total 0
drwxr-xr-x 8 silentglasses 256 Dec  3 22:02 .
drwxr-xr-x 3 silentglasses  96 Dec  3 22:02 ..
lrwxr-xr-x 1 silentglasses  24 Dec  3 22:02 Headers -> Versions/Current/Headers
lrwxr-xr-x 1 silentglasses  24 Dec  3 22:02 Modules -> Versions/Current/Modules
lrwxr-xr-x 1 silentglasses  31 Dec  3 22:02 PrivateHeaders -> Versions/Current/PrivateHeaders
lrwxr-xr-x 1 silentglasses  26 Dec  3 22:02 Resources -> Versions/Current/Resources
lrwxr-xr-x 1 silentglasses  23 Dec  3 22:02 Sentry -> Versions/Current/Sentry
drwxr-xr-x 4 silentglasses 128 Dec  3 22:02 Versions

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions:
total 0
drwxr-xr-x 4 silentglasses 128 Dec  3 22:02 .
drwxr-xr-x 8 silentglasses 256 Dec  3 22:02 ..
drwxr-xr-x 7 silentglasses 224 Dec  3 22:02 A
lrwxr-xr-x 1 silentglasses   1 Dec  3 22:02 Current -> A

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A:
total 0
drwxr-xr-x 7 silentglasses 224 Dec  3 22:02 .
drwxr-xr-x 4 silentglasses 128 Dec  3 22:02 ..
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 Headers
drwxr-xr-x 3 silentglasses  96 Dec  3 22:02 Modules
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 PrivateHeaders
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 Resources
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 _CodeSignature

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Headers:
total 0
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 .
drwxr-xr-x 7 silentglasses 224 Dec  3 22:02 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Modules:
total 0
drwxr-xr-x 3 silentglasses  96 Dec  3 22:02 .
drwxr-xr-x 7 silentglasses 224 Dec  3 22:02 ..
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 Sentry.swiftmodule

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Modules/Sentry.swiftmodule:
total 0
drwxr-xr-x 2 silentglasses 64 Dec  3 22:02 .
drwxr-xr-x 3 silentglasses 96 Dec  3 22:02 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/PrivateHeaders:
total 0
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 .
drwxr-xr-x 7 silentglasses 224 Dec  3 22:02 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Resources:
total 0
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 .
drwxr-xr-x 7 silentglasses 224 Dec  3 22:02 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/_CodeSignature:
total 0
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 .
drwxr-xr-x 7 silentglasses 224 Dec  3 22:02 ..

/Applications/Warp.app/Contents/MacOS:
total 0
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 .
drwxr-xr-x 6 silentglasses 192 Dec  3 22:02 ..

/Applications/Warp.app/Contents/Resources:
total 0
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 .
drwxr-xr-x 6 silentglasses 192 Dec  3 22:02 ..

/Applications/Warp.app/Contents/_CodeSignature:
total 0
drwxr-xr-x 2 silentglasses  64 Dec  3 22:02 .
drwxr-xr-x 6 silentglasses 192 Dec  3 22:02 ..

@SilentGlasses
Copy link

SilentGlasses commented Dec 4, 2024

I just update today Dec 2 2024 at about 10:30 PM CST.

So it looks like the update is actually wiping all the files that should be installed and only leaving directories...

❯ cd /Applications/Warp.app
❯ list
Permissions Size User     Date Modified Name
drwxr-xr-x@    - silentglasses  3 Dec 22:02   .
drwxr-xr-x     - silentglasses  3 Dec 22:02  └──  Contents
drwxr-xr-x     - silentglasses  3 Dec 22:02      ├──  _CodeSignature
drwxr-xr-x     - silentglasses  3 Dec 22:02      ├──  Frameworks
drwxr-xr-x     - silentglasses  3 Dec 22:02      │   └──  Sentry.framework
lrwxr-xr-x     - silentglasses  3 Dec 22:02      │       ├──  Headers -> Versions/Current/Headers
lrwxr-xr-x     - silentglasses  3 Dec 22:02      │       ├──  Modules -> Versions/Current/Modules
lrwxr-xr-x     - silentglasses  3 Dec 22:02      │       ├──  PrivateHeaders -> Versions/Current/PrivateHeaders
lrwxr-xr-x     - silentglasses  3 Dec 22:02      │       ├──  Resources -> Versions/Current/Resources
lrwxr-xr-x     - silentglasses  3 Dec 22:02      │       ├──  Sentry -> Versions/Current/Sentry
drwxr-xr-x     - silentglasses  3 Dec 22:02      │       └──  Versions
drwxr-xr-x     - silentglasses  3 Dec 22:02      │           ├──  A
drwxr-xr-x     - silentglasses  3 Dec 22:02      │           │   ├──  _CodeSignature
drwxr-xr-x     - silentglasses  3 Dec 22:02      │           │   ├──  Headers
drwxr-xr-x     - silentglasses  3 Dec 22:02      │           │   ├──  Modules
drwxr-xr-x     - silentglasses  3 Dec 22:02      │           │   │   └──  Sentry.swiftmodule
drwxr-xr-x     - silentglasses  3 Dec 22:02      │           │   ├──  PrivateHeaders
drwxr-xr-x     - silentglasses  3 Dec 22:02      │           │   └──  Resources
lrwxr-xr-x     - silentglasses  3 Dec 22:02      │           └──  Current -> A
drwxr-xr-x     - silentglasses  3 Dec 22:02      ├──  MacOS
drwxr-xr-x     - silentglasses  3 Dec 22:02      └──  Resources

@SilentGlasses
Copy link

For those interested.... What the warp.app tree should look like...

❯ list
Permissions Size User     Date Modified Name
drwxr-xr-x@    - silentglasses 26 Nov 18:23   .
drwxr-xr-x@    - silentglasses 26 Nov 18:23  └──  Contents
drwxr-xr-x@    - silentglasses 26 Nov 18:23      ├──  _CodeSignature
.rw-r--r--@ 2.9k silentglasses 26 Nov 18:23      │   └──  CodeResources
drwxr-xr-x@    - silentglasses 26 Nov 18:23      ├──  Frameworks
drwxr-xr-x@    - silentglasses 26 Nov 18:23      │   └──  Sentry.framework
lrwxr-xr-x     - silentglasses 26 Nov 18:23      │       ├──  Headers -> Versions/Current/Headers
lrwxr-xr-x     - silentglasses 26 Nov 18:23      │       ├──  Modules -> Versions/Current/Modules
lrwxr-xr-x     - silentglasses 26 Nov 18:23      │       ├──  PrivateHeaders -> Versions/Current/PrivateHeaders
lrwxr-xr-x     - silentglasses 26 Nov 18:23      │       ├──  Resources -> Versions/Current/Resources
lrwxr-xr-x     - silentglasses 26 Nov 18:23      │       ├──  Sentry -> Versions/Current/Sentry
drwxr-xr-x@    - silentglasses 26 Nov 18:23      │       └──  Versions
drwxr-xr-x@    - silentglasses 26 Nov 18:23      │           ├──  A
drwxr-xr-x@    - silentglasses 26 Nov 18:23      │           │   ├──  _CodeSignature
.rw-r--r--@  14k silentglasses 26 Nov 18:23      │           │   │   └──  CodeResources
drwxr-xr-x@    - silentglasses 26 Nov 18:23      │           │   ├──  Headers
.rw-r--r--@  80k silentglasses 26 Nov 18:23      │           │   │   ├──  Sentry-Swift.h
.rw-r--r--@ 1.9k silentglasses 26 Nov 18:23      │           │   │   ├──  Sentry.h
.rw-r--r--@ 2.9k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryAttachment.h
.rw-r--r--@ 2.1k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryBaggage.h
.rw-r--r--@ 1.3k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryBreadcrumb.h
.rw-r--r--@ 4.0k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryClient.h
.rw-r--r--@  614 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryCrashExceptionApplication.h
.rw-r--r--@ 3.9k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryDebugImageProvider.h
.rw-r--r--@ 2.3k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryDebugMeta.h
.rw-r--r--@ 6.3k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryDefines.h
.rw-r--r--@  403 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryDsn.h
.rw-r--r--@  904 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryEnvelopeItemHeader.h
.rw-r--r--@ 1.1k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryError.h
.rw-r--r--@ 5.2k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryEvent.h
.rw-r--r--@ 1.1k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryException.h
.rw-r--r--@ 1.8k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryFrame.h
.rw-r--r--@  891 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryGeo.h
.rw-r--r--@  713 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryHttpStatusCodeRange.h
.rw-r--r--@ 9.1k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryHub.h
.rw-r--r--@ 4.4k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryMeasurementUnit.h
.rw-r--r--@ 1.7k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryMechanism.h
.rw-r--r--@ 1.2k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryMechanismMeta.h
.rw-r--r--@ 1.3k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryMessage.h
.rw-r--r--@  704 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryNSError.h
.rw-r--r--@  30k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryOptions.h
.rw-r--r--@  423 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryProfilingConditionals.h
.rw-r--r--@  985 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryRequest.h
.rw-r--r--@  418 silentglasses 26 Nov 18:23      │           │   │   ├──  SentrySampleDecision.h
.rw-r--r--@ 1.0k silentglasses 26 Nov 18:23      │           │   │   ├──  SentrySamplingContext.h
.rw-r--r--@ 4.2k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryScope.h
.rw-r--r--@  15k silentglasses 26 Nov 18:23      │           │   │   ├──  SentrySDK.h
.rw-r--r--@  416 silentglasses 26 Nov 18:23      │           │   │   ├──  SentrySerializable.h
.rw-r--r--@ 3.3k silentglasses 26 Nov 18:23      │           │   │   ├──  SentrySpanContext.h
.rw-r--r--@  803 silentglasses 26 Nov 18:23      │           │   │   ├──  SentrySpanId.h
.rw-r--r--@ 5.1k silentglasses 26 Nov 18:23      │           │   │   ├──  SentrySpanProtocol.h
.rw-r--r--@ 4.1k silentglasses 26 Nov 18:23      │           │   │   ├──  SentrySpanStatus.h
.rw-r--r--@ 1.1k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryStacktrace.h
.rw-r--r--@  947 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryThread.h
.rw-r--r--@ 3.4k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryTraceContext.h
.rw-r--r--@  938 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryTraceHeader.h
.rw-r--r--@ 2.2k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryTransactionContext.h
.rw-r--r--@ 1.5k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryUser.h
.rw-r--r--@  917 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryUserFeedback.h
.rw-r--r--@ 2.4k silentglasses 26 Nov 18:23      │           │   │   └──  SentryWithoutUIKit.h
drwxr-xr-x@    - silentglasses 26 Nov 18:23      │           │   ├──  Modules
.rw-r--r--@  166 silentglasses 26 Nov 18:23      │           │   │   ├──  module.modulemap
drwxr-xr-x@    - silentglasses 26 Nov 18:23      │           │   │   └──  Sentry.swiftmodule
.rw-r--r--@ 162k silentglasses 26 Nov 18:23      │           │   │       ├──  arm64-apple-macos.abi.json
.rw-r--r--@ 5.1k silentglasses 26 Nov 18:23      │           │   │       ├──  arm64-apple-macos.private.swiftinterface
.rw-r--r--@ 9.4k silentglasses 26 Nov 18:23      │           │   │       ├──  arm64-apple-macos.swiftdoc
.rw-r--r--@ 5.1k silentglasses 26 Nov 18:23      │           │   │       ├──  arm64-apple-macos.swiftinterface
.rw-r--r--@ 207k silentglasses 26 Nov 18:23      │           │   │       ├──  arm64-apple-macos.swiftmodule
.rw-r--r--@ 162k silentglasses 26 Nov 18:23      │           │   │       ├──  x86_64-apple-macos.abi.json
.rw-r--r--@ 5.1k silentglasses 26 Nov 18:23      │           │   │       ├──  x86_64-apple-macos.private.swiftinterface
.rw-r--r--@ 9.4k silentglasses 26 Nov 18:23      │           │   │       ├──  x86_64-apple-macos.swiftdoc
.rw-r--r--@ 5.1k silentglasses 26 Nov 18:23      │           │   │       ├──  x86_64-apple-macos.swiftinterface
.rw-r--r--@ 207k silentglasses 26 Nov 18:23      │           │   │       └──  x86_64-apple-macos.swiftmodule
drwxr-xr-x@    - silentglasses 26 Nov 18:23      │           │   ├──  PrivateHeaders
.rw-r--r--@ 6.9k silentglasses 26 Nov 18:23      │           │   │   ├──  PrivateSentrySDKOnly.h
.rw-r--r--@  455 silentglasses 26 Nov 18:23      │           │   │   ├──  PrivatesHeader.h
.rw-r--r--@ 2.9k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryAppStartMeasurement.h
.rw-r--r--@  170 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryAsynchronousOperation.h
.rw-r--r--@  317 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryAutoSessionTrackingIntegration.h
.rw-r--r--@  646 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryCrashInstallationReporter.h
.rw-r--r--@  517 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryCrashReportConverter.h
.rw-r--r--@  515 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryCrashReportSink.h
.rw-r--r--@  238 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryDateUtils.h
.rw-r--r--@ 4.9k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryEnvelope.h
.rw-r--r--@  811 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryEnvelopeItemType.h
.rw-r--r--@ 2.3k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryLog.h
.rw-r--r--@  584 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryNSDataUtils.h
.rw-r--r--@  160 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryNSDictionarySanitize.h
.rw-r--r--@  364 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryOptions+HybridSDKs.h
.rw-r--r--@  591 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryOptions+Private.h
.rw-r--r--@  442 silentglasses 26 Nov 18:23      │           │   │   ├──  SentryRequestOperation.h
.rw-r--r--@ 2.5k silentglasses 26 Nov 18:23      │           │   │   ├──  SentryScreenFrames.h
.rw-r--r--@ 1.4k silentglasses 26 Nov 18:23      │           │   │   ├──  SentrySDK+Private.h
.rw-r--r--@ 1.1k silentglasses 26 Nov 18:23      │           │   │   ├──  SentrySdkInfo.h
.rw-r--r--@  653 silentglasses 26 Nov 18:23      │           │   │   └──  SentrySwift.h
drwxr-xr-x@    - silentglasses 26 Nov 18:23      │           │   ├──  Resources
.rw-r--r--@ 1.3k silentglasses 26 Nov 18:23      │           │   │   ├──  Info.plist
.rw-r--r--@ 2.1k silentglasses 26 Nov 18:23      │           │   │   └──  PrivacyInfo.xcprivacy
.rwxr-xr-x@ 4.7M silentglasses 26 Nov 18:23      │           │   └──  Sentry
lrwxr-xr-x     - silentglasses 26 Nov 18:23      │           └──  Current -> A
.rw-r--r--@ 4.1k silentglasses 26 Nov 18:23      ├──  Info.plist
drwxr-xr-x@    - silentglasses 26 Nov 18:23      ├──  MacOS
.rwxr-xr-x@ 274M silentglasses 26 Nov 18:23      │   └──  stable
drwxr-xr-x@    - silentglasses 26 Nov 18:23      └──  Resources
.rw-r--r--@ 676k silentglasses 26 Nov 18:23          └──  Warp.icns

@bnavetta
Copy link

bnavetta commented Dec 4, 2024

So it looks like the update is actually wiping all the files that should be installed and only leaving directories...

Yeah, unfortunately by the time Warp tries to restart into the new version, it's too late to tell how it got corrupted. We've made some changes to:

  1. Prevent switching to a corrupted new version
  2. Report more info about what went wrong

Since it's an autoupdate issue though, we need those changes to be in the version of Warp you're updating from (i.e. v0.2024.11.19.08.02.stable_03). I was a bit premature on the last comment; the current release is the one with these changes - we should be able to make progress here after the next update goes out! In the meantime, thanks for bearing with us and please reinstall if needed

@dannyneira dannyneira pinned this issue Dec 4, 2024
@qazi0
Copy link

qazi0 commented Dec 9, 2024

Happened to me today, for the 2nd time. Last time I thought I messed something up myself so I just reinstalled and continued to work
But clicking Update today again broke it

codesign --display --verbose=4 /Applications/Warp.app

gives me

/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable

Running brew reinstall warp also fails with

Error: It seems there is already an App at '/Applications/Warp.app'.

maybe because I installed Warp via the dmg and not via brew. Manually deleting /Applications/Warp.app and then installing works, and installs v0.2024.12.03.08.02.stable_04 as of Mon Dec 9 2024 5:43 PM PKT

on M1 Pro MBP, Sequoia 15.1.1

@qazi0
Copy link

qazi0 commented Dec 9, 2024

@qazi0 when this happened to you today, do you happen to know which version of Warp was installed before the failed update?

I'm not sure where can I get that info now considering I didn't make a record of the current installed version before I clicked update from the top right on the title bar and it nuked the installation, and as of now I've already deleted the previous /Application/Warp.app and installed the fresh version on top of it

I checked System Information > Software > Installations, checked /Library/Receipts, /var/db/receipts, /private/var/log/install.log and a couple other places in hopes of finding somewhat of an install version log to see what version was previously installed, but I can't find it
If I have to guess, since I pretty frequently update Warp when I see that orange button, it has to be between the last version before the latest (v0.2024.12.03.08.02.stable_04) or at max two versions before it
Let me know if I can help any further

@briben
Copy link

briben commented Dec 9, 2024

I had the same issue when updating to latest available version v0.2024.12.03.08.02.stable_04
After updating using the app's "Update Warp" button, the Warp desktop icon is missing and MacOS complains that the app is "broken" when trying to launch.
I reinstalled from previous .dmg file before I could test the commands above.

CPU: Apple M3 Pro
MacOS: 14.7.1 (23H222)
Warp current version: v0.2024.11.19.08.02.stable_03
Warp update version:  v0.2024.12.03.08.02.stable_04

@bnavetta
Copy link

bnavetta commented Dec 9, 2024

Thanks for those updates! If you got into that state while updating from v0.2024.11.19.08.02.stable_03, the changes we made might not be working as intended 😕

If you can, it would be super helpful if you could:

  1. Reinstall the previous release from https://storage.googleapis.com/warp-releases/stable/v0.2024.11.19.08.02.stable_03/Warp.dmg
  2. Let it autoupdate to v0.2024.12.03.08.02.stable_04
  3. Let me know if that succeeded or failed, and upload your logs from ~/Library/Logs/warp.log` (either here, or you can send them to [email protected])

@qazi0
Copy link

qazi0 commented Dec 9, 2024

Thanks for those updates! If you got into that state while updating from v0.2024.11.19.08.02.stable_03, the changes we made might not be working as intended 😕

If you can, it would be super helpful if you could:

  1. Reinstall the previous release from https://storage.googleapis.com/warp-releases/stable/v0.2024.11.19.08.02.stable_03/Warp.dmg
  2. Let it autoupdate to v0.2024.12.03.08.02.stable_04
  3. Let me know if that succeeded or failed, and upload your logs from ~/Library/Logs/warp.log` (either here, or you can send them to [email protected])

It works! Was able to successfully update from v0.2024.11.19.08.02.stable_03
So I guess I had an older version

@bnavetta
Copy link

bnavetta commented Dec 9, 2024

Thanks for trying that out!

@EmilMalanczak
Copy link

Same for me.

  • Installed this current update.
  • Warp application was exited automatically.
  • Warp application did not re-open automatically as usual.
  • Manually opened Warp application.
  • Received this message:
    You can’t open the application “Warp” because it may be damaged or incomplete.

Solution:

Run

brew install --cask warp
==> Upgrading 1 outdated package:
warp 0.2024.11.05.08.02.stable_02 -> 0.2024.11.19.08.02.stable_03
==> Upgrading warp
==> Downloading https://app.warp.dev/download/brew?version=v0.2024.11.19.08.02.stable_03
==> Downloading from https://releases.warp.dev/stable/v0.2024.11.19.08.02.stable_03/Warp.dmg
 #  #    #     #                                                                         -=O=-                                                        
==> Backing App 'Warp.app' up to '/opt/homebrew/Caskroom/warp/0.2024.11.05.08.02.stable_02/Warp.app'
==> Removing App '/Applications/Warp.app'
==> Moving App 'Warp.app' to '/Applications/Warp.app'
==> Purging files for version 0.2024.11.05.08.02.stable_02 of Cask warp
🍺  warp was successfully upgraded!
  • Re-opened Warp application.
  • The last session before the update is resumed automatically.

I can confirm that it worked. After the update, Warp closed, and I encountered this error upon reopening it:

you can’t open the application “warp” because it may be damaged or incomplete. 

I had to remove Warp from Applications first but after reinstall everything got restored (even opened tabs before crash)

@mtrisic
Copy link

mtrisic commented Dec 11, 2024

Just happened again :-(
My Warp became corrupted on 5th of december (during the update process), and I have downloaded a dmg file from the website and reinstalled it. Dmg url was: https://releases.warp.dev/stable/v0.2024.11.19.08.02.stable_03/Warp.dmg (version in the file name, I god the link on https://www.warp.dev/, "Download for Mac" button). I installed this dmg file and used Warp until today.

Today, warp found a new update and I tried updating, it broke during the update again. Now app's Contents folder contains several empty folders, and nothing more.

I'm running macOS 15.1 (24B83) on M1 Pro. codesign does not recognize an executable:

codesign --display --verbose=4 /Applications/Warp.app
/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable

@bnavetta
Copy link

Thanks for reporting @mtrisic. Could you upload or send me your Warp logs? They should be in ~/Library/Logs/warp.log, ~/Library/Logs/warp.log.old.0, ~/Library/Logs/warp.log.old.1, and so on - the error information should be in the logfile from just before you updated Warp.

@mtrisic
Copy link

mtrisic commented Dec 11, 2024

@bnavetta here are the logs:

2024-12-11T12:39:00Z [INFO] Checking for update on channel stable_release. Update id is TxnBDUn
2024-12-11T12:39:00Z [INFO] Fetching channel versions (without changelogs) from Warp server
2024-12-11T12:39:00Z [INFO] Received channel versions from Warp server: dev: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.11.08.02.dev_00", update_by: None, soft_cutoff: Some("v0.2023.05.12.08.03.dev_00") }, overrides: [] }; preview: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.11.08.02.preview_00", update_by: None, soft_cutoff: None }, overrides: [] }; canary: ChannelVersion { version_info: VersionInfo { version: "v0.2022.09.29.08.08.canary_00", update_by: None, soft_cutoff: None }, overrides: [] }; beta: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.11.08.02.beta_00", update_by: None, soft_cutoff: None }, overrides: [] }; stable: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.03.08.02.stable_04", update_by: None, soft_cutoff: Some("v0.2024.11.18.16.37.stable_01") }, overrides: [] }
2024-12-11T12:39:00Z [INFO] Update ready for channel version VersionInfo { version: "v0.2024.12.03.08.02.stable_04", update_by: None, soft_cutoff: Some("v0.2024.11.18.16.37.stable_01") }
2024-12-11T12:43:09Z [INFO] fetching teams metadata
2024-12-11T12:43:21Z [WARN] redraw_frame was called 2 times before the frame was drawn
2024-12-11T12:43:39Z [INFO] application did become active
2024-12-11T12:43:39Z [INFO] Checking for update on channel stable_release. Update id is S5NwO36
2024-12-11T12:43:39Z [INFO] Fetching channel versions (without changelogs) from Warp server
2024-12-11T12:43:39Z [INFO] active window changed: Some(WindowId(0))
2024-12-11T12:43:39Z [INFO] dispatching global action for root_view:update_quake_mode_state
2024-12-11T12:43:39Z [INFO] dispatching global action for workspace:save_app
2024-12-11T12:43:39Z [INFO] Received channel versions from Warp server: dev: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.11.08.02.dev_00", update_by: None, soft_cutoff: Some("v0.2023.05.12.08.03.dev_00") }, overrides: [] }; preview: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.11.08.02.preview_00", update_by: None, soft_cutoff: None }, overrides: [] }; canary: ChannelVersion { version_info: VersionInfo { version: "v0.2022.09.29.08.08.canary_00", update_by: None, soft_cutoff: None }, overrides: [] }; beta: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.11.08.02.beta_00", update_by: None, soft_cutoff: None }, overrides: [] }; stable: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.03.08.02.stable_04", update_by: None, soft_cutoff: Some("v0.2024.11.18.16.37.stable_01") }, overrides: [] }
2024-12-11T12:43:41Z [INFO] dispatching typed action: KeyDown
2024-12-11T12:43:41Z [INFO] Received CommandFinished hook
2024-12-11T12:43:41Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-11T12:43:41Z [INFO] Block finished with new state DoneWithExecution
2024-12-11T12:43:41Z [WARN] redraw_frame was called 3 times before the frame was drawn
2024-12-11T12:43:41Z [INFO] dispatching typed action: HandleFocusChange
2024-12-11T12:43:41Z [INFO] Received Precmd hook
2024-12-11T12:43:41Z [WARN] redraw_frame was called 3 times before the frame was drawn
2024-12-11T12:43:41Z [INFO] Received InputBuffer hook
2024-12-11T12:43:42Z [INFO] notifying view observers and updating windows for timer id 15
2024-12-11T12:43:42Z [WARN] redraw_frame was called 2 times before the frame was drawn
2024-12-11T12:43:43Z [INFO] dispatching typed action: ToggleTabBarOverflowMenu
2024-12-11T12:43:44Z [INFO] dispatching typed action: Close(true)
2024-12-11T12:43:44Z [INFO] dispatching typed action: ApplyUpdate
2024-12-11T12:43:44Z [INFO] dispatching typed action: Select(Index { row: 1, item: 0 })
2024-12-11T12:43:44Z [WARN] redraw_frame was called 2 times before the frame was drawn
2024-12-11T12:43:44Z [INFO] application will terminate
2024-12-11T12:43:44Z [INFO] Shutting down SQLite writer thread
2024-12-11T12:43:44Z [INFO] Shut down SQLite writer in 2.422917ms
2024-12-11T12:43:44Z [INFO] Writing queued events to disk because telemetry is enabled.
2024-12-11T12:43:44Z [INFO] Successfully wrote telemetry events to disk
2024-12-11T12:43:44Z [INFO] Tearing down terminal server...
2024-12-11T12:43:44Z [INFO] Received empty message; assuming the connection has been closed.
2024-12-11T12:43:44Z [INFO] Tearing down app services...
2024-12-11T12:43:44Z [INFO] Copying app contents from "/var/folders/b3/r9qd080x05d1rbks48rydwjm0000gn/T/1pOyOWz/Warp(v0.2024.12.03.08.02.stable_04).app" to "/Applications"
2024-12-11T12:43:44Z [INFO] Renaming new app to original app name
2024-12-11T12:43:44Z [INFO] Moving old executable at path "/Applications/Warp(v0.2024.12.03.08.02.stable_04).app/Contents/MacOS/stable" into user application data dir at path "/Users/mladen/Library/Application Support/dev.warp.Warp-Stable/old"
2024-12-11T12:43:44Z [INFO] Removing old app from disk
2024-12-11T12:43:44Z [INFO] Setting installed version to VersionInfo { version: "v0.2024.12.03.08.02.stable_04", update_by: None, soft_cutoff: Some("v0.2024.11.18.16.37.stable_01") }
2024-12-11T12:43:44Z [INFO] Attempting to detach dmg with command ""/usr/bin/hdiutil detach /Volumes/1pOyOWz -force""
2024-12-11T12:43:45Z [INFO] hdiutil result: Output { status: ExitStatus(unix_wait_status(0)), stdout: "\"disk15\" ejected.\n", stderr: "" }
2024-12-11T12:43:45Z [INFO] Cleaning up download dir "/var/folders/b3/r9qd080x05d1rbks48rydwjm0000gn/T/1pOyOWz"
2024-12-11T12:43:45Z [INFO] Successfully applied the changes
2024-12-11T12:43:45Z [INFO] Executing relaunch command "while ps -p 38869 >/dev/null 2>&1; do sleep 0.2; done; /usr/bin/open -n /Applications/Warp.app --args --finish-update"
2024-12-11T12:43:45Z [INFO] Terminating app for relaunch. Bye!
2024-12-11T12:43:45Z [INFO] Uninitializing crash reporting...
2024-12-11T12:43:45Z [INFO] WindowId(0) will close
2024-12-11T12:43:45Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-11T12:43:45Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-11T12:43:45Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-11T12:43:45Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-11T12:43:45Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-11T12:43:45Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-11T12:43:45Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-11T12:43:45Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-11T12:43:45Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-11T12:43:45Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-11T12:43:45Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-11T12:43:45Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-11T12:43:45Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-11T12:43:45Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-11T12:43:45Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-11T12:43:45Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-11T12:43:45Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-11T12:43:45Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-11T12:43:45Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-11T12:43:45Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-11T12:43:45Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-11T12:43:45Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-11T12:43:45Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-11T12:43:45Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-11T12:43:45Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-11T12:43:45Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-11T12:43:45Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-11T12:43:45Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-11T12:43:45Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-11T12:43:45Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-11T12:43:45Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-11T12:43:45Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-11T12:43:45Z [INFO] Block finished with new state DoneWithNoExecution

@bnavetta
Copy link

@mtrisic that's very helpful, thank you!

Is there a line at the beginning of the file that looks something like this?

2024-12-10T16:03:29Z [INFO] Starting warp with channel state ChannelState { ... } and version Some("v0.2024.12.03.08.02.stable_04")

If there are any lines like this, those parts would be helpful as well:

[INFO] Attempting to mount dmg with command
[INFO] hdiutil result: Output
[INFO] Copying dmg contents from

@mtrisic
Copy link

mtrisic commented Dec 11, 2024

Not from today, but from the old run:

1:

2024-12-05T15:12:03Z [INFO] Starting warp with channel state ChannelState { channel: Stable, app_id: AppId { qualifier: "dev", organization: "warp", application_name: "Warp-Stable" }, additional_features: {}, firebase_api_key: "AIzaSyBdy3O3S9hrdayLJxJ7mriBR4qgUaUygAs", server_root_url: "https://app.warp.dev", ws_server_url: "wss://rtc.app.warp.dev/graphql", session_sharing_server_url: Some("wss://sessions.app.warp.dev"), rudderstack_write_key: "2iyG8S1RaV4XTX6SEypetFSEbLK", rudderstack_root_url: "https://warpianwzlfqdq.dataplane.rudderstack.com", releases_base_url: "https://releases.warp.dev", sentry_url: "https://[email protected]/5658526", logfile_name: "warp.log", show_autoupdate_menu_items: true } and version Some("v0.2024.11.19.08.02.stable_03")

2:

2024-12-06T12:20:54Z [INFO] application can reach internet
2024-12-06T12:20:54Z [INFO] fetching updated cloud objects, including generic string objects
2024-12-06T12:20:54Z [INFO] fetching teams metadata
2024-12-06T12:20:56Z [WARN] redraw_frame was called 2 times before the frame was drawn
2024-12-06T12:21:05Z [INFO] Checking for update on channel stable_release. Update id is 1pOyOWz
2024-12-06T12:21:05Z [INFO] Fetching channel versions (without changelogs) from Warp server
2024-12-06T12:21:05Z [INFO] Received channel versions from Warp server: dev: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.06.08.02.dev_00", update_by: None, soft_cutoff: Some("v0.2023.05.12.08.03.dev_00") }, overrides: [] }; preview: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.06.08.02.preview_00", update_by: None, soft_cutoff: None }, overrides: [] }; canary: ChannelVersion { version_info: VersionInfo { version: "v0.2022.09.29.08.08.canary_00", update_by: None, soft_cutoff: None }, overrides: [] }; beta: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.03.08.02.beta_00", update_by: None, soft_cutoff: None }, overrides: [] }; stable: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.03.08.02.stable_04", update_by: None, soft_cutoff: Some("v0.2024.11.18.16.37.stable_01") }, overrides: [] }
2024-12-06T12:21:05Z [INFO] App has writeabality
2024-12-06T12:21:05Z [INFO] Writing a tmp file to determine if permissions are correct
2024-12-06T12:21:05Z [INFO] Downloading update, version v0.2024.12.03.08.02.stable_04 on channel stable_release
2024-12-06T12:21:05Z [INFO] Creating download dir "/var/folders/b3/r9qd080x05d1rbks48rydwjm0000gn/T/1pOyOWz"
2024-12-06T12:21:05Z [INFO] Fetching new dmg at https://releases.warp.dev/stable/v0.2024.12.03.08.02.stable_04/Warp.dmg
2024-12-06T12:21:25Z [INFO] Wrote DMG to tempfile at "/var/folders/b3/r9qd080x05d1rbks48rydwjm0000gn/T/1pOyOWz/v0.2024.12.03.08.02.stable_04.Warp.dmg"
2024-12-06T12:21:25Z [INFO] Attempting to mount dmg with command ""/usr/bin/hdiutil attach -mountpoint /Volumes/1pOyOWz -nobrowse -noautoopen /var/folders/b3/r9qd080x05d1rbks48rydwjm0000gn/T/1pOyOWz/v0.2024.12.03.08.02.stable_04.Warp.dmg""
2024-12-06T12:21:27Z [INFO] hdiutil result: Output { status: ExitStatus(unix_wait_status(0)), stdout: "Checksumming Protective Master Boot Record (MBR : 0)…\nProtective Master Boot Record (MBR :: verified   CRC32 $C9149835\nChecksumming GPT Header (Primary GPT Header : 1)…\n GPT Header (Primary GPT Header : 1): verified   CRC32 $687308F7\nChecksumming GPT Partition Data (Primary GPT Table : 2)…\nGPT Partition Data (Primary GPT Tabl: verified   CRC32 $30BDB527\nChecksumming  (Apple_Free : 3)…\n                    (Apple_Free : 3): verified   CRC32 $00000000\nChecksumming disk image (Apple_HFS : 4)…\n          disk image (Apple_HFS : 4): verified   CRC32 $4539688C\nChecksumming GPT Partition Data (Backup GPT Table : 5)…\nGPT Partition Data (Backup GPT Table: verified   CRC32 $30BDB527\nChecksumming GPT Header (Backup GPT Header : 6)…\n  GPT Header (Backup GPT Header : 6): verified   CRC32 $EF2FB5EA\nverified   CRC32 $DAD66F3F\n/dev/disk15         \tGUID_partition_scheme          \t\n/dev/disk15s1       \tApple_HFS                      \t/Volumes/1pOyOWz\n", stderr: "" }
2024-12-06T12:21:27Z [INFO] Copying dmg contents from "/Volumes/1pOyOWz/Warp.app" to "/var/folders/b3/r9qd080x05d1rbks48rydwjm0000gn/T/1pOyOWz/Warp(v0.2024.12.03.08.02.stable_04).app"
2024-12-06T12:21:27Z [INFO] Update ready for channel version VersionInfo { version: "v0.2024.12.03.08.02.stable_04", update_by: None, soft_cutoff: Some("v0.2024.11.18.16.37.stable_01") }

@muescha
Copy link

muescha commented Dec 12, 2024

just as info update was working without error:

  • V0.2024.11.12.08.02.stable_02 (from)
  • v0.2024.12.03.08.02.stable_04 (to)

@dannyneira dannyneira unpinned this issue Dec 20, 2024
@dannyneira
Copy link
Member

Hey Folks, We've improved robustness of autoupdate process for Warp in MacOS in the most recent update. Note that if you're on an older version, you may still see the issue when updating to the latest version, but you should no longer see this issue going forward.

Closing as resolved, but please feel free to let us know if the issue persists in Warp version v0.2024.12.18.08.02 and above.

@mtrisic
Copy link

mtrisic commented Dec 23, 2024

Same issue happened again to me, now when upgrading from v0.2024.12.10.15.55.stable_03 to v0.2024.12.18.08.02.stable_03. Let's hope this is fixed from this version...

@briben
Copy link

briben commented Dec 23, 2024

I recently updated my MacOS to Sonoma 14.7.2
Warp updated to v0.2024.12.18.08.02.stable_03 and is now reporting as the most up-to-date version.
Currently it's stable.

@muescha
Copy link

muescha commented Jan 1, 2025

again I am in a state where I can not open warp.

here the info:

muescha@MacBook ~ % codesign --display --verbose=4 /Applications/Warp.app
/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable
muescha@MacBook ~ % codesign --verify --verbose=4 /Applications/Warp.app

/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable
muescha@MacBook ~ % codesign --verify --verbose=4 /Applications/Warp.app/Contents/MacOS/stable
/Applications/Warp.app/Contents/MacOS/stable: No such file or directory
muescha@MacBook ~ % ls -lah /Applications/Warp.app/*
Permissions Size User    Date Modified    Name
drwxr-xr-x@    - muescha 2024-12-25 14:02 _CodeSignature/
drwxr-xr-x@    - muescha 2024-12-25 14:02 Frameworks/
drwxr-xr-x@    - muescha 2024-12-25 14:02 MacOS/
drwxr-xr-x@    - muescha 2024-12-25 14:02 Resources/
muescha@MacBook ~ % ls -lahR /Applications/Warp.app
Permissions Size User    Date Modified    Name
drwxr-xr-x@    - muescha 2024-12-25 14:02 Contents/
/Applications/Warp.app/Contents:
Permissions Size User    Date Modified    Name
drwxr-xr-x@    - muescha 2024-12-25 14:02 _CodeSignature/
drwxr-xr-x@    - muescha 2024-12-25 14:02 Frameworks/
drwxr-xr-x@    - muescha 2024-12-25 14:02 MacOS/
drwxr-xr-x@    - muescha 2024-12-25 14:02 Resources/

/Applications/Warp.app/Contents/_CodeSignature:

/Applications/Warp.app/Contents/Frameworks:
Permissions Size User    Date Modified    Name
drwxr-xr-x@    - muescha 2024-12-25 14:02 Sentry.framework/

/Applications/Warp.app/Contents/Frameworks/Sentry.framework:
Permissions Size User    Date Modified    Name
lrwxr-xr-x@    - muescha 2024-12-25 14:02 Headers -> Versions/Current/Headers/
lrwxr-xr-x@    - muescha 2024-12-25 14:02 Modules -> Versions/Current/Modules/
lrwxr-xr-x@    - muescha 2024-12-25 14:02 PrivateHeaders -> Versions/Current/PrivateHeaders/
lrwxr-xr-x@    - muescha 2024-12-25 14:02 Resources -> Versions/Current/Resources/
drwxr-xr-x@    - muescha 2024-12-25 14:02 Versions/
lrwxr-xr-x@    - muescha 2024-12-25 14:02 Sentry -> Versions/Current/Sentry

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions:
Permissions Size User    Date Modified    Name
drwxr-xr-x@    - muescha 2024-12-25 14:02 A/
lrwxr-xr-x@    - muescha 2024-12-25 14:02 Current -> A/

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A:
Permissions Size User    Date Modified    Name
drwxr-xr-x@    - muescha 2024-12-25 14:02 _CodeSignature/
drwxr-xr-x@    - muescha 2024-12-25 14:02 Headers/
drwxr-xr-x@    - muescha 2024-12-25 14:02 Modules/
drwxr-xr-x@    - muescha 2024-12-25 14:02 PrivateHeaders/
drwxr-xr-x@    - muescha 2024-12-25 14:02 Resources/

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/_CodeSignature:

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Headers:

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Modules:
Permissions Size User    Date Modified    Name
drwxr-xr-x@    - muescha 2024-12-25 14:02 Sentry.swiftmodule/

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Modules/Sentry.swiftmodule:

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/PrivateHeaders:

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Resources:

/Applications/Warp.app/Contents/MacOS:

/Applications/Warp.app/Contents/Resources:
muescha@MacBook ~ % tree /Applications/Warp.app
/Applications/Warp.app
└── Contents
    ├── Frameworks
    │   └── Sentry.framework
    │       ├── Headers -> Versions/Current/Headers
    │       ├── Modules -> Versions/Current/Modules
    │       ├── PrivateHeaders -> Versions/Current/PrivateHeaders
    │       ├── Resources -> Versions/Current/Resources
    │       ├── Sentry -> Versions/Current/Sentry
    │       └── Versions
    │           ├── A
    │           │   ├── Headers
    │           │   ├── Modules
    │           │   │   └── Sentry.swiftmodule
    │           │   ├── PrivateHeaders
    │           │   ├── Resources
    │           │   └── _CodeSignature
    │           └── Current -> A
    ├── MacOS
    ├── Resources
    └── _CodeSignature

20 directories, 1 file
muescha@MacBook-Pro-M1 ~ % ll /Applications/Warp.app*
Permissions Size User    Date Modified    Name
drwxr-xr-x@    - muescha 2024-12-25 14:02 Contents/

@muescha
Copy link

muescha commented Jan 1, 2025

I have this logfiles:

muescha@MacBook ~ % ll ~/Library/Logs/warp.log*
Permissions    Size User    Date Modified    Name
.rw-r--r--@ 2550530 muescha 2024-12-25 14:02 /Users/muescha/Library/Logs/warp.log
.rw-r--r--@ 1122394 muescha 2024-12-21 01:09 /Users/muescha/Library/Logs/warp.log.old.0
.rw-r--r--@  727278 muescha 2024-12-19 16:25 /Users/muescha/Library/Logs/warp.log.old.1
.rw-r--r--@  213451 muescha 2024-12-18 15:16 /Users/muescha/Library/Logs/warp.log.old.2
.rw-r--r--@ 4237766 muescha 2024-12-18 11:32 /Users/muescha/Library/Logs/warp.log.old.3
.rw-r--r--@   85434 muescha 2024-12-11 08:48 /Users/muescha/Library/Logs/warp.log.old.4

@mtrisic that's very helpful, thank you!

Is there a line at the beginning of the file that looks something like this?

2024-12-10T16:03:29Z [INFO] Starting warp with channel state ChannelState { ... } and version Some("v0.2024.12.03.08.02.stable_04")

I have also only found snippets from older runs:

2024-12-21T00:11:05Z [INFO] Removing old executable file...
2024-12-21T00:11:09Z [INFO] Initializing crash reporting Some("mac_stable_release") with tag "v0.2024.12.10.15.55.stable_04"...
2024-12-21T00:11:09Z [INFO] Initializing Sentry for cocoa app with endpoint https://[email protected]/5658526
2024-12-21T00:11:09Z [INFO] Starting warp with channel state ChannelState { channel: Stable, app_id: AppId { qualifier: "dev", organization: "warp", application_name: "Warp-Stable" }, additional_features: {}, firebase_api_key: "AIzaSyBdy3O3S9hrdayLJxJ7mriBR4qgUaUygAs", server_root_url: "https://app.warp.dev", ws_server_url: "wss://rtc.app.warp.dev/graphql", session_sharing_server_url: Some("wss://sessions.app.warp.dev"), rudderstack_write_key: "2iyG8S1RaV4XTX6SEypetFSEbLK", rudderstack_root_url: "https://warpianwzlfqdq.dataplane.rudderstack.com", releases_base_url: "https://releases.warp.dev", sentry_url: "https://[email protected]/5658526", logfile_name: "warp.log", show_autoupdate_menu_items: true } and version Some("v0.2024.12.10.15.55.stable_04")
2024-12-21T00:11:09Z [INFO] Enabling use of lazy scene building
2024-12-21T00:11:10Z [INFO] Performance metrics collector started
2024-12-21T00:11:10Z [INFO] Initializing app services
2024-12-21T00:11:10Z [INFO] Start to send telemetry events to RudderStack

If there are any lines like this, those parts would be helpful as well:

[INFO] Attempting to mount dmg with command
[INFO] hdiutil result: Output
[INFO] Copying dmg contents from
2024-12-21T00:11:33Z [INFO] Received InputBuffer hook
2024-12-21T00:11:33Z [INFO] Received InputBuffer hook
2024-12-21T00:11:40Z [INFO] Start to send telemetry events to RudderStack
2024-12-21T00:11:40Z [INFO] Flushed telemetry events.
2024-12-21T00:11:40Z [INFO] Wrote DMG to tempfile at "/var/folders/r2/156gqyhn1cbclcxm8cf5bbsw0000gn/T/Z1x7jsR/v0.2024.12.18.08.02.stable_03.Warp.dmg"
2024-12-21T00:11:40Z [INFO] Attempting to mount dmg with command ""/usr/bin/hdiutil attach -mountpoint /Volumes/Z1x7jsR -nobrowse -noautoopen /var/folders/r2/156gqyhn1cbclcxm8cf5bbsw0000gn/T/Z1x7jsR/v0.2024.12.18.08.02.stable_03.Warp.dmg""
2024-12-21T00:12:10Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-21T00:12:10Z [INFO] Flushed telemetry events.
2024-12-21T00:12:36Z [INFO] notifying view observers and updating windows for timer id 0
2024-12-21T00:12:36Z [INFO] notifying view observers and updating windows for timer id 1
2024-12-21T00:12:40Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-21T00:12:40Z [INFO] Flushed telemetry events.
2024-12-21T00:12:52Z [INFO] hdiutil result: Output { status: ExitStatus(unix_wait_status(0)), stdout: "Prüfsumme für Protective Master Boot Record (MBR : 0) berechnen\u{a0}…\nProtective Master Boot Record (MBR :: Die überprüfte CRC32-Prüfsumme ist $ACD6FC49\nPrüfsumme für GPT Header (Primary GPT Header : 1) berechnen\u{a0}…\n GPT Header (Primary GPT Header : 1): Die überprüfte CRC32-Prüfsumme ist $03809B78\nPrüfsumme für GPT Partition Data (Primary GPT Table : 2) berechnen\u{a0}…\nGPT Partition Data (Primary GPT Tabl: Die überprüfte CRC32-Prüfsumme ist $87E1558A\nPrüfsumme für  (Apple_Free : 3) berechnen\u{a0}…\n                    (Apple_Free : 3): Die überprüfte CRC32-Prüfsumme ist $00000000\nPrüfsumme für disk image (Apple_HFS : 4) berechnen\u{a0}…\n          disk image (Apple_HFS : 4): Die überprüfte CRC32-Prüfsumme ist $9921D1E1\nPrüfsumme für  (Apple_Free : 5) berechnen\u{a0}…\n                    (Apple_Free : 5): Die überprüfte CRC32-Prüfsumme ist $00000000\nPrüfsumme für GPT Partition Data (Backup GPT Table : 6) berechnen\u{a0}…\nGPT Partition Data (Backup GPT Table: Die überprüfte CRC32-Prüfsumme ist $87E1558A\nPrüfsumme für GPT Header (Backup GPT Header : 7) berechnen\u{a0}…\n  GPT Header (Backup GPT Header : 7): Die überprüfte CRC32-Prüfsumme ist $CAE5EBB0\nDie überprüfte CRC32-Prüfsumme ist $4329A6A2\n/dev/disk4          \tGUID_partition_scheme          \t\n/dev/disk4s1        \tApple_HFS                      \t/Volumes/Z1x7jsR\n", stderr: "" }
2024-12-21T00:12:52Z [INFO] Copying dmg contents from "/Volumes/Z1x7jsR/Warp.app" to "/var/folders/r2/156gqyhn1cbclcxm8cf5bbsw0000gn/T/Z1x7jsR/Warp(v0.2024.12.18.08.02.stable_03).app"
2024-12-21T00:12:53Z [INFO] Checking for update on channel stable_release. Update id is EUWUFVu
2024-12-21T00:12:53Z [INFO] Update ready for channel version VersionInfo { version: "v0.2024.12.18.08.02.stable_03", update_by: None, soft_cutoff: Some("v0.2024.11.22.18.28.stable_00") }
2024-12-21T00:12:53Z [INFO] Fetching channel versions (without changelogs) from Warp server
2024-12-21T00:13:00Z [INFO] Received channel versions from Warp server: dev: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.20.18.19.dev_00", update_by: None, soft_cutoff: Some("v0.2023.05.12.08.03.dev_00") }, overrides: [] }; preview: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.20.18.19.preview_00", update_by: None, soft_cutoff: None }, overrides: [] }; canary: ChannelVersion { version_info: VersionInfo { version: "v0.2022.09.29.08.08.canary_00", update_by: None, soft_cutoff: None }, overrides: [] }; beta: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.18.08.02.beta_00", update_by: None, soft_cutoff: None }, overrides: [] }; stable: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.18.08.02.stable_03", update_by: None, soft_cutoff: Some("v0.2024.11.22.18.28.stable_00") }, overrides: [] }
2024-12-21T00:13:10Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-21T00:13:10Z [INFO] Flushed telemetry events.

@muescha
Copy link

muescha commented Jan 1, 2025

done a reinstall:

muescha@MacBook ~ % brew reinstall warp
==> Downloading https://app.warp.dev/download/brew?version=v0.2024.12.18.08.02.stable_03
==> Downloading from https://releases.warp.dev/stable/v0.2024.12.18.08.02.stable_03/Warp.dmg
                 #     #       #=O=-  #
==> Uninstalling Cask warp
==> Backing App 'Warp.app' up to '/opt/homebrew/Caskroom/warp/0.2024.10.29.08.02.stable_02/Warp.app'
==> Removing App '/Applications/Warp.app'
==> Purging files for version 0.2024.10.29.08.02.stable_02 of Cask warp
==> Installing Cask warp
==> Moving App 'Warp.app' to '/Applications/Warp.app'
🍺  warp was successfully installed!
==> `brew cleanup` has not been run in the last 30 days, running now...

result in v0.2024.12.18.08.02.stable_03:
Bildschirmfoto 2025-01-01 um 16 26 39

I done a restart warp and it was updated successfully to v0.2024.12.18.08.02.stable_04
Bildschirmfoto 2025-01-01 um 16 29 01

I have no idea what happened.
My last use of Warp was on Sat, Dec 21, 2024, at 4:40 PM.

My guess is that the update was installed “silently” in the background on Dec 21 at 12:12 AM. I haven’t restarted Warp since then — maybe I’ve restarted the Mac a few times, but not used Warp until today. When I tried to start Warp today, it failed.

Before running a brew reinstall, I made copies of warp.app and warp.log. If you’re interested, I can send you the files.

@muescha
Copy link

muescha commented Jan 1, 2025

I reviewed the logs further and found this section, which might be interesting around 13:02, corresponding to 14:02 on my local MacBook.:

2024-12-25T13:02:25Z [INFO] Copying app contents from "/var/folders/r2/156gqyhn1cbclcxm8cf5bbsw0000gn/T/Z1x7jsR/Warp(v0.2024.12.18.08.02.stable_03).app" to "/Applications"
2024-12-25T13:02:25Z [INFO] Renaming new app to original app name
2024-12-25T13:02:25Z [INFO] Moving old executable at path "/Applications/Warp(v0.2024.12.18.08.02.stable_03).app/Contents/MacOS/stable" into user application data dir at path "/Users/muescha/Library/Application Support/dev.warp.Warp-Stable/old"
2024-12-25T13:02:25Z [INFO] Removing old app from disk
2024-12-25T13:02:25Z [INFO] Setting installed version to VersionInfo { version: "v0.2024.12.18.08.02.stable_03", update_by: None, soft_cutoff: Some("v0.2024.11.22.18.28.stable_00") }
2024-12-25T13:02:25Z [INFO] Attempting to detach dmg with command ""/usr/bin/hdiutil detach /Volumes/Z1x7jsR -force""
2024-12-25T13:02:35Z [INFO] hdiutil result: Output { status: ExitStatus(unix_wait_status(0)), stdout: "\"disk4\" ejected.\n", stderr: "" }
2024-12-25T13:02:35Z [INFO] Cleaning up download dir "/var/folders/r2/156gqyhn1cbclcxm8cf5bbsw0000gn/T/Z1x7jsR"
2024-12-25T13:02:35Z [INFO] Pending update applied successfully
2024-12-25T13:02:35Z [INFO] Uninitializing crash reporting...
2024-12-25T13:02:36Z [INFO] WindowId(0) will close
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive

Extended code snippet through EOF:

2024-12-25T12:56:55Z [INFO] Received channel versions from Warp server: dev: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.25.08.02.dev_00", update_by: None, soft_cutoff: Some("v0.2023.05.12.08.03.dev_00") }, overrides: [] }; preview: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.25.08.02.preview_00", update_by: None, soft_cutoff: None }, overrides: [] }; canary: ChannelVersion { version_info: VersionInfo { version: "v0.2022.09.29.08.08.canary_00", update_by: None, soft_cutoff: None }, overrides: [] }; beta: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.18.08.02.beta_00", update_by: None, soft_cutoff: None }, overrides: [] }; stable: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.18.08.02.stable_03", update_by: None, soft_cutoff: Some("v0.2024.11.22.18.28.stable_00") }, overrides: [] }
2024-12-25T12:56:55Z [INFO] Update ready for channel version VersionInfo { version: "v0.2024.12.18.08.02.stable_03", update_by: None, soft_cutoff: Some("v0.2024.11.22.18.28.stable_00") }
2024-12-25T12:57:00Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-25T12:57:00Z [INFO] Flushed telemetry events.
2024-12-25T12:57:30Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-25T12:57:30Z [INFO] Flushed telemetry events.
2024-12-25T12:57:32Z [INFO] fetching updated cloud objects
2024-12-25T12:57:59Z [INFO] Websocket for CloudObjects::Listener is done; restarting after 0s.
2024-12-25T12:57:59Z [INFO] Attempting to start websocket connection in CloudObjects::Listener
2024-12-25T12:57:59Z [INFO] Websocket is ready. Getting latest set of updated objects from CloudObjects::Listener
2024-12-25T12:57:59Z [INFO] fetching updated cloud objects
2024-12-25T12:58:00Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-25T12:58:00Z [INFO] Flushed telemetry events.
2024-12-25T12:58:30Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-25T12:58:30Z [INFO] Flushed telemetry events.
2024-12-25T12:59:00Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-25T12:59:00Z [INFO] Flushed telemetry events.
2024-12-25T12:59:30Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-25T12:59:30Z [INFO] Flushed telemetry events.
2024-12-25T13:00:00Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-25T13:00:00Z [INFO] Flushed telemetry events.
2024-12-25T13:00:30Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-25T13:00:30Z [INFO] Flushed telemetry events.
2024-12-25T13:01:00Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-25T13:01:00Z [INFO] Flushed telemetry events.
2024-12-25T13:01:30Z [INFO] Dropping empty RudderStack telemetry batch
2024-12-25T13:01:30Z [INFO] Flushed telemetry events.
2024-12-25T13:01:33Z [INFO] application did become active
2024-12-25T13:01:33Z [INFO] Checking for update on channel stable_release. Update id is ZjbsrPS
2024-12-25T13:01:33Z [INFO] Fetching channel versions (without changelogs) from Warp server
2024-12-25T13:01:33Z [INFO] active window changed: Some(WindowId(0))
2024-12-25T13:01:33Z [INFO] dispatching global action for root_view:update_quake_mode_state
2024-12-25T13:01:33Z [INFO] dispatching global action for workspace:save_app
2024-12-25T13:01:34Z [INFO] Received channel versions from Warp server: dev: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.25.08.02.dev_00", update_by: None, soft_cutoff: Some("v0.2023.05.12.08.03.dev_00") }, overrides: [] }; preview: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.25.08.02.preview_00", update_by: None, soft_cutoff: None }, overrides: [] }; canary: ChannelVersion { version_info: VersionInfo { version: "v0.2022.09.29.08.08.canary_00", update_by: None, soft_cutoff: None }, overrides: [] }; beta: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.18.08.02.beta_00", update_by: None, soft_cutoff: None }, overrides: [] }; stable: ChannelVersion { version_info: VersionInfo { version: "v0.2024.12.18.08.02.stable_03", update_by: None, soft_cutoff: Some("v0.2024.11.22.18.28.stable_00") }, overrides: [] }
2024-12-25T13:01:34Z [INFO] dispatching global action for root_view:update_quake_mode_state
2024-12-25T13:01:34Z [INFO] active window changed: None
2024-12-25T13:01:34Z [INFO] dispatching global action for root_view:update_quake_mode_state
2024-12-25T13:01:34Z [INFO] dispatching global action for workspace:save_app
2024-12-25T13:02:00Z [INFO] Start to send telemetry events to RudderStack
2024-12-25T13:02:01Z [INFO] Flushed telemetry events.
2024-12-25T13:02:07Z [INFO] notifying view observers and updating windows for timer id 20
2024-12-25T13:02:25Z [INFO] application will terminate
2024-12-25T13:02:25Z [INFO] Shutting down SQLite writer thread
2024-12-25T13:02:25Z [INFO] Shut down SQLite writer in 15.479917ms
2024-12-25T13:02:25Z [INFO] Writing queued events to disk because telemetry is enabled.
2024-12-25T13:02:25Z [INFO] Successfully wrote telemetry events to disk
2024-12-25T13:02:25Z [INFO] Tearing down terminal server...
2024-12-25T13:02:25Z [INFO] Received empty message; assuming the connection has been closed.
2024-12-25T13:02:25Z [INFO] Tearing down app services...
2024-12-25T13:02:25Z [INFO] Copying app contents from "/var/folders/r2/156gqyhn1cbclcxm8cf5bbsw0000gn/T/Z1x7jsR/Warp(v0.2024.12.18.08.02.stable_03).app" to "/Applications"
2024-12-25T13:02:25Z [INFO] Renaming new app to original app name
2024-12-25T13:02:25Z [INFO] Moving old executable at path "/Applications/Warp(v0.2024.12.18.08.02.stable_03).app/Contents/MacOS/stable" into user application data dir at path "/Users/muescha/Library/Application Support/dev.warp.Warp-Stable/old"
2024-12-25T13:02:25Z [INFO] Removing old app from disk
2024-12-25T13:02:25Z [INFO] Setting installed version to VersionInfo { version: "v0.2024.12.18.08.02.stable_03", update_by: None, soft_cutoff: Some("v0.2024.11.22.18.28.stable_00") }
2024-12-25T13:02:25Z [INFO] Attempting to detach dmg with command ""/usr/bin/hdiutil detach /Volumes/Z1x7jsR -force""
2024-12-25T13:02:35Z [INFO] hdiutil result: Output { status: ExitStatus(unix_wait_status(0)), stdout: "\"disk4\" ejected.\n", stderr: "" }
2024-12-25T13:02:35Z [INFO] Cleaning up download dir "/var/folders/r2/156gqyhn1cbclcxm8cf5bbsw0000gn/T/Z1x7jsR"
2024-12-25T13:02:35Z [INFO] Pending update applied successfully
2024-12-25T13:02:35Z [INFO] Uninitializing crash reporting...
2024-12-25T13:02:36Z [INFO] WindowId(0) will close
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution
2024-12-25T13:02:36Z [WARN] Received EPIPE when trying to kill child shell process; assuming the terminal server has terminated.
2024-12-25T13:02:36Z [INFO] Tried to exit the alternate screen, but it was already inactive
2024-12-25T13:02:36Z [INFO] Block finished with new state DoneWithNoExecution

@tattyd
Copy link

tattyd commented Jan 2, 2025

Just to join the party - just now I clicked the 'Update' button in the notification bar and ended up in a bricked state too.

Last login: Fri Dec  6 09:00:45 on console
 david@Jens-Mac-Studio ~ % codesign --display --verbose=4 /Applications/Warp.app 
codesign --verify --verbose=4 /Applications/Warp.app
codesign --verify --verbose=4 /Applications/Warp.app/Contents/MacOS/stable
ls -lahR /Applications/Warp.app
/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable
/Applications/Warp.app: bundle format unrecognized, invalid, or unsuitable
/Applications/Warp.app/Contents/MacOS/stable: No such file or directory
total 0
drwxr-xr-x@  3 david  admin    96B Jan  2 10:40 .
drwxrwxr-x  33 root   admin   1.0K Jan  2 10:40 ..
drwxr-xr-x@  6 david  admin   192B Jan  2 10:40 Contents

/Applications/Warp.app/Contents:
total 0
drwxr-xr-x@ 6 david  admin   192B Jan  2 10:40 .
drwxr-xr-x@ 3 david  admin    96B Jan  2 10:40 ..
drwxr-xr-x@ 3 david  admin    96B Jan  2 10:40 Frameworks
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 MacOS
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 Resources
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 _CodeSignature

/Applications/Warp.app/Contents/Frameworks:
total 0
drwxr-xr-x@ 3 david  admin    96B Jan  2 10:40 .
drwxr-xr-x@ 6 david  admin   192B Jan  2 10:40 ..
drwxr-xr-x@ 8 david  admin   256B Jan  2 10:40 Sentry.framework

/Applications/Warp.app/Contents/Frameworks/Sentry.framework:
total 0
drwxr-xr-x@ 8 david  admin   256B Jan  2 10:40 .
drwxr-xr-x@ 3 david  admin    96B Jan  2 10:40 ..
lrwxr-xr-x@ 1 david  admin    24B Jan  2 10:40 Headers -> Versions/Current/Headers
lrwxr-xr-x@ 1 david  admin    24B Jan  2 10:40 Modules -> Versions/Current/Modules
lrwxr-xr-x@ 1 david  admin    31B Jan  2 10:40 PrivateHeaders -> Versions/Current/PrivateHeaders
lrwxr-xr-x@ 1 david  admin    26B Jan  2 10:40 Resources -> Versions/Current/Resources
lrwxr-xr-x@ 1 david  admin    23B Jan  2 10:40 Sentry -> Versions/Current/Sentry
drwxr-xr-x@ 4 david  admin   128B Jan  2 10:40 Versions

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions:
total 0
drwxr-xr-x@ 4 david  admin   128B Jan  2 10:40 .
drwxr-xr-x@ 8 david  admin   256B Jan  2 10:40 ..
drwxr-xr-x@ 7 david  admin   224B Jan  2 10:40 A
lrwxr-xr-x@ 1 david  admin     1B Jan  2 10:40 Current -> A

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A:
total 0
drwxr-xr-x@ 7 david  admin   224B Jan  2 10:40 .
drwxr-xr-x@ 4 david  admin   128B Jan  2 10:40 ..
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 Headers
drwxr-xr-x@ 3 david  admin    96B Jan  2 10:40 Modules
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 PrivateHeaders
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 Resources
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 _CodeSignature

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Headers:
total 0
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 .
drwxr-xr-x@ 7 david  admin   224B Jan  2 10:40 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Modules:
total 0
drwxr-xr-x@ 3 david  admin    96B Jan  2 10:40 .
drwxr-xr-x@ 7 david  admin   224B Jan  2 10:40 ..
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 Sentry.swiftmodule

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Modules/Sentry.swiftmodule:
total 0
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 .
drwxr-xr-x@ 3 david  admin    96B Jan  2 10:40 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/PrivateHeaders:
total 0
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 .
drwxr-xr-x@ 7 david  admin   224B Jan  2 10:40 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/Resources:
total 0
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 .
drwxr-xr-x@ 7 david  admin   224B Jan  2 10:40 ..

/Applications/Warp.app/Contents/Frameworks/Sentry.framework/Versions/A/_CodeSignature:
total 0
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 .
drwxr-xr-x@ 7 david  admin   224B Jan  2 10:40 ..

/Applications/Warp.app/Contents/MacOS:
total 0
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 .
drwxr-xr-x@ 6 david  admin   192B Jan  2 10:40 ..

/Applications/Warp.app/Contents/Resources:
total 0
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 .
drwxr-xr-x@ 6 david  admin   192B Jan  2 10:40 ..

/Applications/Warp.app/Contents/_CodeSignature:
total 0
drwxr-xr-x@ 2 david  admin    64B Jan  2 10:40 .
drwxr-xr-x@ 6 david  admin   192B Jan  2 10:40 ..
 david@Jens-Mac-Studio ~ % 

Let me know if I can give you anything else...

@bnavetta
Copy link

bnavetta commented Jan 2, 2025

@muescha thank you! When updating from v0.2024.12.10.15.55.stable_04, some of the fixes we made wouldn't be available. There don't appear to be any errors in the logs though, so I'm not entirely sure where the corruption occurred.

My guess is that the update was installed “silently” in the background on Dec 21 at 12:12 AM. I haven’t restarted Warp since then — maybe I’ve restarted the Mac a few times, but not used Warp until today. When I tried to start Warp today, it failed.

This is very interesting! The way Warp's autoupdate works, it will download the new version as soon as it's available, but not install it until you restart the app. It's possible that the new version got corrupted in between those steps.

@tattyd if you have your warp.log files from before the update, that would be very helpful!

@tattyd
Copy link

tattyd commented Jan 2, 2025

Just compressed them now and will send to [email protected]...

@bnavetta
Copy link

bnavetta commented Jan 2, 2025

Got them, thanks!

@ldexterldesign
Copy link

👋 @dannyneira,

Closing as resolved, but please feel free to let us know if the issue persists in Warp version v0.2024.12.18.08.02 and above. - #5492 (comment)

Persisting for me after latest macOS update (I assume, macOS, 15.3 Beta (24D5034f)) so could/should reopen this issue

FYR brew reinstall warp fixed it (thanks for solution @muescha!) again for me - first world problem to have to keep doing this 😑

Feel free to let me know if you need anything from me..?

Appreciate you

🤞

@pflynny
Copy link

pflynny commented Jan 22, 2025

I experienced the same issue after an update.

brew reinstall warp ftw.

@bnavetta
Copy link

@ldexterldesign @pflynny if you happen to have your old Warp logs from before the update, would you mind sending them to me? They should be at ~/Library/Logs/warp.log.old.*. Alternatively, could you run this workflow and post the output? https://app.warp.dev/drive/workflow/Autoupdate-Details-3RJrd4CMiZWx4C7FzESIs0

That'll let us check if the pre-update Warp version had the expected fix or not - we've made assorted changes to prevent Warp from installing a corrupted update, but they unfortunately only help if you've already updated Warp to one of the fixed versions. This week's release should also include a change that makes it harder for the update to get corrupted in the first place (for transparency, our theory is that the macOS temporary file cleaner is deleting parts of the update).

Thanks!

@bnavetta bnavetta pinned this issue Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests