[telepathy-gabble] Process takes 100% CPU, polling closed sockets.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
telepathy-gabble |
Unknown
|
Medium
|
|||
telepathy-gabble (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
arcadia:~# lsof -np 9041 | grep -e 9u -e 10u
lsof: WARNING: can't stat() fuse.gvfs-
Output information may be incomplete.
telepathy 9041 cheako 9u IPv4 6090575 0t0 TCP 192.168.
telepathy 9041 cheako 10u IPv4 6090576 0t0 TCP 192.168.
arcadia:~# strace -p 9041 2>&1 | head
Process 9041 attached - interrupt to quit
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}], 5, -1) = 2 ([{fd=9, revents=POLLIN}, {fd=10, revents=POLLIN}])
recv(9, "", 4, 0) = 0
recv(10, "", 4, 0) = 0
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}], 5, -1) = 2 ([{fd=9, revents=POLLIN}, {fd=10, revents=POLLIN}])
recv(9, "", 4, 0) = 0
recv(10, "", 4, 0) = 0
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}], 5, -1) = 2 ([{fd=9, revents=POLLIN}, {fd=10, revents=POLLIN}])
recv(9, "", 4, 0) = 0
recv(10, "", 4, 0) = 0
Firstly it should give up and drop back to select style operation. Secondly, and perhaps more apparent, it should remove the CLOSE_WAIT sockets and reconnect.
It's worth noting that 192.168.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: telepathy-gabble 0.13.5-0ubuntu2
ProcVersionSign
Uname: Linux 3.0-2-generic-pae i686
ApportVersion: 1.23-0ubuntu2
Architecture: i386
Date: Wed Oct 5 13:34:14 2011
ProcEnviron:
LANGUAGE=en
PATH=(custom, no user)
LANG=C
SHELL=/bin/bash
SourcePackage: telepathy-gabble
UpgradeStatus: Upgraded to oneiric on 2011-06-23 (104 days ago)
Changed in telepathy-gabble: | |
importance: | Unknown → Medium |
I have no idea what's going on, the tube works perfectly even if gabble is taking 100% CPU. After closing the tube, gabble still takes 100% CPU.
See attached logs.