GNOME Bugzilla – Bug 558472
evolution crashed when reiterating a search after a few minutes delay
Last modified: 2009-01-29 16:38:26 UTC
Steps to reproduce: 1. 2. 3. Stack trace: Program terminated with signal 11, Segmentation fault. [New process 20687] [New process 20686] [New process 20685] [New process 20684] [New process 20503]
+ Trace 208896
2005 { 2006 CamelFolderSummary *summary = event_data; 2007 CamelVeeFolder *vf = (CamelVeeFolder *)data; 2008 struct _CamelVeeFolderPrivate *p = _PRIVATE(vf); 2009 struct _folder_flags_msg *m; 2010 CamelSession *session = ((CamelService *)((CamelFolder *)vf)->parent_store)->session; 2011 2012 if (p->destroyed) 2013 return; 2014 (gdb) p vf $1 = (CamelVeeFolder *) 0x859ed60 (gdb) p ((CamelFolder *)vf)->parent_store) Junk after end of expression. (gdb) p ((CamelFolder *)vf)->parent_store $2 = (CamelStore *) 0x0 (gdb) Other information: Changed the code to CamelSession *session; CamelStore *store; store = ((CamelFolder *)vf)->parent_store; if (!store) { return; } session = ((CamelService *)store)->session;
Just occurred again. (gdb) bt
+ Trace 209096
$8 = (void *) 0x8ce4a30 (gdb) p *vf $9 = {parent = {parent_object = {klass = 0x80b04a0, magic = 1, hooks = 0x0, ref_count = 3215328, flags = 0, next = 0xe00, prev = 0x0}, priv = 0x8147020, name = 0x1c <Address 0x1c out of bounds>, full_name = 0x1c <Address 0x1c out of bounds>, description = 0x178 <Address 0x178 out of bounds>, parent_store = 0x1, summary = 0x1c, folder_flags = 30, permanent_flags = 148256160, later = { 0x86a4ec0, 0x0, 0x0, 0x8f2c5c8}}, priv = 0x8bda8d0, expression = 0x0, flags = 0, changes = 0x111, search = 0x3f000000, parent_vee_store = 0x3f000000, hashes = 0x0, loaded = 0x2, deleted = 0} (gdb)
I will look into this this week.
Can you do, p *vf I would be interested to see what is that vee folder. Then it should be easy to fix it.
Did you get this again? Can you get me p *vf and p *(CamelFolder *)vf Outputs when it crashes.
(In reply to comment #4) > Did you get this again? Can you get me > p *vf > and > p *(CamelFolder *)vf > > Outputs when it crashes. > yes, got it now. Will try to get this info if it occurs again.
thomas, ping
This is already fixed in a different bug.