GNOME Bugzilla – Bug 560188
Crash after account change
Last modified: 2013-09-13 01:00:46 UTC
Evo revision: 36769 eds revision: 9743 There was a host lookup error on one account, and I changed on the same one a setting information, this was shown on the console and evo crashed immediately. Even closing of the error message from the status bar doesn't help here. ---------------------------------------------------------------------------- (evolution:25909): e-data-server-CRITICAL **: e_account_set_string: assertion `ea != NULL' failed Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208813248 (LWP 25909)] 0x01329192 in account_changed (accounts=0x85b1d90, account=0x0, user_data=0x8531580) at em-folder-tree-model.c:402 402 if (!account->enabled ||!(uri = account->source->url)) (gdb) t a a bt
+ Trace 209588
Thread 1 (Thread -1208813248 (LWP 25909))
Bumped into this one a few minutes back. Easily reproducible. Looks connected to bug #552583. The account goes NULL and hence the issues.
*** Bug 560469 has been marked as a duplicate of this bug. ***
Created attachment 123039 [details] [review] proposed evo patch for evolution; Same function for similar things. Normalizing URLs first, to compare same things, not the different. Also comparing case insensitively, domain name is case insensitive.
CC'ing Sankar, since he had some thoughts about these functions.
Created attachment 123100 [details] [review] proposed evo patch ][ for evolution; OK, let provider compare URLs, as Sankar suggested.
Hmm, I saw crashing this even with the second patch, when playing with exchange account it failed to find it when looking for it in config listener in the exchange plugin. Not sure why and when, and cannot reproduce now too. I had two similar accounts, the first disabled, the second enabled, trying to setup the second one. There could be something wrong even when comparing with provider's url_equal function.
*** Bug 562769 has been marked as a duplicate of this bug. ***
Get rid of this in favour of bug #552583 *** This bug has been marked as a duplicate of 552583 ***
*** Bug 563483 has been marked as a duplicate of this bug. ***
*** Bug 563676 has been marked as a duplicate of this bug. ***
*** Bug 564341 has been marked as a duplicate of this bug. ***
*** Bug 564470 has been marked as a duplicate of this bug. ***
*** Bug 564949 has been marked as a duplicate of this bug. ***
*** Bug 564197 has been marked as a duplicate of this bug. ***