signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.68k stars 2.68k forks source link

Signal keeps crashing on MacOS after recent Sequoia update #7032

Closed thomasdn closed 2 weeks ago

thomasdn commented 1 month ago

Using a supported version?

Overall summary

After my recent update of macOS to the Sequoia version, Signal worked initially but shortly after the macOS update, Signal received an update as well. After this update Signal crashes immediately when I try to start it.

I just get the "Signal quit unexpectedly" message and the option to send a crash report.

I am not sure what details in the crash report are safe to post here. I do not want to risk exposing any sensitive data like keys, etc. that might compromise my Signal security or that could be used to identify me.

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: *********
CrashReporter Key:   ***********
Hardware Model:      Mac15,3
Process:             Signal [2907]
Path:                /Applications/Signal.app/Contents/MacOS/Signal
Identifier:          org.whispersystems.signal-desktop
Version:             7.26.0 (1)
Code Type:           ARM-64 (Native)
Role:                Default
Parent Process:      launchd [1]
Coalition:           org.whispersystems.signal-desktop [869]

Date/Time:           2024-09-27 07:34:33.9153 +0200
Launch Time:         2024-09-27 07:34:33.9031 +0200
OS Version:          macOS 15.0 (24A335)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: CODESIGNING 4 Launch Constraint Violation

Triggered by Thread:  0

Thread 0 Crashed:
0   dyld_path_missing                      0x102cf8b30 _dyld_start + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x0000000000000000   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x0000000000000000   x9: 0x0000000000000000  x10: 0x0000000000000000  x11: 0x0000000000000000
   x12: 0x0000000000000000  x13: 0x0000000000000000  x14: 0x0000000000000000  x15: 0x0000000000000000
   x16: 0x0000000000000000  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x0000000000000000  x21: 0x0000000000000000  x22: 0x0000000000000000  x23: 0x0000000000000000
   x24: 0x0000000000000000  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x0000000000000000   lr: 0x0000000000000000
    sp: 0x000000016d31fb40   pc: 0x0000000102cf8b30 cpsr: 0x00001000
   far: 0x0000000000000000  esr: 0x00000000  Address size fault

Binary Images:
       0x102cf4000 -        0x102d77fff dyld_path_missing (*) <02e3ca05-e849-31c8-a4f2-c7292420dfad> /dyld_path_missing
       0x102ae0000 -        0x102ae3fff main_executable_path_missing (*) <4c4c442a-5555-3144-a1a2-2351b1e9fd1c> /main_executable_path_missing
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed

EOF

Steps to reproduce

  1. Start Signal
  2. Signal will crash.

Expected result

I would expect signal to start and work normally.

Actual result

Signal crashes with the "Signal quit unexpectedly" message.

Screenshots

No response

Signal version

Version: 7.26.0 (1) (I think? - I cannot start Signal to see the About box)

Operating system

MacOS

Version of Signal on your phone

This is desktop version of Signal.

Link to debug log

I cannot access this as I cannot start Signal.

scottnonnenberg-signal commented 1 month ago

The error is curious: CODESIGNING 4 Launch Constraint Violation. What happens if you go to https://signal.org/download and install Signal Desktop again? Does that fix things? Does it then start happening when it auto-updates?

Please consider reaching out to support@signal.org so you can feel confident sharing more information!

jming422 commented 1 month ago

I had the exact same behavior as described above; I tried trashing the app, reinstalling from https://signal.org/download, and it fixed things for me!

I'll keep an eye out for the next time it auto-updates to see if it breaks again

thomasdn commented 1 month ago

I had the exact same behavior as described above; I tried trashing the app, reinstalling from https://signal.org/download, and it fixed things for me!

I'll keep an eye out for the next time it auto-updates to see if it breaks again

Reinstalling the app from a new download also seemed to fix the issue on my system. However, I think there clearly seems to be a bug since multiple people end up in this situation...

scottnonnenberg-signal commented 1 month ago

Please let us know if the behavior comes back!

c0dev0id commented 1 month ago

I unintentionally created a duplicate issue: https://github.com/signalapp/Signal-Desktop/issues/7047

It happens when Signal is being updated using the auto-update feature. The Signal-App version from the website works fine.

jming422 commented 1 month ago

I had the exact same behavior as described above; I tried trashing the app, reinstalling from https://signal.org/download, and it fixed things for me!

I'll keep an eye out for the next time it auto-updates to see if it breaks again

