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 450669 - Crashed in CamelFolderSummary when indexing maildir
Crashed in CamelFolderSummary when indexing maildir
Status: RESOLVED DUPLICATE of bug 339602
Product: evolution-data-server
Classification: Platform
Component: Mailer
1.12.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-06-24 17:06 UTC by Ross Burton
Modified: 2013-09-14 16:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ross Burton 2007-06-24 17:06:46 UTC
I'm using Evolution to read my local maildirs, and I'm getting crashes on startup when it indexes the maildir.

I added some debugging to the source, and caught this:

Breakpoint 2, 0xb6e84a16 in g_logv () from /usr/lib/libglib-2.0.so.0
(gdb) bt
  • #0 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #1 g_log
    from /usr/lib/libglib-2.0.so.0
  • #2 g_return_if_fail_warning
    from /usr/lib/libglib-2.0.so.0
  • #3 camel_object_is
    at camel-object.c line 1044
  • #4 camel_index_add_name
    at camel-index.c line 195
  • #5 camel_folder_summary_info_new_from_parser
    at camel-folder-summary.c line 1031
  • #6 camel_folder_summary_add_from_parser
    at camel-folder-summary.c line 936
  • #7 camel_maildir_summary_add
    at camel-maildir-summary.c line 490
  • #8 maildir_summary_check
    at camel-maildir-summary.c line 613
  • #9 camel_local_summary_check
    at camel-local-summary.c line 268
  • #10 local_refresh_info
    at camel-local-folder.c line 475
  • #11 camel_folder_refresh_info
    at camel-folder.c line 302
  • #12 refresh_folders_get
    at mail-send-recv.c line 791
  • #13 mail_msg_received
    at mail-mt.c line 582
  • #14 thread_dispatch
    at e-msgport.c line 1005
  • #15 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #16 clone
    from /lib/tls/i686/cmov/libc.so.6

Note how the object to camel_index_add_name() is NULL, which causes a crash.  I've added some type check guards which makes it assert.
Comment 1 André Klapper 2007-07-26 21:51:40 UTC
ross - duplicate of bug 339602? what do you think?
Comment 2 Ross Burton 2007-07-27 08:39:20 UTC
Agreed.

*** This bug has been marked as a duplicate of 339602 ***