GNOME Bugzilla – Bug 497928
crash: deleting Address book assigned to Pidgin Automatic Contacts
Last modified: 2008-09-29 09:27:45 UTC
Evolution not responds if the Address book asigned to Pidgin Automatic Contacts is deleted. ---------------------------------------------- Distribution: Fedora release 8 (Werewolf) Gnome Release: 2.20.1 2007-11-13 (Red Hat, Inc) BugBuddy Version: 2.20.1 System: Linux 2.6.23.1-49.fc8 #1 SMP Thu Nov 8 21:41:26 EST 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 10300000 Selinux: Enforcing Accessibility: Disabled GTK+ Theme: Darkilouche Icon Theme: gnome Memory status: size: 128184320 vsize: 128184320 resident: 11661312 share: 8273920 rss: 11661312 rss_rlim: 4294967295 CPU usage: start_time: 1195399364 rtime: 962 utime: 874 stime: 88 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/evolution' [?1034hUsing host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1209137392 (LWP 4376)] [New Thread -1306330224 (LWP 4428)] [New Thread -1295840368 (LWP 4427)] [New Thread -1231185008 (LWP 4386)] 0x00110402 in __kernel_vsyscall ()
+ Trace 178529
Thread 1 (Thread -1209137392 (LWP 4376))
----------- .xsession-errors (795 sec old) --------------------- Unhandled exception in thread started by <bound method Installer_Package.__install_file of <PackageInstaller.Installer_Package object at 0xb7a0610c>> Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/gdesklets/utils/__init__.py", line 23, in _pretty_excepthook deep_trace = True) File "/usr/lib/gdesklets/utils/ErrorFormatter.py", line 42, in format filename = tbs[-1][0] IndexError: list index out of range Original exception was: TypeError: GtkLabel.set_text() argument 1 must be string without null bytes, not str ==========================================================[11/18/07-09:09:52]=== === Unhandled error! Something bad and unexpected happened. === [EXC]unknown url type: --------------------------------------------------
Created attachment 118373 [details] [review] proposed evo patch for evolution; EDS died and evo was waiting for the finish of the operation. Quite bad. This patch works better, because: a) it doesn't let crash eds b) no runtime warnings on console c) no reopening of the deleted addressbook (one can open deleted address book by URI) But, I'm going to produce some patch on EDS side too, to stop operations when it crashes badly. ECal knows that, thus why not EBook? Anyway, the evo patch is enough to not crash/freeze.
Created attachment 118423 [details] [review] proposed eds patch for evolution-data-server; Both patches are mutually exclusive, one works without the other, but I believe both could be applied. The bad thing on this is that I thought I will be able to fix this in a better way, like get the event of disconnection, but I found that even ORBit knows about the crash of EDS, then it sends this event on idle, which will never happen, because evolution's main thread is waiting on the condition to be flagged. Bad luck then.
Commit to stable/trunk
eds part committed to trunk. Committed revision 9626. eds part committed to gnome-2-24. Committed revision 9627. evo part committed to trunk. Committed revision 36469. evo part committed to gnome-2-24. Committed revision 36470.