You are not logged in.

#1 2022-02-10 20:22:10

abject
Member
Registered: 2021-04-05
Posts: 15

xcb core dump on !xcb_xlib_threads_sequence_lost assertion

Hello,

I have an up-to-date Arch linux installation with nouveau Nvidia driver installed and a XFCE desktop environment. It's my first Arch installation but it seems to be stable and work well except for the mail client Thunderbird that randomly crash at launch with the following message:

[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
thunderbird: xcb_io.c :269 : poll_for_event:  l'assertion « !xcb_xlib_threads_sequence_lost » a échoué.
Exiting due to channel error.
Exiting due to channel error.
Abandon (core dumped)

I tried to look on forum and several sites. They point to some bug in old version of the libx11. Other mention some mesa driver bugs. However I have a recent livx11 version :

$ pacman -Q | grep libx11
libx11 1.7.3.1-1

$ lspci -v
...
01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 730] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device 8589
	Flags: bus master, fast devsel, latency 0, IRQ 30
	Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e8000000 (64-bit, prefetchable) [size=128M]
	Memory at f0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nouveau
	Kernel modules: nouveau
...

Full thunderbird traceback is the following but the message about xcb appears only when thunderbird crash:

$ thunderbird 
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[calBackendLoader] Using Thunderbird's libical backend
[LDAPModuleLoader] Using LDAPDirectory.jsm
[MsgSendModuleLoader] Using MessageSend.jsm
[SmtpModuleLoader] Using SmtpService.jsm
console.debug: "Successfully loaded OpenPGP library librnp.so version 0.15.2+git20210806.dd923a4e.MZLA from /usr/lib/thunderbird/librnp.so"
console.warn: "[l10nregistry] Attempting to synchronously load file\n            resource:///chrome/en-US/locale/en-US/calendar/messenger/otr/otrUI.ftl while it's being loaded asynchronously."
console.debug: "Trying to load /usr/lib/thunderbird/libotr.so"
console.debug: "Trying to load libotr.so from system's standard library locations"
console.debug: "Successfully loaded OTR library libotr.so from system's standard library locations"
console.debug: "Found 15 public keys and 4 secret keys (4 protected, 0 unprotected)"
JavaScript error: chrome://messenger/content/mail-offline.js, line 87: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgSendLater.hasUnsentMessages]
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
thunderbird: xcb_io.c :269 : poll_for_event:  l'assertion « !xcb_xlib_threads_sequence_lost » a échoué.
Exiting due to channel error.
Exiting due to channel error.
Abandon (core dumped)

May be I forgot to install a package or other stupid things. But I can't find them.
So any clues to unlock or fix this problem are welcome!

Offline

#2 2022-02-11 07:34:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: xcb core dump on !xcb_xlib_threads_sequence_lost assertion

Is this a wayland session? (loginctl session-status)

[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.

Might be some extension/plugin? Did you install TB related stuff from the AUR?

Offline

#3 2022-02-11 17:35:13

abject
Member
Registered: 2021-04-05
Posts: 15

Re: xcb core dump on !xcb_xlib_threads_sequence_lost assertion

seth wrote:

Is this a wayland session? (loginctl session-status)

I don't think so:

$ loginctl session-status
2 - user (1000)
           Since: Fri 2022-02-11 18:32:00 CET; 48s ago
          Leader: 430 (lightdm)
            Seat: seat0; vc7
         Display: :0
         Service: lightdm; type x11; class user
         Desktop: xfce
           State: active
            Unit: session-2.scope
                  ├─ 430 lightdm --session-child 14 23
                  ├─ 456 xfce4-session
                  ├─ 516 /usr/bin/ssh-agent -s
                  ├─ 525 xfwm4 --display :0.0 --sm-client-id 263772483-74ca-4d63-95cf-ac817cac219a
                  ├─ 532 xfsettingsd --display :0.0 --sm-client-id 2f48c1131-c64b-45ee-a4ff-a361e31bf332
                  ├─ 540 xfce4-panel --display :0.0 --sm-client-id 270dcd3f0-d0c4-4efa-b75a-c2c99eccfc9e
                  ├─ 544 Thunar --sm-client-id 292b2f985-0891-4832-8f06-36cdd84a08a6 --daemon
                  ├─ 550 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libwhiskermenu.so 7 18874375 whiskermenu "Menu Whisker" "Afficher un menu pour accéder facilement aux applications installées"
                  ├─ 551 xfdesktop --display :0.0 --sm-client-id 29798538f-e215-4cd5-9d7b-b503c2d9d474
                  ├─ 556 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libsystray.so 6 18874377 systray "Greffon de barre d’état" "Fournit des éléments d’indication d’état (indicateurs des applications) et des éléments de>
                  ├─ 557 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libpulseaudio-plugin.so 8 18874378 pulseaudio "Greffon PulseAudio" "Ajuster le volume du système audio PulseAudio"
                  ├─ 558 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libxfce4powermanager.so 9 18874379 power-manager-plugin "Greffon du gestionnaire d’alimentation" "Afficher les niveaux de batterie de vos périphérique>
                  ├─ 559 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libnotification-plugin.so 10 18874380 notification-plugin "Greffon de notification" "Greffon de notification pour le tableau de bord Xfce"
                  ├─ 602 xfce4-power-manager --restart --sm-client-id 2d25ffbce-4737-4dcb-a173-f9eafe41332d
                  ├─ 622 nm-applet
                  ├─ 624 /usr/lib/xfce4/notifyd/xfce4-notifyd
                  ├─ 634 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
                  ├─ 689 /usr/lib/thunderbird/thunderbird
                  ├─ 742 xfce4-appfinder
                  ├─ 756 mono --verify-all /usr/share/keepass/KeePass.exe
                  ├─ 873 /usr/lib/thunderbird/thunderbird -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 267514 -jsInit 285980 -parentBuildID 20220125194436 -appdir /usr/lib/thunderbird 689 tab
                  ├─ 915 /usr/lib/thunderbird/thunderbird -contentproc -childID 2 -isForBrowser -prefsLen 1 -prefMapSize 267514 -jsInit 285980 -parentBuildID 20220125194436 -appdir /usr/lib/thunderbird 689 tab
                  ├─1141 /usr/bin/xfce4-terminal
                  ├─1155 bash
                  ├─1195 loginctl session-status
                  └─1196 less
seth wrote:
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.

Might be some extension/plugin? Did you install TB related stuff from the AUR?

Nope nothing installed from AUR. Thunderbird was installed via pacman :

$ pacman -Q | grep thunderbird
thunderbird 91.5.1-1

And the only add-on installed in TB are:

  • Gramalecte: A french grammar checker

  • French and Spanish spell checker

Crash are random but they happen more often when Thunderbird is run immediately after a fresh boot.

Last edited by abject (2022-03-04 21:57:55)

Offline

Board footer

Powered by FluxBB