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 353835 - Evolution crashes on an email
Evolution crashes on an email
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.8.x (obsolete)
Other Linux
: High critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-09-01 12:45 UTC by Sebastien Bacher
Modified: 2013-09-10 14:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Sebastien Bacher 2006-09-01 12:45:28 UTC
That bug has been described on https://launchpad.net/distros/ubuntu/+source/evolution/+bug/58365

"....
I was able to find the email that was causing the crash. I've pulled it out of the Inbox file and have taken out the huge To: line and it still causes the crash. To import this into evolution, drag-n-drop seems to work just fine and cause the crash.
...
http://librarian.launchpad.net/4080491/evolution.txt
...
  • #0 strcmp
    from /lib/tls/i686/cmov/libc.so.6
  • #1 efh_format_address
    at em-format-html.c line 1587
  • #2 efh_format_address
    at em-format-html.c line 1543
  • #3 efh_format_header
    at em-format-html.c line 1644
  • #4 efh_format_message
    at em-format-html.c line 1793
  • #5 efh_format_do
    at em-format-html.c line 1227
  • #6 mail_msg_received
    at mail-mt.c line 570

Comment 1 André Klapper 2006-09-01 19:16:53 UTC
nice trace, thanks! :-)
Comment 2 Christian Kirbach 2006-09-01 19:36:09 UTC
thus confirming
Comment 3 parthasarathi susarla 2006-11-03 18:08:20 UTC
Evo crash cos the 'field' argument in frame #1 is NULL and a strcmp is done on the field - to determine if the address is of type TO/FROM/CC etc.. The field should and will never be NULL. 
Looking at frame #2 from which efh_format_address is called again with the field arguments, atleast in the code there seems to be no way the field argument will ever be NULL.... NOt sure what might be wrong.. Have you tried upgrading or something

** I imported the mail in Evo (using edgy) and it works fine **

  • #0 strcmp
    from /lib/tls/i686/cmov/libc.so.6
  • #1 efh_format_address
    at em-format-html.c line 1587
  • #2 efh_format_address
    at em-format-html.c line 1543
  • #3 efh_format_header
    at em-format-html.c line 1644

Comment 4 Milan Crha 2007-08-10 09:19:38 UTC
It seems to me, it has been fixed on Aug 28 2006:
http://svn.gnome.org/viewcvs/evolution/trunk/mail/em-format-html.c?r1=32556&r2=32690
Comment 5 Matthew Barnes 2008-03-11 00:26:46 UTC
Bumping version to a stable release.
Comment 6 Akhil Laddha 2008-07-16 11:08:21 UTC
Please reopen the bug if you still see it in current stable 2.22.3, thanks,