# Crashes
* X core.4966 null dereference in gtk_text_mark_get_buffer gtk+3 caused by saving a handful of attachments
* Fixed, but can regress too easily.
* Repro: save a json file from a pgp or plaintext mail. click a different message. Mouse over the message view.
* Notes:
```text
(mail1glade2.py:14273): Gtk-CRITICAL **: gtk_text_mark_get_buffer: assertion 'GTK_IS_TEXT_MARK (mark)' failed
(mail1glade2.py:14273): Gtk-CRITICAL **: gtk_text_buffer_delete_mark: assertion 'GTK_IS_TEXT_MARK (mark)' failed
(mail1glade2.py:14273): Gtk-CRITICAL **: gtk_text_mark_get_buffer: assertion 'GTK_IS_TEXT_MARK (mark)' failed
(mail1glade2.py:14273): Gtk-CRITICAL **: gtk_text_buffer_delete_mark: assertion 'GTK_IS_TEXT_MARK (mark)' failed
```
* Segmentation fault common.
* Caused by Gtk.FileChooserDialog and clickFile (and friends) not returning True which causes the event to be passed on. This is a Gtk bug but we must avoid crashing.
* [kwin crashes on pinentry](https://bugs.kde.org/show_bug.cgi?id=379493)
* core.2239 caused by experimental code to remove messages from threaded message list clickSpamMulti. Delete a parent and child.
* not in published BikeIM
* Notes:
```text
#0 0x00007fe6aa8dd038 in g_node_traverse_post_order () from /usr/lib64/libglib-2.0.so.0
=> 0x7fe6aa8dd038 <g_node_traverse_post_order+40>: mov 0x8(%rdi),%rbx
rdi 0x110 272
rbx 0x25efc00 39779328
```
* Abort on startup
* First seen in 6d7235d
```text
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
python3: /var/tmp/portage/x11-libs/libX11-1.6.5/work/libX11-1.6.5/src/xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted
```
* Likely fixed in 4cd890a. Probable cause is using python thread instead of idle_add.