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

Built-In Update breaks Signal app on MacOS 15.0 (24A335) #7087

Open iodar opened 4 days ago

iodar commented 4 days ago

Using a supported version?

Overall summary

My Signal app on macOS Version 15.0 (24A335) (Name: Sequoia) keeps crashing after using the built-in update functionality.

It is only working after re-installing it from the Signal website.

Steps to reproduce

  1. Download Signal app from Signal website
  2. Wait for a new update
  3. Use the update built-in functionality to update Signal
  4. Wait for the download to complete
  5. Enter administrative / root credentials to allow installation of the new update

Expected result

Signal launches after the update is completed and new version is installed

Actual result

Signal crashes and wants to send a report to Apple

signal-update-crash

Screenshots

No response

Signal version

7.33.0

Operating system

macOS Version 15.0 (24A335) (Sequoia)

Version of Signal on your phone

No response

Link to debug log

MacOS Crash Report


Translated Report (Full Report Below)

Incident Identifier: 5B03613E-DE05-4DED-B13D-6FF4EEA36309 CrashReporter Key: 284AFAB1-4085-8121-28C2-6094562481C7 Hardware Model: MacBookPro17,1 Process: Signal [2791] 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 [1923]

Date/Time: 2024-11-17 20:43:55.0071 +0100 Launch Time: 2024-11-17 20:43:54.9892 +0100 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 0x102b38b30 _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: 0x000000016d333b40 pc: 0x0000000102b38b30 cpsr: 0x00001000 far: 0x0000000000000000 esr: 0x00000000 Address size fault

Binary Images: 0x102b34000 - 0x102bb7fff dyld_path_missing () <02e3ca05-e849-31c8-a4f2-c7292420dfad> /dyld_path_missing 0x102acc000 - 0x102acffff 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-17 20:43:55.00 +0100","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 (24A335)","roots_installed":0,"name":"Signal","incident_id":"5B03613E-DE05-4DED-B13D-6FF4EEA36309"} { "uptime" : 5500, "procRole" : "Default", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro17,1", "coalitionID" : 1923, "osVersion" : { "train" : "macOS 15.0", "build" : "24A335", "releaseType" : "User" }, "captureTime" : "2024-11-17 20:43:55.0071 +0100", "codeSigningMonitor" : 1, "incident" : "5B03613E-DE05-4DED-B13D-6FF4EEA36309", "pid" : 2791, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2024-11-17 20:43:54.9892 +0100", "procStartAbsTime" : 134293718335, "procExitAbsTime" : 134294134343, "procName" : "Signal", "procPath" : "\/Applications\/Signal.app\/Contents\/MacOS\/Signal", "bundleInfo" : {"CFBundleShortVersionString":"7.33.0","CFBundleVersion":"1","CFBundleIdentifier":"org.whispersystems.signal-desktop"}, "storeInfo" : {"deviceIdentifierForVendor":"C926273C-C433-5DFB-94F8-7BCB81B3E07E","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "org.whispersystems.signal-desktop", "crashReporterKey" : "284AFAB1-4085-8121-28C2-6094562481C7", "codeSigningID" : "org.whispersystems.signal-desktop", "codeSigningTeamID" : "U68MSDN6DR", "codeSigningFlags" : 587281169, "codeSigningValidationCategory" : 6, "codeSigningTrustLevel" : 4294967295, "instructionByteStream" : {"beforePC":"4AMA+cEDALAh2DOR4AMUqgdyAZQoAIBSaAIAOfH\/\/xcAAAAAAAAAAA==","atPC":"4AMAkR\/sfJIdAIDSHgCA0gcDABQfAACRYAAf1n8jA9X0T76p\/XsBqQ=="}, "bootSessionUUID" : "CF184D3C-233C-44FB-BF88-3557274746B9", "wakeTime" : 290, "sleepWakeUUID" : "77168E59-7E71-427D-815C-BCEA89785B10", "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":109764,"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":6127041344},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":4340288304,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":19248,"symbol":"_dyld_start","symbolLocation":0,"imageIndex":0}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64e", "base" : 4340269056, "size" : 540672, "uuid" : "02e3ca05-e849-31c8-a4f2-c7292420dfad", "path" : "\/dyld_path_missing", "name" : "dyld_path_missing" }, { "source" : "P", "arch" : "arm64", "base" : 4339843072, "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" : "e5195db104e7cc6b91ed6bb5e7e54864b0f85c05", "trialInfo" : { "rollouts" : [ { "rolloutId" : "64c025b28b7f0e739e4fbe58", "factorPackIds" : {

  },
  "deploymentId" : 240000019
},
{
  "rolloutId" : "645eb1d0417dab722a215927",
  "factorPackIds" : {

  },
  "deploymentId" : 240000005
}

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

Model: MacBookPro17,1, BootROM 11881.1.1, proc 8:4:4 processors, 16 GB, SMC Graphics: Apple M1, Apple M1, Built-In Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online Memory Module: LPDDR4, Micron AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Jul 26 2024 20:49:57 version 18.20.458.0.7.8.173 FWID 01-544d6458 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 USB Device: USB31Bus USB Device: USB31Bus Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc.

Report as file

Error Message

Message displayed when attempting to launch Signal app after updating.

signal-update-crash
ayumi-signal commented 3 days ago

Sorry this is happening and thanks for the bug report-- we think it's a bug related to packaging and file timestamps and are investigating.

iodar commented 3 days ago

Sorry this is happening and thanks for the bug report-- we think it's a bug related to packaging and file timestamps and are investigating.

Hey, no worries. Just wanted to report it, since it has been happening for a few versions already.