Bug 4275

Summary: assertion "xcb_xlib_threads_sequence_lost" failed
Product: Claws Mail (GTK 2) Reporter: Lars Kruse <devel>
Component: Folders/IMAPAssignee: users
Status: CLOSED INVALID    
Severity: normal    
Priority: P3    
Version: 3.17.3   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
stacktrace example
none
stacktrace example
none
stacktrace example
none
stacktrace example none

Description Lars Kruse 2019-11-17 14:11:57 UTC
Created attachment 2017 [details]
stacktrace example

I enjoy using claws-mail, but sadly from time to time it crashes unexpectedly.

Thus I started to collect stack traces with gdb ("LANG= gdb claws-mail").

Attached you find a few of these stack traces.

They have the following lines in common:

```
[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.
claws-mail: ../../src/xcb_io.c:260: poll_for_event: Zusicherung »!xcb_xlib_threads_sequence_lost« nicht erfüllt.
```

Somehow the above lines still contain some German string ("Zusicherung ... nicht erfüllt"). It means something like "assertion ... failed".
Comment 1 Lars Kruse 2019-11-17 14:12:54 UTC
Created attachment 2018 [details]
stacktrace example
Comment 2 Lars Kruse 2019-11-17 14:13:22 UTC
Created attachment 2019 [details]
stacktrace example
Comment 3 Lars Kruse 2019-11-17 14:14:11 UTC
Created attachment 2020 [details]
stacktrace example
Comment 4 Lars Kruse 2019-11-17 14:48:14 UTC
Maybe it is relevant: i am running an i386 system (32 bit).
Comment 5 Philippe Gramoull 2019-12-07 22:20:31 UTC
Simple me too here, as it's the first time I have this crash.

Hardware is Raspberry Pi4 with Raspbian 10.2 , CM is 3.17.4git74, mailbox is IMAP with many folders from locally installed Dovecot server.

Happened while I was switching from mails rather quickly

Here are the messages I had in the launching terminal:

"
/home/account/.claws-mail/mimetmp/claws.DV68B0: fread: Resource temporarily unavailable
/home/account/.claws-mail/mimetmp/claws.DV68B0: fread: Resource temporarily unavailable

account@rpi:~ $ 
account@rpi:~ $ [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.
claws-mail: ../../src/xcb_io.c:263: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
[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.
claws-mail: ../../src/xcb_io.c:263: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.

[1]+  Aborted                 /usr/local/sylpheed-claws-cvs-gtk2/bin/claws-mail
"

Thx