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 324008 - Crashes when sending mail (storing local copy)
Crashes when sending mail (storing local copy)
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.8.x (obsolete)
Other other
: High critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 352027 416535 427258 455260 468779 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-12-13 19:11 UTC by Raphael Hertzog
Modified: 2013-09-10 14:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
proposed eds patch (922 bytes, patch)
2007-07-30 10:46 UTC, Milan Crha
committed Details | Review

Description Raphael Hertzog 2005-12-13 19:11:50 UTC
Distribution: Ubuntu 5.10 (breezy)
Package: Evolution
Severity: Normal
Version: GNOME2.12.1 2.4.x
Gnome-Distributor: Ubuntu
Synopsis: Crashes when sending mail (storing local copy)
Bugzilla-Product: Evolution
Bugzilla-Component: Mailer
Bugzilla-Version: 2.4.x
BugBuddy-GnomeVersion: 2.0 (2.12.0)
Description:
Description of the crash:
Sometimes when I send a mail, evolution crashes. The mail is
successfully sent however the local copy that should be stored in
old/outbox (in my Maildir tree) is not written.

How often does this happen?
No precise idea. 2 out of 10 ?

Additional Information:
I'm using evolution from Ubuntu Breezy (2.4.1). All plugins are
apparently enabled by default.


Debugging Information:

Backtrace was generated from '/usr/bin/evolution'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
(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)
(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)
(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 -1230718144 (LWP 7418)]
[New Thread -1296507984 (LWP 7491)]
[New Thread -1288115280 (LWP 7490)]
[New Thread -1265058896 (LWP 7425)]
[New Thread -1256559696 (LWP 7424)]
[New Thread -1247994960 (LWP 7423)]
[New Thread -1239192656 (LWP 7422)]
(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)
(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)
(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)
(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)
0xffffe410 in __kernel_vsyscall ()

Thread 6 (Thread -1247994960 (LWP 7423))

  • #0 __kernel_vsyscall
  • #1 __lll_mutex_lock_wait
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 _L_mutex_lock_33
    from /lib/tls/i686/cmov/libpthread.so.0
  • #3 ??
  • #4 ??
  • #5 ??
    from /lib/tls/i686/cmov/libpthread.so.0
  • #6 ??
  • #7 ??
  • #8 ??
    from /lib/tls/i686/cmov/libc.so.6
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 pthread_mutex_lock
    from /lib/tls/i686/cmov/libc.so.6
  • #13 pthread_mutex_lock
    from /lib/tls/i686/cmov/libc.so.6
  • #14 es_menu_hook_get_type
  • #15 <signal handler called>
  • #16 camel_partition_table_sync
    from /usr/lib/libcamel-1.2.so.0
  • #17 camel_text_index_new
    from /usr/lib/libcamel-1.2.so.0
  • #18 camel_index_sync
    from /usr/lib/libcamel-1.2.so.0
  • #19 camel_pstring_free
    from /usr/lib/libcamel-1.2.so.0
  • #20 camel_object_unref
    from /usr/lib/libcamel-1.2.so.0
  • #21 camel_text_index_new
    from /usr/lib/libcamel-1.2.so.0
  • #22 camel_local_folder_construct
    from /usr/lib/evolution-data-server-1.2/camel-providers/libcamellocal.so
  • #23 camel_maildir_folder_new
    from /usr/lib/evolution-data-server-1.2/camel-providers/libcamellocal.so
  • #24 camel_maildir_store_get_type
    from /usr/lib/evolution-data-server-1.2/camel-providers/libcamellocal.so
  • #25 camel_store_get_folder
    from /usr/lib/libcamel-provider-1.2.so.6
  • #26 mail_tool_uri_to_folder
    from /usr/lib/evolution/2.4/components/libevolution-mail.so
  • #27 mail_fetch_mail
    from /usr/lib/evolution/2.4/components/libevolution-mail.so
  • #28 mail_fetch_mail
    from /usr/lib/evolution/2.4/components/libevolution-mail.so
  • #29 mail_cancel_all
    from /usr/lib/evolution/2.4/components/libevolution-mail.so
  • #30 e_thread_busy
    from /usr/lib/libedataserver-1.2.so.4
  • #31 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #32 clone
    from /lib/tls/i686/cmov/libc.so.6




