[Bug 433100] New: migration to SQLite -very- unpleasant ...
https://bugzilla.novell.com/show_bug.cgi?id=433100 Summary: migration to SQLite -very- unpleasant ... Product: openSUSE 11.1 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Evolution AssignedTo: bnc-team-evolution@forge.provo.novell.com ReportedBy: mmeeks@novell.com QAContact: lakhil@novell.com Found By: --- So, I've been running this for several minutes, and - it's taking a long time. I have all my mail stored locally, but the migration process seems to take a -long- time; also, the dialog is too succinct and the grammar could be improved. Interestingly we're not using 100% CPU - though we're doing a lot of I/O. The dialog also unfortunately gives no idea of the amount of time left; when this is a really long task. - so far running 10+ minutes and showing 0% on the progress bar. My console output so far looks like this: (evolution:9548): camel-local-provider-WARNING **: Hmm, the xev headers shouldn't have changed size, but they did (evolution:9548): camel-local-provider-WARNING **: failed a quick-sync, trying a full sync Saving 51/51 dirty records of Mail/archive/gb (evolution:9548): camel-WARNING **: Could not open converter for 'unknown-8bit' to 'UTF-8' charset Saving 2731/2731 dirty records of Mail/archive/StarDivision Saving 8/8 dirty records of Mail/archive/vte Saving 77/77 dirty records of Mail/archive/old-inbox Saving 166/166 dirty records of Mail/archive/disksim Saving 2079/2079 dirty records of Mail/archive/gnome-vfs Saving 1107/1107 dirty records of Mail/archive/gconf Saving 164/164 dirty records of Mail/archive/julia (evolution:9548): camel-WARNING **: Could not open converter for 'X-UNKNOWN' to 'UTF-8' charset (evolution:9548): camel-local-provider-WARNING **: Hmm, the xev headers shouldn't have changed size, but they did (evolution:9548): camel-local-provider-WARNING **: failed a quick-sync, trying a full sync Saving 2490/2490 dirty records of Mail/archive/gnome-love Saving 64183/64183 dirty records of Mail/archive/gnomecvs Saving 286/286 dirty records of Mail/archive/gnome-print Saving 12/12 dirty records of Mail/archive/hub (evolution:9548): camel-local-provider-WARNING **: Hmm, the xev headers shouldn't have changed size, but they did (evolution:9548): camel-local-provider-WARNING **: failed a quick-sync, trying a full sync Saving 5016/5016 dirty records of Mail/archive/foundation Saving 758/758 dirty records of Mail/archive/dia Saving 1184/1184 dirty records of Mail/archive/Gnome Office (evolution:9548): camel-local-provider-WARNING **: Hmm, the xev headers shouldn't have changed size, but they did (evolution:9548): camel-local-provider-WARNING **: failed a quick-sync, trying a full sync Saving 775/775 dirty records of Mail/archive/gst Saving 10/10 dirty records of Mail/archive/eog (evolution:9548): camel-local-provider-WARNING **: Hmm, the xev headers shouldn't have changed size, but they did (evolution:9548): camel-local-provider-WARNING **: failed a quick-sync, trying a full sync Saving 5758/5758 dirty records of Mail/archive/gnumeric Saving 36/36 dirty records of Mail/archive/gpdf Saving 254/254 dirty records of Mail/archive/dung (evolution:9548): camel-local-provider-WARNING **: Hmm, the xev headers shouldn't have changed size, but they did (evolution:9548): camel-local-provider-WARNING **: failed a quick-sync, trying a full sync Saving 23550/23550 dirty records of Mail/1OpenOffice Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Mail/1OpenOffice/archive' [no such table: Mail/1OpenOffice/archive] Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Mail/1OpenOffice/archive' WHERE junk = 1 [no such table: Mail/1OpenOffice/archive] Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Mail/1OpenOffice/archive' WHERE deleted = 1 [no such table: Mail/1OpenOffice/archive] Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Mail/1OpenOffice/archive' WHERE read = 0 [no such table: Mail/1OpenOffice/archive] Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Mail/1OpenOffice/archive' WHERE junk = 0 AND deleted = 0 [no such table: Mail/1OpenOffice/archive] Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Mail/1OpenOffice/archive' WHERE junk = 1 AND deleted = 0 [no such table: Mail/1OpenOffice/archive] (evolution:9548): camel-local-provider-WARNING **: Hmm, the xev headers shouldn't have changed size, but they did (evolution:9548): camel-local-provider-WARNING **: failed a quick-sync, trying a full sync Saving 39/39 dirty records of Mail/1OpenOffice/archive/0martink Saving 3208/3208 dirty records of Mail/1OpenOffice/suse-gcc (evolution:9548): camel-WARNING **: Could not open converter for 'HZ-GB-2312' to 'UTF-8' charset Saving 37473/37473 dirty records of Mail/1OpenOffice/suse-gcc/gcc (evolution:9548): camel-WARNING **: Could not open converter for 'UNKNOWN' to 'UTF-8' charset Saving 14986/14986 dirty records of Mail/1OpenOffice/suse-gcc/binutils (evolution:9548): camel-WARNING **: Could not find key entry for word '000000000000000000000000000p': No such file or directory (evolution:9548): camel-WARNING **: Could not find key entry for word '0000000000001l': No such file or directory (evolution:9548): camel-WARNING **: Could not find key entry for word 'ffffffffffffe00000000000000p': No such file or directory (evolution:9548): camel-WARNING **: Could not find key entry for word '0000000000001l': No such file or directory (evolution:9548): camel-WARNING **: Could not find key entry for word '0000000d620000000000p': No such file or directory ... (evolution:9548): camel-WARNING **: Could not find key entry for word '0x7ff0000000000000l': No such file or directory Saving 2830/2830 dirty records of Mail/1OpenOffice/suse-gcc/libc-alpha Saving 3/3 dirty records of Mail/1OpenOffice/oolists Saving 1575/1575 dirty records of Mail/1OpenOffice/oolists/council Saving 170/170 dirty records of Mail/1OpenOffice/oolists/specs Saving 392/392 dirty records of Mail/1OpenOffice/oolists/ui (evolution:9548): camel-WARNING **: Could not find key entry for word 'getimportpropertymapper': No such file or directory (evolution:9548): camel-WARNING **: Could not find key entry for word 'getimportpropertymapper': No such file or directory Saving 1199/1199 dirty records of Mail/1OpenOffice/oolists/installation Saving 11500/11500 dirty records of Mail/1OpenOffice/oolists/api Saving 311/311 dirty records of Mail/1OpenOffice/oolists/ooxml Saving 209/209 dirty records of Mail/1OpenOffice/oolists/ucb Saving 13189/13189 dirty records of Mail/1OpenOffice/oolists/debian (evolution:9548): camel-WARNING **: Could not open converter for 'X-UNKNOWN' to 'UTF-8' charset (evolution:9548): camel-WARNING **: Could not find key entry for word 'c000000000000046': No such file or directory (evolution:9548): camel-WARNING **: Could not find key entry for word 'c000000000000046': No such file or directory Saving 1166/1166 dirty records of Mail/1OpenOffice/oolists/groupware Saving 6658/6658 dirty records of Mail/1OpenOffice/oolists/native-lang Saving 1346/1346 dirty records of Mail/1OpenOffice/oolists/udk-dev Saving 9045/9045 dirty records of Mail/1OpenOffice/oolists/releases So - what I would like to see is: a) this done in another thread - such that the progress dialog can update and re-draw while the conversion is happening. b) a better idea of the time this is going to take: we should be able to get that done at least in bytes migrated. c) better text giving some idea that this is really intended to take a long time, and people should sit tight and wait patiently. (10+ minutes already and still at 0% ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 Suman Manjunath <msuman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |mailer -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User sragavan@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c1 Srinivasa Ragavan V <sragavan@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sragavan@novell.com --- Comment #1 from Srinivasa Ragavan V <sragavan@novell.com> 2008-10-12 22:15:54 MDT --- 10+ minutes? Its still less (Please don't ask JP how much time it took for him ;-) I hardly did the migration dialog. I just rushed something before the UI freeze (I know I will be beaten for this) Migration should be faster on trunk/branch [not yet in 11.1]. [I had made some tweaks in storing the summaries for migration]. Also, I don't think I can find the time, also the bytes too. The way its done now is, load store, then folder from old summary to memory and dump to db. The '%' today sort of reflects the %of accounts migrated :( It needs good amount of intelligence yet. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User sragavan@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c2 Srinivasa Ragavan V <sragavan@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-evolution@forge.provo.novell.com |psankar@novell.com --- Comment #2 from Srinivasa Ragavan V <sragavan@novell.com> 2008-10-12 23:58:48 MDT --- Sankar should be looking into it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User sragavan@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c3 Srinivasa Ragavan V <sragavan@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jpr@novell.com --- Comment #3 from Srinivasa Ragavan V <sragavan@novell.com> 2008-10-12 23:59:44 MDT --- *** Bug 423862 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=423862 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User mmeeks@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c4 --- Comment #4 from Michael Meeks <mmeeks@novell.com> 2008-10-13 03:29:05 MDT --- If we could make the '%' the %age of folders migrated, or at least something to give a feeling that progress is being made that would make me far happier. As/when you're happy that migration times are improved I can re-test a migration here [ if you like ] with my original data. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c5 --- Comment #5 from Sankar P <psankar@novell.com> 2008-10-16 11:05:38 MDT --- Created an attachment (id=246055) --> (https://bugzilla.novell.com/attachment.cgi?id=246055) Fix -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c6 --- Comment #6 from Sankar P <psankar@novell.com> 2008-10-16 11:05:57 MDT --- Created an attachment (id=246056) --> (https://bugzilla.novell.com/attachment.cgi?id=246056) Fix -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c7 --- Comment #7 from Sankar P <psankar@novell.com> 2008-10-16 11:09:09 MDT --- The patches needs review. The patches will; - move migration to a thread and not block the ui - show progress based on number of folder per store (store level progress incremented by folders) Patches Need: - Review & More testing ;-) - The strings must be changed. It is too lengthy and not straightforward etc. - The UI should be decorated more. I will get the backend code changes approved, after which I will change the dialog UI & strings. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User sragavan@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c8 --- Comment #8 from Srinivasa Ragavan V <sragavan@novell.com> 2008-10-17 04:37:13 MDT --- Code, seems fine. Akhil can you test it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User lakhil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c9 --- Comment #9 from Akhil Laddha <lakhil@novell.com> 2008-10-20 03:43:15 MDT --- Patch went smoothly for me. I tried with all three back ends (IMAP/GW/Exchange). I still get errors on terminal (evolution:6857): camel-WARNING **: No summary path set. Unable to migrate (evolution:6857): camel-WARNING **: No summary path set. Unable to migrate [New Thread 0xb2537b90 (LWP 6908)] (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX [Thread 0xb2537b90 (LWP 6908) exited] (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/CamelDB (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/Drafts (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/OpenSUSE (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/Redhat (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/Redhat/ItemStatus (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/SLED (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/Sent (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/Trash (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/Ubuntu (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/alfs (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/alfs/nnn (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/gnome-release (evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX/suse (evolution:6857): camel-WARNING **: No summary path set. Unable to migrate (evolution:6857): camel-WARNING **: No summary path set. Unable to migrate -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c10 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |lakhil@novell.com --- Comment #10 from Sankar P <psankar@novell.com> 2008-10-20 22:01:16 MDT --- (In reply to comment #9 from Akhil Laddha)
Patch went smoothly for me. I tried with all three back ends (IMAP/GW/Exchange). I still get errors on terminal
Local as well I suppose ;-) It is more important as people will have years of mails in local folders.
(evolution:6857): camel-WARNING **: No summary path set. Unable to migrate
This is because this folder is never visited earlier with old version of evolution. So, no summary is created for them.
(evolution:6857): camel-imap-provider-WARNING **: Unable to load summary no such table: INBOX
This looks like an issue to me. Can you see if the number of tables in your folders.db is same as the number of folders (with summary) ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User sragavan@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c11 --- Comment #11 from Srinivasa Ragavan V <sragavan@novell.com> 2008-11-11 22:51:39 MST --- Sankar, did you give a build for Michael to test? I see that in upstream, even with your patch, there are some unhappy people who say that it takes 15 hours and at the end, it restarts evolution with the same dialog again. Can you give it some focus? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c12 --- Comment #12 from Sankar P <psankar@novell.com> 2008-12-02 08:17:45 MST --- Can someone with LARGE summaries in old format verify the migration performance with the rpms from http://www.suse.de/~psankar/packages/migration-rpms/ ? In gconf-editor, You need to set 2.22 for: /apps/evolution/last_version /apps/evolution/version There is an issue with the UI getting blocked, even though I run in a thread. I need to find out and fix it but wanted to verify the migration performance before I get into fixing such usability things. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|lakhil@novell.com |kaprasad@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 Akhil Laddha <lakhil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|migration to SQLite -very- unpleasant ... |[PATCH] migration to SQLite -very- unpleasant | |... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 Akhil Laddha <lakhil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://bugzilla.gnome.org/show_bug.cgi?id=559153 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User mmeeks@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c13 Michael Meeks <mmeeks@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|kaprasad@novell.com | --- Comment #13 from Michael Meeks <mmeeks@novell.com> 2009-01-05 04:21:17 MST --- Well ... I tried this - I deleted the '.db' files in my .evolution/mail directory - I set the versions back to 2.22 and so on. However - I didn't see a migration dialog ... perhaps this is because I started with the calendar component open & switched to the mailer (?). Anyhow - having reset and tried again I get a crash on start of the conversion. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User mmeeks@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c14 --- Comment #14 from Michael Meeks <mmeeks@novell.com> 2009-01-05 04:23:43 MST --- (gdb) r Starting program: /usr/bin/evolution.bin [Thread debugging using libthread_db enabled] Type EPluginMono registered from the mono-plugin-loader *** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable). *** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable). (evolution.bin:5510): camel-WARNING **: camel_exception_get_id called with NULL parameter. [New Thread 0x7fffdbed1950 (LWP 5517)] [Thread 0x7fffdbed1950 (LWP 5517) exited] [New Thread 0x7fffdb6d0950 (LWP 5518)] [Thread 0x7fffdb6d0950 (LWP 5518) exited] [New Thread 0x7fffdb6d0950 (LWP 5519)] (evolution.bin:5510): camel-WARNING **: Cannot load summary file: '/home/michael/.evolution/mail/local/Mail.sbd/a11y.ev-summary': Bad file descriptor GLib-ERROR **: gmem.c:136: failed to allocate 8319072936 bytes aborting... Program received signal SIGABRT, Aborted. [Switching to Thread 0x7fffdb6d0950 (LWP 5519)] 0x00007fffe87b6645 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x00007fffe87b6645 in raise () from /lib64/libc.so.6 #1 0x00007fffe87b7c33 in abort () from /lib64/libc.so.6 #2 0x00007fffe8b211de in g_logv () from /usr/lib64/libglib-2.0.so.0 #3 0x00007fffe8b21273 in g_log () from /usr/lib64/libglib-2.0.so.0 #4 0x00007fffe8b1f8ca in g_malloc () from /usr/lib64/libglib-2.0.so.0 #5 0x00007ffff5f1faf0 in message_info_load (s=<value optimized out>, in=0xa5a000) at camel-folder-summary.c:3139 #6 0x00007fffdbef8a8e in message_info_load (s=0x1586, in=0x158f) at camel-mbox-summary.c:477 #7 0x00007ffff5f1df73 in camel_folder_summary_migrate_infos (s=0xa3ad30) at camel-folder-summary.c:1196 #8 0x00007fffe2db07e2 in migrate_folders (store=0x7a4ae0, is_local=1, fi=0x88f480, acc=0x7fffe423afa9 "On This Computer", ex=0x7fffffffd3e8, done=0x7fffffffd408, nth_folder=0x7fffdb6cffa8, total_folders=197) at em-migrate.c:2875 #9 0x00007fffe2db080c in migrate_folders (store=0x7a4ae0, is_local=1, fi=0x85d000, acc=0x7fffe423afa9 "On This Computer", ex=0x7fffffffd3e8, done=0x7fffffffd408, nth_folder=0x7fffdb6cffa8, total_folders=197) at em-migrate.c:2877 #10 0x00007fffe2db080c in migrate_folders (store=0x7a4ae0, is_local=1, fi=0x85d280, acc=0x7fffe423afa9 "On This Computer", ex=0x7fffffffd3e8, done=0x7fffffffd408, nth_folder=0x7fffdb6cffa8, total_folders=197) at em-migrate.c:2877 #11 0x00007fffe2db0936 in migrate_folders_to_db_thread (migrate_dbs=0x7fffffffd3e0) at em-migrate.c:2929 #12 0x00007fffe8b40764 in ?? () from /usr/lib64/libglib-2.0.so.0 #13 0x00007ffff3a6f070 in start_thread () from /lib64/libpthread.so.0 #14 0x00007fffe88570ed in clone () from /lib64/libc.so.6 #15 0x0000000000000000 in ?? () (gdb) quit The program is running. Quit anyway (and kill it)? (y or n) y Valgrind shows nothing useful here - I guess the summary it is opening is corrupt (somehow): .. (gdb) down #5 0x00007ffff5f1faf0 in message_info_load (s=<value optimized out>, in=0x9dc120) at camel-folder-summary.c:3139 3139 mi->references = g_malloc(sizeof(*mi->references) + ((count-1) * sizeof(mi->references->references[0]))); (gdb) p mi->references $1 = (CamelSummaryReferences *) 0x0 (gdb) p count $2 = 1039884116 .. (gdb) p *fi $3 = {next = 0x85d240, parent = 0x0, child = 0x711500, uri = 0x8f3970 "mbox:/home/michael/.evolution/mail/local#Mail", name = 0x8742b0 "Mail", full_name = 0x8742d0 "Mail", flags = 4, unread = 0, total = 0} -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User mmeeks@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c15 --- Comment #15 from Michael Meeks <mmeeks@novell.com> 2009-01-05 04:39:21 MST --- Of course - it is -entirely- possible that this sort of crash is un-related; the summaries & indexes have been created on a 32bit machine, and have been transfered to a 64bit one and are being migrated on that - so perhaps there is some 32/64bit un-clean-ness here that is clouding the picture. Indeed - reading the code in message_info_load - it is pretty worrying to see: static CamelMessageInfo * message_info_load(CamelFolderSummary *s, FILE *in) { CamelMessageInfoBase *mi; guint count; .. if (camel_file_util_decode_uint32(in, &count) == -1) where: int camel_file_util_decode_uint32 (FILE *in, guint32 *dest) This is pretty much a disaster wrt. clean 64bit coding AFAICS - guint will be a 64bit quantity - only half of which is initialized; while - *dest will be addressing only half of it [ surely ] ? No idea how this appears to work most of the time ;-) but of course valgrind can't easily catch such things on the stack. I audited all of the other decode_uint32 calls - and they are all correct, except for this one, please apply the following patch ASAP: Index: camel/camel-folder-summary.c =================================================================== --- camel/camel-folder-summary.c (revision 9789) +++ camel/camel-folder-summary.c (working copy) @@ -3081,7 +3081,7 @@ message_info_load(CamelFolderSummary *s, FILE *in) { CamelMessageInfoBase *mi; - guint count; + guint32 count; int i; char *subject, *from, *to, *cc, *mlist, *uid; Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User pchenthill@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c16 Chenthill palanisamy <pchenthill@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pchenthill@novell.com --- Comment #16 from Chenthill palanisamy <pchenthill@novell.com> 2009-01-05 05:30:28 MST --- The patch has been committed to svn trunk and stable branch. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User sragavan@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c17 --- Comment #17 from Srinivasa Ragavan V <sragavan@novell.com> 2009-01-05 09:31:55 MST --- Michael, You rock, as always :-) Infact Me/Sankar was working on the samething on Srinidhi's box, and wondering if it had to do with 32bit summary on a 64bit machine and never concluded on it... First thing, I'll try this patch tomorrow, on Srinidhi's box, where we are facing this and my guess is that it should solve it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User mmeeks@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c18 --- Comment #18 from Michael Meeks <mmeeks@novell.com> 2009-01-05 13:10:53 MST --- hah - sadly it's much worse than this - cf. my mail on-list; the 32 -> 64bit thing looks pretty fundamentally unlikely to work - despite all the bit swapping going on in there. Presumably since we are abandoning this code, we should just move on - isolate it somewhere sane and forget about it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User lakhil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c19 --- Comment #19 from Akhil Laddha <lakhil@novell.com> 2009-02-07 05:25:01 MST --- You can try out the fixes in 2.24.4 till the time updates get released. Rpms are available at http://download.opensuse.org/repositories/GNOME://Evolution://STABLE://2.24/... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|psankar@novell.com |bnc-team-evolution@forge.pr | |ovo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=433100 User swamp@suse.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433100#c20 Swamp Script User <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.1:22581 --- Comment #20 from Swamp Script User <swamp@suse.com> 2009-03-02 06:56:54 MST --- Update released for: evolution, evolution-data-server, evolution-data-server-32bit, evolution-data-server-64bit, evolution-data-server-debuginfo, evolution-data-server-debuginfo-32bit, evolution-data-server-debuginfo-64bit, evolution-data-server-debugsource, evolution-data-server-devel, evolution-data-server-doc, evolution-data-server-lang, evolution-debuginfo, evolution-debugsource, evolution-devel, evolution-lang, evolution-pilot Products: openSUSE 11.1 (debug, i586, ppc, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com