u-d-m downloads stall if the network configuration changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-download-manager |
Fix Released
|
Critical
|
Manuel de la Peña | ||
ubuntu-download-manager (Ubuntu) |
Fix Released
|
High
|
Manuel de la Peña |
Bug Description
If the network connection drops out underneath ubuntu-
Relevant bits of syslog, with timestamps:
Sep 30 22:44:09 ubuntu-phablet ubuntu-
[...]
Sep 30 22:44:15 ubuntu-phablet wpa_supplicant[
[...]
Sep 30 22:44:15 ubuntu-phablet kernel: [22186.615410] wlan: disconnected
Sep 30 22:44:15 ubuntu-phablet kernel: [22186.615593] wlan: disconnected
[...]
Sep 30 22:44:30 ubuntu-phablet NetworkManager[
Sep 30 22:44:30 ubuntu-phablet NetworkManager[
Sep 30 22:44:30 ubuntu-phablet NetworkManager[
[...]
Sep 30 22:44:31 ubuntu-phablet NetworkManager[
[...]
Sep 30 22:44:35 ubuntu-phablet dhclient: DHCPREQUEST of 192.168.15.52 on wlan0 to 255.255.255.255 port 67 (xid=0x52f629cf)
Sep 30 22:44:35 ubuntu-phablet dhclient: DHCPOFFER of 192.168.15.52 from 207.224.24.209
Sep 30 22:44:35 ubuntu-phablet dhclient: DHCPACK of 192.168.15.52 from 207.224.24.209
[...]
Sep 30 22:44:36 ubuntu-phablet NetworkManager[
[...]
The total network outage (measured from when u-d-m stopped getting data back, rather than from when NM/wpa_supplicant noticed the problem) was 27 seconds, but I waited at least 5 minutes after that for signs of u-d-m resuming, and it didn't do so.
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Mike McCracken (community): Approve
- Diego Sarmentero (community): Approve
-
Diff: 696 lines (+315/-60)11 files modifiedlibubuntudownloadmanager/download.cpp (+10/-0)
libubuntudownloadmanager/download.h (+2/-0)
libubuntudownloadmanager/download_queue.cpp (+5/-3)
libubuntudownloadmanager/libubuntudownloadmanager.pro (+11/-11)
libubuntudownloadmanager/single_download.cpp (+56/-8)
libubuntudownloadmanager/single_download.h (+4/-0)
libubuntudownloadmanager/system_network_info.cpp (+162/-35)
libubuntudownloadmanager/system_network_info.h (+43/-2)
ubuntu-download-manager-tests/fake_system_network_info.cpp (+16/-0)
ubuntu-download-manager-tests/fake_system_network_info.h (+5/-1)
ubuntu-download-manager-tests/test_download.cpp (+1/-0)
Changed in ubuntu-download-manager (Ubuntu): | |
status: | New → Incomplete |
status: | Incomplete → Triaged |
importance: | Undecided → High |
Changed in ubuntu-download-manager: | |
status: | Fix Committed → Fix Released |
u-d-m seems to also have problems if the network drops out briefly, even if this doesn't result in a network configuration change. This seems to be easily reproducible on my N4 when connected to an AP at the edge of range.