amnezia-vpn / amnezia-client

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

MacOS 10.14 2.1.2 > 3.0.8 update and rollback crashes #302

Closed ikyquocked closed 7 months ago

ikyquocked commented 1 year ago

I updated 2.1.2.3 to 3.0.8 and got crash: Application Specific Information: abort() called application requires at least OS X version 10.15.0 (10.15), but is being run on 10.14.6 ( 10.14.6/18G9323), and so is exiting. Then I installed 2.1.2.3 and got this crash again. I was installing All older versions, and all of them are crashing (even 1.5.3!)

I dunno, looks like some strange bug. Also you need to add minimum system requirements information about versions...

pokamest commented 1 year ago

We set for 3.x and further releases minimum deployment target as MacOS 10.15 (Catalina). Unfortunately it's because of Qt 6.4 minimum. We will try later to build with Qt 6.2 to support MacOS < 10.15. Regarding rollback crash - that's very very strange, could you please provide more info about that crash

ikyquocked commented 12 months ago

We set for 3.x and further releases minimum deployment target as MacOS 10.15 (Catalina). Unfortunately it's because of Qt 6.4 minimum. We will try later to build with Qt 6.2 to support MacOS < 10.15. Regarding rollback crash - that's very very strange, could you please provide more info about that crash

I purged Amnezia 3 by AppCleaner removing all data, then restart mac, installed old Amnezia, now its working 2.1.2 Hope it could be possible to have new releases on older macs

zeliboba7 commented 10 months ago

We set for 3.x and further releases minimum deployment target as MacOS 10.15 (Catalina). Unfortunately it's because of Qt 6.4 minimum. We will try later to build with Qt 6.2 to support MacOS < 10.15. Regarding rollback crash - that's very very strange, could you please provide more info about that crash

I'm also interested in macos build for 10.14, did you succeed with Qt 6.2 build? BTW, there is a confusing mismatch between versions in installer executable

<key>LSMinimumSystemVersion</key>
<string>10.13</string>

and the installed client:

<key>LSMinimumSystemVersion</key>
<string>10.15</string>
zeliboba7 commented 10 months ago

I managed to buid for macos-10.14 using qt-6.2, although there are many errors like ld: warning: object file (/Users/runner/work/amnezia-client/amnezia-client/client/cmake/../3rd-prebuilt/3rd-prebuilt/openssl//macos/lib/libcrypto.a(a_int.o)) was built for newer macOS version (12.6.7) than being linked (10.14) It seems https://github.com/amnezia-vpn/3rd-prebuilt should be rebuild for proper linking for macos-10.14

pokamest commented 10 months ago

@zeliboba7 you can take a look to the corresponding build action - https://github.com/amnezia-vpn/3rd-build-ga/blob/master/.github/workflows/build_openssl_macos_ios.yml You can try to fork these 3 repo and setup GH builds for this MacOS version, but I'm not sure if QML ui will work properly - probably it depends on Qt 6.4 minimum

pokamest commented 7 months ago

Fixed, please update to the latest release.

zeliboba7 commented 7 months ago

I tried to install version 4.4.0.0, but it does not work, still require macos 10.15. On the other hand, it runs when I call executable from console directly, like /Applications/AmneziaVPN.app/Contents/MacOS/AmneziaVPN, but it issues a lot of error messages in console (see below) and does nothing.

Few comments on the log: first part of messages (without timestamp) appear just after start, the errors with timestamp appear when try to import vpn settings (I have data to connect -> Open config file -> File with connection settings -> Connect). After final click to Connect nothing happens, just return to first screen.

Log messages in console ``` SecureQSettings::getSecTag Error: "Could not retrieve private key from keystore: The user name or passphrase you entered is not correct" SecureQSettings::setSecTag Error: "Could not store data in settings: Unknown error" SecureQSettings::getSecTag Error: "Could not retrieve private key from keystore: The user name or passphrase you entered is not correct" SecureQSettings::getEncKey Unable to store key in keychain 32 0 SecureQSettings::setValue Decryption requested, but key is empty SecureQSettings::getSecTag Error: "Could not retrieve private key from keystore: The user name or passphrase you entered is not correct" SecureQSettings::setSecTag Error: "Could not store data in settings: Unknown error" SecureQSettings::getSecTag Error: "Could not retrieve private key from keystore: The user name or passphrase you entered is not correct" SecureQSettings::getEncKey Unable to store key in keychain 32 0 SecureQSettings::setValue Decryption requested, but key is empty QSystemTrayIcon::setVisible: No Icon set 2024-03-01 15:34:59 info Started AmneziaVPN version 4.4.0.0 2024-03-01 15:34:59 info macOS Mojave (10.14) (x86_64) objc[3845]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff90a703d8) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x11d1d3f50). One of the two will be used. Which one is undefined. 2024-03-01 15:35:35 critical SecureQSettings::getSecTag Error: "Could not retrieve private key from keystore: The user name or passphrase you entered is not correct" 2024-03-01 15:35:35 critical SecureQSettings::setSecTag Error: "Could not store data in settings: Unknown error" 2024-03-01 15:35:35 critical SecureQSettings::getSecTag Error: "Could not retrieve private key from keystore: The user name or passphrase you entered is not correct" 2024-03-01 15:35:35 critical SecureQSettings::getEncKey Unable to store key in keychain 32 0 2024-03-01 15:35:35 critical SecureQSettings::setValue Decryption requested, but key is empty 2024-03-01 15:35:35 critical SecureQSettings::getSecTag Error: "Could not retrieve private key from keystore: The user name or passphrase you entered is not correct" 2024-03-01 15:35:35 critical SecureQSettings::setSecTag Error: "Could not store data in settings: Unknown error" 2024-03-01 15:35:35 critical SecureQSettings::getSecTag Error: "Could not retrieve private key from keystore: The user name or passphrase you entered is not correct" 2024-03-01 15:35:35 critical SecureQSettings::getEncKey Unable to store key in keychain 32 0 2024-03-01 15:35:35 critical SecureQSettings::setValue Encryption required, but key is empty 2024-03-01 15:35:35 critical SecureQSettings::getSecTag Error: "Could not retrieve private key from keystore: The user name or passphrase you entered is not correct" 2024-03-01 15:35:35 critical SecureQSettings::setSecTag Error: "Could not store data in settings: Unknown error" 2024-03-01 15:35:35 critical SecureQSettings::getSecTag Error: "Could not retrieve private key from keystore: The user name or passphrase you entered is not correct" 2024-03-01 15:35:35 critical SecureQSettings::getEncKey Unable to store key in keychain 32 0 2024-03-01 15:35:35 critical SecureQSettings::setValue Decryption requested, but key is empty ```