[Bug 1797324] Re: Software Updater show empty panels, stuck in ProblemResolver.resolve of apt_pkg.cpython-36m-x86_64-linux-gnu.so
Christian Ehrhardt
1797324 at bugs.launchpad.net
Thu Oct 11 09:49:59 UTC 2018
In straces everything seems to spin on:
python3 3736 paelzer 3u unix 0xffff8fe4a2ba5000 0t0 2092674 type=STREAM
But that might just be GTK refreshs or such.
Yep that is only
u_str ESTAB 0 0 @/tmp/.X11-unix/X0 2091383 * 2092674
I'd need to see how to debug the actual resolve call.
PkgProblemResolverResolve of python-apt-1.7.0~rc1/python/depcache.cc is the implementation of this.
So fra trying to py-* in gdb's python support didn't grant me a lot useful things :-/
While still hanging in that resolve call threads look like this:
Id Target Id Frame
* 1 Thread 0x7feada74a740 (LWP 3736) "python3" 0x00007feada28dbf9 in __GI___poll (fds=0xf2e670, nfds=5, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
2 Thread 0x7feac9396700 (LWP 3737) "dconf worker" 0x00007feada28dbf9 in __GI___poll (fds=0x1105250, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
3 Thread 0x7feac8b95700 (LWP 3738) "gmain" 0x00007feada28dbf9 in __GI___poll (fds=0x7feac4006880, nfds=2, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
4 Thread 0x7feac3fff700 (LWP 3739) "gdbus" 0x00007feada28dbf9 in __GI___poll (fds=0x7feac4021b30, nfds=3, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
Thread 3+4 are of GTK and seem not interesting.
Thread 1 is pythin, but it seems to spin in Gtk.main()
(gdb) py-bt-full
#11 Frame 0xb6bc78, for file /usr/bin/update-manager, line 118, in <module> ()
Gtk.main()
(gdb) py-list
113 settings.set_int64("launch-time", int(time.time()))
114 init_proxy(settings)
115
116 app = UpdateManager(data_dir, options)
117 app.start_update()
>118 Gtk.main()
That is not where the resolver is stuck.
Which leaves Thread 2
2 Thread 0x7feac9396700 (LWP 3737) "dconf worker" 0x00007feada28dbf9 in __GI___poll (fds=0x1105250, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
But I'm not sure if this is the right thread, it doesn't seem to by
python more like Gnome-Settings related.
I'm not an cpython debug expert at all, but would want to know what to
look further before the situation resolves and I can't check it anymore.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1797324
Title:
Software Updater show empty panels, stuck in ProblemResolver.resolve
of apt_pkg.cpython-36m-x86_64-linux-gnu.so
Status in python-apt package in Ubuntu:
New
Status in update-manager package in Ubuntu:
New
Bug description:
I just happened to see that Software Updater popped up with an actually empty window:
1. nothing in "install or remove"
2. obviously no details for changes/descriptions
But at the same time it says "26.3 MB will be downloaded"
I'll attach a screenshot of that to show what I mean.
At the same time there are upgradable packages:
$ apt list --upgradable
Listing... Done
apturl/bionic-updates 0.5.2ubuntu14.2 amd64 [upgradable from: 0.5.2ubuntu14]
apturl-common/bionic-updates 0.5.2ubuntu14.2 amd64 [upgradable from: 0.5.2ubuntu14]
flashplugin-installer/bionic-updates,bionic-security 31.0.0.122ubuntu0.18.04.1 amd64 [upgradable from: 31.0.0.108ubuntu0.18.04.1]
gir1.2-javascriptcoregtk-4.0/bionic-updates,bionic-security 2.22.2-0ubuntu0.18.04.2 amd64 [upgradable from: 2.22.2-0ubuntu0.18.04.1]
[...]
And that matches the 26.3MB
$ sudo apt upgrade
[...]
22 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 26,3 MB of archives.
I can restart it to get the same symptom, done in console one indicator of a problem is:
$ /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
Also https://changelogs.ubuntu.com/meta-release-lts is reachable for
me.
But even if it would be not reachable, why then "26.3MB will be
downloaded" - it seems to know some things?
I'd either expect a user visible error (UI) or listing the packages apt knows about to upgrade.
But not "nothing"
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: update-manager 1:18.04.11.5
ProcVersionSignature: Ubuntu 4.15.0-36.39-generic 4.15.18
Uname: Linux 4.15.0-36-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.4
Aptdaemon:
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 11 09:36:19 2018
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'625'
b'com.ubuntu.update-manager' b'first-run' b'false'
b'com.ubuntu.update-manager' b'window-width' b'645'
b'com.ubuntu.update-manager' b'launch-time' b'int64 1539243337'
InstallationDate: Installed on 2016-02-19 (964 days ago)
InstallationMedia: Kubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
InterpreterPath: /usr/bin/python3.6
PackageArchitecture: all
Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
SourcePackage: update-manager
UpgradeStatus: Upgraded to bionic on 2018-05-03 (160 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1797324/+subscriptions
More information about the foundations-bugs
mailing list