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 495086 - evolution seg faults on invalid IMAP ENVELOPE
evolution seg faults on invalid IMAP ENVELOPE
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Milan Crha
Evolution QA team
: 428173 491794 498940 516171 525969 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-11-08 19:29 UTC by Milan Crha
Modified: 2008-04-05 00:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed eds patch (1.43 KB, patch)
2007-11-08 19:37 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2007-11-08 19:29:49 UTC
Forwarding from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=371301

Fedora 8 with default "desktop" install.  Please let me know if you need any
more debug info.  Thanks


warning: Missing the separate debug info file: /usr/lib/debug/.build-id/43/6d233
16ecf795acef0bb46c636e84ad2ef9ce0.debug
Loading Spamassasin as the default junk plugin
** (evolution:12700): DEBUG: mailto URL command: evolution %s
** (evolution:12700): DEBUG: mailto URL program: evolution
[New Thread -1240859760 (LWP 12724)]
[New Thread -1253049456 (LWP 12725)]
[New Thread -1265632368 (LWP 12726)]
[New Thread -1276122224 (LWP 12727)]
[Thread -1276122224 (LWP 12727) exited]
[Thread -1253049456 (LWP 12725) exited]
[Thread -1265632368 (LWP 12726) exited]
[New Thread -1265632368 (LWP 12728)]
[Thread -1265632368 (LWP 12728) exited]
[New Thread -1265632368 (LWP 12729)]
[Detaching after fork from child process 12730. (Try `set detach-on-fork off'.)]
libnm_glib_nm_state_cb: dbus returned an error.
  (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkMa
nager was not provided by any .service files
[New Thread -1253049456 (LWP 12731)]
[New Thread -1276122224 (LWP 12732)]
[New Thread -1286612080 (LWP 12733)]
[Thread -1253049456 (LWP 12731) exited]
[New Thread -1253049456 (LWP 12734)]
[Thread -1286612080 (LWP 12733) exited]
[Thread -1253049456 (LWP 12734) exited]
[New Thread -1253049456 (LWP 12735)]
[New Thread -1286612080 (LWP 12736)]
[Thread -1253049456 (LWP 12735) exited]
[Thread -1286612080 (LWP 12736) exited]
[New Thread -1286612080 (LWP 12737)]
[New Thread -1253049456 (LWP 12738)]
[Thread -1286612080 (LWP 12737) exited]

** (evolution:12700): WARNING **: couldn't communicate with gnome keyring daemon
 via dbus: The name org.gnome.keyring was not provided by any .service files

** (evolution:12700): WARNING **: couldn't communicate with gnome keyring daemon
 via dbus: The name org.gnome.keyring was not provided by any .service files
[Thread -1253049456 (LWP 12738) exited]
[New Thread -1253049456 (LWP 12742)]
[New Thread -1286612080 (LWP 12743)]
[New Thread -1297101936 (LWP 12744)]
[New Thread -1307591792 (LWP 12745)]
[New Thread -1318081648 (LWP 12746)]
[Thread -1297101936 (LWP 12744) exited]
[Thread -1307591792 (LWP 12745) exited]
[New Thread -1307591792 (LWP 12747)]
[Thread -1318081648 (LWP 12746) exited]
[Thread -1253049456 (LWP 12742) exited]
[Thread -1286612080 (LWP 12743) exited]
[New Thread -1253049456 (LWP 12748)]
[New Thread -1286612080 (LWP 12749)]
[New Thread -1318081648 (LWP 12750)]
[New Thread -1297101936 (LWP 12751)]
[Thread -1253049456 (LWP 12748) exited]
[Thread -1286612080 (LWP 12749) exited]
[New Thread -1286612080 (LWP 12752)]

** (evolution:12700): WARNING **: couldn't communicate with gnome keyring daemon
 via dbus: The name org.gnome.keyring was not provided by any .service files

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 12752)

  • #0 imap_body_decode
    at camel-imap-utils.c line 980
  • #1 imap_body_decode
    at camel-imap-utils.c line 862
  • #2 imap_parse_body
    at camel-imap-utils.c line 1057
  • #3 imap_get_message
    at camel-imap-folder.c line 2125
  • #4 camel_folder_get_message
    at camel-folder.c line 1074
  • #5 get_message_exec
    at mail-ops.c line 1700
  • #6 mail_msg_proxy
    at mail-mt.c line 500
  • #7 ??
    from /lib/libglib-2.0.so.0
  • #8 ??
    from /lib/libglib-2.0.so.0
  • #9 start_thread
    from /lib/libpthread.so.0
  • #10 clone
    from /lib/libc.so.6

(gdb) print *in
$1 = 0x9f4d2dd "(\"MESSAGE\" \"RFC822\" (\"name\" \"Fw_ FW_ Celebrity
Estates.eml\") NIL NIL \"7bit\" 3438239 0) \"MIXED\")"
Comment 1 Milan Crha 2007-11-08 19:37:29 UTC
Created attachment 98783 [details] [review]
proposed eds patch

for evolution-data-server;

As discussed with pvanhoof, this should _properly_ fixes the issue.
Comment 2 Srinivasa Ragavan 2007-11-10 05:49:33 UTC
Looks fine to me. Test and commit
Comment 3 Milan Crha 2007-11-12 11:16:02 UTC
Committed to trunk. Committed revision 8196.
Committed to stable. Committed revision 8197.

I tested and it seems to me like working, I also asked pvanhoof for an approve and committed to stable as well.
Comment 4 André Klapper 2008-03-01 12:21:01 UTC
*** Bug 516171 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2008-03-01 12:22:38 UTC
*** Bug 491794 has been marked as a duplicate of this bug. ***
Comment 6 André Klapper 2008-03-01 12:24:01 UTC
*** Bug 428173 has been marked as a duplicate of this bug. ***
Comment 7 André Klapper 2008-03-01 12:24:29 UTC
*** Bug 498940 has been marked as a duplicate of this bug. ***
Comment 8 André Klapper 2008-04-05 00:26:49 UTC
*** Bug 525969 has been marked as a duplicate of this bug. ***