Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 233409

Summary: net-libs/loudmouth-1.4.0 TCP_KEEPALIVE broken in some cases
Product: Gentoo Linux Reporter: Hans de Graaff <graaff>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to avoid compiling in the keepalive support

Description Hans de Graaff gentoo-dev Security 2008-07-30 19:04:31 UTC
For some time now I have not been able to reliably connect to my jabber server using either loudmouth 1.3 or 1.4 (as used in newer gossip and empathy). The latest release notes for gossip provided a clue: http://news.gmane.org/gmane.comp.gnome.gossip.devel/cutoff=2464

It mentions that the TCP_KEEPALIVE feature may cause problems. I've added a version of loudmouth to my overlay that does not include the keepalive stuff, and have had a properly functioning connection since then.
Comment 1 Hans de Graaff gentoo-dev Security 2008-07-30 19:05:58 UTC
Created attachment 161757 [details, diff]
Patch to avoid compiling in the keepalive support

Here's a fairly horrible way to keep the keepalive stuff from being compiled in...
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-30 21:34:31 UTC
ugly but it seems necessary, I've had some problems like this too it seems so I'll double check and commit soon.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-31 21:27:16 UTC
actually, could you test 1.4.1 that I just commited to the tree.

it seems to be a brown paper bag release to make this problem non fatal anymore unless you explicitely set ONLY_USE_KEEPALIVE or something along while compiling :)
Comment 4 Hans de Graaff gentoo-dev Security 2008-08-02 08:56:48 UTC
Tested it lightly since yesterday and 1.4.1 seems to work fine. Seems like the better option to take.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-02 09:02:48 UTC
ok, closing then, thanks for testing. I'll bump gossip asap, I was actually waiting to have time to investigate what that changelog message meant :p

I'll also probably fast track 1.4.1 stabilization since the change in the code is so ridiculous but the annoyance big.