You are not logged in.

#1 2020-04-13 14:56:09

michelesr
Member
Registered: 2016-02-04
Posts: 64

[Solved] Firefox wayland crashes when opening "about:support"

To reproduce:

MOZ_ENABLE_WAYLAND=1 firefox about:support

Digging into the crash report seems something to do with XQueryExtension, but I don't know enough about it to debug it.

I tried running latest firefox inside a docker container and mounted wayland socket, and can't reproduce there.

Crash report:

- https://crash-stats.mozilla.org/report/ … 8a90200413
- https://crash-stats.mozilla.org/report/ … 28a0200413
- https://crash-stats.mozilla.org/report/ … 28a0200413

Similarly, I can get a tab crash with similar crash reports after authenticating to a website using OTKA, even though didn't find steps to reproduce that don't involve using credentials that I can't share.

Last edited by michelesr (2020-04-17 22:14:46)

Offline

#2 2020-04-14 09:55:51

edoars
Member
Registered: 2020-01-02
Posts: 7

Re: [Solved] Firefox wayland crashes when opening "about:support"

I have the same issue, I'm not sure on what triggers the crash, but like you I have also many tab crashes (e.g. amazon.com, rottentomatoes.com).

If I start firefox in safe mode there are no crashes, I don't think it is related with the extensions because the issue remains even if I disable them all.

Offline

#3 2020-04-16 00:05:45

michelesr
Member
Registered: 2016-02-04
Posts: 64

Re: [Solved] Firefox wayland crashes when opening "about:support"

Offline

#4 2020-04-16 15:12:59

throwaway-firefox-bug
Member
Registered: 2020-04-16
Posts: 2

Re: [Solved] Firefox wayland crashes when opening "about:support"

In my case this was caused by a wrongly loaded libEGL.so.

...
0x00007fffe520c000 0x00007fffe5220000 0x0000000000000000 r-- /usr/lib/popcorntime/0.4.3/libEGL.so
0x00007fffe5220000 0x00007fffe5245000 0x0000000000013000 r-x /usr/lib/popcorntime/0.4.3/libEGL.so
0x00007fffe5245000 0x00007fffe5248000 0x0000000000037000 r-- /usr/lib/popcorntime/0.4.3/libEGL.so
0x00007fffe5248000 0x00007fffe5249000 0x0000000000039000 rw- /usr/lib/popcorntime/0.4.3/libEGL.so
...

Removing popcorntime fixed the issue for me. Perhaps you can check whether something like this happens on your setup:

$ gdb firefox
(gdb) run -ProfileManager # This worked reliably as a trigger in my case; gdb should break once the crash happens
(gdb) info proc mappings

Offline

#5 2020-04-17 12:02:44

michelesr
Member
Registered: 2016-02-04
Posts: 64

Re: [Solved] Firefox wayland crashes when opening "about:support"

Indeed removing popcorntime solved the issue. Thanks!

Do you know whether there's a way to fix this while keeping popcorntime installed?

Offline

#6 2020-04-17 18:24:00

throwaway-firefox-bug
Member
Registered: 2020-04-16
Posts: 2

Re: [Solved] Firefox wayland crashes when opening "about:support"

The problem is caused by this part in the PKGBUILD of popcorntime-bin (source: https://aur.archlinux.org/cgit/aur.git/ … 8eeb82#n56):

  install -d "${pkgdir}/etc/ld.so.conf.d"
  echo "/usr/lib/${_pkgname}/${pkgver}" > "${pkgdir}/etc/ld.so.conf.d/${_pkgname}.conf"

Not sure why this is necessary for the package...

It seems like the popcorntime package (without the -bin suffix; https://aur.archlinux.org/packages/popcorntime/) doesn't do this so it shouldn't cause the same issue.

Offline

#7 2020-04-17 22:13:43

michelesr
Member
Registered: 2016-02-04
Posts: 64

Re: [Solved] Firefox wayland crashes when opening "about:support"

Yes, that worked like a charm. Thanks!

I'll mark this thread as solved, and I'll leave a comment for the maintainer of popcorntime-bin as well.

Offline

Board footer

Powered by FluxBB