------- Bug moved to this database by unknown@gnome.bugs 2005-12-13 19:11 UTC -------

Comment 1 Sebastien Bacher 2005-12-13 20:20:47 UTC
The bug happens with evolution-data-server 1.5.2 as well.

Debug backtrace from the submitter with 1.4.1:

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 14125)

  • #0 camel_partition_table_sync
    at camel-partition-table.c line 255
  • #1 text_index_sync
    at camel-text-index.c line 297
  • #2 camel_index_sync
    at camel-index.c line 137
  • #3 camel_text_index_finalise
    at camel-text-index.c line 770
  • #4 camel_object_unref
    at camel-object.c line 925
  • #5 camel_text_index_new
    at camel-text-index.c line 885
  • #6 camel_local_folder_construct
    at camel-local-folder.c line 274
  • #7 camel_maildir_folder_new
    at camel-maildir-folder.c line 148
  • #8 get_folder
    at camel-maildir-store.c line 193
  • #9 camel_store_get_folder
    at camel-store.c line 261
  • #10 mail_tool_uri_to_folder
    from /usr/lib/evolution/2.6/components/libevolution-mail.so
  • #11 mail_check_service
    from /usr/lib/evolution/2.6/components/libevolution-mail.so
  • #12 mail_cancel_all
    from /usr/lib/evolution/2.6/components/libevolution-mail.so
  • #13 e_thread_busy
    from /usr/lib/libedataserver-1.2.so.4
  • #14 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #15 clone
    from /lib/tls/i686/cmov/libc.so.6

comment from the submitter: "I moved away my .ibex* files for old/outbox and now
it starts again"
Comment 2 parthasarathi susarla 2005-12-14 16:16:05 UTC
The partition table is borked. How many messages do you have in the folder??
Were the files manunally edited?? 
Comment 3 Sebastien Bacher 2005-12-14 16:29:02 UTC
comment from the bug submitter:

"2500 mails and no manual edit, just a crash while evolution was trying to write
on it ... (probably)"
Comment 4 Jeffrey Stedfast 2005-12-14 17:09:25 UTC
From what I know, Zucchi's CamelPartitionTable and CamelIndex stuff is all based
on the design explained in the document: 

http://primates.ximian.com/~fejj/doc/idealhashtrees.pdf
Comment 5 Raphael Hertzog 2005-12-18 13:48:55 UTC
Yet another similar backtrace :
http://pastebin.com/468929

And again, moving away old/outbox.ibex* files solved the crash on startup. Evolution corrupts itself the files when randomly crashing. The "Maildir" camel code certainly needs a bit of love ...

I'm running evolution ig gdb almost permanently now. I hope to be able to provide a back trace of a crash that corrupts the files ... but it's not so easy to reproduce. The last time it happened, gdb stalled strangely with :
ptrace: Aucun processus de ce type.
thread_db_get_info: cannot get thread info: generic error

And then I couldn't get a backtrace even though evolution was no more working (more precisely, the part that displays the mail content stopped updating itself and changing to another message didn't change anything). After that "force stop" (quit in gdb), the files were corrupted ...
Comment 6 Raphael Hertzog 2005-12-18 17:46:11 UTC
One more backtrace, HTH :

Program received signal SIGTRAP, Trace/breakpoint trap.

