GNOME Bugzilla – Bug 326316
evolution freeze with CalDav
Last modified: 2008-11-28 15:39:32 UTC
Steps to reproduce: 1. copy local calendar to CalDav calendar 2. copy CalDav calendar to local calendar 3. Stack trace: ======= Backtrace: ========= /lib/libc.so.6[0x164124] /lib/libc.so.6(__libc_free+0x77)[0x16465f] /usr/lib/libglib-2.0.so.0(g_free+0x22)[0x94ae74] /usr/lib/evolution/2.4/components/libevolution-calendar.so[0xe4852f] /usr/lib/evolution/2.4/libeutil.so.0[0x755381] /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x43)[0x240233] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e)[0x234ba8] /usr/lib/libgobject-2.0.so.0[0x242fa5] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6a9)[0x2447d2] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0x244b43] /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_activate+0x8a)[0x6d7ffbd] /usr/lib/libgtk-x11-2.0.so.0(gtk_menu_shell_activate_item+0xd0)[0x6cacd09] /usr/lib/libgtk-x11-2.0.so.0[0x6cacfdd] /usr/lib/libgtk-x11-2.0.so.0[0x6ca370e] /usr/lib/libgtk-x11-2.0.so.0[0x6c9e01c] /usr/lib/libgobject-2.0.so.0[0x234575] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e)[0x234ba8] /usr/lib/libgobject-2.0.so.0[0x243687] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x41e)[0x244547] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0x244b43] /usr/lib/libgtk-x11-2.0.so.0[0x6d8019f] /usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc1)[0x6c9c757] /usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x325)[0x6c9cb90] /usr/lib/libgdk-x11-2.0.so.0[0x5ba1f4] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1dc)[0x9443b0] /usr/lib/libglib-2.0.so.0[0x9473a6] /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1d6)[0x9476c8] /usr/lib/libbonobo-2.so.0(bonobo_main+0x63)[0x6eb65f0] evolution(main+0x447)[0x805e2d2] /lib/libc.so.6(__libc_start_main+0xdf)[0x115d5f] evolution[0x8050ef1] ======= Memory map: ======== 00101000-00224000 r-xp 00000000 03:07 256440 /lib/libc-2.3.5.so 00224000-00226000 r-xp 00123000 03:07 256440 /lib/libc-2.3.5.so 00226000-00228000 rwxp 00125000 03:07 256440 /lib/libc-2.3.5.so 00228000-0022a000 rwxp 00228000 00:00 0 0022a000-0022b000 r-xp 00000000 03:05 623051 /usr/X11R6/lib/X11/locale/lib/c ommon/xlcUTF8Load.so.2 0022b000-0022c000 rwxp 00000000 03:05 623051 /usr/X11R6/lib/X11/locale/lib/c ommon/xlcUTF8Load.so.2 0022c000-00267000 r-xp 00000000 03:05 1211774 /usr/lib/libgobject-2.0.so.0.80 0.5 00267000-00268000 rwxp 0003b000 03:05 1211774 /usr/lib/libgobject-2.0.so.0.80 0.5 00268000-00269000 r-xp 00000000 03:05 1410716 /usr/lib/evolution/2.4/plugins/ liborg-gnome-default-mailer.so 00269000-0026a000 rwxp 00000000 03:05 1410716 /usr/lib/evolution/2.4/plugins/ liborg-gnome-default-mailer.so 0026a000-002a3000 r-xp 00000000 03:05 1212641 /usr/lib/libpango-1.0.so.0.1001 .1 002a3000-002a5000 rwxp 00038000 03:05 1212641 /usr/lib/libpango-1.0.so.0.1001 .1 002a5000-002a6000 r-xp 00000000 03:05 1209892 /usr/lib/gtk-2.0/2.4.0/immodule s/im-cedilla.so 002a6000-002a7000 rwxp 00000000 03:05 1209892 /usr/lib/gtk-2.0/2.4.0/immodule s/im-cedilla.so 002a7000-002cd000 r-xp 00000000 03:05 1212741 /usr/lib/libpangoft2-1.0.so.0.1 001.1 002cd000-002ce000 rwxp 00025000 03:05 1212741 /usr/lib/libpangoft2-1.0.so.0.1 001.1 002d0000-002da000 r-xp 00000000 03:05 1214422 /usr/lib/libpangox-1.0.so.0.100 1.1 002da000-002db000 rwxp 0000a000 03:05 1214422 /usr/lib/libpangox-1.0.so.0.100 1.1 002dd000-002ef000 r-xp 00000000 03:05 1214434 /usr/lib/libbonobo-activation.s o.4.0.0 002ef000-002f2000 rwxp 00011000 03:05 1214434 /usr/lib/libbonobo-activation.s o.4.0.0 002f4000-002fc000 r-xp 00000000 03:05 1239591 /usr/lib/evolution/2.4/libevolu tion-widgets-a11y.so.0.0.0 002fc000-002fd000 rwxp 00007000 03:05 1239591 /usr/lib/evolution/2.4/libevolu tion-widgets-a11y.so.0.0.0 002fd000-002fe000 r-xp 00000000 03:05 1208082 /usr/lib/gconv/ISO8859-1.so 002fe000-00300000 rwxp 00000000 03:05 1208082 /usr/lib/gconv/ISO8859-1.so 00302000-00363000 r-xp 00000000 03:05 1212472 /usr/lib/libfreetype.so.6.3.7 00363000-0036a000 rwxp 00061000 03:05 1212472 /usr/lib/libfreetype.so.6.3.7 0036c000-0037f000 r-xp 00000000 03:05 1214440 /usr/lib/libgnome-2.so.0.1200.0 0037f000-00380000 rwxp 00013000 03:05 1214440 /usr/lib/lib Other information: I ask to CalDav the copy of calendar to local, but nothing is do. When i phblish Free/busy from Caldav, nothing work.
dleclere: Thanks for reporting bug. Paste stack traces of evolution when it hangs by attaching gdb to evolution process. Is the version of evolution 2.4.x or 2.5.x ?
The only trace i have is what i put in first. When i have the problem, i get the trace in the console, and evolution don't hangs, i have to do a kill to stop evolution.
With proper stack it will be hard to fix these bugs. Please see http://live.gnome.org/GettingTraces.
+ Trace 65168
Thread 20 (Thread 99351472 (LWP 5531))
Thread 18 (Thread 99351472 (LWP 5522))
Thread 17 (Thread 99351472 (LWP 5513))
Thread 15 (Thread 99351472 (LWP 5510))
Thread 13 (Thread 99351472 (LWP 5507))
Thread 11 (Thread 99351472 (LWP 5501))
Thread 10 (Thread 99351472 (LWP 5497))
Thread 4 (Thread 99351472 (LWP 5484))
Thread 1 (Thread -1208547648 (LWP 5476))
Copied from bug #354855: The small story is: we only store the last part of the href (i.e. the filename) in the local cache (and the component) and reconstruct the full uri on every server interaction. I will attach the patch here, and I would highly encourage everybody to look over it and shout and cry on any issue you can find. Thanks. [The patch is attached to #354855 here is the link: http://bugzilla.gnome.org/attachment.cgi?id=94203&action=view]
Ups, wrong bug, sorry for the spam!
Downstream bug https://bugzilla.novell.com/show_bug.cgi?id=352510
Kandepu, this is other kind of issue, here evo freezes because of the double free, your issue is because the calendar things are done in mainthread, and because the destination is not reachable, the UI freezes waiting the response from the server.
My mistake. Some how it is wrongly mapped. Thanks for the update.
Tested with upcoming 2.25.2, no crash so far, closing as obsolete.