Re: Fatal problems with dpkg<->dpkg-deb communication in 1.8.1
On Sat, 6 Jan 2001, Colin Watson wrote:
> When I installed dpkg 1.8.1 at work a few hours ago I couldn't install
> any packages with it; while unpacking, it got EAGAIN when trying to read
> from its pipe to dpkg-deb, and then segfaulted. This was in
> lib/mlib.c:buffer_read() and lib/mlib.c:buffer_copy() at least, which at
> the moment tolerate EINTR but not EAGAIN. In the end I had to manually
> extract dpkg_1.7.2_i386.deb in the root directory and then reinstall
> dpkg 1.7.2 properly to get everything working again.
> This was on a machine being upgraded from potato to sid; the new libc6
> had already been installed. It's running a 2.2.5 kernel at the moment,
> and runs dpkg < 1.8.0 with no problems. Sorry I can't provide an strace
> right now, but I forgot to mail it to myself from work; if nobody else
> has seen this already then I'll file a proper bug report on Monday.
> Did somebody do something involving non-blocking file descriptors in
I've been running 1.8(and other versions of dpkg, even before an actual
1.8 deb was made) for weeks now. I haven't seen issues like this. Can you
give any more details, so that I can try to track it down?
----BEGIN GEEK CODE BLOCK----
GCS d- s: a-- c+++ UL++++ P+ L++++ !E W+ M o+ K- W--- !O M- !V PS--
PE++ Y+ PGP++ t* 5++ X+ tv b+ D++ G e h*! !r z?
-----END GEEK CODE BLOCK-----
----BEGIN PGP INFO----
Adam Heath <firstname.lastname@example.org> Finger Print | KeyID
67 01 42 93 CA 37 FB 1E 63 C9 80 1D 08 CF 84 0A | DE656B05 PGP
AD46 C888 F587 F8A3 A6DA 3261 8A2C 7DC2 8BD4 A489 | 8BD4A489 GPG
-----END PGP INFO-----