[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2008-04-19 Thread Gregory Margo
Let me begin by saying that a few weeks ago I upgraded from gutsy to hardy beta, using do-release-upgrade. I had the ppa2 apt version installed and experienced no problems. Yesterday I did a little testing by creating a Vmware Server virtual machine, and installed gutsy from the server .iso

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2008-04-19 Thread Martin Pitt
Copied to gutsy-updates, thanks! ** Changed in: apt (Ubuntu Gutsy) Status: Fix Committed = Fix Released -- 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

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2008-04-18 Thread Brian Murray
In an Ubuntu 7.10 server install I tested installing and removing y2vcard as indicated in the test case without it hanging at all. I then installed apt from gutsy-proposed and performed a dist-upgrade to Hardy via 'apt-get dist-upgrade' after editing my sources.list file. This upgrade performed

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2008-04-18 Thread Brian Murray
** Tags added: verification-done ** Tags removed: verification-needed -- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2008-04-16 Thread Martin Pitt
This has been in gutsy-proposed for about half a year now. Can someone please test this? If it's tricky to recreate the original problem: it is actually more important that this version of apt still works as expected (installing packages, etc.), i. e. test for regressions instead of reproducing

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2008-04-16 Thread Martin Emrich
I am running hardy now, but for quite some time I had the ppa packages from ~mvo running without any problems. -- 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

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2008-02-19 Thread Michael Vogt
** 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': martin8551 0.1 4.7 328804 98540 ?Sl 10:43 0:04 /usr/bin/python2.5

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2008-02-19 Thread Brian Murray
I've been unable to recreate this bug using either a Gutsy amd64 chroot or a Gutsy i386 vmware image. -- 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

Re: [Bug 134858] Re: update-manager freezes due to defunct dpkg process

2008-02-19 Thread thor111
The problem went away after I upgraded to the latest version. I just thought you'd like to know that it hung for me. Sorry if I've wasted your time. -Mark Brian Murray [EMAIL PROTECTED] wrote: I've been unable to recreate this bug using either a Gutsy amd64 chroot or a Gutsy i386

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2008-02-16 Thread Michael Vogt
** 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': martin8551 0.1 4.7 328804 98540 ?Sl 10:43 0:04 /usr/bin/python2.5

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-12-13 Thread Michael Vogt
apt (0.7.9ubuntu1) hardy; urgency=low * merged from http://bzr.debian.org/apt/apt/debian-sid/, remaining changes: - mirror download method (pending merge with debian) - no pdiff download by default (unsuitable for ubuntu) - no recommends-by-default yet - add

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-22 Thread Martin Pitt
Accepted into gutsy-proposed, please test. ** Tags added: verification-needed ** Changed in: apt (Ubuntu Gutsy) Status: New = Fix Committed ** Changed in: apt (Ubuntu Gutsy) Target: None = gutsy-updates ** Changed in: apt (Ubuntu Hardy) Status: Confirmed = In Progress

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-20 Thread Gregory Margo
The ppa2 version looks good to me too. I did the first official upgrade (tzdata) and did 100 install/remove repetitions of the openoffice.org-calc package that had given me trouble before. It was in an xterm, and I really messed with the screen, resizing, iconifying, obscuring, switching

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-19 Thread LGB [Gábor Lénárt]
Well, sorry, I meant in my last comment that this bug is related somehow with terminal hangling? Eg both of resizing the terminal or other action which affect its visibility, however I don't now my comment has any sense or not just guessing here. -- update-manager freezes due to defunct dpkg

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-19 Thread Troy C
@Michael: iteration 592 and still going strong :) It looks like your ppa2 version had the magic that cured the problem (kcontrol, at least). However, monitoring the dpkg process status with a `watch -n .3 ps aux | grep dpkg | grep -v grep`, briefly shows a defunct dpkg process at the end of the

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-19 Thread hackel
I also have not been able to reproduce the issue with ppa2. :) -- 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

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-19 Thread LGB [Gábor Lénárt]
@hackel: Hmm, you may be right: I've got this issue both on Linux text console and in gnome-terminal, but I'm using workspace switching (with X/gnome) and console switching (ALT-F1...) quite often while working. -- update-manager freezes due to defunct dpkg process

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-19 Thread Michael Vogt
Thanks Troy C for testing the ppa1 version. I just uploaded a pp2 version in my ppa that may fix the issue. I'm can't say for sure because I can not reproduce it :) Your kcontrol test script works for me. But I would appreciate if you could test and give feedback. Thanks, Michael --

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-18 Thread Michael Vogt
** Changed in: apt (Ubuntu) Sourcepackagename: update-manager = apt -- 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

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-18 Thread Michael Vogt
The trace: http://launchpadlibrarian.net/10056217/dpkgstrace indicates that its a race condition with the SIGCHLD. I uploaded a new version with the fix from Martin Emrich to my ppa at: deb http://ppa.launchpad.net/~mvo/ubuntu gutsy main restricted universe multiverse I would appreciate

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-18 Thread Martin Emrich
Hi! The problem did not appear here for some time now, but nevertheless I'll test the packages, too. FYI: I had to remove the tilde ~ from the repository URL to make it work: deb http://ppa.launchpad.net/mvo/ubuntu gutsy main restricted universe multiverse Ciao Martin -- update-manager

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-18 Thread hackel
When I was trying to reproduce this (running aptitude in gnome- terminal), it seemed to be triggered only when I switched into full- screen and back. I couldn't reproduce it if I just ran an upgrade/install with aptitude in a single tab without changing to full screen at all. -- update-manager

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-18 Thread Troy C
Using {apt,apt-utils}0.7.6ubuntu14.1~ppa1, the race condition is still present, when doing the kcontrol reinstall for loop mentioned in bug #148806 -- update-manager freezes due to defunct dpkg process https://bugs.launchpad.net/bugs/134858 You received this bug notification because you are a

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-17 Thread Michael Vogt
@LGB: it is the same problem, yes. apt 0.7.6ubuntu14 fixes the resource leak, that might or might not fix the hang as well. I was never able to reproduce the hang myself so I'm a bit in the dark here. If you have any hints what I can do, I would be grateful. It seems to happen only for some people

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-17 Thread LGB [Gábor Lénárt]
Well, I'll check this, but it's problematic to test if this bug is fixed or not, because the freeze occures only sometimes, so I can't be sure that it's fixed or is not triggered yet. Anyway, nothing special here: I'm using bash as shell, terminal is gnome-terminal, but I've got this bug on text

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-17 Thread Gregory Margo
Unfortunately I've experienced the hang using apt 0.7.6ubuntu14. When the update with apt 0.7.6ubuntu14 came out, there were also some openoffice.org files that wanted to update. I intentionally installed apt and apt-utils 0.7.6ubuntu14 first. Then did apt-get update to pick up the

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-16 Thread LGB [Gábor Lénárt]
I'm using gnome-terminal. But please note, that I've noticed this on plain text console as well (without even starting X/gdm). Because of this fact, I don't think that it's terminal emulation related question. Another question: I can't stop apt-get temporary with CTRL-Z (even before the freeze) to

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-16 Thread LGB [Gábor Lénárt]
Maybe I'm completly wrong, but can it be related to bug #148806? I tried to 'strace -p pid-of-apt' and it blocked on a read() syscall, however I don't know on which file ;-( Later I will try to strace all of my apt- get activities, or just take a look /proc/pid/fd/ to be able to assign a file to

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-15 Thread Gregory Margo
I was using xterm when I got the above results. However, just a few minutes ago, I ran another upgrade (apt-get dist- upgrade) on the linux console, without any X running. And I experienced the problem once again. It occured on the final package being installed in this batch

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-15 Thread Michael Vogt
Thanks for the additional comments. @LGB, Gregory Margo: what terminal do you use? I wonder if this is somehow releated to the environment, I do not see it here with gnome- terminal. -- update-manager freezes due to defunct dpkg process https://bugs.launchpad.net/bugs/134858 You received this

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-14 Thread Gregory Margo
I just did a network upgrade from Feisty to GutsyRC, and repeatedly ran into the same problem - dpkg dies and goes defunct and apt-get hangs forever. It kept happening on kmail and openoffice.org packages. Have to open a terminal and kill apt-get manually. This happened wtih the PC(x86)

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-13 Thread LGB [Gábor Lénárt]
I still have got this problem using apt-get (sometimes, but not always). The sympthoms are: apt-get stops after an Unpacking replacement XYZ ... message, and the terminal does not react, I mean, I can't use CTRL+C, CTRL-Z or eg pressing any character/enter will not echo anything in the terminal

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-12 Thread Martin Emrich
I had no problems for some time now, so I too assume that the bug is gone. Ciao Martin -- 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.

Re: [Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-12 Thread Chris McCauley
Seems to be working fine for me Michael. I did however install a copy of Tribe 4 to replace the very old installation which I had been using. Chris Michael Vogt wrote: Thanks for the additional comments! I can not reproduce this here anymore. Do you have a way to make this reproducible? I

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-12 Thread Michael Vogt
Thanks for the additional comments! I can not reproduce this here anymore. Do you have a way to make this reproducible? I will apply the pselelect() patch after hardy opens and if that fixes the issue get a fix for this into gutsy-updates. Thanks, Michael ** Changed in: update-manager

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-10-04 Thread LGB [Gábor Lénárt]
I've also got this bug, it's ubuntu gutsy on AMD64 (but I've seen this on an i386 box too at my workplace, with the same version numbers), version of apt package is 0.7.6ubuntu12, version of dpkg is 1.14.5ubuntu16. From time to time using apt-get causes to freeze, I can see process dpkg in defunct

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-24 Thread Rob Taylor
I also see zombie dpkg processes, causing apt-get to hang on my x86 box, generally when doing an upgrade, and seems to be always after the last of the unpack stage. I see them when using apt-get directly, so this is probably unrelated to update-manager. Thanks, Rob -- update-manager freezes due

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-22 Thread Martin Emrich
Since apt was updated and overwrote my patched version, dpkg froze again today. I reinstalled my patched version now, but I am not yet convinced it is in fact a fix. But nevertheless, I would like to reopen the bug. Ciao Martin -- update-manager freezes due to defunct dpkg process

Re: [Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-14 Thread Chris McCauley
Hi Michael, Just got a hang and I have the latest apt. [EMAIL PROTECTED] ~ ps aux | grep defunct root 6794 3.7 0.0 0 0 ?Zs 09:34 0:12 [dpkg] defunct chris 7968 0.0 0.0 2984 760 pts/10 R+ 09:39 0:00 grep defunct [EMAIL PROTECTED]:~# apt-get

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-14 Thread Martin Emrich
Hi! Sorry for cheering too early, I tortured apt tonight, too, and I also had the hangs. Then I remembered that I had a similar problem some time ago with my dmplayer, wehere I got similar zombie children related to the select() call. Back then, I rewrote dmplayer to use pselect() instead of

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-13 Thread Michael Vogt
This should now be fixed with the apt 0.7.6ubuntu8 upload. Please reopen if you still see issues. ** Changed in: update-manager (Ubuntu) Status: In Progress = Fix Released -- update-manager freezes due to defunct dpkg process https://bugs.launchpad.net/bugs/134858 You received this bug

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-13 Thread Martin Emrich
Yes, works fine now. Thanks! Ciao Martin -- 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

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-05 Thread Michael Vogt
** Changed in: update-manager (Ubuntu) Status: Incomplete = In Progress -- 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. --

Re: [Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-04 Thread Chris McCauley
Hi, Some news on my side too. For a few weeks now this bug has happened to me _at least_ once a day. I often also get the Error in select() message. Following your suggestion last week Martin, I have started using xterm rather than gnome-terminal to do aptitude full-upgrade. Although not a

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-04 Thread Henrik Nilsen Omma
** Changed in: update-manager (Ubuntu) Assignee: (unassigned) = Michael Vogt -- 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. --

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-04 Thread Michael Vogt
Thanks a lot for this detailed information! I'm finally able to reproduce this issue here now and I can pinpoint it now! I hope to be able to produce a fix tomorrow, the biggest help is that I'm now able to reproduce it myself. Thanks Martin and Chris! -- update-manager freezes due to defunct

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-03 Thread Martin Emrich
News on my side: I tried to install grub-info (in gnome-terminal), and while apt/dpkg read read its database, I resized the window, and then I saw this Error in select(). I quickly opened another terminal and hit ps aux, dpkg still alive. Then came 272072 Dateien und Verzeichnisse sind derzeit

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-03 Thread Martin Emrich
I tried the game a few times, and I could reproduce it on all combinations: - desktop (gutsy amd64), gnome-terminal - laptop (gutsy i386), gnome-terminal - desktop (gutsy i386), xterm Could someone try it, too? 1. pick some less important package, I chose grub-doc. 2. prepare your command sudo

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-09-03 Thread Martin Emrich
Sorry, the third scenario should also be gutsy amd64. I also tried it on the laptop with xterm, and can reproduce it there, too. I found the error message here: apt-0.7.6ubuntu7/apt-pkg/deb/dpkgpm.cc:822: std::cerr Error in select() std::endl; -- update-manager freezes due to defunct

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-31 Thread Chris McCauley
I have the same issue running aptitude from the command line. It has recently (within two weeks) started to hang on every aptitude full- upgrade. See the (partial) ps listing below root 6724 0.0 0.0 4156 1772 pts/0S09:17 0:00 bash root 6770 0.5 0.9 33764 19480 pts/0

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-31 Thread Martin Emrich
Hi! I'm glad it's not another one of those bugs that only affect me :) Do you use amd64, too? It does not happen on my laptop (gutsy, i386). I'd say we can rule out update-manager and synaptic, too, as you did your update via aptitude. In what terminal do you use it? gnome-terminal? konsole?

Re: [Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-31 Thread Chris McCauley
Hi Martin, I'm using gutsy on a Dell Inspiron 8600 so it is happening not only on amd64. My laptop has been upgraded continuously from early Feisty versions so it isn't a clean installation at all. Having said that, this problem is relatively new. I use gnome-terminal and the Bash shell for

Re: [Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-31 Thread Chris McCauley
Hi, Perhaps a strange gutsy feeling? (Sorry poor joke). I'll start using xterm and see if the problem repeats. Come to think of it, I have noticed that some apparent hangs can be solved by hitting the enter key after which an error about a closed socket appears. If the problem reappears when

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-31 Thread Martin Emrich
My desktop is continously upgraded since feisty, too, while my laptop was freshly installed with gutsy tribe 2. So when I come home tonight, I'll take a look at possible differences in the configuration files. Another thing (this is really farfetched, but I'll mention it anyways): I had a (some

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-29 Thread Martin Emrich
This morning, I started update-manager, but this time, I kept the Details area closed, and the updates completed without problems. Maybe it is related to the little terminal window. Is this widget only created when I click on Details ? I'll investigate the relationship between dpkg crashes and

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-29 Thread Michael Vogt
Thanks a lot for testing my patch. I can not reproduce this here unfortunately (with open or closed terminal widget), could you please give some more details: Can you always reproduce this behaviour? If you run update-manager on a terminal, is something printed there when this bug happens? Do

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-29 Thread Martin Emrich
Hi! I tried starting update-manager from a terminal. This is what it printed: [EMAIL PROTECTED]:~$ sudo strace -f -o update-manager-trace.txt update-manager warning: could not initiate dbus current dist not found in meta-release file could not send the dbus Inhibit signal:

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-28 Thread Martin Emrich
Hi! Sorry for taking so long, had to prepare my seminar talk over the weekend... I applied your patch: I got the apt sources with apt-get source apt, applied the patch, built with fakeroot dpkg-buildpackage -us -uc, and installed the resulting packages (except -doc and -dev). Then, I clicked

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-27 Thread Michael Vogt
** Changed in: update-manager (Ubuntu) Importance: Undecided = High Status: New = Triaged Target: None = tribe-6 -- 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

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-27 Thread Michael Vogt
Thanks for your bugreport. Can you always reproduce this behaviour? If you run update-manager on a terminal, is something printed there when this bug happens? Do you have /dev/pts mounted? What version of apt are you using? I can not reproduce this behaviour here, but it looks like a serious

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-27 Thread Michael Vogt
If you can reproduce this bug, could you please try the attached patch and let me know if it fixes the issue? Thanks, Michael ** Attachment added: Patch that might fix the issue http://launchpadlibrarian.net/9010819/dpkg-log.diff ** Changed in: update-manager (Ubuntu) Status: Triaged

[Bug 134858] Re: update-manager freezes due to defunct dpkg process

2007-08-26 Thread Martin Emrich
I forgot: I'm running gutsy amd64 Ciao Martin -- 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