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
Bugs, which is subscribed to 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1797324/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to