GNOME Bugzilla – Bug 732018
Crash due to passing set GError to glib-networking
Last modified: 2015-08-19 15:05:10 UTC
Evolution crashes randomly. Error message and gdb backtrace: GLib-Net:ERROR:/tmp/portage/net-libs/glib-networking-2.40.1-r1/work/glib-networking-2.40.1/tls/gnutls/gtlsconnection-gnutls.c:688:end_gnutls_io: assertion failed: (!error || !*error) Program received signal SIGABRT, Aborted.
+ Trace 233716
Thread 140735730640640 (LWP 2259)
Which exact version is this about?
3.12.3
Thanks for a bug report. This is similar to bug #737903, at least in a sense that it is crashing due to gnutls asserting an 'error' parameter. Could I ask what authentication type your POP3 account uses, please? I'm not sure whether end_gnutls_io() was about to use it, but it was ready to propagate an error "Error writing data to TLS socket: %s", from which I suppose there was some issue connecting to the server. The next time, please check for any private information in the backtrace before submitting it, it can contain various private information, like passwords, server addresses, email addresses and any other such kind of information which one usually doesn't want to share in public. I usually search for "pass" at least (quotes for clarity only).
*** Bug 733519 has been marked as a duplicate of this bug. ***
The above duplicate has the same crash, but from IMAP. So we have currently IMAP and POP3, while there was also one for SMTP (bug #737903). I'm only unsure whether it's related to a certain authentication method or a general error reported, but not handled properly.
I fixed the POP3 crash, but I'm not sure with the IMAP+ one, because it was missing line numbers and such (debugging info for evolution-data-server). Nonetheless, there were plenty of places which could be related to the crash, thus I fixed at least those. Created commit 8eef965 in eds master (3.13.8+) [1] Created commit f4742e1 in eds evolution-data-server-3-12 (3.12.9+) [1] https://git.gnome.org/browse/evolution-data-server/commit/?id=8eef965
(In reply to comment #3) Sorry for the long reply, I was far away from my Linux laptop. > what authentication type your POP3 account uses, please? STARTTLS > The next time, please check for any private information in the backtrace before > submitting it, it can contain various private information, like passwords, > server addresses, email addresses and any other such kind of information which > one usually doesn't want to share in public. Oh, my bad :) But I already changed all these passwords, so it's OK.
It turned out that the crash can still happen in some cases. I added a workaround and claim an error on console, instead of let glib-networking crash the application with the below change. Created commit a17c38c in eds master (3.15.91+)
*** Bug 748448 has been marked as a duplicate of this bug. ***
*** Bug 753659 has been marked as a duplicate of this bug. ***