** Description changed: Binary package hint: update-manager During automatic updates, the installation procedure often freezes due to a defunct dpkg process. Here is a snippet of 'ps auxef': martin 8551 0.1 4.7 328804 98540 ? Sl 10:43 0:04 /usr/bin/python2.5 /usr/bin/update-manager GPG_AGENT_INFO=/tmp/gpg-LPvZhX/S.gpg-agent:5592:1 SHELL=/ martin 11337 0.0 0.2 120336 5976 ? S 11:09 0:00 \_ gksu --desktop /usr/share/applications/update-manager.desktop -- /usr/sbin/synaptic --hide-main- root 11338 0.1 2.9 217392 60780 ? Ss 11:09 0:02 \_ /usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 67108867 --progre root 11340 0.0 0.0 17156 792 ? S 11:09 0:00 \_ gnome-pty-helper root 11341 0.4 1.0 200292 21732 pts/5 Ss+ 11:09 0:06 \_ /usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 67108867 --pr root 11765 0.2 0.0 0 0 ? Zs 11:10 0:02 \_ [dpkg] <defunct> The terminal widget that appears after clicking on "Details" is still responsive, but I cannot type inside it. ~$ sudo strace -p 11341 Process 11341 attached - interrupt to quit read(36, (just hangs there) $ sudo gdb /usr/sbin/synaptic 11341 (gdb) where #0 0x00002b5620904ec0 in __read_nocancel () from /lib/libpthread.so.0 #1 0x00002b561bad626c in pkgDPkgPM::DoTerminalPty () from /usr/lib/libapt-pkg-libc6.6-6.so.4.5 #2 0x00002b561badb043 in pkgDPkgPM::Go () from /usr/lib/libapt-pkg-libc6.6-6.so.4.5 #3 0x000000000042d323 in ?? () #4 0x000000000046ac0f in ?? () #5 0x000000000043dfd8 in ?? () #6 0x0000000000415677 in ?? () #7 0x00002b562104ab44 in __libc_start_main () from /lib/libc.so.6 #8 0x0000000000413569 in ?? () #9 0x00007fff8f282e28 in ?? () #10 0x0000000000000000 in ?? () After "sudo killall -TERM synaptic" update-manager behaves just as if the installation process has finished (but I have to "apt-get -f install" manually to clean up). This could be related to #103753, but here it does not freeze the whole computer. - Ciao + --------- + For the sru verfication, please run this (its a race condition in the code so it may + not possible to trigger easily depending the computer type). - Martin + TEST CASE: + 0. install gutsy + 1. run while true; do apt-get install -y 2vcard; apt-get install -y 2vcard-; done + 2. wait for it to hang + 3. install apt from dapper-proposed + 4. run the same test again, this time it should not stop
-- update-manager freezes due to defunct dpkg process https://bugs.launchpad.net/bugs/134858 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs