amnezia-vpn / amnezia-client

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

MacOS Sequoia 15 Installation Crash #1069

Open sokos opened 2 months ago

sokos commented 2 months ago

Describe the bug Installation (AmneziaVPN_4.7.0.0.dmg and AmneziaVPN_4.6.0.3.dmg) begins with a crash.

To Reproduce Steps to reproduce the behavior:

  1. Launch installation
  2. Enter password for uninstalling previous version
  3. See error

Log files

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

Incident Identifier: 498A9024-B04E-4CEC-BC18-F1FB3546FDA8
CrashReporter Key:   7138B366-0387-B83B-3150-0CA018041B33
Hardware Model:      MacBookPro18,3
Process:             maintenancetool [6862]
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 [6860]
Coalition:           com.yourcompany.installerbase [3720]
Responsible Process: AmneziaVPN [6860]

Date/Time:           2024-09-17 11:22:34.2357 +0400
Launch Time:         2024-09-17 11:22:34.2111 +0400
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        0x7ff7ffe41f7c 0x7ff7ffe3f000 + 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:
       0x20416a000 -        0x2041f6fff dyld_path_missing (*) <e6056c94-fc2d-3517-b1e1-46d8eb58a10e> /dyld_path_missing
    0x7ff7ffe3f000 -     0x7ff7ffe6efff 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 0x7FF7FFE41F7C)

EOF

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

{"app_name":"maintenancetool","timestamp":"2024-09-17 11:22:34.00 +0400","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":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.0 (24A335)","roots_installed":0,"name":"maintenancetool","incident_id":"498A9024-B04E-4CEC-BC18-F1FB3546FDA8"}
{
  "uptime" : 11000,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,3",
  "coalitionID" : 3720,
  "osVersion" : {
    "train" : "macOS 15.0",
    "build" : "24A335",
    "releaseType" : "User"
  },
  "captureTime" : "2024-09-17 11:22:34.2357 +0400",
  "codeSigningMonitor" : 1,
  "incident" : "498A9024-B04E-4CEC-BC18-F1FB3546FDA8",
  "pid" : 6862,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-09-17 11:22:34.2111 +0400",
  "procStartAbsTime" : 265676618589,
  "procExitAbsTime" : 265677204967,
  "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":"AF70A207-BEC8-5398-B02F-9DA5273AA81F","thirdParty":true},
  "parentProc" : "AmneziaVPN",
  "parentPid" : 6860,
  "coalitionName" : "com.yourcompany.installerbase",
  "crashReporterKey" : "7138B366-0387-B83B-3150-0CA018041B33",
  "responsiblePid" : 6860,
  "responsibleProc" : "AmneziaVPN",
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 16777216,
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 4294967295,
  "bootSessionUUID" : "46005988-BDDF-40D2-AFCD-FA0E22BCB86E",
  "wakeTime" : 8792,
  "sleepWakeUUID" : "337C1878-CF88-49C0-927D-46B8D6B80CE4",
  "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":208773,"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" : 8658526208,
    "size" : 577536,
    "uuid" : "e6056c94-fc2d-3517-b1e1-46d8eb58a10e",
    "path" : "\/dyld_path_missing",
    "name" : "dyld_path_missing"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703126777856,
    "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" : "645eb1d0417dab722a215927",
      "factorPackIds" : {

      },
      "deploymentId" : 240000005
    },
    {
      "rolloutId" : "645c2d2f9e69a025b0a37e29",
      "factorPackIds" : {

      },
      "deploymentId" : 240000003
    }
  ],
  "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 0x7FF7FFE41F7C)"
]
}

Model: MacBookPro18,3, BootROM 11881.1.1, proc 8:6:2 processors, 16 GB, SMC 
Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: Color LCD, 3024 x 1964 Retina, Main, 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: USB 10/100 LAN, Ethernet, en9
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

Desktop (please complete the following information):

Nethius commented 2 months ago

https://github.com/amnezia-vpn/amnezia-client/actions/runs/10897740209 try this one

boleslavp-qualtie commented 2 months ago

same thing. maintenancetool crashed

jesusc31 commented 2 months ago

https://github.com/amnezia-vpn/amnezia-client/issues/903#issuecomment-2343530839 should be rebuilt with newer QT version

oblivieit commented 2 months ago

The issue persists on MacOS 15, with both AmneziaVPN 4.8.0.5 and 4.8.1.0.

Moreover, I can see same exact error on older versions as well. Afraid to remove older version manually and try installing because I'm not certain any of the versions will install since maintenance tool crashes, on every release.

Please help!

jesusc31 commented 2 months ago

AmneziaVPN_4.8.1.0.dmg AmneziaVPN_4.8.1.0_for_old_macos.dmg

both of them keep crashing on MacOS 15 during installation

emitrokhin commented 2 months ago

the same

xtrime-ru commented 2 months ago

Any news on this issue?

jesusc31 commented 1 month ago

4.8.1.9 still crashing

UDP I removed 4.7.0.0. manually and installed 4.8.1.9. The update from the previous version does not work.

zored commented 1 month ago

Removal of old version and installation 4.8.1.9 helped me. I've resetted Keychain and Amnezia was crashing repeatedly. Maybe that is somehow related to the problem.

xtrime-ru commented 1 month ago

Clean install do not crash, but routing don't work on mac os 15, while VPN is on.

Here is my config:

[Interface]
PrivateKey = ***
Address = 10.1.166.3/24
DNS = 10.224.0.1
Jc = 6
Jmin = 50
Jmax = 1000
S1 = 62
S2 = 40
H1 = 812116746
H2 = 1976043962
H3 = 267053205
H4 = 2048105727

[Peer]
PublicKey = ***
PresharedKey = ***
AllowedIPs =  10.224.0.0/15, 10.1.166.0/24, ...
PersistentKeepalive = 25
Endpoint = ***

Primary DNS server in settings changed to 10.224.0.1

Traceroute with VPN on looks like this:

traceroute 10.224.0.1
traceroute to 10.224.0.1 (10.224.0.1), 64 hops max, 40 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *

Same config works on IOS without any issues.

jesusc31 commented 1 month ago

Clean install do not crash, but routing don't work on mac os 15, while VPN is on. Same config works on IOS without any issues.

I think you should reinstall server side too

xtrime-ru commented 1 month ago

I think you should reinstall server side too

I use https://github.com/w0rng/amnezia-wg-easy docker container as server. If there is an issue with server, then IOS client would not work, but it does. Its definitely issue with client side in new macos. Also i can see in admin panel, than connect is successful, but traffic only goes one way.