[GH-ISSUE #1562] macOS: Uninstaller isn't working #652

Closed
opened 2026-10-13 20:25:55 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @nikitenich on GitHub (May 2, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1562

Describe the bug
Uninstaller quits unexpectedly after attempt to remove existing installation.

To Reproduce
Just open installer (in my case it is a AmneziaVPN_4.8.5.0_macos.dmg)

Log files

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

Hardware Model:      MacBookPro17,1
Process:             maintenancetool [3307]
Path:                /Applications/AmneziaVPN.app/maintenancetool.app/Contents/MacOS/maintenancetool
Identifier:          com.yourcompany.installerbase
Version:             4.8.1 (4.8.1)
Code Type:           X86-64 (Translated)
Role:                Unspecified
Parent Process:      AmneziaVPN [3304]
Coalition:           com.yourcompany.installerbase [1817]
Responsible Process: AmneziaVPN [3304]

Date/Time:           2025-05-02 17:44:37.4970 +0300
Launch Time:         2025-05-02 17:44:37.4718 +0300
OS Version:          macOS 15.4.1 (24E263)
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  	    0x7ff7ffe4e19c 0x7ff7ffe4b000 + 12700


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:
       0x207266000 -        0x207300fff dyld_path_missing (*) <d90f985a-73b7-32a6-9f7a-a79a936bf75f> /dyld_path_missing
    0x7ff7ffe4b000 -     0x7ff7ffe7afff main_executable_path_missing (*) <a89c8e4c-e823-336b-96f1-2cfddae4563d> /main_executable_path_missing
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

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

EOF

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

{"app_name":"maintenancetool","timestamp":"2025-05-02 17:44:38.00 +0300","app_version":"4.8.1","slice_uuid":"fe3e0a1d-c696-3f59-9778-adf4e8923b9f","build_version":"4.8.1","platform":0,"bundleID":"com.yourcompany.installerbase","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.4.1 (24E263)","roots_installed":0,"name":"maintenancetool","incident_id":"F6F48F3C-159D-4452-BE5C-658C4A4869BE"}
{
  "uptime" : 2000,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro17,1",
  "coalitionID" : 1817,
  "osVersion" : {
    "train" : "macOS 15.4.1",
    "build" : "24E263",
    "releaseType" : "User"
  },
  "captureTime" : "2025-05-02 17:44:37.4970 +0300",
  "codeSigningMonitor" : 1,
  "incident" : "F6F48F3C-159D-4452-BE5C-658C4A4869BE",
  "pid" : 3307,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2025-05-02 17:44:37.4718 +0300",
  "procStartAbsTime" : 48124335538,
  "procExitAbsTime" : 48124934126,
  "procName" : "maintenancetool",
  "procPath" : "\/Applications\/AmneziaVPN.app\/maintenancetool.app\/Contents\/MacOS\/maintenancetool",
  "bundleInfo" : {"CFBundleShortVersionString":"4.8.1","CFBundleVersion":"4.8.1","CFBundleIdentifier":"com.yourcompany.installerbase"},
  "storeInfo" : {"deviceIdentifierForVendor":"C4ED2C96-66EB-502A-8C32-D791218308E1","thirdParty":true},
  "parentProc" : "AmneziaVPN",
  "parentPid" : 3304,
  "coalitionName" : "com.yourcompany.installerbase",
  "crashReporterKey" : "F26ED46C-F0A2-4C98-4E49-F6A3B2328D02",
  "appleIntelligenceStatus" : {"reasons":["notOptedIn"],"state":"unavailable"},
  "responsiblePid" : 3304,
  "responsibleProc" : "AmneziaVPN",
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 16777216,
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 4294967295,
  "codeSigningAuxiliaryInfo" : 0,
  "bootSessionUUID" : "85FDB992-A15E-47FA-8FFE-F85579986885",
  "wakeTime" : 1354,
  "sleepWakeUUID" : "F5D7484D-8F01-4CAF-8CC6-2D4E54DC5B7E",
  "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":50490,"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":12700,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8709890048,
    "size" : 634880,
    "uuid" : "d90f985a-73b7-32a6-9f7a-a79a936bf75f",
    "path" : "\/dyld_path_missing",
    "name" : "dyld_path_missing"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703126827008,
    "size" : 196608,
    "uuid" : "a89c8e4c-e823-336b-96f1-2cfddae4563d",
    "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=1168K resident=0K(0%) swapped_out_or_unallocated=1168K(100%)\nWritable regions: Total=34.0M written=144K(0%) resident=144K(0%) swapped_out=0K(0%) unallocated=33.9M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8176K        1 \nVM_ALLOCATE                       25.7M        7 \nVM_ALLOCATE (reserved)              80K        1         reserved VM address space (unallocated)\n__DATA                             204K        4 \n__DATA_CONST                        28K        1 \n__DATA_DIRTY                         8K        2 \n__LINKEDIT                         368K        3 \n__TEXT                             812K        2 \n__TPRO_CONST                         4K        1 \nmapped file                        9.2G       39 \npage table in kernel               144K        1 \n===========                     =======  ======= \nTOTAL                              9.3G       63 \nTOTAL, minus reserved VM space     9.3G       63 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "d50faedd73b3f16cb7d71cb42cef19b3cf560bb5",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "63f9578e238e7b23a1f3030a",
      "factorPackIds" : {

      },
      "deploymentId" : 240000005
    },
    {
      "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
      "factorPackIds" : {

      },
      "deploymentId" : 240000021
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "d7ff00dd-1c5a-4dbb-85d6-7a936d671384",
      "experimentId" : "67f46bbc84eaf455d73c6098",
      "deploymentId" : 400000001
    }
  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed",
  "RIP register does not match crashing frame (0x0 vs 0x7FF7FFE4E19C)"
]
}

