GNOME Bugzilla – Bug 274029
Connector 2.2.1: crash every time on start up
Last modified: 2005-07-22 04:57:28 UTC
Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: I start evolution with a completely new setup and create an exchange account. While the initial account creation is fine, once I actually get to the main evolution window, evolution-exchange-storage immediately crashes. It then crashes every time I start evolution-exchange-storage. Steps to reproduce the problem: 1. Create new exchange account within evolution. Actual Results: Evolution-exchange-storage crashes immediately after I create the account, every time evolution starts, or every time I start it from the command line. Expected Results: Shouldn't crash. How often does this happen? Every time. Additional Information: I ran it with E2K_DEBUG=4, here's the last thing it spit out before it died: GC: looking up info for racevedo@foo.com GC: Connecting to ldap://sfdc01.ad.foo.com:3268/ GC: connected GC: dn = CN=Raul Acevedo,CN=Users,DC=ad,DC=foobiz,DC=com GC: displayName Raul Acevedo GC: mail racevedo@foo.com GC: legacyExchangeDN /o=Foo/ou=FOOBIZ/cn=Recipients/cn=racevedo GC: mDBUseDefaults TRUE GC: Using global mailbox store limits Here's the gdb stack trace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1222363680 (LWP 2231)] 0xb72e87ab in g_type_check_instance_is_a () from /home/garnome/2.10.0.1/lib/libgobject-2.0.so.0 (gdb) thread apply all bt
+ Trace 57241
Thread 1 (Thread -1222363680 (LWP 2231))
I tried building Connector against an NTLM-patched OpenLDAP 2.2.24, but I still get a crash. I've noticed that I get different crashes every time I run evolution-exchange-storage. The E2K_DEBUG output is the same every time... I get a ton of output showing that basic connectivity to the server is probably ok, but then it displays the same GC output and then it crashes. Here's one stack trace I just got, this crash was in e_source_peek_uid: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1222363680 (LWP 29063)] 0xb75730e7 in e_source_peek_uid () from /home/garnome/2.10.0.1/lib/libedataserver-1.2.so.4 (gdb) thread apply all bt
+ Trace 57433
Thread 1 (Thread -1222363680 (LWP 29063))
Here's another.... again, all the E2K_DEBUG output gets to the "GC" output stuff, and then a crash, this time in fast_validate: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1222363680 (LWP 29079)] 0xb7289d2d in fast_validate () from /home/garnome/2.10.0.1/lib/libglib-2.0.so.0 (gdb) thread apply all bt
+ Trace 57434
Thread 1 (Thread -1222363680 (LWP 29079))
I am not able to reproduce this crash. But fixed a problem in the code to add e-sources. and that should fix this crash. Fix committed to both cvs head and gnome-2-10 branch.
Can you include the patch with this bug report so I can try it? I miss being able to run Connector...
Created attachment 45035 [details] [review] Attached patch should fix this problem.
Applied patch, recreated exchange account, exact same problem still happens. :(
Ok, so somehow this bug is related to bug 274099. I thought I had deleted my exchange account, but due to 74099 some settings stayed around. After applying this patch, and then manually editing the old settings out of all the gconf keys, now finally connector works. So I don't know what fixed this problem: the patch, completely removing the old gconf settings due to 74099, or both. Either way, connector is now finally working.
Ok, I take it back. It ran once successfully, but was acting weirdly (wouldn't mark a message unread, had a problem correctly looking at a meeting request), so I restarted, and now it's back to crashing every time, even if I completely manually remove the exchange account and recreate it. I'm getting slightly different backtraces though. Here's two of them, both of them within the e_source_group_peek_source_by_name call: (evolution-exchange-storage:12805): GLib-GObject-WARNING **: invalid uninstantiatable type `gdouble' in cast to `ESource' (evolution-exchange-storage:12805): e-data-server-CRITICAL **: e_source_peek_name: assertion `E_IS_SOURCE (source)' failed Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1224186400 (LWP 12805)] 0x44383478 in strcmp () from /lib/tls/libc.so.6 (gdb) thread apply all bt
+ Trace 57534
Thread 1 (Thread -1224186400 (LWP 12805))
Thread 1 (Thread -1224186400 (LWP 12820))
Created attachment 45047 [details] Valgrind output running exchange-storage and then setting up exchange account first time
Created attachment 45048 [details] After prior output, I quit evolution, and run valgrind on exchange-storage and it crashes right away using my newly created exchange account
*** Bug 301507 has been marked as a duplicate of this bug. ***
This has been fixed in 2.3.1. Yay!
*** Bug 303917 has been marked as a duplicate of this bug. ***
*** Bug 300448 has been marked as a duplicate of this bug. ***
*** Bug 304503 has been marked as a duplicate of this bug. ***
*** Bug 305448 has been marked as a duplicate of this bug. ***
*** Bug 306011 has been marked as a duplicate of this bug. ***
*** Bug 306319 has been marked as a duplicate of this bug. ***
*** Bug 303316 has been marked as a duplicate of this bug. ***
*** Bug 301629 has been marked as a duplicate of this bug. ***
*** Bug 308969 has been marked as a duplicate of this bug. ***
*** Bug 302818 has been marked as a duplicate of this bug. ***
*** Bug 307797 has been marked as a duplicate of this bug. ***
*** Bug 308645 has been marked as a duplicate of this bug. ***