Re: Patch: fix deathlock in imap store get_folder_info_online



Approved Dape,

please commit. And thx for the great findings as usual

Br

José Dapena Paz escribiu:
> 	Hi,
> 
> 	This patch fixes a deathlock caused by holding summary lock and then
> connection lock, when the rule is the opposite.
> 
> 	This can cause deathlocks, i.e., when more than one thread is accesing
> the store. The case I got the hang was when I had one thread with
> standard access to the account (the one with the store queue), and other
> thread moving messages from a different queue.
> 
> 	Changelog entry would be:
> 
>     *  libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c
>       (get_folder_info_online): now we lock summary inside the connect lock and
>       not the opposite, to avoid deathlocks (fixes NB#138625).
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list



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