GNOME Bugzilla – Bug 574957
soup-session-sync doesn't unlock mutex on proxy error
Last modified: 2009-04-21 12:49:21 UTC
this report has been filed here: https://bugs.edge.launchpad.net/ubuntu/+source/evolution-exchange/+bug/340785 "When I start evolution 2.25.92-0ubuntu2 from Jaunty, unless I use --disable-eplugin on the command line, it crashes immediately. Upon startup with --disable-eplugin, I can't retrieve my email from the server (MS Exchange, using evolution-exchange-storage). Also, it killed the GNOME keyring daemon when attempting to connect to Exchange after asking for my password." ".
+ Trace 213381
Thread 1 (process 31505)
could be related to bug 544110
(In reply to comment #1) > could be related to bug 544110 > This bug is crashing in libsoup, yours in eex itself. Both because the mutex is locked at the moment of the object finalization, which means someone uses it. I see from the trace that the messages' status was 3, which is SOUP_STATUS_CANT_RESOLVE_PROXY and looking into the code, the libsoup has there a bug. See the patch below.
Created attachment 131358 [details] [review] proposed ls patch for libsoup; Just a typo in the code, I would say.
*** Bug 515158 has been marked as a duplicate of this bug. ***
Oops. Yes, the patch is basically correct. But flip the two lines around so that it unlocks before cancelling. (Cancellation might trigger callbacks which might try to make other SoupSession calls). Please commit it with that change. Thanks.
Slightly modified committed to trunk. Committed revision 1254. I do not know whether you branched already or not, thus only to trunk.
*** Bug 579140 has been marked as a duplicate of this bug. ***