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

Newest build crashes on startup with an assertion failed error #26148

Closed
Azeirah opened this issue Apr 8, 2020 · 3 comments
Closed

Newest build crashes on startup with an assertion failed error #26148

Azeirah opened this issue Apr 8, 2020 · 3 comments

Comments

@Azeirah
Copy link

@Azeirah Azeirah commented Apr 8, 2020

Downloaded the most recent build, extracted it and it fails with an error when I try to execute it.

md5sum of the build 63ada2efbafefaaadb478c7a2cede87d servo-latest.tar.gz

laura@laura-desktop:~/Downloads/servo$ ./servo
assertion failed: !library.is_null() (thread main, at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/surfman-0.1.4/src/platform/unix/x11/context.rs:44)

This is on Linux Mint

laura@laura-desktop:~/Downloads$ uname -a
Linux laura-desktop 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
@jdm
Copy link
Member

@jdm jdm commented Apr 8, 2020

It will be interesting to learn if this goes away when #25853 is merged. Until then, are you running x11 or wayland? This appears to be coming from loading libGL.so at runtime in this code; perhaps you can figure out what package you can install that will give you the GL libraries you need for your distribution?

@Darkspirit
Copy link
Contributor

@Darkspirit Darkspirit commented Apr 8, 2020

Surfman wants to open the wrong file name.
I have libGL.so on Debian Testing only because of the libglvnd-dev package.
sudo apt install libglvnd-dev fixes the crash on Ubuntu.

@Azeirah
Copy link
Author

@Azeirah Azeirah commented Apr 9, 2020

It will be interesting to learn if this goes away when #25853 is merged. Until then, are you running x11 or wayland? This appears to be coming from loading libGL.so at runtime in this code; perhaps you can figure out what package you can install that will give you the GL libraries you need for your distribution?

I'm using x11. As @Darkspirit suggested, installing libglvnd-dev fixes this error for me.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.