Bug 449308 - Web Browser cannot open url Fails with Error initializing NSS with a persistent database (sql:/home/somebody/.pki/nssdb): NSS error code: -8023 [patch]
Summary: Web Browser cannot open url Fails with Error initializing NSS with a persiste...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-AppImage (show other bugs)
Version: 7.5.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-29 06:36 UTC by thomasking53
Modified: 2022-01-29 11:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0
Sentry Crash Report:


Attachments
output from running app. (2.06 KB, text/plain)
2022-01-29 06:36 UTC, thomasking53
Details
Image of the Webbrowser error (21.84 KB, image/png)
2022-01-29 06:38 UTC, thomasking53
Details
changes to AppRun (127 bytes, text/plain)
2022-01-29 07:35 UTC, thomasking53
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thomasking53 2022-01-29 06:36:21 UTC
Created attachment 146024 [details]
output from running app.

SUMMARY
***
This happens with the appimage digiKam-7.5.0-x86-64_a1b81863809ca2569978a8795d289d7c.appimage downloaded from the web. (https://download.kde.org/stable/digikam/7.5.0/digiKam-7.5.0-x86-64.appimage.mirrorlist)
This issue has been reported and is due to incompatibility with OS libnss3.so ,libnssutils3.so and the appimage version of libsmime3.so.
As a workaround I modified the AppRun to remove preloads of libcrypto and libssl,but preload the OS libsmime3.so 
preload_shared_library libsmime3.so
Linux 64bit Ubuntu 20.04.3 LTS - Gnome 3.36.8
***


STEPS TO REPRODUCE
1. Start the Appimage and select Map Tab (on the right)
2. Click on the World Icon on the bottom (See more information on the Internet)
3. Webbrowser window pops Up

OBSERVED RESULT
Webbrowser reports error that the page could not be loaded 

EXPECTED RESULT
Expected the web page to be opened.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 thomasking53 2022-01-29 06:38:07 UTC
Created attachment 146025 [details]
Image of the Webbrowser error
Comment 2 thomasking53 2022-01-29 07:35:17 UTC
Created attachment 146026 [details]
changes to AppRun

The only changes to the AppRun were to add three images to preload
Comment 3 thomasking53 2022-01-29 07:39:45 UTC
There seems to be some comments missing.
I downloaded App Image from (https://download.kde.org/stable/digikam/7.5.0/digiKam-7.5.0-x86-64.appimage.mirrorlist).
When I run it the reported bahavior happens.
When I modify it to preload the OS images it works

Ubuntu 64bit 20.04.3 LTS
Comment 4 caulier.gilles 2022-01-29 10:06:28 UTC
Git commit aefb18b05385d0951a65590e40d4cad9978a4bcc by Gilles Caulier.
Committed on 29/01/2022 at 10:01.
Pushed by cgilles into branch 'master'.

AppImage: apply patch from Thomas King to preload more shared libs under Linux 64bit Ubuntu 20.04.3 LTS
Related: bug 447304, bug 412778, bug 419458, bug 414959

M  +5    -0    project/bundles/appimage/data/AppRun

https://invent.kde.org/graphics/digikam/commit/aefb18b05385d0951a65590e40d4cad9978a4bcc