Bug 16754

Summary: telepathy-gabble deadlooping
Product: Telepathy Reporter: Mikhail Zabaluev <mikhail.zabaluev>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED NOTOURBUG QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: major    
Priority: medium CC: a9016009
Version: unspecified   
Hardware: Other   
OS: All   
URL: https://bugs.maemo.org/show_bug.cgi?id=3455
Whiteboard:
i915 platform: i915 features:

Description Mikhail Zabaluev 2008-07-17 01:02:15 UTC
Copied from Maemo bug https://bugs.maemo.org/show_bug.cgi?id=3455.
telepathy-gabble package version is apparently 0.6.2-0osso2

STEPS TO REPRODUCE THE PROBLEM:
Google chat account enabled, wifi connection that seams to firewall something.
(It does this only at home when I use a neighboring wifi AP, so I suppose
firewalling may play a role here)

EXPECTED OUTCOME:
telepathy-gabble fails with dignity if something goes wrong on the connection

ACTUAL OUTCOME:
telepathy-gabble deadloop like crazy on a write. strace says an infinite loop
of :
write(4,
"\212\27\303I\317\236\346\0012\4f\220%3\232\305\260\334\205\36u\353\222\265\314\361\365d\323\375\
352bO"..., 3318) = -1 EAGAIN (Resource temporarily unavailable)

I hope there is no password in there :-)

REPRODUCIBILITY:
Just did it twice in a row as soon as I activate the gtalk account from here.
Have to kill telepathy even after disabling the account.

EXTRA SOFTWARE INSTALLED:

OTHER COMMENTS:
Ask if you need a PCAP capture.
Comment 1 Simon McVittie 2009-02-09 07:23:41 UTC
This might be another instance of Loudmouth's intermittent SSL blocking/non-blocking issues.
Comment 2 Andre Klapper 2009-02-12 06:15:52 UTC
Simon, any URL/references? Or is there another ticket opened which is worth to track at http://loudmouth.lighthouseapp.com/dashboard ?
Comment 3 Simon McVittie 2009-02-12 08:04:07 UTC
Bug #14341 and Bug #15397 might be related; we've found and fixed (or possibly worked around?) others in the past. Senko is the expert on these, I think...
Comment 4 Dafydd Harries 2009-09-24 10:04:46 UTC
This looks like a Loudmouth problem. Will has written patches that fix this problem for Loudmouth with SSL, but not pushed them upstream yet. This problem will go away in 0.9 when we use Wocky.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.