GNOME Bugzilla – Bug 497295
Memory corruption : at evolution start up
Last modified: 2013-09-13 00:57:45 UTC
Today morning i updated source and got memory corruption as soon as click on any item. CalDAV Eplugin starting up ... Loading Spamassasin as the default junk plugin ** (evolution:8413): DEBUG: mailto URL command: evolution %s ** (evolution:8413): DEBUG: mailto URL program: evolution *** glibc detected *** evolution: corrupted double-linked list: 0xb0207710 *** ======= Backtrace: ========= /lib/libc.so.6[0xb66bc4b6] /lib/libc.so.6[0xb66bde4a] /lib/libc.so.6(cfree+0x89)[0xb66be179] /home/akhil/opt/gnome2/lib/libglib-2.0.so.0(g_free+0x35)[0xb67c6d81] /home/akhil/opt/gnome2/lib/evolution/2.22/components/libevolution-mail.so(mail_vfolder_add_uri+0x21b)[0xb606b92b] /home/akhil/opt/gnome2/lib/evolution/2.22/components/libevolution-mail.so[0xb605c1c0] /home/akhil/opt/gnome2/lib/evolution/2.22/components/libevolution-mail.so[0xb605d703] /home/akhil/opt/gnome2/lib/evolution/2.22/components/libevolution-mail.so[0xb605f5b2] /home/akhil/opt/gnome2/lib/libglib-2.0.so.0[0xb67c2a3d] /home/akhil/opt/gnome2/lib/libglib-2.0.so.0[0xb67beb42] /home/akhil/opt/gnome2/lib/libglib-2.0.so.0(g_main_context_dispatch+0x89)[0xb67c0028] /home/akhil/opt/gnome2/lib/libglib-2.0.so.0[0xb67c057c] /home/akhil/opt/gnome2/lib/libglib-2.0.so.0(g_main_loop_run+0x3a5)[0xb67c0d53] /home/akhil/opt/gnome2/lib/libbonobo-2.so.0(bonobo_main+0x77)[0xb73c1acf] evolution[0x805d6f5] /lib/libc.so.6(__libc_start_main+0xe0)[0xb666bfe0] evolution[0x80500f1] ======= Memory map: ======== 08048000-08063000 r-xp 00000000 08:05 33750 /home/akhil/opt/gnome2/bin/evolution 08063000-08064000 r--p 0001b000 08:05 33750 /home/akhil/opt/gnome2/bin/evolution 08064000-08066000 rw-p 0001c000 08:05 33750 /home/akhil/opt/gnome2/bin/evolution 08066000-08ac9000 rw-p 08066000 00:00 0 [heap] ad27d000-ad27e000 ---p ad27d000 00:00 0 ad27e000-ada7e000 rwxp ad27e000 00:00 0 ada7e000-adb7f000 rw-p add6a000 00:00 0 adc00000-adc5b000 rw-p adc00000 00:00 0 adc5b000-add00000 ---p adc5b000 00:00 0 add8b000-add8c000 r-xp 00000000 08:05 3423645 /home/akhil/opt/gnome2/lib/evolution/2.22/plugins/libmail-account-disable.so add8c000-add8d000 r--p 00001000 08:05 3423645 /home/akhil/opt/gnome2/lib/evolution/2.22/plugins/libmail-account-disable.so add8d000-add8e000 rw-p 00002000 08:05 3423645 /home/akhil/opt/gnome2/lib/evolution/2.22/plugins/libmail-account-disable.so add8e000-add8f000 r-xp 00000000 08:05 3423539 /home/akhil/opt/gnome2/lib/evolution/2.22/plugins/liborg-gnome-new-mail-notify.so add8f000-add90000 r--p 00000000 08:05 3423539 /home/akhil/opt/gnome2/lib/evolution/2.22/plugins/liborg-gnome-new-mail-notify.so add90000-add91000 rw-p 00001000 08:05 3423539 /home/akhil/opt/gnome2/lib/evolution/2.22/plugins/liborg-gnome-new-mail-notify.so add91000-add93000 r-xp 00000000 08:05 3423544 /home/akhil/opt/gnome2/lib/evolution/2.22/plugins/liborg-gnome-mail-notification.so add93000-add94000 r--p 00001000 08:05 3423544 /home/akhil/opt/gnome2/lib/evolution/2.22/plugins/liborg-gnome-mail-notification.so add94000-add95000 rw-p 00002000 08:05 3423544 /home/akhil/opt/gnome2/lib/evolution/2.22/plugins/liborg-gnome-mail-notification.so add95000-adda9000 r-xp 00000000 08:05 3571975 /home/akhil/opt/gnome2/lib/evolution/2.22/plugins/liborg-gnome-groupwise-features.so adda9000-addaa000 r--p 00013000 08:05 3571975 /home/akhil/opt/gnome2/lib/evolution/2.22/plugins/liborg-gnome-groupwise-features.so addaa000-addab000 rw-p 00014000 08:05 3571975 /home/akhil/opt/gnome2/lib/evolution/2.22/plugins/liborg-gnome-groupwise-features.so addab000-ade0b000 rw-s 00000000 00:09 1376269 /SYSV00000000 (deleted) ade0b000-ade0c000 ---p ade0b000 00:00 0 ade0c000-ae60c000 rwxp ade0c000 00:00 0 ae60c000-ae60d000 ---p ae60c000 00:00 0 ae60d000-aee0d000 rwxp ae60d000 00:00 0 aee0d000-aee3a000 r--p 00000000 08:05 6471 /var/cache/libx11/compose/l4_024_313cb605_00280cc0 aee3a000-aee40000 r-xp 00000000 08:06 88919 /usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so aee40000-aee42000 rw-p 00005000 08:06 88919 /usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so aee42000-aef46000 rw-p aee42000 00:00 0 aef46000-aefcb000 r--p 00000000 08:06 43643 /usr/share/fonts/truetype/DejaVuSans-Bold.ttf aefcb000-aefcc000 ---p aefcb000 00:00 0 aefcc000-af7cc000 rwxp aefcc000 00:00 0 af7cc000-af8d0000 rw-p af7cc000 00:00 0
Created attachment 99191 [details] Vagrind traces of evolution process I cannot use evolution at all( evolution with exchange back )
do you run *the latest* svn version? this probably has been fixed yesterday evening (your time)... in general, it would be nice if you would tell in your bug reports what build you have and how recent it is to track stuff down.
Andre , today means Nov 16 i updated my build from svn trunk. Gdb traces Starting program: /home/akhil/opt/gnome2/bin/evolution [Thread debugging using libthread_db enabled] [New Thread 0xb65866c0 (LWP 3876)] CalDAV Eplugin starting up ... Loading Spamassasin as the default junk plugin ** (evolution:3876): DEBUG: mailto URL command: evolution %s ** (evolution:3876): DEBUG: mailto URL program: evolution [New Thread 0xb1359b90 (LWP 3932)] [New Thread 0xb0b58b90 (LWP 3933)] [Thread 0xb0b58b90 (LWP 3933) exited] [New Thread 0xb0b58b90 (LWP 3934)] [New Thread 0xb00ffb90 (LWP 3935)] [New Thread 0xaf76eb90 (LWP 3938)] [New Thread 0xaedafb90 (LWP 3940)] [New Thread 0xae5aeb90 (LWP 3972)] *** glibc detected *** /home/akhil/opt/gnome2/bin/evolution: malloc(): memory corruption: 0x0896b420 *** Program received signal SIGINT, Interrupt. [Switching to Thread 0xb65866c0 (LWP 3876)] 0xffffe410 in __kernel_vsyscall () (gdb) thread apply all bt
+ Trace 178113
Also from svn head this morning: Program received signal SIGINT, Interrupt.
+ Trace 178162
Thread NaN (LWP 13125)
Hi Reid, it's only main thread, there is a chance that it SEGs in other thread, try update your eds (there has been done some changes since morning), recompile it, recompile Evolution against newer eds, same as Evolution-Exchange and be sure you killed previous version (evolution --force-shutdown (just in case, you know)) and if it fails again, then run "thread apply all bt" in gdb, and you can omit threads which "do nothing", like Thread 2, 5, 6, 7 in comment #3, when pasting here your stack trace (it's optional to omit threads from the list).
Found one last spot in Evolution-Exchange where a CamelFolderInfo was being created with g_new0() rather than camel_folder_info_new(). See revision 1503. Things are pretty stable for me now, so closing. Reopen if you see it again.
*** Bug 497378 has been marked as a duplicate of this bug. ***
I've rebuilt from SVN last night and this problem seems to be fixed. Thanks!
Matthew, Worked fine for me also ...thanks :)