Opened 12 years ago
Closed 12 years ago
#3718 closed Bug (invalid)
Transmission DHT dht_periodic failed
Reported by: | dk_giuse | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | None Set |
Component: | Transmission | Version: | 2.11 |
Severity: | Normal | Keywords: | |
Cc: |
Description
I have compilated OpenWrt? trunk (r23867) including packages transmission-deamon & transmission-web.
it use use 100% of Cpu, and in system log, i read to many error..
.... Nov 4 22:41:48 Fon2G user.err transmission-daemon[14170]: DHT dht_periodic failed (errno = 0) (tr-dht.c:708) Nov 4 22:41:48 Fon2G user.err transmission-daemon[14170]: DHT dht_periodic failed (errno = 0) (tr-dht.c:708) Nov 4 22:41:48 Fon2G user.err transmission-daemon[14170]: DHT dht_periodic failed (errno = 0) (tr-dht.c:708) Nov 4 22:41:48 Fon2G user.err transmission-daemon[14170]: DHT dht_periodic failed (errno = 0) (tr-dht.c:708) ... ...
Version installed:
root@Fon2G:~# opkg list_installed | grep transmission transmission-daemon - 2.11-1 transmission-web - 2.11-1 root@Fon2G:~#
Architecture is Atheros AR2315 by fonera 2.0g.
Change History (4)
comment:1 Changed 12 years ago by jch
comment:2 Changed 12 years ago by charles
There are only three return points in dht_periodic(). One of them is hardcoded to "return 1;" so we can discard that one from the list of suspects. The other two are from checking the return value of a call to recvfrom():
rc = recvfrom(dht_socket, buf, 1536, 0, source, &sourcelen); if(rc < 0 && errno != EAGAIN) { return rc; }
and
rc = recvfrom(dht_socket6, buf, 1536, 0, source, &sourcelen); if(rc < 0 && errno != EAGAIN) { return rc; }
And the manpage for recvfrom() says errno will be set if recvfrom() fails.
dk_giuse, do you have any idea what version / type of libc your system is running? For example, is it GNU libc, or uClibc, and what version number?
comment:3 Changed 12 years ago by jordan
dk_giuse: We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!
comment:4 Changed 12 years ago by jch
- Resolution set to invalid
- Status changed from new to closed
I'm a little puzzled by that. Unless I'm mistaken, there's no way dht_periodic can return -1 with errno unset.