SUMMARY STEPS TO REPRODUCE 1. Select a picture 2. Item->Edit Geolocation 3. Select "Google Maps" OBSERVED RESULT App crashes EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Debian GNU/Linux 9 (available in About System) KDE Plasma Version: 5.8.6 KDE Frameworks Version: 5.28.0 Qt Version: 5.7.1 ADDITIONAL INFORMATION With digikam-7.0.0-beta1-x86-64.appimage this crash does not occur. Output on console: $ ./digikam-7.0.0-beta2-1-x86-64.appimage -- digiKam Linux AppImage Bundle -- Use 'help' as CLI argument to know all available options for digiKam application. -- Notes: to integrate this bundle to your desktop, use AppImageLauncher. -- to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'. libudev.so.0 -- Preloading shared libs: QtAV 1.13.0(Jan 27 2020, 02:49:13) Multimedia framework base on Qt and FFmpeg. Distributed under the terms of LGPLv2.1 or later. Shanghai, China Copyright (C) 2012-2019 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com Donate: http://qtav.org/donate.html Source: https://github.com/wang-bin/QtAV Home page: http://qtav.org unknown: Unhandled container to remove : Digikam::DigikamApp [28149:28164:0203/221952.756673:ERROR:nss_util.cc(674)] Error initializing NSS with a persistent database (sql:/home/martin/.pki/nssdb): NSS error code: -8023 [28149:28164:0203/221952.756824:ERROR:nss_util.cc(154)] Error initializing NSS without a persistent database: NSS error code: -8023 [28149:28164:0203/221952.756836:FATAL:nss_util.cc(156)] nss_error=-8023, os_error=0 /tmp/.mount_digikaejjMEn/AppRun: Zeile 155: 28149 Trace/Breakpoint ausgelöst digikam $@
Gilles, we may need to preload libnss3.so. Maik
ok, i will fix appimage bash script and rebuild the bundles Gilles
digiKam 7.0.0 stable release is now published: https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/ We need a fresh feedback on this file using this version. Best Regards Gilles Caulier
(In reply to caulier.gilles from comment #3) > digiKam 7.0.0 stable release is now published: > > https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/ > > We need a fresh feedback on this file using this version. > > Best Regards > > Gilles Caulier Hi, unfortunately the crash is still reproducable with the release version digikam-7.0.0-x86-64.appimage: STEPS TO REPRODUCE 1. Select a picture 2. Item->Edit Geolocation 3. Select "Google Maps" OBSERVED RESULT App crashes Best regards, Martin martin@debian10:~/bin$ ./digikam-7.0.0-x86-64.appimage -- digiKam Linux AppImage Bundle -- Use 'help' as CLI argument to know all available options for digiKam application. -- Notes: to integrate this bundle to your desktop, use AppImageLauncher. -- to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'. libudev.so.0 libnss3.so -- Preloading shared libs: :/tmp/.mount_digikaS7eYcD/usr/lib64/libnss3.so QtAV 1.13.0(Jul 16 2020, 07:09:16) Multimedia framework base on Qt and FFmpeg. Distributed under the terms of LGPLv2.1 or later. Shanghai, China Copyright (C) 2012-2019 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com Donate: http://qtav.org/donate.html Source: https://github.com/wang-bin/QtAV Home page: http://qtav.org unknown: Unhandled container to remove : Digikam::DigikamApp [24598:27651:0808/105332.034109:ERROR:nss_util.cc(674)] Error initializing NSS with a persistent database (sql:/home/martin/.pki/nssdb): NSS error code: -8023 [24598:27651:0808/105332.034275:ERROR:nss_util.cc(154)] Error initializing NSS without a persistent database: NSS error code: -8023 [24598:27651:0808/105332.034293:FATAL:nss_util.cc(156)] nss_error=-8023, os_error=0 /tmp/.mount_digikaS7eYcD/AppRun: Zeile 157: 24598 Trace/Breakpoint ausgelöst digikam $@
*** Bug 424618 has been marked as a duplicate of this bug. ***
It's a know small bug that it will be fixed in 7.1.0. Work around : run AppImage like this : LD_PRELOAD=/usr/lib64/libxcb-dri3.so.0 ./digikam-7.0.0-x86-64.appimage Gilles Caulier
The workaround suggested by caulier.gilles in comment #6 does not work on Debian. Hereby the output: gianluca@asus-debian:~$ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 /opt/digikam-7.0.0/./digikam-7.0.0-x86-64.appimage -- digiKam Linux AppImage Bundle -- Use 'help' as CLI argument to know all available options for digiKam application. -- Notes: to integrate this bundle to your desktop, use AppImageLauncher. -- to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'. libudev.so.0 libnss3.so -- Preloading shared libs: /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0:/tmp/.mount_digikaOUby18/usr/lib64/libnss3.so QtAV 1.13.0(Jul 16 2020, 07:09:16) Multimedia framework base on Qt and FFmpeg. Distributed under the terms of LGPLv2.1 or later. Shanghai, China Copyright (C) 2012-2019 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com Donate: http://qtav.org/donate.html Source: https://github.com/wang-bin/QtAV Home page: http://qtav.org unknown: Unhandled container to remove : Digikam::DigikamApp Digikam::CollectionScanner::scanAlbum: Folder does not exist or is not readable: "/home/gianluca/cloud-decrypted/dropbox-decrypted/Casa/Trentola - P1/Ristrutturazione 2017" [10559:10580:0828/194053.913035:ERROR:nss_util.cc(674)] Error initializing NSS with a persistent database (sql:/home/gianluca/.pki/nssdb): NSS error code: -8023 [10559:10580:0828/194053.913317:ERROR:nss_util.cc(154)] Error initializing NSS without a persistent database: NSS error code: -8023 [10559:10580:0828/194053.913341:FATAL:nss_util.cc(156)] nss_error=-8023, os_error=0 /tmp/.mount_digikaOUby18/AppRun: line 157: 10559 Trace/breakpoint trap digikam $@
perhaps to preload NSS lib located somewhere in /usr/lib/ from your computer can help. can you localize the libnss on your system and preload by the same way than libxcb-dri library as explained previously ? Gilles Caulier
(In reply to caulier.gilles from comment #8) > [...] I made several tests. At the end of the day, my conclusions are that: - preloading libxcb-dri3 is not necessary - preloading libnss3 AND libnss3-utils is necessary (BOTH are necessary) Below the command line I used to start the AppImage, where you can see what I preloaded and the output gianluca@asus-debian:~$ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libnss3.so:/usr/lib/x86_64-linux-gnu/libnssutil3.so /opt/digikam-7.0.0/./digikam-7.0.0-x86-64.appimage -- digiKam Linux AppImage Bundle -- Use 'help' as CLI argument to know all available options for digiKam application. -- Notes: to integrate this bundle to your desktop, use AppImageLauncher. -- to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'. libudev.so.0 libnss3.so -- Preloading shared libs: /usr/lib/x86_64-linux-gnu/libnss3.so:/usr/lib/x86_64-linux-gnu/libnssutil3.so:/tmp/.mount_digikagbfgSz/usr/lib64/libnss3.so QtAV 1.13.0(Jul 16 2020, 07:09:16) Multimedia framework base on Qt and FFmpeg. Distributed under the terms of LGPLv2.1 or later. Shanghai, China Copyright (C) 2012-2019 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com Donate: http://qtav.org/donate.html Source: https://github.com/wang-bin/QtAV Home page: http://qtav.org unknown: Unhandled container to remove : Digikam::DigikamApp Digikam::CollectionScanner::scanAlbum: Folder does not exist or is not readable: "/home/gianluca/cloud-decrypted/dropbox-decrypted/Casa/Trentola - P1/Ristrutturazione 2017" Thanks a lot for helping
Git commit f1d54b95ddb67f2f4d8484f49806f462bca5e72d by Gilles Caulier. Committed on 31/08/2020 at 13:01. Pushed by cgilles into branch 'master'. AppImage: preload libnssutil3 to prevent crash with GoogleMaps and QtWebEngine Related: bug 424618 FIXED-IN: 7.1.0 M +5 -0 project/bundles/appimage/data/AppRun https://invent.kde.org/graphics/digikam/commit/f1d54b95ddb67f2f4d8484f49806f462bca5e72d