Package: reportbug
Version: 3.35
Followup-For: Bug #418209

For me it doesn't happen always, but when it is reproducible when it
is and when it is not:

 - when I do "reportbug gnome-media" it happens. Always.
 - when I do "reportbug reportbug" it never happens.
 - when I do "reportbug mutt" it does not happen.

The problem seems to be that reportbug starts "apt-cache dumpavail"
with a pipe as its stdout, but closes its side (the read side) of the
pipe before apt-cache is finished talking.

The last message that reporbug gives is:

 Checking for newer versions at packages.debian.org...

Pressing ctrl-c gets us out of the problem and lets reportbug continue
on to the bug list.

Here's a strace of the infinitely-running apt-cache:

--- SIGPIPE (Broken pipe) @ 0 (0) ---
close(3)                                = 0
stat("/var/lib/apt/lists/ftp.nl.debian.org_debian_dists_sid_main_binary-amd64_Packages",
 {st_mode=S_IFREG|0644, st_size=20747682, ...}) = 0
open("/var/lib/apt/lists/ftp.nl.debian.org_debian_dists_sid_main_binary-amd64_Packages",
 O_RDONLY) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
lseek(3, 15675021, SEEK_SET)            = 15675021
read(3, "Package: postgresql-contrib-7.4\n"..., 5047) = 5047
write(1, "Package: postgresql-contrib-7.4\n"..., 4096) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
close(3)                                = 0
stat("/var/lib/apt/lists/ftp.nl.debian.org_debian_dists_sid_main_binary-amd64_Packages",
 {st_mode=S_IFREG|0644, st_size=20747682, ...}) = 0
open("/var/lib/apt/lists/ftp.nl.debian.org_debian_dists_sid_main_binary-amd64_Packages",
 O_RDONLY) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
lseek(3, 15675021, SEEK_SET)            = 15675021
read(3, "Package: postgresql-contrib-7.4\n"..., 5047) = 5047
write(1, "Package: postgresql-contrib-7.4\n"..., 4096) = -1 EPIPE (Broken pipe)


-- Package-specific info:
** Environment settings:
EDITOR="gnuclient"
EMAIL="[EMAIL PROTECTED]"
INTERFACE="text"

** /home/master/.reportbugrc:
reportbug_version "3.17"
mode advanced
ui text
email "[EMAIL PROTECTED]"
mutt

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reportbug depends on:
ii  apt                         0.6.46.4-0.1 Advanced front-end for dpkg
ii  python                      2.4.4-2      An interactive high-level object-o
ii  python-central              0.5.13-0.1   register and build utility for Pyt

reportbug recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to