Error initializing nss without a persistent database -8023


(ruben) #1

Hello there,
I have an issue running the last version of Stremio (appimage). The versio 4.0.17 works fine but the 4.4.0 fail at launch with these errors :

[5286:5325:1026/173444.068996:FATAL:nss_util.cc(203)] nss_error=-8023, os_error=0
#0 0x7f451e5233ae <unknown>
#1 0x7f451e5334b7 <unknown>
#2 0x7f451ed0468d <unknown>
#3 0x7f451ed04ba0 <unknown>
#4 0x7f451ec33c75 <unknown>
#5 0x7f451eb208a7 <unknown>
#6 0x7f451eaecb67 <unknown>
#7 0x7f451dc6c52a <unknown>
#8 0x7f451dc6da46 <unknown>
#9 0x7f451dc6fbce <unknown>
#10 0x7f451de4f207 <unknown>
#11 0x7f451e17121f <unknown>
#12 0x7f451e5975a3 <unknown>
#13 0x7f451e53cb90 <unknown>
#14 0x7f451e53e99d <unknown>
#15 0x7f451e53f896 <unknown>
#16 0x7f451e540210 <unknown>
#17 0x7f451e53bf92 <unknown>
#18 0x7f451e5579d8 <unknown>
#19 0x7f451de841f5 <unknown>
#20 0x7f451de8462b <unknown>
#21 0x7f451e56f5f6 <unknown>
#22 0x7f451e56b8ad <unknown>
#23 0x7f4516fa755a start_thread
#24 0x7f451b17524f __GI___clone

QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QMutex: destroying locked mutex
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QObject::~QObject: Timers cannot be stopped from another thread

On the older version I can see that it should be the “qml: Auto-updater” sequence.
I saw some Ubuntu threads about Google Chrome having the same problems and they realized that running the command “sudo apt-get install libnss3-nssdb” fixed the problem.
The thing is I can’t find a package with that name on Chakra. Any ideas ?
Of course it’s not urgent, if no-one knows I’ll stay on the old version, but I hope I’ll catch the attention of a curious one :smirk:

Thanks


(ruben) #2

Hey everyone,
So I was trying to run the same app recently on a Kubuntu 18.04 computer and found the exact same errors.
After some googling i found this GitHub bug issue :
https://github.com/Stremio/stremio-bugs/issues/159
And managed to fix the problem with the added preload command :

 LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libnss3.so /home/$USER/stremio.appimage

I just tried that on Chakra but realized soon after it won’t work because it doesn’t have a “libnss3” package there.
The question is, is this package can be found elsewhere ? Or some alternative package used for Ark/Chakra that will do the same job ?

Thanks


(Hans Tovetjärn) #3

I have no idea what “Stremio” is, but your title suggest that you need
nss, so is the package nss installed? That package contains the
libnss3.so file you are looking for.


(ruben) #4

Nevermind, solved.
On Chakra, the folder
x86_64-linux-gnu doesnt exist in Lib, but the libnss3.so can be found directly in the lib folder.

Basically I added

Exec=env LD_PRELOAD=/usr/lib/libnss3.so env QT_SCALE_FACTOR=1 /home/ruben/Stremio+4.4.10.appimage
on the desktop entry and now it works flawlessly.