GNOME Bugzilla – Bug 574522
Crash while authenticating to the exchange server
Last modified: 2009-12-14 14:16:54 UTC
Steps to reproduce: 1. Create an MSExchange type account 2. Follow the wizard until you have to enter your credentials 3. Click the "authenticate" button and enter your password 4. Evolution crashes Stack trace: $ gdb evolution GNU gdb 6.8-5mdv2009.1 (Mandriva Linux release 2009.1) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-mandriva-linux-gnu"... (gdb) run Starting program: /usr/bin/evolution [Thread debugging using libthread_db enabled] [New Thread 0xb62a46e0 (LWP 7621)] [New Thread 0xb33c7b90 (LWP 7695)] [New Thread 0xb29ffb90 (LWP 7696)] [Thread 0xb29ffb90 (LWP 7696) exited] [New Thread 0xb29ffb90 (LWP 7699)] [New Thread 0xb1eadb90 (LWP 7700)] [Thread 0xb1eadb90 (LWP 7700) exited] [Thread 0xb33c7b90 (LWP 7695) exited] [New Thread 0xb1eadb90 (LWP 7741)] [Thread 0xb29ffb90 (LWP 7699) exited] e-data-server-ui-Message: Key file does not have key 'exchange:__telindus%5cid981410;auth_Basic@owa.telindus.intra_' [New Thread 0xb29ffb90 (LWP 7768)] [New Thread 0xb33c7b90 (LWP 7769)] [Thread 0xb29ffb90 (LWP 7768) exited] [New Thread 0xb29ffb90 (LWP 7770)] [Thread 0xb33c7b90 (LWP 7769) exited] [New Thread 0xb33c7b90 (LWP 7771)] [Thread 0xb29ffb90 (LWP 7770) exited] [New Thread 0xb29ffb90 (LWP 7772)] [Thread 0xb33c7b90 (LWP 7771) exited] [New Thread 0xb33c7b90 (LWP 7773)] [Thread 0xb29ffb90 (LWP 7772) exited] [New Thread 0xb29ffb90 (LWP 7774)] [Thread 0xb33c7b90 (LWP 7773) exited] [New Thread 0xb33c7b90 (LWP 7775)] [Thread 0xb29ffb90 (LWP 7774) exited] [New Thread 0xb29ffb90 (LWP 7776)] [Thread 0xb33c7b90 (LWP 7775) exited] e-data-server-ui-Message: Key file does not have key 'exchange:__telindus%5cid981410;auth_Basic@owa.telindus.intra_' in group 'Passwords-Exchange' [Thread 0xb29ffb90 (LWP 7776) exited] (evolution:7621): e-utils-WARNING **: No parent set, or default parent available for error dialog Program received signal SIGSEGV, Segmentation fault. __libc_free (mem=0x656e2e63) at malloc.c:3599 3599 if (chunk_is_mmapped(p)) /* release mmapped memory. */ Missing debug package(s), you should install: rpm-debug-4.4.2.3-22mnb2.i586 (gdb) thread apply all bt
+ Trace 213262
Thread 1 (Thread 0xb62a46e0 (LWP 7621))
Other information: Bug already reported downstream : https://qa.mandriva.com/show_bug.cgi?id=48521
Created attachment 131340 [details] [review] proposed eds patch for evolution-data-server; There was freed structures incorrectly, in e-proxy.c. This should fix it. Could you test it please, before I'll commit?
Committed to trunk. Committed revision 10201.
It seems that the problem is not gone, see https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/352660 Ubuntu's evolution-data-server 2.26.0-0ubuntu2 contains the patch, but evolution still crashes.
Anton, I wonder what backtrace is there for your issue. If it's one similar to GThread-ERROR **: file /build/buildd/glib2.0-2.20.0/gthread/gthread-posix.c: line 171 (g_mutex_free_posix_impl): error 'Device or resource busy' during 'pthread_mutex_destroy ((pthread_mutex_t *) mutex)' aborting... from the ubuntu bug you gave here, then that's totally different thing than the initial one, on the first look. Without backtrace cannot tell for 100%.
Yes, I have the same backtrace as you have pasted. Sorry, if it is a different problem than you fixed. Do you know if such problem already registered in Gnome bugzilla?
Probably this one is closer to the one people are experiencing in Ubuntu 9.04: bug 573883
Anton, yup, your bug seems related, at least the console message is same. But what I pasted in comment #4 is not a backtrace, it's just a console message. Can you run evolution-data-server from gdb and when that crashes, do "t a a bt" (quotes for clarity only), and check, whether your backtrace matches the one from your bug, please? And if so, please update it in that bug, he added there only thread, not all. By the way, are you using GroupWise?
After updating to evolution-data-server to 2.26.1-0ubuntu1, it stopped crashing with this message. But, unfortunately, it still doesn't work: now evolution complains that: --- (evolution:8342): camel-exchange-provider-WARNING **: Unable to load Exchage summary for folder personal: no such table: personal ** (evolution:8342): DEBUG: EI: mail_read_notify ** (evolution:8342): DEBUG: MAIL SERVER: Count changed: 0 (evolution:8342): evolution-mail-WARNING **: Failed to refresh folders: Lost connection to Evolution Exchange backend process --- However, evolution-data-server's process still up and running, here is the thread dump from gdb of it:
+ Trace 214482
Should I open a separate bug now? Do you need the thread dump of evolution itself? Thanks for helping anyway!
(In reply to comment #8) > Should I open a separate bug now? Do you need the thread dump of evolution > itself? Yes please, open a new bug for your issue. Feel free to CC me there. From the error message given in the UI, I guess it didn't crash evolution-data-server, but evolution-exchange-storage process. Try to run it on the console and/or within gdb, and place the trace of a crash to your new bug please.
Sorry, evolution-exchange-storage actually crashes after reading new messages for some time. I don't get any useful output and after it has crashed, gdb doesn't want to show the backtrace (I have attached to an already running process). Is there a way to get something useful out of it? Should I run it myself instead of attaching? How to do it? P.S. I connect to exchange server 2003, not groupwise.
What's the new bug number please?
After updating the evolution itself (not evolution-exchange-storage), I can finally read my email, so I guess these bugs are already fixed somewhere. Thanks for helping!
Unfortunately, the original crash is back after a day's usage: GThread-ERROR **: file /build/buildd/glib2.0-2.20.1/gthread/gthread-posix.c: line 171 (g_mutex_free_posix_impl): error 'Device or resource busy' during 'pthread_mutex_destroy ((pthread_mutex_t *) mutex)' aborting... Evolution's own process crashes, both evolution-data-server and evolution-exchnage-server stay running. Last thread:
+ Trace 214501
Created attachment 132746 [details] Full thread dump of evolution process after crash
Anton, I appreciate your responsiveness and willingness to help, but (for the third and the last time), open new bug report for your issue please. You just stole this bug with something unrelated and I'm not going to reply on anything here since now on. I checked with your very nice detailed back trace and didn't found any opened bug for that, so new bug report is the best place. Thanks in advance.
The new one: http://bugzilla.gnome.org/show_bug.cgi?id=579140 Sorry, I thought this crash is related to the original one.
*** Bug 576426 has been marked as a duplicate of this bug. ***