After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705771 - Improve error handling in POP3 code
Improve error handling in POP3 code
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
3.12.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 729148 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-08-10 19:25 UTC by Pacho Ramos
Modified: 2015-04-27 16:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2013-08-10 19:25:10 UTC
I have just seen this messages in journalctl output after broken the connection with pop3 server (fortunately, no mail has been lost :D):
ago 10 21:19:56 belkin4 gnome-session[28773]: (evolution:31016): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory
ago 10 21:19:56 belkin4 gnome-session[28773]: This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
ago 10 21:19:56 belkin4 gnome-session[28773]: The overwriting error message was: TCP connection reset by peer
ago 10 21:20:04 belkin4 gnome-session[28773]: (evolution:31016): camel-pop3-provider-CRITICAL **: camel_pop3_engine_command_new: assertion `pe != NULL' failed

ago 10 21:20:04 belkin4 gnome-session[28773]: (evolution:31016): camel-pop3-provider-CRITICAL **: camel_pop3_engine_iterate: assertion `pe != NULL' failed

Not sure if it has any side effect, feel free to take care of this if you think so :/

Best regards!
Comment 1 Milan Crha 2015-04-24 09:34:13 UTC
*** Bug 729148 has been marked as a duplicate of this bug. ***
Comment 2 Milan Crha 2015-04-27 16:34:18 UTC
I tried to address as much as I was able to. I even cheated in the code to get some useful input. The code will behave better now, even not necessarily 100% "GError bug"-free.

Created commit dbe1180 in eds master (3.17.2+)
Created commit c7433db in eds gnome-3-16 (3.16.2+)