Model: MacBookPro17,1, BootROM 11881.101.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, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Dec  7 2024 04:41:25 version 18.90.5.0.7.8.177 FWID 01-02f4dc53
IO80211_driverkit-1475.34 "IO80211_driverkit-1475.34" Mar  9 2025 20:59:13
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.

Screenshots
Image

Desktop (please complete the following information):

  • OS: macOS
  • Version: 15.4.1
Originally created by @nikitenich on GitHub (May 2, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1562 **Describe the bug** Uninstaller quits unexpectedly after attempt to remove existing installation. **To Reproduce** Just open installer (in my case it is a AmneziaVPN_4.8.5.0_macos.dmg) **Log files** ``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Hardware Model: MacBookPro17,1 Process: maintenancetool [3307] Path: /Applications/AmneziaVPN.app/maintenancetool.app/Contents/MacOS/maintenancetool Identifier: com.yourcompany.installerbase Version: 4.8.1 (4.8.1) Code Type: X86-64 (Translated) Role: Unspecified Parent Process: AmneziaVPN [3304] Coalition: com.yourcompany.installerbase [1817] Responsible Process: AmneziaVPN [3304] Date/Time: 2025-05-02 17:44:37.4970 +0300 Launch Time: 2025-05-02 17:44:37.4718 +0300 OS Version: macOS 15.4.1 (24E263) 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 0x7ff7ffe4e19c 0x7ff7ffe4b000 + 12700 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: 0x207266000 - 0x207300fff dyld_path_missing (*) <d90f985a-73b7-32a6-9f7a-a79a936bf75f> /dyld_path_missing 0x7ff7ffe4b000 - 0x7ff7ffe7afff main_executable_path_missing (*) <a89c8e4c-e823-336b-96f1-2cfddae4563d> /main_executable_path_missing 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? Error Formulating Crash Report: dyld_process_snapshot_get_shared_cache failed RIP register does not match crashing frame (0x0 vs 0x7FF7FFE4E19C) EOF ----------- Full Report ----------- {"app_name":"maintenancetool","timestamp":"2025-05-02 17:44:38.00 +0300","app_version":"4.8.1","slice_uuid":"fe3e0a1d-c696-3f59-9778-adf4e8923b9f","build_version":"4.8.1","platform":0,"bundleID":"com.yourcompany.installerbase","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.4.1 (24E263)","roots_installed":0,"name":"maintenancetool","incident_id":"F6F48F3C-159D-4452-BE5C-658C4A4869BE"} { "uptime" : 2000, "procRole" : "Unspecified", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro17,1", "coalitionID" : 1817, "osVersion" : { "train" : "macOS 15.4.1", "build" : "24E263", "releaseType" : "User" }, "captureTime" : "2025-05-02 17:44:37.4970 +0300", "codeSigningMonitor" : 1, "incident" : "F6F48F3C-159D-4452-BE5C-658C4A4869BE", "pid" : 3307, "translated" : true, "cpuType" : "X86-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2025-05-02 17:44:37.4718 +0300", "procStartAbsTime" : 48124335538, "procExitAbsTime" : 48124934126, "procName" : "maintenancetool", "procPath" : "\/Applications\/AmneziaVPN.app\/maintenancetool.app\/Contents\/MacOS\/maintenancetool", "bundleInfo" : {"CFBundleShortVersionString":"4.8.1","CFBundleVersion":"4.8.1","CFBundleIdentifier":"com.yourcompany.installerbase"}, "storeInfo" : {"deviceIdentifierForVendor":"C4ED2C96-66EB-502A-8C32-D791218308E1","thirdParty":true}, "parentProc" : "AmneziaVPN", "parentPid" : 3304, "coalitionName" : "com.yourcompany.installerbase", "crashReporterKey" : "F26ED46C-F0A2-4C98-4E49-F6A3B2328D02", "appleIntelligenceStatus" : {"reasons":["notOptedIn"],"state":"unavailable"}, "responsiblePid" : 3304, "responsibleProc" : "AmneziaVPN", "codeSigningID" : "", "codeSigningTeamID" : "", "codeSigningFlags" : 16777216, "codeSigningValidationCategory" : 0, "codeSigningTrustLevel" : 4294967295, "codeSigningAuxiliaryInfo" : 0, "bootSessionUUID" : "85FDB992-A15E-47FA-8FFE-F85579986885", "wakeTime" : 1354, "sleepWakeUUID" : "F5D7484D-8F01-4CAF-8CC6-2D4E54DC5B7E", "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":50490,"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":12700,"imageIndex":1}]}], "usedImages" : [ { "source" : "P", "arch" : "x86_64", "base" : 8709890048, "size" : 634880, "uuid" : "d90f985a-73b7-32a6-9f7a-a79a936bf75f", "path" : "\/dyld_path_missing", "name" : "dyld_path_missing" }, { "source" : "P", "arch" : "arm64", "base" : 140703126827008, "size" : 196608, "uuid" : "a89c8e4c-e823-336b-96f1-2cfddae4563d", "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=1168K resident=0K(0%) swapped_out_or_unallocated=1168K(100%)\nWritable regions: Total=34.0M written=144K(0%) resident=144K(0%) swapped_out=0K(0%) unallocated=33.9M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8176K 1 \nVM_ALLOCATE 25.7M 7 \nVM_ALLOCATE (reserved) 80K 1 reserved VM address space (unallocated)\n__DATA 204K 4 \n__DATA_CONST 28K 1 \n__DATA_DIRTY 8K 2 \n__LINKEDIT 368K 3 \n__TEXT 812K 2 \n__TPRO_CONST 4K 1 \nmapped file 9.2G 39 \npage table in kernel 144K 1 \n=========== ======= ======= \nTOTAL 9.3G 63 \nTOTAL, minus reserved VM space 9.3G 63 \n", "legacyInfo" : { "threadTriggered" : { } }, "logWritingSignature" : "d50faedd73b3f16cb7d71cb42cef19b3cf560bb5", "trialInfo" : { "rollouts" : [ { "rolloutId" : "63f9578e238e7b23a1f3030a", "factorPackIds" : { }, "deploymentId" : 240000005 }, { "rolloutId" : "5fb4245a1bbfe8005e33a1e1", "factorPackIds" : { }, "deploymentId" : 240000021 } ], "experiments" : [ { "treatmentId" : "d7ff00dd-1c5a-4dbb-85d6-7a936d671384", "experimentId" : "67f46bbc84eaf455d73c6098", "deploymentId" : 400000001 } ] }, "reportNotes" : [ "dyld_process_snapshot_get_shared_cache failed", "RIP register does not match crashing frame (0x0 vs 0x7FF7FFE4E19C)" ] } Model: MacBookPro17,1, BootROM 11881.101.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, Hynix AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Dec 7 2024 04:41:25 version 18.90.5.0.7.8.177 FWID 01-02f4dc53 IO80211_driverkit-1475.34 "IO80211_driverkit-1475.34" Mar 9 2025 20:59:13 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. ``` **Screenshots** <img width="372" alt="Image" src="https://github.com/user-attachments/assets/ec4ebe1e-58f2-41c1-8e8d-9c594c5643af" /> **Desktop (please complete the following information):** - OS: macOS - Version: 15.4.1
Author
Owner

@Noxius87 commented on GitHub (Jun 5, 2025):

Thank you for your report. Please note that GitHub is not a support channel. For assistance, please contact our support team via chat at https://t.me/amnezia_support_bot or via email at support@amnezia.org.

Our team will review the details and help resolve the issue.

<!-- gh-comment-id:2945650598 --> @Noxius87 commented on GitHub (Jun 5, 2025): Thank you for your report. Please note that GitHub is not a support channel. For assistance, please contact our support team via chat at https://t.me/amnezia_support_bot or via email at [support@amnezia.org](mailto:support@amnezia.org). Our team will review the details and help resolve the issue.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#652
No description provided.