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 378854 - gnome-panel crash when running evolution --force-shutdown
gnome-panel crash when running evolution --force-shutdown
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: clock
2.20.x
Other All
: High critical
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 444729 446249 446401 482102 482125 483467 485046 485061 489288 491186 492427 494811 497383 497773 500329 500491 503497 506980 510005 511408 511660 512688 513718 514322 516173 516504 516939 517454 517975 518959 519566 519991 520536 524139 525783 526474 526597 527400 528731 529493 530493 530820 531081 532293 533352 533580 536458 537878 538045 539037 539300 539367 551801 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-11-24 15:59 UTC by linkadmin
Modified: 2010-02-18 03:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
potential fix to bug 378854 (492 bytes, patch)
2008-03-10 04:14 UTC, Anthony Waters
none Details | Review

Description linkadmin 2006-11-24 15:59:32 UTC
Steps to reproduce:
1. Wait for evolution to freeze while querying an IMAP server (this happens once in a while, especially with the Scalix evolution plugin)
2. Run evolution --force-shutdown to shutdown evolution
3. bug-buddy window comes up with the stack-trace and states that gnome-panel has crashed but that it does not know the application that crashed in bugzilla so it's up to me to figure out where to file the bug. I hope this is the right place.


Stack trace:
Memory status: size: 132079616 vsize: 0 resident: 132079616 share: 0 rss: 31641600 rss_rlim: 0
CPU usage: start_time: 1164294374 rtime: 0 utime: 5269 stime: 0 cutime:4739 cstime: 0 timeout: 530 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/gnome-panel'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208957264 (LWP 1122)]
[New Thread -1211036768 (LWP 9270)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1208957264 (LWP 1122))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #10 calendar_client_handle_query_completed
    at calendar-client.c line 1214
  • #11 g_cclosure_marshal_VOID
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #16 view_done_cb
    at e-cal-view.c line 123
  • #17 g_cclosure_marshal_VOID
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 impl_notifyQueryDone
    at e-cal-view-listener.c line 211
  • #23 _ORBIT_skel_small_GNOME_Evolution_Calendar_CalViewListener_notifyQueryDone
    at Evolution-DataServer-Calendar-common.c line 36
  • #24 IOP_start_profiles
    from /usr/lib/libORBit-2.so.0
  • #25 ORBit_OAObject_invoke
    from /usr/lib/libORBit-2.so.0
  • #26 ORBit_small_invoke_adaptor
    from /usr/lib/libORBit-2.so.0
  • #27 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #28 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #29 giop_thread_queue_process
    from /usr/lib/libORBit-2.so.0
  • #30 giop_init
    from /usr/lib/libORBit-2.so.0
  • #31 link_io_add_watch_fd
    from /usr/lib/libORBit-2.so.0
  • #32 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #33 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #34 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #35 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #36 main
    at main.c line 95
  • #0 __kernel_vsyscall

Other information:
I've installed the gnome-panel-dbg ubuntu package because this had happened several times before, so I hope this stack trace is useful.
Comment 1 Kjartan Maraas 2007-01-21 10:04:34 UTC
Hmm. the code itself doesn't look reassuring either:

static void
calendar_client_handle_query_completed (CalendarClientSource *source,
                                        ECalendarStatus       status,
                                        ECalView             *view)
{
  CalendarClientQuery *query;

  query = goddamn_this_is_crack (source, view, NULL);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  dprintf ("Query %p completed: %s\n", query, e_cal_get_error_message (status));

  if (status != E_CALENDAR_STATUS_OK)
    {
      g_warning ("Calendar query failed: %s\n",
                 e_cal_get_error_message (status));
      calendar_client_stop_query (source->client, source, query);
      return;
    }

  g_assert (source->query_in_progress != FALSE);
  g_assert (query == &source->in_progress_query);

Anyone got an idea what's going on here?
Comment 2 Vincent Untz 2007-05-14 12:37:07 UTC
From what I understand, this would mean we receive the "view-done" signal twice. I  don't know if it's possible, but the name makes me think it shouldn't be possible.
Comment 3 Vincent Untz 2007-05-14 12:41:31 UTC
Of course, I can't reproduce. Can you still reproduce with 2.18?
Comment 4 sangu 2007-06-06 00:26:42 UTC
Please See : https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=242824
evolution --force-shutdown, clock-applet crashes in gnome-panel-2.19.3.

Distribution: Fedora release 7.89 (Rawhide)
Gnome Release: 2.19.3 2007-06-04 (Red Hat, Inc)
BugBuddy Version: 2.18.0

System: Linux 2.6.21-1.3175.fc7 #1 SMP Mon May 21 11:35:59 EDT 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: Tango

Memory status: size: 75849728 vsize: 75849728 resident: 26472448 share: 22941696
rss: 26472448 rss_rlim: 4294967295
CPU usage: start_time: 1181085996 rtime: 66 utime: 61 stime: 5 cutime:0 cstime:
0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/libexec/clock-applet'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208214832 (LWP 3273)]
[New Thread -1229845616 (LWP 3895)]
0x004fe402 in __kernel_vsyscall ()

Thread 1 (Thread -1208214832 (LWP 3273))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 872
  • #3 <signal handler called>
  • #4 IA__g_slist_remove
    at gslist.c line 207
  • #5 backend_died_cb
    at calendar-sources.c line 432
  • #6 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #7 IA__g_closure_invoke
    at gclosure.c line 490
  • #8 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #9 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #10 IA__g_signal_emit
    at gsignal.c line 2243
  • #11 backend_died_cb
    at e-cal.c line 428
  • #12 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #13 IA__g_closure_invoke
    at gclosure.c line 490
  • #14 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #15 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #16 IA__g_signal_emit
    at gsignal.c line 2243
  • #17 connection_listen_cb
    at e-component-listener.c line 50
  • #18 link_connection_emit_broken
    at linc-connection.c line 141
  • #19 link_connection_broken_idle
    at linc-connection.c line 162
  • #20 g_idle_dispatch
    at gmain.c line 4096
  • #21 IA__g_main_context_dispatch
    at gmain.c line 2061
  • #22 g_main_context_iterate
    at gmain.c line 2694
  • #23 IA__g_main_loop_run
    at gmain.c line 2898
  • #24 bonobo_main
    at bonobo-main.c line 311
  • #25 bonobo_generic_factory_main_timeout
    at bonobo-generic-factory.c line 411
  • #26 bonobo_generic_factory_main
    at bonobo-generic-factory.c line 368
  • #27 panel_applet_factory_main_closure
    at panel-applet.c line 1757
  • #28 panel_applet_factory_main
    at panel-applet.c line 1781
  • #29 main
    at clock.c line 2040
  • #0 __kernel_vsyscall

Comment 5 Vincent Untz 2007-06-06 16:53:50 UTC
*** Bug 444729 has been marked as a duplicate of this bug. ***
Comment 6 Vincent Untz 2007-06-06 17:16:00 UTC
We have a good stack trace now.
Comment 7 Pascal Terjan 2007-06-11 21:02:07 UTC
*** Bug 446401 has been marked as a duplicate of this bug. ***
Comment 8 Pascal Terjan 2007-06-11 21:02:17 UTC
*** Bug 446249 has been marked as a duplicate of this bug. ***
Comment 9 Pascal Terjan 2007-06-11 21:03:50 UTC
Confirming bug as there are several duplicates including one from me :)
Comment 10 Sebastien Bacher 2007-06-27 13:56:43 UTC
Ubuntu bug https://bugs.launchpad.net/gnome-panel/+bug/122590

"Binary package hint: gnome-panel

It just crashed.
...
Binary package hint: gnome-panel

It just crashed.
...
  • #0 IA__g_slist_remove
    at /build/buildd/glib2.0-2.13.5/glib/gslist.c line 207
  • #1 backend_died_cb
    at calendar-sources.c line 432
  • #2 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.13.5/gobject/gmarshal.c line 77
  • #3 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.13.5/gobject/gclosure.c line 490
  • #4 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c line 2440
  • #5 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c line 2199
  • #6 IA__g_signal_emit
    at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c line 2243
  • #7 backend_died_cb
    at e-cal.c line 430
  • #8 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.13.5/gobject/gmarshal.c line 77
  • #9 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.13.5/gobject/gclosure.c line 490
  • #10 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c line 2440
  • #11 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c line 2199
  • #12 IA__g_signal_emit
    at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c line 2243
  • #13 connection_listen_cb
    at e-component-listener.c line 50
  • #14 link_connection_emit_broken
    at linc-connection.c line 141
  • #15 link_connection_broken_idle
    at linc-connection.c line 162
  • #16 g_idle_dispatch
    at /build/buildd/glib2.0-2.13.5/glib/gmain.c line 4131
  • #17 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.13.5/glib/gmain.c line 2061
  • #18 g_main_context_iterate
    at /build/buildd/glib2.0-2.13.5/glib/gmain.c line 2694
  • #19 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.13.5/glib/gmain.c line 2898
  • #20 IA__gtk_main
    at /build/buildd/gtk+2.0-2.11.4/gtk/gtkmain.c line 1144
  • #21 main
    at main.c line 99

Comment 11 Pascal Terjan 2007-08-17 21:02:22 UTC
I only get the crash after several evolution --force-shutdown (2 is usually enough) if hiding/displaying the calendar between.

Sometimes source_data->clients is set to NULL (when the list is empty) while there are still some clients for which backend_died_cb has not yet been called, and then the next time we get into backend_died_cb, it is no longer NULL but contains a small value (I got 0xa, 0x1d) and we get this crash (I also got the applet frozen with a corrupted stacktrace some times, always just after the list is set to NULL).
Comment 12 Pascal Terjan 2007-08-18 10:19:13 UTC
Hmm I add missed a big detail : source_data changes value, that's why source_data->clients get meaningless
Comment 13 Pascal Terjan 2007-08-18 15:26:41 UTC
Ok, let's follow a field of the structure at 0x82371e0 (136540640) :

calendar_sources_finalize_source_data is called when hiding the calendar :

Hardware watchpoint 3: *(136540640 + 12)

Old value = 136664096
New value = 0
calendar_sources_finalize_source_data (sources=<value optimized out>, source_data=0x82371e0) at calendar-sources.c:212
212           if (source_data->esource_list)

Then this address is used by someone else :

Hardware watchpoint 3: *(136540640 + 12)

Old value = 0
New value = 2
0xb6f4b59d in pango_layout_set_text (layout=0x82371d0, text=0xbfb2d354 "30", length=-1) at pango-layout.c:951
951       layout->length = strlen (layout->text);

But we still point to it :

** (clock-applet:7318): WARNING **: -> The calendar backend for contacts:/// has crashed (client=0x82af420, source_data=0x82371e0, &(source_data->clients) = 0x82371ec, source_data->clients = 0x2).

Program received signal SIGSEGV, Segmentation fault.
IA__g_slist_remove (list=0x2, data=0x82af420) at gslist.c:207
207           if (tmp->data == data)
Comment 14 Pascal Terjan 2007-08-18 15:58:25 UTC
And there are actually several different crashes that I face from time to time during my tests, when running evolution --force-shutdown while a backend is being restarted. One where the stack is in CORBA, the other with a destroyed stack.

Here is the CORBA one, maybe I should open another bug for it :

(clock-applet:18821): libecal-WARNING **: e-cal.c:5089: Unable to contact backend

** (clock-applet:18821): WARNING **: Error preparing the query: '#t': Une exception CORBA s'est produite


** (clock-applet:18821): WARNING **: Error preparing the query: '#t': URI non charg\xe9


** (clock-applet:18821): WARNING **: Error preparing the query: '#t': URI non charg\xe9


** (clock-applet:18821): WARNING **: Error preparing the query: '#t': URI non charg\xe9
 
==18821== 
==18821== Invalid read of size 4
==18821==    at 0x4A8773C: giop_recv_buffer_get (giop-recv-buffer.c:733)
==18821==    by 0x4A8BB5D: ORBit_small_invoke_stub (orbit-small.c:658)
==18821==    by 0x4A8BD78: ORBit_small_invoke_stub_n (orbit-small.c:575)
==18821==    by 0x4A9910B: ORBit_c_stub_invoke (poa.c:2643)
==18821==    by 0x42176D5: GNOME_Evolution_Calendar_CalFactory_getCal (Evolution-DataServer-Calendar-stubs.c:426)
==18821==    by 0x421BD82: e_cal_new (e-cal.c:1391)
==18821==    by 0x8062036: calendar_sources_load_esource_list (calendar-sources.c:325)
==18821==    by 0x8062610: backend_restart (calendar-sources.c:420)
==18821==    by 0x54BA0B6: g_timeout_dispatch (gmain.c:3488)
==18821==    by 0x54B9921: g_main_context_dispatch (gmain.c:2061)
==18821==    by 0x54BCD33: g_main_context_iterate (gmain.c:2694)
==18821==    by 0x54BD057: g_main_loop_run (gmain.c:2898)
==18821==  Address 0x2C is not stack'd, malloc'd or (recently) free'd
==18821== 
==18821== Process terminating with default action of signal 11 (SIGSEGV)
==18821==  Access not within mapped region at address 0x2C
==18821==    at 0x4A8773C: giop_recv_buffer_get (giop-recv-buffer.c:733)
==18821==    by 0x4A8BB5D: ORBit_small_invoke_stub (orbit-small.c:658)
==18821==    by 0x4A8BD78: ORBit_small_invoke_stub_n (orbit-small.c:575)
==18821==    by 0x4A9910B: ORBit_c_stub_invoke (poa.c:2643)
==18821==    by 0x42176D5: GNOME_Evolution_Calendar_CalFactory_getCal (Evolution-DataServer-Calendar-stubs.c:426)
==18821==    by 0x421BD82: e_cal_new (e-cal.c:1391)
==18821==    by 0x8062036: calendar_sources_load_esource_list (calendar-sources.c:325)
==18821==    by 0x8062610: backend_restart (calendar-sources.c:420)
==18821==    by 0x54BA0B6: g_timeout_dispatch (gmain.c:3488)
==18821==    by 0x54B9921: g_main_context_dispatch (gmain.c:2061)
==18821==    by 0x54BCD33: g_main_context_iterate (gmain.c:2694)
==18821==    by 0x54BD057: g_main_loop_run (gmain.c:2898)
Comment 15 André Klapper 2007-10-03 00:30:57 UTC
*** Bug 482125 has been marked as a duplicate of this bug. ***
Comment 16 palfrey 2007-10-05 14:19:29 UTC
*** Bug 483467 has been marked as a duplicate of this bug. ***
Comment 17 Vincent Untz 2007-10-11 18:09:26 UTC
*** Bug 482102 has been marked as a duplicate of this bug. ***
Comment 18 Vincent Untz 2007-10-11 18:09:49 UTC
*** Bug 485046 has been marked as a duplicate of this bug. ***
Comment 19 Vincent Untz 2007-10-11 18:10:04 UTC
*** Bug 485061 has been marked as a duplicate of this bug. ***
Comment 20 palfrey 2007-10-29 13:50:27 UTC
*** Bug 491186 has been marked as a duplicate of this bug. ***
Comment 21 palfrey 2007-11-08 18:03:30 UTC
*** Bug 494811 has been marked as a duplicate of this bug. ***
Comment 22 Vincent Untz 2007-11-13 09:01:40 UTC
*** Bug 492427 has been marked as a duplicate of this bug. ***
Comment 23 palfrey 2007-11-16 16:03:39 UTC
*** Bug 497383 has been marked as a duplicate of this bug. ***
Comment 24 Susana 2007-11-23 22:50:08 UTC
*** Bug 497773 has been marked as a duplicate of this bug. ***
Comment 25 Philip Withnall 2008-01-09 20:53:11 UTC
*** Bug 506980 has been marked as a duplicate of this bug. ***
Comment 26 Philip Withnall 2008-01-09 22:35:06 UTC
*** Bug 503497 has been marked as a duplicate of this bug. ***
Comment 27 André Klapper 2008-01-10 08:50:11 UTC
*** Bug 500491 has been marked as a duplicate of this bug. ***
Comment 28 André Klapper 2008-01-10 08:50:41 UTC
*** Bug 489288 has been marked as a duplicate of this bug. ***
Comment 29 Philip Withnall 2008-01-16 22:43:44 UTC
*** Bug 510005 has been marked as a duplicate of this bug. ***
Comment 30 Philip Withnall 2008-01-23 07:51:57 UTC
*** Bug 511408 has been marked as a duplicate of this bug. ***
Comment 31 Philip Withnall 2008-01-24 06:18:56 UTC
*** Bug 511660 has been marked as a duplicate of this bug. ***
Comment 32 Philip Withnall 2008-01-29 06:58:20 UTC
*** Bug 512688 has been marked as a duplicate of this bug. ***
Comment 33 Philip Withnall 2008-02-01 19:11:52 UTC
*** Bug 513718 has been marked as a duplicate of this bug. ***
Comment 34 Philip Withnall 2008-02-04 18:57:38 UTC
*** Bug 514322 has been marked as a duplicate of this bug. ***
Comment 35 Philip Withnall 2008-02-13 08:08:08 UTC
*** Bug 516173 has been marked as a duplicate of this bug. ***
Comment 36 Philip Withnall 2008-02-14 17:23:27 UTC
*** Bug 516504 has been marked as a duplicate of this bug. ***
Comment 37 Philip Withnall 2008-02-19 16:40:06 UTC
*** Bug 517454 has been marked as a duplicate of this bug. ***
Comment 38 Philip Withnall 2008-02-21 23:39:58 UTC
*** Bug 517975 has been marked as a duplicate of this bug. ***
Comment 39 Philip Withnall 2008-02-27 06:37:41 UTC
*** Bug 518959 has been marked as a duplicate of this bug. ***
Comment 40 Raphael Hertzog 2008-02-27 07:17:14 UTC
I so hate seeing all those duplicates coming in and nobody from Gnome handling the bug. It's already marked as HIGH priority, yet nobody has been working on it since quite some time...