Thread NaN (LWP 15177)

  • #0 _dl_debug_state
    from /lib/ld-linux.so.2
  • #1 _dl_rtld_di_serinfo
    from /lib/ld-linux.so.2
  • #2 getutmpx
    from /lib/tls/i686/cmov/libc.so.6
  • #3 _dl_rtld_di_serinfo
    from /lib/ld-linux.so.2
  • #4 _dl_open
    from /lib/tls/i686/cmov/libc.so.6
  • #5 _dl_mcount_wrapper_check
    from /lib/tls/i686/cmov/libc.so.6
  • #6 _dl_rtld_di_serinfo
    from /lib/ld-linux.so.2
  • #7 __libc_dlopen_mode
    from /lib/tls/i686/cmov/libc.so.6
  • #8 __gconv_get_cache
    from /lib/tls/i686/cmov/libc.so.6
  • #9 __gconv_get_alias_db
    from /lib/tls/i686/cmov/libc.so.6
  • #10 __gconv_get_alias_db
    from /lib/tls/i686/cmov/libc.so.6
  • #11 iconv_close
    from /lib/tls/i686/cmov/libc.so.6
  • #12 iconv_open
    from /lib/tls/i686/cmov/libc.so.6
  • #13 e_iconv_open
    from /usr/lib/evolution/2.4/libeutil.so.0
  • #14 camel_mime_filter_charset_new_convert
    at camel-mime-filter-charset.c line 276
  • #15 summary_build_content_info
    at camel-folder-summary.c line 2051
  • #16 summary_build_content_info
    at camel-folder-summary.c line 2098
  • #17 camel_folder_summary_info_new_from_parser
    at camel-folder-summary.c line 958
  • #18 camel_folder_summary_add_from_parser
    at camel-folder-summary.c line 858
  • #19 camel_maildir_summary_add
    at camel-maildir-summary.c line 488
  • #20 maildir_summary_check
    at camel-maildir-summary.c line 692
  • #21 camel_local_summary_check
    at camel-local-summary.c line 264
  • #22 local_refresh_info
    at camel-local-folder.c line 473
  • #23 camel_folder_refresh_info
    at camel-folder.c line 299
  • #24 mail_check_service
    from /usr/lib/evolution/2.4/components/libevolution-mail.so
  • #25 mail_cancel_all
    from /usr/lib/evolution/2.4/components/libevolution-mail.so
  • #26 e_thread_busy
    from /usr/lib/libedataserver-1.2.so.4
  • #27 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #28 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 7 Raphael Hertzog 2005-12-18 20:14:27 UTC
This time after a crash, evolution decided to reindex one of my folder and crashed during that processing. Also some messages were marked as new when they weren't before ... and trying to display a message marked new lead to an error (displayed in the content pane).

Here's the backtrace :
Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 28389)

  • #0 camel_index_write_name
    at camel-index.c line 192
  • #1 camel_folder_summary_info_new_from_parser
    at camel-folder-summary.c line 961
  • #2 camel_folder_summary_add_from_parser
    at camel-folder-summary.c line 858
  • #3 camel_maildir_summary_add
    at camel-maildir-summary.c line 488
  • #4 maildir_summary_check
    at camel-maildir-summary.c line 609
  • #5 camel_local_summary_check
    at camel-local-summary.c line 264
  • #6 local_refresh_info
    at camel-local-folder.c line 473
  • #7 camel_folder_refresh_info
    at camel-folder.c line 299
  • #8 mail_check_service
    from /usr/lib/evolution/2.4/components/libevolution-mail.so
  • #9 mail_cancel_all
    from /usr/lib/evolution/2.4/components/libevolution-mail.so
  • #10 e_thread_busy
    from /usr/lib/libedataserver-1.2.so.4
  • #11 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #12 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 8 Raphael Hertzog 2005-12-19 11:30:15 UTC
A new backtrace of a crash directly at startup (it crashed just before while trying to exit from evolution) :
Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 20370)

  • #0 camel_partition_table_lookup
    at camel-partition-table.c line 305
  • #1 text_index_has_name
    at camel-text-index.c line 578
  • #2 camel_index_has_name
    at camel-index.c line 175
  • #3 camel_maildir_summary_add
    at camel-maildir-summary.c line 481
  • #4 maildir_summary_check
    at camel-maildir-summary.c line 617
  • #5 camel_local_summary_check
    at camel-local-summary.c line 264
  • #6 local_refresh_info
    at camel-local-folder.c line 473
  • #7 camel_folder_refresh_info
    at camel-folder.c line 299
  • #8 refresh_folders_get
    from /usr/lib/evolution/2.4/components/libevolution-mail.so
  • #9 mail_msg_received
    from /usr/lib/evolution/2.4/components/libevolution-mail.so
  • #10 thread_received_msg
    at e-msgport.c line 826
  • #11 thread_dispatch
    at e-msgport.c line 907
  • #12 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #13 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 9 Raphael Hertzog 2005-12-19 13:39:24 UTC
