GNOME Bugzilla – Bug 526134
Evo crashed after canceling password prompt for calendar
Last modified: 2008-04-14 23:58:25 UTC
I have entered one CalDAV calendar in my calendars and when received a mail to evolution-hackers on April 3rd, by Patrick with a calendar attachment (subject "[Evolution-hackers] cleaning up the timezone handling mess"), it prompts me for a password. If I cancel it, then evo crashes. See details below. Note: I edited the stack treace a bit, also removed some nonsense parts from there. Evo version is todays trunk, Distribution: Fedora release 8 (Werewolf) Gnome Release: 2.20.3 2008-01-08 (Red Hat, Inc) BugBuddy Version: 2.21.90 System: Linux 2.6.24.3-50.fc8 #1 SMP Thu Mar 20 13:39:08 EDT 2008 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 10300000 Selinux: Permissive Accessibility: Disabled GTK+ Theme: Nodoka Icon Theme: Neu Memory status: size: 697217024 vsize: 697217024 resident: 89792512 share: 21979136 rss: 89792512 rss_rlim: 18446744073709551615 CPU usage: start_time: 1207309763 rtime: 793 utime: 760 stime: 33 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/build/local/bin/evolution' [?1034hUsing host libthread_db library "/lib64/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 46912587516880 (LWP 25742)] [New Thread 1189394768 (LWP 25822)] [New Thread 1210374480 (LWP 25803)] [New Thread 1168415056 (LWP 25790)] [New Thread 1115699536 (LWP 25757)] 0x00000031fe60e0bf in waitpid () from /lib64/libpthread.so.0
+ Trace 194191
Thread 1 (Thread 46912587516880 (LWP 25742))
----------- .xsession-errors (6854 sec old) --------------------- CalDAV Eplugin starting up ... libnm_glib_nm_state_cb: dbus returned an error. (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManager was not provided by any .service files libnm_glib_nm_state_cb: dbus returned an error. (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManager was not provided by any .service files Unable to open desktop file /usr/share/applications/fedora-SciTE.desktop for panel launcher: No such file or directory libnm_glib_nm_state_cb: dbus returned an error. (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManager was not provided by any .service files e-data-server-ui-Message: Key file does not have group 'Passwords-Calendar' e-data-server-ui-Message: Key file does not have group 'Passwords-Calendar' warning: the debug information found in "/usr/lib/debug//usr/lib64/evolution/2.12/components/libevolution-calendar.so.debug" does not match "/usr/lib64/evolution/2.12/components/libevolution-calendar. Window manager warning: Received a _NET_WM_MOVERESIZE message for 0xe132b6 (UAM Draft); these messages lack timestamps and therefore suck. It appears that you do not have gnome-terminal.server installed in a valid location. Factory mode disabled. --------------------------------------------------
I see two waiting ep_msg_send() calls on non-GUI threads with non-NULL 'msg' arguments, so the user is being prompted for one and the other is in the pending in the message_queue. Main thread has:
+ Trace 194200
Looks as though a NULL message is somehow slipping into the message_queue. We lock the message_queue everywhere we need to, so I don't think this is a race. And the only place we push a message on the queue is in ep_msg_send(). Need to dig deeper for this one.
I fixed this today under a different bug. It was caused by a rather stupid mistake in my code. *** This bug has been marked as a duplicate of 453109 ***