Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: crash with NSSLIB (persistend database error) #1532

Open
MauriceVeraart opened this issue Apr 22, 2024 · 2 comments
Open

Bug: crash with NSSLIB (persistend database error) #1532

MauriceVeraart opened this issue Apr 22, 2024 · 2 comments
Labels

Comments

@MauriceVeraart
Copy link
Contributor

Observed Behavior

Don't know if this a bug .
or bad configuration

After regular updates in ubuntu 22.04
Caspar crashes after ca 2s
with error


[0418/134551.604609:WARNING:policy_logger.cc(148)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(88) Could not create policy manager as CBCM is not enabled.
[0418/090640.822024:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process.
[0418/090646.032469:ERROR:nss_util.cc(239)] Error initializing NSS with a persistent database (sql:/home/user/.pki/nssdb): NSS error code: -8023
[0418/090646.032643:ERROR:nss_util.cc(124)] Error initializing NSS without a persistent database: NSS error code: -8023
[0418/090646.032702:FATAL:nss_util.cc(126)] nss_error=-8023, os_error=0
Trace/breakpoint trap (core dumped)

after installing chromium-browser and removing these files from the lib directory it started to work.

libnss3.so
libnssckbi.so 
libnssutil3.so

See forum discussion
https://casparcgforum.org/t/ubuntu-server-crashing-after-2seconds

Expected behaviour

-nvt

Steps to reproduce

run latest updates with ap-get update/upgrade

Environment

  • Operating system: [Ubuntu 22.04 Desktop]
@Julusian
Copy link
Member

I'm not really sure what to do about this.

One answer would be to stop shipping those libs, but then that requires users to ensure those libs are installed on their system, which they may not be if chrome/chromium aren't installed.

Or perhaps it is time to stop distributing ubuntu builds as a zip. I have been playing around with an ubuntu ppa, but I am not sure I would recommend using it as it only preserves the latest build of each package.
But I have copied the produced debs to the 2.4.0 release, so maybe using those should become the recommended install flow for linux. These debs rely solely on system dependencies, including cef which is included there as its own deb.
The downside of this approach is that there are maybe 100 dependencies, which will make offline installs be painful. (equally, trying to install decklink drivers offline will be similarly painful)

I am interested to hear from users on how they would like to see linux being packaged going forwards.

@1358
Copy link

1358 commented Jul 23, 2024

Faced the same issue. Recompiling the server after the system updates fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants