[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#52041: marked as done (apt: Apt fails on SMP machines)



Your message dated Thu, 9 Dec 1999 15:38:30 -0700 (MST)
with message-id <[🔎] Pine.LNX.3.96.991209152423.13203A-100000@wakko.deltatee.com>
and subject line Bug#52041: apt: Apt fails on SMP machines
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Dec 1999 14:03:46 +0000
Received: (qmail 23561 invoked from network); 6 Dec 1999 14:03:45 -0000
Received: from dawn.elte.hu (157.181.3.106)
  by master.debian.org with SMTP; 6 Dec 1999 14:03:45 -0000
Received: from endre by dawn.elte.hu with local (Exim 3.03 #1 (Debian))
	id 11uyjf-0000hY-00; Mon, 06 Dec 1999 15:03:27 +0100
From: Hirling Endre <endre@dawn.elte.hu>
Subject: apt: Apt fails on SMP machines
To: submit@bugs.debian.org
X-Mailer: bug 3.2.7
Message-Id: <[🔎] E11uyjf-0000hY-00@dawn.elte.hu>
Date: Mon, 06 Dec 1999 15:03:27 +0100

Package: apt
Version: 0.3.10slink11
Severity: normal

Apt >=0.3.13 fails with "Bad file descriptor" on SMP machines. It
seems like a race condition somewhere because the problem
disappears if I try to trace it with strace or use it on a loaded
system. 0.3.10slink11 works OK. I don't have versions between the
two to test with.

I've tried this on a dual pIII-450 and a dual pII-333 system with
the same results.

-- System Information
Debian Release: potato
Kernel Version: Linux dawn 2.2.14pre8 #2 SMP Thu Nov 25 11:54:30 CET 1999 i686 unknown

Versions of the packages apt depends on:
ii  libc6           2.1.2-10       GNU C Library: Shared libraries and timezone
ii  libstdc++2.9    2.91.61-1      The GNU stdc++ library (egcs version)
---------------------------------------
Received: (at 52041-done) by bugs.debian.org; 9 Dec 1999 22:38:53 +0000
Received: (qmail 3807 invoked from network); 9 Dec 1999 22:38:51 -0000
Received: from crash.ab.videon.ca (root@206.75.216.220)
  by master.debian.org with SMTP; 9 Dec 1999 22:38:51 -0000
Received: from wakko.deltatee.com (mail@wakko.powersurfr.com [24.108.53.97])
	by crash.ab.videon.ca (8.9.2/8.9.2) with ESMTP id PAA07978;
	Thu, 9 Dec 1999 15:38:30 -0700 (MST)
Received: from localhost (wakko.deltatee.com) [127.0.0.1] (jgg)
	by wakko.deltatee.com with smtp (Exim 2.11 #1)
	id 11wCCk-0003SS-00 (Debian); Thu, 9 Dec 1999 15:38:30 -0700
Date: Thu, 9 Dec 1999 15:38:30 -0700 (MST)
From: Jason Gunthorpe <jgg@ualberta.ca>
X-Sender: jgg@wakko.deltatee.com
Reply-To: Jason Gunthorpe <jgg@ualberta.ca>
To: Hirling Endre <endre@dawn.elte.hu>
cc: 52041-done@bugs.debian.org, APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#52041: apt: Apt fails on SMP machines
In-Reply-To: <[🔎] Pine.LNX.3.96.991209092850.583k-100000@dawn.elte.hu>
Message-ID: <[🔎] Pine.LNX.3.96.991209152423.13203A-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Thu, 9 Dec 1999, Hirling Endre wrote:

> > http://pandora.debian.org/~jgg/apt_0.3.15.1_i386.deb
> 
> I've tested it and now get error messages "Resource temporarily
> unavailable" at the same places. The debugging option didn't help
> either, it causes some debugging info to be printed out when all goes
> OK.

This is a kernel bug then. It means the following happened:

 1) select on the FD returned data was available to be read
 2) read on the FD returned EAGAIN (meaning data is not available)

The two situations are exclusive. I suggest you upgrade your kernel. Why
this worked with the slink version probably has to do with timing and/or
glibc.

Jason


Reply to: