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 304013 - Evolution crashes when opening a specific mail
Evolution crashes when opening a specific mail
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.0.x (obsolete)
Other All
: High major
: ---
Assigned To: vivek jain
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-05-13 08:33 UTC by Lars Grunewaldt
Modified: 2013-09-10 14:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
mail file as present on imap server (courier/maildir) (51.04 KB, text/plain)
2005-05-13 08:35 UTC, Lars Grunewaldt
  Details
should fix this. (1.92 KB, patch)
2005-08-05 10:09 UTC, vivek jain
none Details | Review
updated patch (2.09 KB, patch)
2005-08-06 05:47 UTC, vivek jain
accepted-commit_now Details | Review

Description Lars Grunewaldt 2005-05-13 08:33:10 UTC
Steps to reproduce:
1. open mail in question from imap an server



Stack trace:
Backtrace was generated from '/usr/bin/evolution-2.0'

(no debugging symbols found)...Using host libthread_db library
"/lib/libthread_db.so.1".
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[Thread debugging
using libthread_db enabled]
[New Thread 16384 (LWP 17112)]
[New Thread 32769 (LWP 17117)]
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 17112)]
[New Thread 32769 (LWP 17117)]
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 17112)]
[New Thread 32769 (LWP 17117)]
[New Thread 16386 (LWP 17118)]
[New Thread 32771 (LWP 17119)]
[New Thread 65540 (LWP 17122)]
[New Thread 81925 (LWP 17123)]
[New Thread 98310 (LWP 17124)]
[New Thread 114695 (LWP 17125)]
[New Thread 131080 (LWP 17126)]

0x40b8a43b in waitpid () from /lib/libpthread.so.0

Thread 6 (Thread 81925 (LWP 17123))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 __pthread_alt_lock
    from /lib/libpthread.so.0
  • #3 pthread_mutex_lock
    from /lib/libpthread.so.0
  • #4 e_sidebar_get_type
  • #5 __pthread_sighandler
    from /lib/libpthread.so.0
  • #6 <signal handler called>
  • #7 camel_mime_part_get_content_location
    from /usr/lib/evolution/2.0/libcamel.so.0
  • #8 em_format_part_as
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #9 em_format_part
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #10 em_format_describe_part
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #11 em_format_part_as
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #12 em_format_part
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #13 em_format_describe_part
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #14 em_format_part_as
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #15 em_format_part
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #16 em_format_html_job_queue
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #17 em_format_html_display_zoom_reset
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #18 em_format_describe_part
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #19 em_format_html_display_zoom_reset
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #20 em_format_part_as
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #21 em_format_part
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #22 em_format_describe_part
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #23 em_format_part_as
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #24 em_format_part
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #25 em_format_html_job_queue
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #26 em_format_html_display_zoom_reset
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #27 em_format_html_job_queue
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #28 mail_cancel_all
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #29 e_thread_busy
    from /usr/lib/evolution/2.0/libeutil.so.0
  • #30 e_thread_busy
    from /usr/lib/evolution/2.0/libeutil.so.0
  • #31 pthread_start_thread
    from /lib/libpthread.so.0
  • #32 clone
    from /lib/libc.so.6


Other information:
I'll add the mail in question as an attachment. It might be malformed because
it's a postfix notice that it can't forward a mail due to an mail format error... ;)

Anyway I don't think that Evolution should crash. I'm running Gentoo Linux
stable, which is why I'm using version 2.0.4 which is marked stable in Gentoo.
If this bug does not appear in newer versions, I'm sorry eating up your precious
time.
Comment 1 Lars Grunewaldt 2005-05-13 08:35:01 UTC
Created attachment 46390 [details]
mail file as present on imap server (courier/maildir)
Comment 2 Nagappan Alagappan 2005-05-13 09:32:33 UTC
Able to reproduce with 2.2.x
Comment 3 Khasim Shaheed 2005-05-13 09:40:33 UTC
Better stack trace:

Thread 20 (Thread 1110444976 (LWP 8085))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __lll_mutex_lock_wait
    from /lib/tls/libpthread.so.0
  • #5 _L_mutex_lock_34
    from /lib/tls/libpthread.so.0
  • #6 ??
  • #7 ??
  • #8 __JCR_LIST__
    from /opt/gnome/lib/evolution/2.2/components/libevolution-mail.so
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 segv_redirect
    at main.c line 437
  • #13 segv_redirect
    at main.c line 437
  • #14 <signal handler called>
  • #15 camel_mime_part_get_content_location
    at camel-mime-part.c line 479
  • #16 em_format_part_as
    at em-format.c line 556
  • #17 em_format_part
    at em-format.c line 614
  • #18 emf_multipart_appledouble
    at em-format.c line 1179
  • #19 em_format_part_as
    at em-format.c line 584
  • #20 em_format_part
    at em-format.c line 611
  • #21 emf_multipart_mixed
    at em-format.c line 1200
  • #22 em_format_part_as
    at em-format.c line 584
  • #23 em_format_part
    at em-format.c line 611
  • #24 efh_format_message
    at em-format-html.c line 1708
  • #25 efhd_format_message
    at em-format-html-display.c line 1065
  • #26 emf_message_rfc822
    at em-format.c line 1476
  • #27 efhd_format_attachment
    at em-format-html-display.c line 1564
  • #28 em_format_part_as
    at em-format.c line 592
  • #29 em_format_part
    at em-format.c line 611
  • #30 emf_multipart_mixed
    at em-format.c line 1200
  • #31 em_format_part_as
    at em-format.c line 584
  • #32 em_format_part
    at em-format.c line 611
  • #33 efh_format_message
    at em-format-html.c line 1708
  • #34 efhd_format_message
    at em-format-html-display.c line 1065
  • #35 efh_format_do
    at em-format-html.c line 1164
  • #36 mail_msg_received
    at mail-mt.c line 556
  • #37 thread_received_msg
    at e-msgport.c line 826
  • #38 thread_dispatch
    at e-msgport.c line 907
  • #39 start_thread
    from /lib/tls/libpthread.so.0
  • #40 clone
    from /lib/tls/libc.so.6

Comment 4 vivek jain 2005-08-05 10:09:47 UTC
Created attachment 50261 [details] [review]
should fix this.

Please apply the patch and test, I have not tested it yet, but the fix is made
based upon the problem found in traces.
Comment 5 vivek jain 2005-08-06 05:47:09 UTC
Created attachment 50307 [details] [review]
updated patch

pl. ignore perv. one
Comment 6 Not Zed 2005-08-08 04:15:22 UTC
thanks vivek
Comment 7 vivek jain 2005-08-08 07:06:09 UTC
committed in CVS head. Thanks!