It's a very annoying bug for me (because evolution-data-server leaks memory and I have to kill it every few days and every time the panel crashes, and when the panel crashes I loose most of the stuff which appears in the systray).

I'd be ready to put 10€ on a bounty if I knew an easy way to do this (transfer to a paypal/whatever account could work). Please handle this bug.

It's very easy to reproduce but seems to require a good knowledge to understand what's happening.
Comment 41 Vincent Untz 2008-02-28 09:39:27 UTC
(In reply to comment #40)
> I so hate seeing all those duplicates coming in and nobody from Gnome handling
> the bug. It's already marked as HIGH priority, yet nobody has been working on
> it since quite some time...

I did look at it and couldn't find the bug after a quick look. I also couldn't reproduce the bug, which doesn't help. I surely will look at it again, but I didn't have a lot of time for hacking in the past few months...
Comment 42 Philip Withnall 2008-02-29 16:48:18 UTC
*** Bug 519566 has been marked as a duplicate of this bug. ***
Comment 43 Philip Withnall 2008-03-02 22:33:03 UTC
*** Bug 519991 has been marked as a duplicate of this bug. ***
Comment 44 Philip Withnall 2008-03-02 22:33:34 UTC
*** Bug 516939 has been marked as a duplicate of this bug. ***
Comment 45 Philip Withnall 2008-03-05 21:17:10 UTC
*** Bug 520536 has been marked as a duplicate of this bug. ***
Comment 46 Anthony Waters 2008-03-06 03:08:33 UTC
Couple things I've found out

1. The bug only occurs if you first open the calendar window, then before calling evolution --force-shutdown close the calendar window

From this I looked into calendar_window_destroy, and it looks as though it clears all of the pointers and stuff.  Now this method is called when the calendar window is hidden.  So what I think happens is when you call evolution --force-shutdown it calls the backend_died_cb, but in calendar_window_destroy the calendar data was freed.  I tested this by having calendar_window_destroy not doing anything (in other words it does not free the pointers), and the bug does not occur.

With that in mind either we can keep all of the data in memory instead of freeing it when the calendar is closed or make it so the callbacks are not called when the calendar is hidden.

I just started playing around with the gnome api so I'm not sure if any of the above is possible.
Comment 47 Anthony Waters 2008-03-10 04:14:50 UTC
Created attachment 106951 [details] [review]
potential fix to bug 378854

It seems as though the clock only crashes if it is closed when the command evolution --force-shutdown is called, so before running the backend_died_cb handler it checks to make sure if the calendar is even open by checking the loaded variable.  Not sure if this is the best way to fix this bug but it seems to work with no side effects in my limited testing
Comment 48 Raphael Hertzog 2008-03-19 12:52:41 UTC
I tried the patch of Anthony, and it seems to work fine here too. Thanks a lot Anthony.
Comment 49 Anthony Waters 2008-03-22 22:51:34 UTC
Am I allowed to commit it or do I have to have a maintainer do it?
Comment 50 Gianluca Borello 2008-03-25 12:53:26 UTC
*** Bug 524139 has been marked as a duplicate of this bug. ***
Comment 51 Philip Withnall 2008-04-02 17:02:21 UTC
*** Bug 525783 has been marked as a duplicate of this bug. ***
Comment 52 Vincent Untz 2008-04-03 10:58:57 UTC
*** Bug 500329 has been marked as a duplicate of this bug. ***
Comment 53 Philip Withnall 2008-04-06 10:43:53 UTC
*** Bug 526474 has been marked as a duplicate of this bug. ***
Comment 54 Philip Withnall 2008-04-06 22:16:47 UTC
*** Bug 526597 has been marked as a duplicate of this bug. ***
Comment 55 Vincent Untz 2008-04-07 12:59:41 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
Comment 56 Philip Withnall 2008-04-10 19:39:26 UTC
*** Bug 527400 has been marked as a duplicate of this bug. ***
Comment 57 Philip Withnall 2008-04-18 15:50:22 UTC
*** Bug 528731 has been marked as a duplicate of this bug. ***
Comment 58 Sam Morris 2008-04-19 19:41:09 UTC
Can someone backport this to the 2.22 branch? It's driving me potty. :)
Comment 59 Vincent Untz 2008-04-20 11:37:50 UTC
Sam: it's already in 2.22.1.
Comment 60 Sam Morris 2008-04-20 11:44:35 UTC
I'm still seeing the crash in 2.22.1. I'll try to get a backtrace.
Comment 61 Sam Morris 2008-04-20 11:48:01 UTC
Scratch that; the machine that it crashed on was running 2.22.0. Thanks! :)
Comment 62 Philip Withnall 2008-04-23 15:58:58 UTC
*** Bug 529493 has been marked as a duplicate of this bug. ***
Comment 63 Philip Withnall 2008-04-29 06:08:25 UTC
*** Bug 530493 has been marked as a duplicate of this bug. ***
Comment 64 Philip Withnall 2008-04-29 06:37:19 UTC
*** Bug 530493 has been marked as a duplicate of this bug. ***
Comment 65 Philip Withnall 2008-05-01 06:05:03 UTC
*** Bug 530820 has been marked as a duplicate of this bug. ***
Comment 66 Philip Withnall 2008-05-02 17:09:14 UTC
*** Bug 531081 has been marked as a duplicate of this bug. ***
Comment 67 Philip Withnall 2008-05-09 06:16:44 UTC
*** Bug 532293 has been marked as a duplicate of this bug. ***
Comment 68 Philip Withnall 2008-05-16 06:00:56 UTC
*** Bug 533352 has been marked as a duplicate of this bug. ***
Comment 69 Philip Withnall 2008-05-17 17:10:04 UTC
*** Bug 533580 has been marked as a duplicate of this bug. ***
Comment 70 Philip Withnall 2008-06-03 16:57:26 UTC
*** Bug 536458 has been marked as a duplicate of this bug. ***
Comment 71 Philip Withnall 2008-06-12 06:35:35 UTC
*** Bug 537878 has been marked as a duplicate of this bug. ***
Comment 72 Philip Withnall 2008-06-12 21:40:16 UTC
*** Bug 538045 has been marked as a duplicate of this bug. ***
Comment 73 Gianluca Borello 2008-06-18 22:21:43 UTC
*** Bug 539037 has been marked as a duplicate of this bug. ***
Comment 74 Philip Withnall 2008-06-20 16:31:56 UTC
*** Bug 539300 has been marked as a duplicate of this bug. ***
Comment 75 Philip Withnall 2008-06-20 21:29:49 UTC
*** Bug 539367 has been marked as a duplicate of this bug. ***
Comment 76 Philip Withnall 2008-09-11 15:58:57 UTC
*** Bug 551801 has been marked as a duplicate of this bug. ***
Comment 77 Sebastien Bacher 2008-10-02 16:31:17 UTC
https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/276783 is a similar crash on GNOME 2.24