I just got the first auto-update since I reinstalled from website last week, and this auto-update did not break anything. Seems to have been something leftover about the old version we were on that Sequoia did not like when it updated 🤷🏼

nosecguy commented 1 month ago

I've had the issue of Signal breaking on auto-update several times since upgrading to Sequoia. Downloading from signal.org has restored Signal.app, but subsequent auto-updates have reintroduced the error of Signal not launching. Locating the app in Finder, the last modified date of all files are set to Dec. 31st 2097 at 11:00PM.

Screenshot 2024-10-11 at 10 53 54

I don't have evidence if this also happened on the previous fails.

yangm2 commented 1 month ago

I've been seeing this behavior since upgrading to MacOS 15 (Sequoia) as well.

Hardware Model:      Mac14,7
Process:             Signal [20666]
Path:                /Applications/Signal.app/Contents/MacOS/Signal
Identifier:          org.whispersystems.signal-desktop
Version:             7.29.0 (1)
Code Type:           ARM-64 (Native)
.
.
.
Date/Time:           2024-10-16 13:18:36.2142 -0700
Launch Time:         2024-10-16 13:18:36.1982 -0700
OS Version:          macOS 15.0.1 (24A348)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: CODESIGNING 4 Launch Constraint Violation

Triggered by Thread:  0

Thread 0 Crashed:
0   dyld_path_missing                      0x104884b30 _dyld_start + 0

I've worked around the issue for the last several updates by manually downloading and installing the latest version from signal.org. But this is a less than satisfying experience. Report has been submitted to Apple as well.

samuelpward commented 1 month ago

I've had the issue of Signal breaking on auto-update several times since upgrading to Sequoia. Downloading from signal.org has restored Signal.app, but subsequent auto-updates have reintroduced the error of Signal not launching. Locating the app in Finder, the last modified date of all files are set to Dec. 31st 2097 at 11:00PM. Screenshot 2024-10-11 at 10 53 54 I don't have evidence if this also happened on the previous fails.

This was helpful. Going and changing all the signal files in the .app to the current time/date fixed signal for me without reinstalling.

andyc-cogapp commented 3 weeks ago

This is happening to me everytime it autoupdates. I have to delete and reinstall from the website...extremely frustrating.

indutny-signal commented 3 weeks ago

@andyc-cogapp we believe this was fixed in 7.30/7.31 releases. Did auto-update to them also not work?

andyc-cogapp commented 3 weeks ago

I just had to download "7.31.0 production (Apple silicon)" manually but I can't be sure if the previous version was 7.30. I'll let you know if it fails next time. Fingers crossed and thanks for getting back to me so quickly.

c0dev0id commented 2 weeks ago

I just did the (auto)update from Signal 7.30 to 7.31 on my M2 Mac. It works. Thank you!

indutny-signal commented 2 weeks ago

Thank you!

NOP-Commander commented 2 weeks ago

Hello folks,

i've just updated to 7.32.0 and it still crashes after being updated. Reinstalling will probably fix it but i'm still downloading with a lot of patience. I've not checked the previous version but since i run updates frequently i assume it was 7.31.0.

Cheers!

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: 3AF429ED-1161-4D1E-96A1-B111007C1E3D
CrashReporter Key:   76B9D9E3-6A4F-2D81-C77C-ABCF3A45B0A3
Hardware Model:      Mac14,2
Process:             Signal [66132]
Path:                /Applications/Signal.app/Contents/MacOS/Signal
Identifier:          org.whispersystems.signal-desktop
Version:             7.32.0 (1)
Code Type:           ARM-64 (Native)
Role:                Default
Parent Process:      launchd [1]
Coalition:           org.whispersystems.signal-desktop [1038]

Date/Time:           2024-11-07 11:36:49.4572 +0100
Launch Time:         2024-11-07 11:36:49.4427 +0100
OS Version:          macOS 15.0.1 (24A348)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: CODESIGNING 4 Launch Constraint Violation

Triggered by Thread:  0

Thread 0 Crashed:
0   dyld_path_missing                      0x10480cb30 _dyld_start + 0

edit: The crash report has been sent to Apple.

