amnezia-vpn / amnezia-client

Amnezia VPN Client (Desktop+Mobile)
https://amnezia.org
GNU General Public License v3.0
5.91k stars 376 forks source link

macOS 15.0: Installation of Amnezia VPN 4.7 fails after attempting to remove older version (4.6) #1101

Open LEMing opened 2 months ago

LEMing commented 2 months ago

Describe the bug I updated my macOS to version 15.0 Sequoia, and my older version of Amnezia VPN (4.6) stopped working. I visited the Amnezia website to download the newer version (4.7). Upon attempting to install it, I received a report indicating that the old version should be removed first. The removal process started, but then I encountered the following error message.

To Reproduce

  1. Update macOS to 15.0 Sequoia.
  2. Download Amnezia VPN version 4.7 from the official site.
  3. Run the installer.
  4. Begin the removal of the old version (4.6).
  5. See the error after starting the removal process.

Expected behavior The old version of Amnezia VPN should be uninstalled cleanly, and the new version should install without errors.

Log files Here is a report of the crash during the installation process:

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

Incident Identifier: 26583FDA-FB3B-4F2E-9183-0AA6D4FE99FA
CrashReporter Key:   27AEA75C-47DE-FDF7-27AE-E813E3CD0292
Hardware Model:      Mac15,10
Process:             maintenancetool [929]
Path:                /Applications/AmneziaVPN.app/maintenancetool.app/Contents/MacOS/maintenancetool
Identifier:          com.yourcompany.installerbase
Version:             4.6.1 (4.6.1)
Code Type:           X86-64 (Native)
Role:                Unspecified
Parent Process:      AmneziaVPN [901]
Coalition:           com.yourcompany.installerbase [951]
Responsible Process: AmneziaVPN [901]

Date/Time:           2024-09-30 11:01:58.4254 +0300
Launch Time:         2024-09-30 11:01:58.4135 +0300
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 1 Taskgated Invalid Signature

Triggered by Thread:  0

Thread 0 Crashed:
0   main_executable_path_missing        0x7ff7ffbbff7c 0x7ff7ffbbd000 + 12156

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x0000000000000000
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: <unavailable>       rfl: 0x0000000000000203
 tmp0: 0x0000000000000000 tmp1: 0x0000000000000000 tmp2: 0x0000000000000000

Binary Images:
       0x206303000 -        0x20638ffff dyld_path_missing (*) <e6056c94-fc2d-3517-b1e1-46d8eb58a10e> /dyld_path_missing
    0x7ff7ffbbd000 -     0x7ff7ffbecfff main_executable_path_missing (*) <e447ba6f-c0b7-3dcb-b110-b38e57558dc3> /main_executable_path_missing
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed
PC register does not match crashing frame (0x0 vs 0x7FF7FFBBFF7C)

EOF

-----------
Full Report
-----------

