Closed Bug 1628110 Opened 2 years ago Closed 1 year ago

Firefox Wayland crashing on start with acceleration enabled if "popcorntime-bin" is installed

Categories

(External Software Affecting Firefox :: Other, defect, P5)

Desktop
Linux
defect

Tracking

(firefox77 disabled)

RESOLVED MOVED
Tracking Status
firefox77 --- disabled

People

(Reporter: abdulocracy, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36

Steps to reproduce:

  • Install firefox on arch
  • Enable wayland with env variable
  • Launch firefox

Actual results:

Crashes with "###!!! [Child][MessageChannel] Error: (msgtype=0xFFF7,name=<unknown IPC msg name>) Channel error: cannot send/recv"

Expected results:

Should work.

I have tried starting with a new profile, it works initially, but when the force acceleration config option is enabled, Firefox crashes on start again. Also, even without acceleration enabled, trying to access about:support results in a crash.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Please try Nightly from https://nightly.mozilla.org. If it crashed with MOZ_ENABLE_WAYLAND=1, you might find reports on about:crashes after removing the env var. Please also attach your regular about:support (from Nightly).

Priority: -- → P3

Using the latest Nightly from the link, I can't access about:support with the environment variable MOZ_ENABLE_WAYLAND=1, it results in a crash. about:crashes shows no crashes with and without the environment variable set.

The output from the command upon crashing is:

ExceptionHandler::GenerateDump cloned child 3803
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.

(In reply to abdulocracy from comment #4)

Using the latest Nightly from the link, I can't access about:support with the environment variable MOZ_ENABLE_WAYLAND=1, it results in a crash. about:crashes shows no crashes with and without the environment variable set.

My bad, turns out I have to submit the report for it to exist upon crash. :p Here it is: https://crash-stats.mozilla.org/report/index/b5e3d36f-b6a2-47f7-a3c5-f75750200409

Thanks!

Crash Signature: [@ gtk_search_bar_new ]
Keywords: crash

The crash seems to be malformed. Can you please try to catch more crashes and attach it here? Also please try to run firefox without e10s and attach the crash here (run with MOZ_FORCE_DISABLE_E10S=1 on terminal).
Thanks.

Flags: needinfo?(abdulocracy)
Attached file about:support
Also, here's the contents of about:support running on X, as it's impossible to see the page on Wayland at the moment:

```

```
See Also: → 1630455

Do you have "popcorntime" installed and can these crashes be fixed by uninstalling it?

(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #11)

Do you have "popcorntime" installed and can these crashed be fixed by uninstalling it?

Indeed I did, and removing it solved the issue. But, what the hell? :D

See Also: 1630455
Duplicate of this bug: 1630455
Status: UNCONFIRMED → NEW
Crash Signature: [@ gtk_search_bar_new ] → [@ gtk_search_bar_new ] [@ _XGetRequest ]
Ever confirmed: true
OS: Unspecified → Linux
Hardware: Unspecified → Desktop
Summary: Firefox Wayland crashing on start with acceleration enabled → Firefox Wayland crashing on start with acceleration enabled if "popcorntime" is installed

There's my guess what's going on here:

libGLESv2.so is a gl es library (we unfortunately use GLES instead of core gl) which comes from https://github.com/NVIDIA/libglvnd. It's a gl wrapper which load actual gl library. The one distributed along popcorntime is X11 only and does not load wayland version of gles library. That's the reason why we see x11 calls on wayland backend.

This needs to be reported against popcorntime as it's (AFAIK) a closed source blob.

Component: Widget: Gtk → Other
Product: Core → External Software Affecting Firefox
Version: 75 Branch → unspecified

The product::component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.

Priority: P3 → --

@ Arch Linux users: if you installed popcorntime using the "popcorntime-bin" package on AUR, you might want to switch to the "popcorntime" package that doesn't seem to have any impact on Firefox.

Summary: Firefox Wayland crashing on start with acceleration enabled if "popcorntime" is installed → Firefox Wayland crashing on start with acceleration enabled if "popcorntime-bin" is installed

The priority flag is not set for this bug.
:gcp, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(gpascutto)

Is there something actionable here for us? Especially as it requires forcibly switching to Wayland, this seems INVALID.

At best someone from Arch could make the packages/startup scripts spit a warning/notification if it detects popcorntime-bin?

Flags: needinfo?(gpascutto) → needinfo?(stransky)
Priority: -- → P5

Arch folks looks aware of it, Thanks.

Flags: needinfo?(stransky)
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → MOVED
You need to log in before you can comment on or make changes to this bug.