Ticket #24 (task)
Opened 2 years ago
Last modified 2 years ago
Possible race condition after sending a password to the server
Status: closed (worksforme)
| Reported by: | anonymous | Assigned to: | pvanhoof |
|---|---|---|---|
| Priority: | critical | Milestone: | A first release |
| Component: | libtinymail-camel | Version: | |
| Keywords: | Cc: | dirk-jan.binnema@nokia.com | |
==10281== Invalid write of size 4 ==10281== at 0x6A46D7E: imap_auth_loop (camel-imap-store.c:1472) ==10281== by 0x6A47026: imap_connect_online (camel-imap-store.c:1558) ==10281== by 0x41FC112: disco_connect (camel-disco-store.c:160) ==10281== by 0x421F626: camel_service_connect (camel-service.c:371) ==10281== by 0x6A4BA5E: camel_imap_store_connected (camel-imap-store.c:3512) ==10281== by 0x6A4B041: get_folder_info_online (camel-imap-store.c:3243) ==10281== by 0x41FC644: disco_get_folder_info (camel-disco-store.c:254) ==10281== by 0x4226E72: camel_store_get_folder_info (camel-store.c:814) ==10281== by 0x41DCB46: tny_camel_store_account_get_folders_default (tny-camel-store-account.c:644) ==10281== by 0x41DC6C2: tny_camel_store_account_get_folders (tny-camel-store-account.c:563) ==10281== by 0x44B0E83: tny_folder_store_get_folders (tny-folder-store.c:171) ==10281== by 0x42A9C28: recurse_folders_sync (tny-gtk-folder-store-tree-model.c:124) ==10281== Address 0x617CCCC is 12 bytes inside a block of size 40 free'd ==10281== at 0x401D0CA: free (vg_replace_malloc.c:233) ==10281== by 0x51D9CFC: g_free (gmem.c:187) ==10281== by 0x428A325: camel_url_free (camel-url.c:420) ==10281== by 0x421EC32: camel_service_finalize (camel-service.c:119) ==10281== by 0x427A6AF: camel_object_unref (camel-object.c:915) ==10281== by 0x41DCBFB: tny_camel_store_account_get_folders_default (tny-camel-store-account.c:657) ==10281== by 0x41DC6C2: tny_camel_store_account_get_folders (tny-camel-store-account.c:563) ==10281== by 0x44B0E83: tny_folder_store_get_folders (tny-folder-store.c:171) ==10281== by 0x42A9C28: recurse_folders_sync (tny-gtk-folder-store-tree-model.c:124) ==10281== by 0x42AA008: tny_gtk_folder_store_tree_model_add_i (tny-gtk-folder-store-tree-model.c:195) ==10281== by 0x42AA758: tny_gtk_folder_store_tree_model_prepend_i (tny-gtk-folder-store-tree-model.c:397) ==10281== by 0x44AA67A: tny_list_prepend (tny-list.c:80) the auth loop is trying to write in a url, that has been already freed the trace is issued just after input a password for an account
After that the MUA ends with a SIGSEV.
Attachments
Change History
03/04/07 12:36:19: Modified by pvanhoof
- component changed from bindings to libtinymail-camel.
03/05/07 17:25:27: Modified by pvanhoof
- cc set to dirk-jan.binnema@nokia.com.
- milestone set to A first release.
03/05/07 17:26:49: Modified by pvanhoof
From the backtrace I'm not really finding the problem. But we'll keep an eye on this one and hope that it will happen again.
Getting this reproducable would be very useful.
Keeping the bug open, setting some properties and putting some people in CC.
03/19/07 23:27:56: Modified by pvanhoof
- priority changed from major to critical.
- type changed from defect to task.
If somebody has a license for totalview or another such debugger, we can more easily hunt this own down :-). Else it will be kept open until the offending code that has caused this is found.
I'm however marking it as a task: the tasks name will be: please get this one reproduceable! I'm increasing the priority too.
04/22/07 14:35:17: Modified by pvanhoof
- status changed from new to closed.
- resolution set to worksforme.
I haven't seen this problem occur for months. Closing.

Cleanup: