.xsession-errors being flooded with xlib errors

Whenever I run Firefox ( the latest from OpenSuse) my xsession-errors file gets flooded with these:

Xlib: ignoring invalid extension event 161
Xlib: ignoring invalid extension event 146
Xlib: ignoring invalid extension event 146
Xlib: ignoring invalid extension event 161
Xlib: ignoring invalid extension event 161
Xlib: ignoring invalid extension event 146
Xlib: ignoring invalid extension event 146
Xlib: ignoring invalid extension event 161
Xlib: ignoring invalid extension event 161
Xlib: ignoring invalid extension event 146
Xlib: ignoring invalid extension event 146

As far as I know, Firefox is the only application which does this.

Does anyone have any ideas ?

Thanks

In the good old days, there were lots of messages written to “.xsession-errors”. But I normally ignored them unless I was looking to solve a problem.

Currently (using Leap 15.5), nothing is being written to “.xsession-errors”. As best I can tell, what used to go there is now showing up in “/var/log/messages”. As far as I know, this is controlled by GDM or SDDM. I recently tested with “LightDM” but also nothing in “.xsession-errors”.

You probably have a non-standard setup, which is why “.xsession-errors” is being used.

15.4 here, using KDE3 and multiple web browsers:

> ls -Gg xs* .xs*
-rw------- 1   222605 Jul 10 16:30 .xsession-errors
-rw------- 1   730752 Jun  6 01:17 xsession-errors
-rw------- 1     6909 Jul  7 02:03 xsession-errors-freshboot-20230707
-rw------- 1 32260376 Jul  7 01:47 xsession-errors-k2463
-rw------- 1     9527 Jul  7 02:12 xsession-errors-later-20230707
> wc -l xsession-errors-freshboot-20230707
126 xsession-errors-freshboot-20230707
> wc -l xsession-errors-k2463
240564 xsession-errors-k2463
> grep -i xlib .xsession-errors
> grep -i xlib xsession-errors-k2463
> grep event .xsession-errors
> grep event xsession-errors-k2463
>

Well I am not using Leap, I am using Tumbleweed, and if it’s a non-standard setup, we can blame the Tumbleweed installer as I have not made any major changes, other than updates. All X errors are logged to .xsession-errors and I have no " messages" file at all.

Have you checked your Mozilla Firefox extensions and plug-ins?
Are all the installed Mozilla Firefox extensions and plug-ins updated? «via Firefox – within the Firefox settings … »
Is there an ancient Mozilla Firefox extension or plug-in installed which is no longer being maintained?

The easiest way to check if it is related to a user installed extension/borked profile is using the well documented troubleshooting mode…

Yep:

erlangen:~ # ll /home/karl/.xsession-errors*
-rw-r--r-- 1 karl users      0 Jun 16  2018 /home/karl/.xsession-errors
-rw-r--r-- 1 karl users 333906 Feb 24  2018 /home/karl/.xsession-errors-:0
-rw-r--r-- 1 karl users     76 Nov  9  2016 /home/karl/.xsession-errors-:1
-rw-r--r-- 1 karl users     76 Nov 12  2016 /home/karl/.xsession-errors-:3
erlangen:~ #