{"app_name":"maintenancetool","timestamp":"2024-09-30 11:01:59.00 +0300","app_version":"4.6.1","slice_uuid":"3e6792c7-9854-3502-b351-527c88728fb1","build_version":"4.6.1","platform":0,"bundleID":"com.yourcompany.installerbase","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.0 (24A335)","roots_installed":0,"name":"maintenancetool","incident_id":"26583FDA-FB3B-4F2E-9183-0AA6D4FE99FA"}
{
  "uptime" : 73,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Mac15,10",
  "coalitionID" : 951,
  "osVersion" : {
    "train" : "macOS 15.0",
    "build" : "24A335",
    "releaseType" : "User"
  },
  "captureTime" : "2024-09-30 11:01:58.4254 +0300",
  "codeSigningMonitor" : 1,
  "incident" : "26583FDA-FB3B-4F2E-9183-0AA6D4FE99FA",
  "pid" : 929,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-09-30 11:01:58.4135 +0300",
  "procStartAbsTime" : 1764348314,
  "procExitAbsTime" : 1764617362,
  "procName" : "maintenancetool",
  "procPath" : "\/Applications\/AmneziaVPN.app\/maintenancetool.app\/Contents\/MacOS\/maintenancetool",
  "bundleInfo" : {"CFBundleShortVersionString":"4.6.1","CFBundleVersion":"4.6.1","CFBundleIdentifier":"com.yourcompany.installerbase"},
  "storeInfo" : {"deviceIdentifierForVendor":"649BAE30-5368-5258-85CE-3F9A03C3DCC8","thirdParty":true},
  "parentProc" : "AmneziaVPN",
  "parentPid" : 901,
  "coalitionName" : "com.yourcompany.installerbase",
  "crashReporterKey" : "27AEA75C-47DE-FDF7-27AE-E813E3CD0292",
  "responsiblePid" : 901,
  "responsibleProc" : "AmneziaVPN",
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 16777216,
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 4294967295,
  "bootSessionUUID" : "24B98A5D-3D45-44DB-A8C7-0722447C1B7B",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},
  "termination" : {"flags":66,"code":1,"namespace":"CODESIGNING","indicator":"Taskgated Invalid Signature"},
  "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":10015,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":0},"r12":{"value":0},"rosetta":{"tmp2":{"value":0},"tmp1":{"value":0},"tmp0":{"value":0}},"rbx":{"value":0},"r8":{"value":0},"r15":{"value":0},"r10":{"value":0},"rdx":{"value":0},"rdi":{"value":0},"r9":{"value":0},"r13":{"value":0},"rflags":{"value":515},"rax":{"value":0},"rsp":{"value":0},"r11":{"value":0},"rcx":{"value":0},"r14":{"value":0},"rsi":{"value":0}},"frames":[{"imageOffset":12156,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8693755904,
    "size" : 577536,
    "uuid" : "e6056c94-fc2d-3517-b1e1-46d8eb58a10e",
    "path" : "\/dyld_path_missing",
    "name" : "dyld_path_missing"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703124148224,
    "size" : 196608,
    "uuid" : "e447ba6f-c0b7-3dcb-b110-b38e57558dc3",
    "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=1068K resident=0K(0%) swapped_out_or_unallocated=1068K(100%)\nWritable regions: Total=32.3M written=144K(0%) resident=144K(0%) swapped_out=0K(0%) unallocated=32.1M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8176K        1 \nVM_ALLOCATE                       24.1M        7 \nVM_ALLOCATE (reserved)              48K        1         reserved VM address space (unallocated)\n__DATA                              76K        4 \n__DATA_CONST                        24K        1 \n__DATA_DIRTY                         8K        2 \n__LINKEDIT                         336K        4 \n__TEXT                             756K        2 \n__TPRO_CONST                       276K        1 \nmapped file                        8.6G       39 \npage table in kernel               144K        1 \n===========                     =======  ======= \nTOTAL                              8.7G       64 \nTOTAL, minus reserved VM space     8.7G       64 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "a729c7486c20fb7250775144ccbe24b5fd3fbbc0",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60186475825c62000ccf5450",
      "factorPackIds" : {

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

      },
      "deploymentId" : 240000005
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "c47ab4cc-c9c3-4b5d-a87c-e2433ce02597",
      "experimentId" : "6639bc6ba73d460582162323",
      "deploymentId" : 400000006
    },
    {
      "treatmentId" : "45f4e2a5-551b-4bc2-a2dc-19c244dda8f8",
      "experimentId" : "6643969b3099cf28e049862f",
      "deploymentId" : 400000007
    }
  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed",
  "PC register does not match crashing frame (0x0 vs 0x7FF7FFBBFF7C)"
]
}

Model: Mac15,10, BootROM 11881.1.1, proc 14:10:4 processors, 36 GB, SMC 
Graphics: Apple M3 Max, Apple M3 Max, Built-In
Display: ASUS PA279, 3840 x 2160 (2160p/4K UHD 1 - Ultra High Definition), Main, MirrorOff, Online
Display: LG ULTRAFINE, 3840 x 2160 (2160p/4K UHD 1 - Ultra High Definition), MirrorOff, Online
Memory Module: LPDDR5, Micron
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Jul 26 2024 20:29:22 version 23.10.888.0.41.51.162 FWID 01-1d20bb57
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: Brio 500
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB Type-C Digital AV Adapter
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

Screenshots

image

Desktop (please complete the following information):

•   OS: macOS 15.0 Sequoia
•   Version: Amnezia VPN 4.6 (previous), Amnezia VPN 4.7 (new attempting to install)

Additional context It seems like the code-signing process might have failed or there may be an issue with compatibility for macOS 15.0.

jesusc31 commented 2 months ago

remove 4.6.0.0 manually and try 4.7.0.0 clean install