FS#78017 - [firefox] crashes on youtube.com while scrolling with enabled picture-in-picture

Attached to Project: Arch Linux
Opened by Mikhail Shiryaev (Felixoid) - Tuesday, 28 March 2023, 12:33 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 18 July 2023, 21:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Hello, the bug is triangled to the Arch linux build.


Additional info:
* package version(s) since 109
* link to upstream bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1812982


Steps to reproduce:
Open any page, e.g. https://www.youtube.com/watch?v=5S2J6ZAhefM, toggle the picture-in-picture, then scroll down-up a little bit. After a couple of moves, the browser crashes.

Actual results:
The browser crashed, and a crash report was produced.

Expected results:
The browser should work.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 18 July 2023, 21:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  firefox 115.0-1
Comment by Toolybird (Toolybird) - Tuesday, 28 March 2023, 21:21 GMT
> Steps to reproduce:

Doesn't crash here i.e. cannot repro. You'll need to provide better and/or more detailed information (hardware? config? etc) for it to be reproduced.
Comment by Mikhail Shiryaev (Felixoid) - Tuesday, 28 March 2023, 22:26 GMT
Here is my video hardware and configs:

```
[felixoid@felix-carbon ~]$ glxinfo | grep -iC1 vendor
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
--
GLX_SGI_make_current_read
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
--
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) Xe Graphics (TGL GT2) (0x9a49)
--
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Xe Graphics (TGL GT2)
[felixoid@felix-carbon ~]$ lsmod | grep "kms\|drm"
drm_buddy 20480 1 i915
drm_display_helper 208896 1 i915
cec 86016 2 drm_display_helper,i915
[felixoid@felix-carbon ~]$ lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
Subsystem: Lenovo Device 22d5
Kernel driver in use: i915
Kernel modules: i915
[felixoid@felix-carbon ~]$ grep -Ei " connected|card detect|primary dev|Setting driver" /var/log/Xorg.0.log
[ 16.868] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[felixoid@felix-carbon ~]$ uname -a
Linux felix-carbon 6.2.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 22 Mar 2023 22:52:35 +0000 x86_64 GNU/Linux
```

I'd like to provide more specific info, but I need more specific direction.

The best approach would be a collaboration with the Mozilla team in the given upstream bug, IMHO.
Comment by Mikhail Shiryaev (Felixoid) - Wednesday, 29 March 2023, 11:16 GMT
Thanks a lot, Jan Alexander Steffens, much appreciated!
Comment by Mikhail Shiryaev (Felixoid) - Tuesday, 13 June 2023, 10:19 GMT
The fix is introduced in https://hg.mozilla.org/mozilla-central/rev/14bda3033419. IMHO, it makes sense to backport to FF 114-115.
Comment by Mikhail Shiryaev (Felixoid) - Thursday, 15 June 2023, 12:23 GMT
I've tested the fix locally, and it works. The diff to fix is in https://gitlab.archlinux.org/felixoid/firefox/-/commit/697ffa51cca5ab71b37d2499ea557592bb5c218a
Comment by Mikhail Shiryaev (Felixoid) - Thursday, 22 June 2023, 10:40 GMT
Dear Jan, I see you updated the 114.0.2 yesterday. Would you consider as well applying the given patch to fix a pretty annoying issue?

Loading...