I'm on ArchLinux and use claws-mail, which depends on the gpgme library for signed mails. Recently claws mail started crashing "randomly" very often.
I reported this problem to the claws-mail developers first and provided them with backtraces of a debug build of claws-mail. Based on the traces they decided, that this is not a problem in claws-mail, but in gpgme.
I then checked and noticed that the gpgme package on ArchLinux was updated fairly recently as well. Downgrading the package from 1.13.0-1 to 1.12.0-2 fixed the issue for me.
So i have to assume that there is some bug or backwards compatibility issue in gpgme 1.13.0 that leads to segmentation faults.
Extract from the traces:
Thread 1 "claws-mail" received signal SIGSEGV, Segmentation fault. 0x0000555556cd8200 in ?? () [...] Thread 1 (Thread 0x7ffff1f1fd00 (LWP 1573)): #0 0x0000555556cd8200 in () #1 0x00007fffeb32da92 in () at /usr/lib/libgpgme.so.11 #2 0x00007fffeb336142 in () at /usr/lib/libgpgme.so.11 #3 0x00007fffeb33c626 in () at /usr/lib/libgpgme.so.11 #4 0x00007fffeb3266c3 in () at /usr/lib/libgpgme.so.11 #5 0x00007fffeb33b804 in gpgme_ctx_set_engine_info () at /usr/lib/libgpgme.so.11 #6 0x00007fffeb31e0c5 in gpgme_get_key () at /usr/lib/libgpgme.so.11 #7 0x00007ffff013c556 in sgpgme_sigstat_info_short () at /usr/lib/claws-mail/plugins/pgpcore.so #8 0x00007ffff0abce16 in () at /usr/lib/claws-mail/plugins/smime.so #9 0x00005555557ecc94 in privacy_mimeinfo_sig_info_short () #10 0x000055555575c5aa in () #11 0x000055555575cad4 in () #12 0x00007ffff68f3e53 in () at /usr/lib/libglib-2.0.so.0 #13 0x00007ffff68f4661 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #14 0x00007ffff68f6739 in () at /usr/lib/libglib-2.0.so.0 #15 0x00007ffff68f76d2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0 #16 0x00007ffff7a75df3 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0 #17 0x000055555571ea5e in main ()
You can find the full backtraces in the claws-mail bug report in the "External Link".