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

Flatpak edition segfaults on loading sandbox #77

Open
JLIT0 opened this issue Nov 21, 2017 · 7 comments
Open

Flatpak edition segfaults on loading sandbox #77

JLIT0 opened this issue Nov 21, 2017 · 7 comments
Assignees
Labels
bug Something isn't working package Packaging

Comments

@JLIT0
Copy link

JLIT0 commented Nov 21, 2017

Also segfaults when the --nosandbox flag is added to the command.

However, the .deb for release 0.3 works fine.

Any chance of releasing a .deb as well?

@timsueberkrueb
Copy link
Collaborator

timsueberkrueb commented Nov 21, 2017

@JLIT0 Hmm ... @plfiorini might know details about the flatpak issue. Try if exporting QTWEBENGINE_DISABLE_SANDBOX=1 does the trick.

Any chance of releasing a .deb as well?

What if you try out our new snap packages as replacement for a deb? It's as easy as snap install --edge liri-browser :)

@timsueberkrueb timsueberkrueb added bug Something isn't working package Packaging labels Nov 21, 2017
@plfiorini plfiorini self-assigned this Nov 22, 2017
@plfiorini
Copy link
Member

Never experienced this problem, I will try again but it could be hardware related. There is a QtWebEngine bug with nouveau that is fixed in the upcoming Qt 5.10.0.

@JLIT0 are you using nouveau?

@timsueberkrueb
Copy link
Collaborator

If it's the nouveau bug, try exporting QT_XCB_FORCE_SOFTWARE_OPENGL=1 to force software rendering.

@timsueberkrueb timsueberkrueb added the needs info Further information is requested label Nov 25, 2017
@JLIT0
Copy link
Author

JLIT0 commented Nov 26, 2017

Hi there! Many apologies, I didn't see this before. Yes, I'm using the Noveau drivers so I guess that's the reason for the segfault. I'll try the NVIDIA Xorg drivers and see what happens with them.

As for the snap, it lead to a different set of issues as quoted below:

X@X-laptop:~/Downloads$ sudo snap install --edge liri-browser
liri-browser (edge) 0+git.e4f36a2 from 'liri' installed
X@X-laptop:~/Downloads$ liri-browser
You need to connect this snap to the Liri Platform snap.
You can do this with those commands:
snap install liri-platform-0-9
snap connect liri-browser:platform liri-platform-0-9:platform
X@X-laptop:~/Downloads$ sudo snap install liri-platform-0-9
snap install liri-platform-0-9
error: snap "liri-platform-0-9" not found
X@X-laptop:~/Downloads$ sudo snap install liri-platform-0-9
error: snap "liri-platform-0-9" not found
X@X-laptop:~/Downloads$ sudo snap connect liri-browser:platform liri-platform-0-9:platform
error: snap "liri-platform-0-9" has no slot named "platform"

@timsueberkrueb
Copy link
Collaborator

timsueberkrueb commented Nov 26, 2017

Hey @JLIT0, yeah, it should work with the proprietary drivers or when forcing software rendering.
Regarding the snap issues: Sorry, I should've mentioned it, you need to install the platform snap from the edge channel as well:

sudo snap install --edge liri-browser
sudo snap install --edge liri-platform-0-9
sudo snap connect liri-browser:platform liri-platform-0-9:platform
snap run liri-browser

@JLIT0
Copy link
Author

JLIT0 commented Dec 1, 2017

Hi there,

Thanks for the advice! I was able to get the browser running by using the snap as described and by switching to the NVIDIA drivers.

@JLIT0 JLIT0 closed this as completed Dec 1, 2017
@timsueberkrueb
Copy link
Collaborator

I can reproduce the segfault with the Flatpak package on Ubuntu 17.10 (Intel integrated graphics):

 ✘  ~  flatpak run io.liri.Browser

(process:2): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Settings path doesn't exist.
Creating "/home/tim/.var/app/io.liri.Browser/config/liri-browser/" ...
Settings file doesn't exist.
Creating "/home/tim/.var/app/io.liri.Browser/config/liri-browser/settings.json" ...
Default settings file created.
[2:2:1230/152723.293584:INFO:zygote_host_impl_linux.cc(107)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
[2:2:1230/152723.419227:WARNING:audio_manager.cc(317)] Multiple instances of AudioManager detected
[2:2:1230/152723.419244:WARNING:audio_manager.cc(278)] Multiple instances of AudioManager detected
[2:16:1230/152723.422512:FATAL:udev_loader.cc(38)] Check failed: false. 
#0 0x7ff5ae08c35b <unknown>
#1 0x7ff5ae0c48c5 <unknown>
#2 0x7ff5ac3cf750 <unknown>
#3 0x7ff5ac3cb878 <unknown>
#4 0x7ff5ac3cd25d <unknown>
#5 0x7ff5b0253794 <unknown>
#6 0x7ff5b0255452 <unknown>
#7 0x7ff5b02550da <unknown>
#8 0x7ff5b02549c9 <unknown>
#9 0x7ff5b0254634 <unknown>
#10 0x7ff5ae1e9b7d <unknown>
#11 0x7ff5ae2912c0 <unknown>
#12 0x7ff5ae0e7182 <unknown>
#13 0x7ff5ae0e72e0 <unknown>
#14 0x7ff5ae0e77b3 <unknown>
#15 0x7ff5ae106a4c <unknown>
#16 0x7ff5ae0e6d7f <unknown>
#17 0x7ff5ae17f54a <unknown>
#18 0x7ff5ae1dc57b <unknown>
#19 0x7ff5ac662bf9 <unknown>
#20 0x7ff5ac662f12 <unknown>
#21 0x7ff5ae1dcde3 <unknown>
#22 0x7ff5ae1c5995 <unknown>
#23 0x0032ada073f4 <unknown>
#24 0x0032ad2e827f <unknown>

@timsueberkrueb timsueberkrueb removed the needs info Further information is requested label Jan 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package Packaging
Projects
None yet
Development

No branches or pull requests

3 participants