gaim unhappy when Socks5 server goes away

Bug #57430 reported by Tollef Fog Heen
4
Affects Status Importance Assigned to Milestone
gaim (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: gaim

Steps to reproduce:

ssh -v -D 1234 somehost (this makes localhost:1234 an SOCKS5 proxy)
start gaim, add an IRC account and ask it to use localhost:1234 as a SOCKS5 proxy

ssh quits with:

debug1: Connection to port 1234 forwarding to socks port 0 requested.
debug1: channel 3: new [dynamic-tcpip]
buffer_get_ret: trying to get more bytes 2 than in buffer 1
buffer_get: buffer error

gaim stops updating its UI and spins using 100% CPU.

Revision history for this message
Simon Law (sfllaw) wrote :

It appears that GAIM doesn't recognize that its SOCKS server has disappeared.
The following strace shows that it ignores read() telling it that there's no more
data and that it should close the socket.

[pid 13038] gettimeofday({1156329645, 910207}, NULL) = 0
[pid 13038] poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=17, events=POLLIN, revents=POLLIN}], 7, 0) = 1
[pid 13038] read(17, "", 512) = 0
[pid 13038] ioctl(3, FIONREAD, [0]) = 0
[pid 13038] gettimeofday({1156329645, 910545}, NULL) = 0
[pid 13038] poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=17, events=POLLIN, revents=POLLIN}], 7, 0) = 1
[pid 13038] read(17, "", 512) = 0
[pid 13038] ioctl(3, FIONREAD, [0]) = 0

Changed in gaim:
importance: Untriaged → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Adam Niedling (krychek) wrote :

Is this still an issue with Pidgin?

Changed in gaim:
status: Confirmed → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!.

Changed in gaim:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers