http://bugzilla.novell.com/show_bug.cgi?id=505153
User ptesarik@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=505153#c12
--- Comment #12 from Petr Tesařík 2009-06-01 02:59:20 MDT ---
Done. Unfortunately, I cannot see any function named set_current_folder(). What
I _can_ see is the following sequence:
1. groupwise_sync() entered with folder->ref_count set to 1
2. ref_count incremented to 2 in camel_object_trigger_event(), called from
groupwise_transfer_messages_to() here:
2365 camel_object_trigger_event (source, "folder_changed", changes);
3. ref_count decremented back to 1 in the same camel_object_trigger_event()
4. ref_count decremented to 0 in groupwise_store_set_current_folder():
269 camel_object_unref (groupwise_store->current_folder);
5. ref_count incremented back to 1 on the (now invalid) folder in
groupwise_store_set_current_folder():
274 camel_object_ref (folder);
Note that I used a hardware watchpoint on the refcount, so I'm quite certain
that there were no other changes to the ref_count.
Maybe, groupwise_store_set_current_folder() cannot correctly handle the case
where folder == groupwise_store->current_folder ?
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.