"1) Connected to a wireless network
2) Had gnome calendar applet open, evolution open to calendar page.
3) Closed lid on laptop, entered suspend-to-ram
4) Docked laptop, resumed
5) NetworkManager switched to wired connection
6) Evolution and gnome calendar applet were unresponsive. Gnome panels were also unresponsive
7) Killed Evolution at "unresponsive program" prompt
8) "ps aux | grep evo" showed evolution-data-server-2.24 evolution-exchange-storage evolution-alarm-notify still running
9) Because panels were unresponsive, did a "killall evolution-data-server-2.24 evolution-exchange-storage evolution-alarm-notify"
10) Moments later, gnome panel crashed."
Comment 78 André Klapper 2009-05-03 21:31:33 UTC
No duplicates for a long time.
Comment 79 André Klapper 2009-12-19 22:07:23 UTC
So has this happened to anybody recently?
(NEEDINFO)
Comment 80 Sam Morris 2009-12-20 00:09:36 UTC
I do a --force-shutdown fairly regularly and have not had it take out the panel for a very long time.
Comment 81 Akhil Laddha 2010-02-18 03:55:25 UTC
Closing the bug as per comment#80. 

Please feel free to reopen the bug if the problem still occurs with a newer
version of GNOME 2.28.2 or later, thanks.