Finally I think I managed to get a backtrace of the first crash that usually leads to corrupted "*ibex*" files which themselves lead to further crash... this crash happened right after sending a new message (a reply in fact). The "1134998490.20521_1.rivendell:2,S" id corresponds to the message that I just sent.

camel-ERROR **: file camel-partition-table.c: line 877 (camel_key_table_lookup): assertion failed: (index < kb->used)
aborting...

Program received signal SIGABRT, Aborted.

Thread NaN (LWP 20523)

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #4 g_log
    from /usr/lib/libglib-2.0.so.0
  • #5 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #6 camel_key_table_lookup
    at camel-partition-table.c line 877
  • #7 text_index_add_name_to_word
    at camel-text-index.c line 197
  • #8 hash_write_word
    at camel-text-index.c line 631
  • #9 g_hash_table_foreach
    from /usr/lib/libglib-2.0.so.0
  • #10 text_index_write_name
    at camel-text-index.c line 644
  • #11 camel_index_write_name
    at camel-index.c line 193
  • #12 camel_folder_summary_info_new_from_parser
    at camel-folder-summary.c line 961
  • #13 camel_folder_summary_add_from_parser
    at camel-folder-summary.c line 858
  • #14 camel_maildir_summary_add
    at camel-maildir-summary.c line 488
  • #15 maildir_summary_check
    at camel-maildir-summary.c line 609
  • #16 camel_local_summary_check
    at camel-local-summary.c line 264
  • #17 local_refresh_info
    at camel-local-folder.c line 473
  • #18 camel_folder_refresh_info
    at camel-folder.c line 299
  • #19 refresh_folders_get
    from /usr/lib/evolution/2.4/components/libevolution-mail.so
  • #20 mail_msg_received
    from /usr/lib/evolution/2.4/components/libevolution-mail.so
  • #21 thread_received_msg
    at e-msgport.c line 826
  • #22 thread_dispatch
    at e-msgport.c line 907
  • #23 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #24 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 10 Harish Krishnaswamy 2006-08-10 12:59:49 UTC
Set target milestone to 2.8
Comment 11 parthasarathi susarla 2006-11-03 17:48:08 UTC
*** Bug 352027 has been marked as a duplicate of this bug. ***
Comment 12 André Klapper 2007-04-12 21:55:25 UTC
*** Bug 427258 has been marked as a duplicate of this bug. ***
Comment 13 André Klapper 2007-04-12 21:56:03 UTC
*** Bug 416535 has been marked as a duplicate of this bug. ***
Comment 14 Milan Crha 2007-07-30 10:46:21 UTC
Created attachment 92690 [details] [review]
proposed eds patch

for evolution-data-server;

I'm not sure if this patch will solve whole bug (probably not), but from other duplicates I see here a problem when creating new index file and it isn't created successfully (see camel_text_index_new when returning NULL), then sync may do nothing in this cases from camel_text_index_finalise, because it could cause a crash.
Comment 15 palfrey 2007-08-01 13:14:51 UTC
*** Bug 455260 has been marked as a duplicate of this bug. ***
Comment 16 Srinivasa Ragavan 2007-08-03 07:42:15 UTC
Sankar: Please review this and reply
Comment 17 Srinivasa Ragavan 2007-08-21 11:55:23 UTC
*** Bug 468779 has been marked as a duplicate of this bug. ***
Comment 18 Srinivasa Ragavan 2007-12-03 16:58:22 UTC
No replies... Milan, this seems no harmful, anyways commit to head.
Comment 19 Milan Crha 2007-12-03 18:31:09 UTC
Committed to trunk. Committed revision 8262.

Closing this bug, but if someone will see this again, then feel free to reopen.
Comment 20 Philip Van Hoof 2007-12-04 20:34:43 UTC
Camel-lite merged with this