qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.34k stars 2.98k forks source link

QGIS mac - hang on startup splash screen #48469

Open gmerrall opened 2 years ago

gmerrall commented 2 years ago

What is the bug or the crash?

QGIS fails to start. The splash screen loads, then the app hangs. I ran QGIS from the command line and no additional output was provided.

On first run the splash screen appears, then appears to stop at "checking database". The last file created in the QGIS profile directory is indeed qgis-auth.db. Deleted the profile directory and problem re-occured.

I force quit and grabbed some output from the crash report. Can obtain more as required.

Unfortunately there doesn't seem to be a way to get additional log output from the QGIS client.

Heaviest stack for the main thread of the target process:
  11  start + 462 (dyld + 21790) [0x11b8d951e]
  11  main + 21577 (QGIS + 111913) [0x10cc39529]
  11  QgisApp::QgisApp(QSplashScreen*, bool, bool, bool, QString const&, QString const&, QWidget*, QFlags<Qt::WindowType>) + 2637 (libqgis_app.3.24.2.dylib + 356269) [0x10db30fad]
  11  QgsApplication::initQgis() + 362 (qgis_core + 7013498) [0x114ee247a]
  11  QgsAuthManager::init(QString const&, QString const&) + 2004 (qgis_core + 3151204) [0x114b33564]
  11  QgsAuthManager::initSslCaches() + 182 (qgis_core + 3159238) [0x114b354c6]
  11  QgsAuthManager::rebuildCaCertsCache() + 91 (qgis_core + 3208139) [0x114b413cb]
  11  QSslConfiguration::systemCaCertificates() + 14 (QtNetwork + 862510) [0x1139a692e]
  11  QSslSocketPrivate::systemCaCertificates() + 28 (QtNetwork + 949260) [0x1139bbc0c]
  11  QSslSocketPrivate::ensureInitialized() + 694 (QtNetwork + 951462) [0x1139bc4a6]
  11  QSslSocketPrivate::systemCaCertificates() + 321 (QtNetwork + 949553) [0x1139bbd31]
  11  SecTrustSettingsCopyTrustSettings + 38 (Security + 2514072) [0x7ff812f6dc98]
  9   tsCopyTrustSettings(__SecCertificate*, SecTrustSettingsDomain, __CFArray const**, __CFDate const**) + 63 (Security + 2514160) [0x7ff812f6dcf0]
  8   Security::KeychainCore::TrustSettings::CreateTrustSettings(SecTrustSettingsDomain, bool, bool, Security::KeychainCore::TrustSettings*&) + 800 (Security + 2577680) [0x7ff812f7d510]
  8   Security::KeychainCore::TrustSettings::initFromData(__CFData const*) + 49 (Security + 2578739) [0x7ff812f7d933]
  8   CFPropertyListCreateFromXMLData + 78 (CoreFoundation + 324743) [0x7ff810d4d487]
  8   _CFPropertyListCreateWithData + 630 (CoreFoundation + 1172707) [0x7ff810e1c4e3]
  8   _CFPropertyListCreateFromUTF8Data + 1463 (CoreFoundation + 119277) [0x7ff810d1b1ed]
  8   parseXMLElement + 2004 (CoreFoundation + 124157) [0x7ff810d1c4fd]
  8   parseXMLElement + 2774 (CoreFoundation + 124927) [0x7ff810d1c7ff]
  6   parseXMLElement + 2774 (CoreFoundation + 124927) [0x7ff810d1c7ff]
  6   parseXMLElement + 2774 (CoreFoundation + 124927) [0x7ff810d1c7ff]
  3   parseXMLElement + 3731 (CoreFoundation + 125884) [0x7ff810d1cbbc]
  2   __CFDataInit + 155 (CoreFoundation + 1171438) [0x7ff810e1bfee]
  1   __CFAllocatorRespectsHintZeroWhenAllocating + 26 (CoreFoundation + 15826) [0x7ff810d01dd2]

Steps to reproduce the issue

Simply download and run?

Versions

Can't paste into from Help menu due to not starting up.

QGIS: Tested 3.24.2 Mac: Mojae 1.2 (Intel)

Supported QGIS version

New profile

Additional context

No response

zsofia85 commented 2 years ago

Screenshot 2022-05-12 at 07 13 42 Sadly for me the launch fails even before that. Tried with both available versions for Mac, same outcome.

gmerrall commented 2 years ago

This is documented on the Download page "QGIS is not yet notarized as required by macOS Catalina (10.15) security rules. On first launch, please right-click on the QGIS app icon, hold down the Option key, then choose Open."