FS#76669 - [libx11] Firefox unresponsive on copying or pasting
Attached to Project:
Arch Linux
Opened by Karthik (wpd) - Friday, 25 November 2022, 14:47 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 18 December 2022, 20:45 GMT
Opened by Karthik (wpd) - Friday, 25 November 2022, 14:47 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 18 December 2022, 20:45 GMT
|
Details
Description:
Randomly selecting, copying and pasting text on webpages makes firefox freeze permanently with libx11 1.8.2-2. When I downgrade to 1.8.1-3, this problem goes away Upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1801820 |
This task depends upon
"I am running KDE on ArchLinux with the latest versions of packages on Nvidia 1660"
Someone needs to report this upstream to Xorg devs. FWIW, I cannot repro on my normal setup but will attempt to in a VM.
The issue is also (sometimes) reproducible just by opening Firefox's "Downloads" window.
The upstream libx11 issue is this one: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/168
According to a comment by @rockybulwinkle on the thread above, this problem was introduced by commit 79775575418fd6f8ee1c5e5bbe403df4606fb5b6, so reverting it might actually fix the problem.
At least I've been using this AUR package (https://aur.archlinux.org/packages/libx11-firefox-fix) that just reverts the commit and I haven't experienced the freeze/crash, yet.
Dec 17 11:00:08 **** systemd[1479]: app-gnome-firefox-2689.scope: Consumed 16min 39.745s CPU time.
Dec 17 11:00:08 **** firefox.desktop[5638]: Exiting due to channel error.
Dec 17 11:00:08 **** firefox.desktop[5553]: Exiting due to channel error.
Dec 17 11:00:08 **** firefox.desktop[5392]: Exiting due to channel error.
Dec 17 11:00:08 **** firefox.desktop[6003]: Exiting due to channel error.
Dec 17 11:00:08 **** firefox.desktop[5596]: Exiting due to channel error.
Dec 17 11:00:08 **** firefox.desktop[2689]: firefox: xcb_io.c:175: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Dec 17 11:00:08 **** firefox.desktop[2689]: [xcb] Aborting, sorry about that.
Dec 17 11:00:08 **** firefox.desktop[2689]: [xcb] You called XInitThreads, this is not your fault
Dec 17 11:00:08 **** firefox.desktop[2689]: [xcb] Unknown request in queue while dequeuing
Note the above is in reverse order with "journalctl -r". The oldest message is at the bottom.
I feel like the crashing is somehow less frequent than the freezing, but I haven't measured this. For years, until about a month ago Firefox very rarely, if ever, crashed.