question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Highligting text in firefox causes firefox to crash Qtile only

See original GitHub issue

The issue:

  • Linux arch linux 5.18.1-arch1-1
  • Qtile --version 0.21.0 (installed via pacman -S qtile

The firefox version doesn’t matter, and it’s affecting thunderbird, firefox and firefox-developer-edition.

I have confirmed that it’s qtile since I cannot replicate the bug on the same system with dwm.

I have tried on two systems, with the second one being a fresh install.

The crash causes no qtile logs.

Required:

  • I have searched past issues to see if this bug has already been reported.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Malexcommented, Jun 13, 2022
  1. XLIB_SKIP_ARGB_VISUALS

That variable is related to an extension (Composite) which is usually not on by default (at least according to X11 documentation). Try xdpyinfo | grep -i composite to check if you have it. The variable seems to be some kind of quirk they added to let some apps work, but reading the doc it doesnt seem something you should use in your profile (if you needed it for teams, the better way would have been to override the variable just for the teams invocation, not for the whole environment): https://www.x.org/archive/X11R6.8.0/doc/RELNOTES5.html

If an application fails only when the Composite is enabled, try setting this environment variable before starting the application.

0reactions
nymanncommented, Jun 4, 2022

I successfully debugged the issue @elParaguayo :

As part of my .zprofile i do:

# Get cam to work in Microsoft Teams
export XLIB_SKIP_ARGB_VISUALS=1

When I comment that out, the crash no longer appears, mind you that it’s only crashing in Qtile and not DWM.

So steps to reproduce:

  1. add export XLIB_SKIP_ARGB_VISUALS=1 to your profile.
  2. reboot
  3. launch firefox
  4. highlight any text

Note that I don’t personally need XLIB_SKIP_ARGB_VISUALS anymore since I now just run Teams from the browser, so I have just deleted it from my profile. But might be a good idea to fix the underlying issue for others 😛

Read more comments on GitHub >

github_iconTop Results From Across the Web

libx11 1.8.2 causes firefox to freeze when highlighting text
I am getting intermittent freezes in firefox. It appears to happen when I highlight text. When it does happen, firefox becomes completely ...
Read more >
Firefox gets super slow when I highlight text. - Mozilla Support
The browser lags when I try to scroll up or down. It's even worse if I double click to highlight; it just freezes...
Read more >
Having trouble w/ highlighting text (last character never shows ...
Having trouble w/ highlighting text (last character never shows it's highlighted), using drop down boxes, and my browser keeps crashing past ...
Read more >
When I try to Highlight text on any page why ... - Mozilla Support
When I try to Highlight text on any page why is it automatically scrolling to the top? Very frustrating problem just occured, was...
Read more >
Firefox keeps crashing at startup | Firefox Help - Mozilla Support
Table of Contents · 1 See if you can start in Firefox Troubleshoot Mode · 2 Try a clean installation · 3 Uninstall...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found