GNOME Bugzilla – Bug 453109
Evolution crashed as soon as i entered password and clicked ok
Last modified: 2008-12-29 19:49:12 UTC
I clicked on folder and it popped window to enter password.I entered password and as soon as i clicked on 'Ok' , it crashed.
+ Trace 145255
Thread 1 (Thread -1235867440 (LWP 32566))
I was using exchange as back end.
My mistake , i was using evolution with group wise. Sorry for inconvenience.
for future reference, crashers are "critical".
Also, both e-book.c and e-passwords.c are e-d-s...
Evolution 2.23.1 I clicked on 'New' to open a composer window, password window popped up for 'Frequent contact' address book, evolution crashed as soon as i entered password. Gdb traces of evolution process Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb64a78d0 (LWP 32214)] pass_response (dialog=0xcfdc8d0, response=-5, data=0xaf438a8) at e-passwords.c:844 844 if ((pending->dispatch == ep_forget_password (gdb) thread apply all bt
+ Trace 194915
Thread 1 (Thread 0xb64a78d0 (LWP 32214))
(gdb) bt full
+ Trace 194917
Some functions' value during crash (gdb) p message_queue $26 = {head = 0x8f3a880, tail = 0x8f3a880, length = 1} (gdb) p iter $27 = (GList *) 0x8e92880 (gdb) p *iter $28 = {data = 0x0, next = 0x0, prev = 0x0} (gdb) p message_queue->head $29 = (GList *) 0x8f3a880 (gdb) p message_queue->head->data $30 = (gpointer) 0x8e558c0 (gdb) p *message_queue->head $31 = {data = 0x8e558c0, next = 0x0, prev = 0x0}
I debugged in Akhil's machine. Seems like the iter that comes our of message_queue is corrupted. Matt any thoughts?
This is a dupe of another bug for which I can't recall the number, because I remember looking into this before. The problem seems to occur when password prompt requests pile up, such as after forgetting all passwords and restarting Evolution. Last I looked, I couldn't figure out how a NULL pointer could be getting in the message_queue. It looks like it uses locks in all the right places, and I couldn't get GDB to catch it inserting a NULL anywhere. I'll give it another shot, though. Maybe there's still a race somewhere.
Created attachment 109243 [details] [review] My mistake Okay, so, I'm an idiot. I went ahead just committed the fix.
Off-Topic: I notice the crash recovery dialog keeps stepping on the password dialog at startup. Perhaps we need some sort of centralized queue that serializes all dialogs in Evolution and E-D-S.
*** Bug 526134 has been marked as a duplicate of this bug. ***
*** Bug 527276 has been marked as a duplicate of this bug. ***
*** Bug 565654 has been marked as a duplicate of this bug. ***