Re: Deadlock when calling tny_folder_sync_async while the device is disconnected (using a GMail IMAP account)



Should be fixed:
http://tinymail.org/trac/tinymail/changeset/3546

On Fri, 2008-04-04 at 12:48 +0200, Sergio Villar Senin wrote:
> (gdb) thread apply all bt
> 
> Thread 3 (Thread 1118950544 (LWP 5868)):
> #0  0x40bb6334 in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
> #1  0x40131088 in pthread_cond_wait@@GLIBC_2.4 () from /lib/libc.so.6
> #2  0x422f8d0c in camel_imap_folder_start_idle (folder=0x2449a0) at
> camel-imap-folder.c:4256
> #3  0x42301da4 in camel_imap_store_start_idle (store=0x8fa38) at
> camel-imap-store.c:308
> #4  0x423074b0 in imap_get_folder_status (store=0x8fa38,
> folder_name=0x266f00 "[Gmail]/Destacados",
>     unseen=0x42b1cdac, messages=0x42b1cdb0, uidnext=0x42b1cda8) at
> camel-imap-store.c:2598
> #5  0x4175ad34 in camel_store_get_folder_status (store=0x8fa38,
> folder_name=0x266f00 "[Gmail]/Destacados",
>     unseen=0x42b1cdac, messages=0x42b1cdb0, uidnext=0x42b1cda8) at
> camel-store.c:227
> #6  0x416ac374 in tny_camel_folder_poke_status_thread
> (user_data=0x2463c0) at tny-camel-folder.c:5283
> #7  0x416c1c6c in tny_camel_queue_thread_main_func (user_data=0x134078)
> at tny-camel-queue.c:194
> #8  0x40b58f2c in g_thread_create_proxy (data=0xfffffffc) at gthread.c:591
> #9  0x40bb12ac in start_thread () from /lib/libpthread.so.0
> #10 0x40125c18 in clone () from /lib/libc.so.6
> 
> Thread 2 (Thread 1127339152 (LWP 5900)):
> #0  0x40bb3a70 in pthread_mutex_lock () from /lib/libpthread.so.0
> #1  0x40131258 in pthread_mutex_lock () from /lib/libc.so.6
> #2  0x40b58454 in IA__g_static_rec_mutex_lock (mutex=0x15e598) at
> gthread.c:269
> #3  0x42301a94 in let_idle_die (store=0x8fa38, connect_buz=1) at
> camel-imap-store.c:221
> #4  0x423066f0 in imap_disconnect_offline (service=0x8fa38, clean=0,
> ex=0x0) at camel-imap-store.c:2105
> #5  0x41725550 in disco_disconnect (service=0x8fa38, clean=0, ex=0x0) at
> camel-disco-store.c:218
> #6  0x417525c4 in camel_service_disconnect (service=0x8fa38, clean=0,
> ex=0x0) at camel-service.c:504
> #7  0x4230badc in camel_imap_store_readline_nl (store=0x8fa38,
> dest=0x4331cd80, ex=0x4331cd78)
>     at camel-imap-store.c:4386
> #8  0x422f7f14 in idle_real_start (store=0x8fa38) at
> camel-imap-folder.c:3806
> #9  0x422f8314 in idle_thread (data=0x29c680) at camel-imap-folder.c:3942
> #10 0x40b58f2c in g_thread_create_proxy (data=0xfffffffc) at gthread.c:591
> #11 0x40bb12ac in start_thread () from /lib/libpthread.so.0
> #12 0x40125c18 in clone () from /lib/libc.so.6
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]