evolution-data-server r9907 - trunk/camel/providers/imap
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9907 - trunk/camel/providers/imap
- Date: Mon, 12 Jan 2009 03:38:36 +0000 (UTC)
Author: sragavan
Date: Mon Jan 12 03:38:36 2009
New Revision: 9907
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9907&view=rev
Log:
2009-01-12 Srinivasa Ragavan <sragavan novell com>
* camel-imap-folder.c: (imap_rescan), (imap_update_summary): Hack and
debug log to get one hard to get imap crash.
Modified:
trunk/camel/providers/imap/ChangeLog
trunk/camel/providers/imap/camel-imap-folder.c
Modified: trunk/camel/providers/imap/camel-imap-folder.c
==============================================================================
--- trunk/camel/providers/imap/camel-imap-folder.c (original)
+++ trunk/camel/providers/imap/camel-imap-folder.c Mon Jan 12 03:38:36 2009
@@ -963,6 +963,13 @@
continue;
info = camel_folder_summary_uid (folder->summary, uid);
+ if (!info) {
+ if (g_getenv("CRASH_IMAP")) { /* Debug logs to tackle on hard to get imap crasher */
+ printf("CRASH: %s: %s", folder->full_name, uid);
+ g_assert(0);
+ } else
+ continue;
+ }
iinfo = (CamelImapMessageInfo *)info;
@@ -3512,6 +3519,8 @@
messages will be filtered even after saw by other software earlier */
if ((mi->info.flags & CAMEL_IMAP_MESSAGE_RECENT) != 0 || getenv ("FILTER_RECENT") == NULL)
camel_folder_change_info_recent_uid (changes, camel_message_info_uid (mi));
+ printf("NEW: %s: %s(%d)\n", ((CamelMessageInfoBase *)mi)->from, ((CamelMessageInfoBase *)mi)->subject, ((CamelMessageInfoBase *)mi)->refcount);
+
}
g_ptr_array_free (messages, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]