edit2: I've read about timestamps in one of the previous posts and checked them on the app which is crashing. Do you see current timestamps after a fresh installation? I can't check right now, still downloading. (=

Bildschirmfoto 2024-11-07 um 11 56 24

edit3: Reinstalling fixed my issue. I've also checked the timestamps and they're all current. Maybe this observation can help to solve the issue.

Bildschirmfoto 2024-11-07 um 12 35 12
andyc-cogapp commented 2 weeks ago

From the previous post, it seems like there are still issues and it's a gnarly one to fix, mine worked this time from 7.31.0 to 7.32.0.

NOP-Commander commented 1 week ago

The auto-update from 7.32.0 to 7.33.0 worked like a charm. \o/

indutny-signal commented 1 week ago

Yay!

andyc-cogapp commented 1 week ago

Mine did not work but I did something that might be helpful in diagnosing the problem. Here's what I did.

I opened Signal and was typing a message. The auto-update caused the MacOS 'enter you admin credentials' pop up to appear. I was in the middle of writing the messaeg so I cancelled the pop up. I finished my message. I went to settings and couldn't see how to manual force the update again. I quit Signal and reopened to trigger autoupadte check again It popped up the 'enter your admin creds' again, I did entered admin creds successfully I hit the little button on the top of the chats on the left It said to restart to apply the update I restarted but then it crashed It crashes every time I open it

Here's the crash log:


Translated Report (Full Report Below)

Incident Identifier: 393A7621-B4A4-4443-BBBB-788824504B2A CrashReporter Key: D4CBBB31-8805-9DE7-3DFD-4A6DCC8B455A Hardware Model: MacBookPro18,3 Process: Signal [16700] Path: /Applications/Signal.app/Contents/MacOS/Signal Identifier: org.whispersystems.signal-desktop Version: 7.33.0 (1) Code Type: ARM-64 (Native) Role: Default Parent Process: launchd [1] Coalition: org.whispersystems.signal-desktop [177580]

Date/Time: 2024-11-14 10:20:28.7089 +0000 Launch Time: 2024-11-14 10:20:28.6694 +0000 OS Version: macOS 15.0.1 (24A348) Release Type: User Report Version: 104

Exception Type: EXC_CRASH (SIGKILL (Code Signature Invalid)) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: CODESIGNING 4 Launch Constraint Violation

Triggered by Thread: 0

Thread 0 Crashed: 0 dyld_path_missing 0x102f6cb30 _dyld_start + 0

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x0000000000000000 x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x0000000000000000 x16: 0x0000000000000000 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x0000000000000000 x21: 0x0000000000000000 x22: 0x0000000000000000 x23: 0x0000000000000000 x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000 x28: 0x0000000000000000 fp: 0x0000000000000000 lr: 0x0000000000000000 sp: 0x000000016d10bb68 pc: 0x0000000102f6cb30 cpsr: 0x00001000 far: 0x0000000000000000 esr: 0x00000000 Address size fault

Binary Images: 0x102f68000 - 0x102febfff dyld_path_missing () <40bedd20-da23-3b70-a9c2-a1c68a738762> /dyld_path_missing 0x102cf4000 - 0x102cf7fff main_executable_path_missing () <4c4c4466-5555-3144-a1a7-1b2131b56fbc> /main_executable_path_missing 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

Error Formulating Crash Report: dyld_process_snapshot_get_shared_cache failed

EOF


Full Report

{"app_name":"Signal","timestamp":"2024-11-14 10:20:29.00 +0000","app_version":"7.33.0","slice_uuid":"4c4c4466-5555-3144-a1a7-1b2131b56fbc","build_version":"1","platform":0,"bundleID":"org.whispersystems.signal-desktop","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.0.1 (24A348)","roots_installed":0,"name":"Signal","incident_id":"393A7621-B4A4-4443-BBBB-788824504B2A"} { "uptime" : 1200000, "procRole" : "Default", "version" : 2, "userID" : 502, "deployVersion" : 210, "modelCode" : "MacBookPro18,3", "coalitionID" : 177580, "osVersion" : { "train" : "macOS 15.0.1", "build" : "24A348", "releaseType" : "User" }, "captureTime" : "2024-11-14 10:20:28.7089 +0000", "codeSigningMonitor" : 1, "incident" : "393A7621-B4A4-4443-BBBB-788824504B2A", "pid" : 16700, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2024-11-14 10:20:28.6694 +0000", "procStartAbsTime" : 29727164587164, "procExitAbsTime" : 29727165486676, "procName" : "Signal", "procPath" : "\/Applications\/Signal.app\/Contents\/MacOS\/Signal", "bundleInfo" : {"CFBundleShortVersionString":"7.33.0","CFBundleVersion":"1","CFBundleIdentifier":"org.whispersystems.signal-desktop"}, "storeInfo" : {"deviceIdentifierForVendor":"37EC99BB-1199-53AA-921C-0A322E5722B3","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "org.whispersystems.signal-desktop", "crashReporterKey" : "D4CBBB31-8805-9DE7-3DFD-4A6DCC8B455A", "codeSigningID" : "org.whispersystems.signal-desktop", "codeSigningTeamID" : "U68MSDN6DR", "codeSigningFlags" : 587281169, "codeSigningValidationCategory" : 6, "codeSigningTrustLevel" : 4294967295, "instructionByteStream" : {"beforePC":"4AMA+cEDALAh2DOR4AMUqgdyAZQoAIBSaAIAOfH\/\/xcAAAAAAAAAAA==","atPC":"4AMAkR\/sfJIdAIDSHgCA0gcDABQfAACRYAAf1n8jA9X0T76p\/XsBqQ=="}, "bootSessionUUID" : "B2DED9CC-9FC1-4FFF-91A4-E2DF060A58A1", "wakeTime" : 2509, "sleepWakeUUID" : "A0C095B8-0584-4ECC-9A79-7884B2EB5C48", "sip" : "enabled", "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"}, "termination" : {"flags":66,"code":4,"namespace":"CODESIGNING","indicator":"Launch Constraint Violation"}, "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":23948808,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6124780392},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":4344695600,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":19248,"symbol":"_dyld_start","symbolLocation":0,"imageIndex":0}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64e", "base" : 4344676352, "size" : 540672, "uuid" : "40bedd20-da23-3b70-a9c2-a1c68a738762", "path" : "\/dyld_path_missing", "name" : "dyld_path_missing" }, { "source" : "P", "arch" : "arm64", "base" : 4342104064, "size" : 16384, "uuid" : "4c4c4466-5555-3144-a1a7-1b2131b56fbc", "path" : "\/main_executable_path_missing", "name" : "main_executable_path_missing" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" } ], "vmSummary" : "ReadOnly portion of Libraries: Total=880K resident=0K(0%) swapped_out_or_unallocated=880K(100%)\nWritable regions: Total=8240K written=64K(1%) resident=64K(1%) swapped_out=0K(0%) unallocated=8176K(99%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8176K 1 \nVM_ALLOCATE 16K 1 \nDATA 32K 2 \nDATA_CONST 48K 2 \n__DATA_DIRTY 16K 1 \nLINKEDIT 336K 2 \nTEXT 544K 2 \n__TPRO_CONST 288K 1 \nmapped file 4.3G 13 \npage table in kernel 64K 1 \n=========== ======= ======= \nTOTAL 4.3G 27 \n", "legacyInfo" : { "threadTriggered" : {

} }, "logWritingSignature" : "90c4c8a5c8450ab013fd6aa748d97b752bddc309", "trialInfo" : { "rollouts" : [ { "rolloutId" : "6246d6a916a70b047e454124", "factorPackIds" : {

  },
  "deploymentId" : 240000010
},
{
  "rolloutId" : "661464ecda55e5192b100804",
  "factorPackIds" : {

  },
  "deploymentId" : 240000005
}

], "experiments" : [ { "treatmentId" : "45f4e2a5-551b-4bc2-a2dc-19c244dda8f8", "experimentId" : "6643969b3099cf28e049862f", "deploymentId" : 400000007 } ] }, "reportNotes" : [ "dyld_process_snapshot_get_shared_cache failed" ] }

Model: MacBookPro18,3, BootROM 11881.1.1, proc 10:8:2 processors, 16 GB, SMC Graphics: Apple M1 Pro, Apple M1 Pro, Built-In Display: RZ39-0276, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), Main, MirrorOff, Online Display: Color LCD, 3024 x 1964 Retina, MirrorOff, Online Memory Module: LPDDR5, Samsung AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Jul 26 2024 20:03:40 version 20.10.1123.2.8.7.186 FWID 01-94146b8e IO80211_driverkit-1302.71 "IO80211_driverkit-1302.71" Aug 5 2024 22:09:56 AirPort: Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 Network Service: Cogapp VPN (L2TP), PPP (L2TP), ppp0 USB Device: USB31Bus USB Device: 5-Port USB 2.1 Hub USB Device: USB Audio USB Device: USB31Bus USB Device: USB3.0 Hub USB Device: USB2.0 Hub USB Device: USB Keyboard USB Device: Elgato Wave:3 USB Device: Razer Kiyo X USB Device: USB31Bus USB Device: USB3.0 Hub USB Device: USB2.0 Hub USB Device: Stream Deck MK.2 USB Device: USB 2.0 BILLBOARD Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc.