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

Lbry app crashes at startup on Ubuntu 14.04-based system #421

Closed
stragu opened this issue Aug 2, 2017 · 7 comments
Closed

Lbry app crashes at startup on Ubuntu 14.04-based system #421

stragu opened this issue Aug 2, 2017 · 7 comments

Comments

@stragu
Copy link

stragu commented Aug 2, 2017

The Issue

Steps to reproduce

  1. install v. 0.14.2-1590
  2. launch the app

Expected behaviour

App would stay up

Actual behaviour

Splash appears, blockchain downloaded fine on first start, then the interface appears for a second and the app closes. On subsequent launches, same thing happens: interface opens, then disappears instantaneously.

When launched from the command line, output is:

Checking for lbrynet daemon
lbrynet daemon is already running
/opt/LBRY/lbry: relocation error: /opt/LBRY/resources/app/node_modules/keytar/build/Release/keytar.node: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

System Configuration

  • LBRY Daemon version:
  "id": null,                                                                                                  
  "jsonrpc": "2.0",                                                                                            
  "result": {                                                                                                  
    "build": "release",                                                                                        
    "ip": "130.102.82.120",
    "lbrynet_version": "0.14.2",
    "lbryschema_version": "0.0.9",
    "lbryum_version": "3.1.4",
    "os_release": "3.13.0-125-lowlatency",
    "os_system": "Linux",
    "platform": "Linux-3.13.0-125-lowlatency-x86_64-with-Ubuntu-14.04-trusty",
    "processor": "x86_64",
    "python_version": "2.7.12"
  • LBRY App version: 0.14.2-1590
  • LBRY Installation ID:
  • Operating system: KXStudio 14.04 (based on Ubuntu 14.04) with KDE 4:4.13.3-0ubuntu0.1
@tzarebczan
Copy link
Contributor

This is a known issue because lbry requires gnome keyring installed in order to generate an authentication token. Can you try installing it and re running? We will look towards a solution that doesn't require the keyring in the future: #386

Please reach out to help@lbry.io or #help channel next time if you require technical support.

@stragu
Copy link
Author

stragu commented Aug 2, 2017

Thanks for the quick reply, but I'm afraid it might be something different, as I already have gnome-keyring installed:

~> apt-cache policy gnome-keyring
gnome-keyring:
  Installed: 3.10.1-1ubuntu4.3
  Candidate: 3.10.1-1ubuntu4.3

@tzarebczan
Copy link
Contributor

@stragu
Copy link
Author

stragu commented Aug 2, 2017

The keyring is definitely running (checked in my system monitor).

However, I managed to fix it somehow.

If anyone is running into the same issue, I managed to downgrade libstdc++6 from version 7.1.0-5ubuntu2~14.04 (provided by ppa:ubuntu-toolchain-r/test) to version 5.4.0-6ubuntu1~16.04.4 (from the Xenial updates, downloaded from packages.ubuntu.com. I had to use version 5.4.0 because downgrading to the older Trusty stock version 4.8.4 would throw an error of the type version GLIBCXX_3.4.21 not found when launching lbry.

To install the downloaded package, I had to use sudo dpkg --auto-deconfigure -i <package-name> because libkolabxml1needed de-configuring in the process.

If you do downgrade libstdc++6, you might want to hold it so it doesn't automatically upgrade further down the line, with the following command: sudo apt-mark hold libstdc++6

I could then launch Lbry without a problem (and it asked me for my gnome-keyring password in the process).

Thanks @tzarebczan for the pointers!

Edit: that seems to have affected quite a few other apps that are now marked for removal by my package manager, so it does not seem to be a durable solution. I might report that against the latest libstdc++6 version maybe?

@stragu stragu closed this as completed Aug 2, 2017
@Arrowana
Copy link
Contributor

Arrowana commented Jan 13, 2018

Why is this closed? I am experiencing the same problem.
Ubuntu 14.04

@tzarebczan
Copy link
Contributor

What error are you seeing? It seemed like it was a versioning issue specific to this user... Maybe because they had other packages installed previously.

Feel free to post your log file or try the troubleshooting steps above.

@Arrowana
Copy link
Contributor

Arrowana commented Jan 13, 2018

Following @stragu steps I am now able to use the LBRY app, I will see how many things did I break

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

Successfully merging a pull request may close this issue.

3 participants