update-manager stopped in the middle, probably because of suspend or sleep (not network down)

Bug #1451264 reported by Páll Haraldsson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Just the facts (I wrote an even longer bug-report and launchpad ate it..):

ubuntu-bug asked if this was related to version update. I said no - should I have said yes? Note, I've used update-manager a few times without this and never happened in 12.04 and older I've used over the years.

Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
(Reading database ... 306131 files and directories currently installed.)
Preparing to unpack .../libudev1_219-7ubuntu4_i386.deb ...
De-configuring libudev1:amd64 (219-7ubuntu3) ...
Unpacking libudev1:i386 (219-7ubuntu4) over (219-7ubuntu3) ...
Preparing to unpack .../libudev1_219-7ubuntu4_amd64.deb ...
Unpacking libudev1:amd64 (219-7ubuntu4) over (219-7ubuntu3) ...
Setting up libudev1:amd64 (219-7ubuntu4) ...
Setting up libudev1:i386 (219-7ubuntu4) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
(Reading database ... 306131 files and directories currently installed.)
Preparing to unpack .../udev_219-7ubuntu4_amd64.deb ...
Unpacking udev (219-7ubuntu4) over (219-7ubuntu3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (219-7ubuntu3) ...
Setting up udev (219-7ubuntu4) ...
^[[Csdlsdlfj

[As show could type in, even days later. Didn't press CTRL-C aor anything..]

[Off topic?: Since maybe this time (I think I was also updating network-manager), WiFi-network shows "no network", still there is network.. not sure if/how it has to do with udev.]

$ ps -ef |grep update-manager
palli 9989 1314 0 maí01 ? 00:02:55 /usr/bin/python3 /usr/bin/update-manager

$ ps -ef |grep 9989
palli 9989 1314 0 maí01 ? 00:02:55 /usr/bin/python3 /usr/bin/update-manager
palli 14105 9989 0 maí01 ? 00:00:00 [debconf-communi] <defunct>

$ ls -lrt /var/crash/
total 304
-rw-r----- 1 root whoopsie 117092 maí 1 14:20 _usr_bin_apt-extracttemplates.0.crash
-rw-rw-r-- 1 palli whoopsie 0 maí 1 14:33 _usr_lib_chromium-browser_chromium-browser.1000.upload
-rw------- 1 whoopsie whoopsie 0 maí 1 14:37 _usr_lib_chromium-browser_chromium-browser.1000.uploaded
-rw-r----- 1 palli whoopsie 188148 maí 3 20:16 _usr_lib_chromium-browser_chromium-browser.1000.crash

$ sudo strace -p 9989
Process 9989 attached
restart_syscall(<... resuming interrupted call ...>
[Pressed enter twice when there was a small (1 sec?) delay and added this text there.]

) = 1
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\241 \366\304\7\0`\3`\1\0\0m\1\0\0\311\0\1\0\7\0`\3\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(6, 0x7ffda2fa13c0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"\31\0\v\0\200\0\0\0\0\0\30\0! \0\0\200\0\0\0`\1\0\0m\1\0\0\311\0\1\0"..., 44}, {NULL, 0}, {"", 0}], 3) = 44
recvmsg(6, 0x7ffda2fa1270, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7ffda2fa13a0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=77, events=POLLIN}, {fd=82, events=POLLIN}], 7, 4294967295
[Pressed enter twice when there was a small (1 sec?) delay and added this text there.]

) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\241 \367\304\7\0`\3`\1\0\0m\1\0\0\312\0\1\0\7\0`\3\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(6, 0x7ffda2fa13c0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"\31\0\v\0\200\0\0\0\0\0\30\0! \0\0\200\0\0\0`\1\0\0m\1\0\0\312\0\1\0"..., 44}, {NULL, 0}, {"", 0}], 3) = 44
recvmsg(6, 0x7ffda2fa1270, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7ffda2fa13a0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=77, events=POLLIN}, {fd=82, events=POLLIN}], 7, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"U\2\370\304A\17\\\24\3\24\4\0\20\0\0\0\0\0\0\24\24\24\24\24\0\0\3\37%\2\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(6, 0x7ffda2fa13c0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7ffda2fa13a0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=77, events=POLLIN}, {fd=82, events=POLLIN}], 7, 4294967295^CProcess 9989 detached
 <detached ...>

[I guess because defunct:]

$ sudo strace -p 14105
strace: attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: update-manager 1:15.04.7
ProcVersionSignature: Ubuntu 3.19.0-13.13-generic 3.19.3
Uname: Linux 3.19.0-13-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.17.2-0ubuntu1
Aptdaemon:

Architecture: amd64
CurrentDesktop: Unity
Date: Sun May 3 21:25:40 2015
ExecutablePath: /usr/bin/update-manager
GsettingsChanges:
 b'com.ubuntu.update-manager' b'show-details' b'true'
 b'com.ubuntu.update-manager' b'window-height' b'876'
 b'com.ubuntu.update-manager' b'first-run' b'false'
 b'com.ubuntu.update-manager' b'window-width' b'1375'
 b'com.ubuntu.update-manager' b'launch-time' b'1430490736'
InstallationDate: Installed on 2014-08-21 (255 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
InterpreterPath: /usr/bin/python3.4
PackageArchitecture: all
SourcePackage: update-manager
UpgradeStatus: Upgraded to vivid on 2015-04-06 (27 days ago)

Revision history for this message
Páll Haraldsson (pall-haraldsson) wrote :
Revision history for this message
Páll Haraldsson (pall-haraldsson) wrote :

Trying to upload _usr_bin_apt-extracttemplates.0.crash from /var/crash "Only upload I can think of - helpful(?)"

I get this (and probably why first bug-report was eaten.. maybe a worse bug (in launchpad) than this one..):

This webpage is not available

Hide details
The webpage at https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1451264/+addcomment might be temporarily down or it may have moved permanently to a new web address.
Error code: ERR_ACCESS_DENIED

Also this one, unrelated I thik was suggested:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1045252

Revision history for this message
Páll Haraldsson (pall-haraldsson) wrote :

Note, I ran update-manager on May 1, since then have had oom as dmesg show, may have had then also, that could have triggered this. Just do not remember or noticed then what was happening. oom are frequent.. Still not sure it happened then. syslog would show, just seems I probably can't upload.. dmesg too old to see? and doesn't show dates.. Why is syslog not uploaded.. by default?

Revision history for this message
Páll Haraldsson (pall-haraldsson) wrote :
Revision history for this message
Páll Haraldsson (pall-haraldsson) wrote :
Revision history for this message
Páll Haraldsson (pall-haraldsson) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.