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

Bug#549312: marked as done (aptitude: cdrom segfaults on several machines and architectures when reading DVDs)



Your message dated Wed, 27 Jan 2010 21:32:57 +0000
with message-id <E1NaFVR-0002Wv-V9@ries.debian.org>
and subject line Bug#549312: fixed in apt 0.7.25.2
has caused the Debian Bug report #549312,
regarding aptitude: cdrom segfaults on several machines and architectures when reading DVDs
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
549312: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549312
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: aptitude
Version: 0.4.11.11-1+b2
Severity: grave
Justification: renders package unusable


For over a month now (presumably since the last aptitude upgrade on testing)
I have been seeing segfaults recorded in /var/log/messages on two i386 boxes
and on an amd64, all running testing.

I have not reported earlier because I hoped to get some useful info using gdb.
My first attempts with gdb have failed to catch the segfault whether using
aptitude, aptitude-dbg or directly attaching to the cdrom process spawned by 
aptitude.

1) An entry in /var/log/messages:

Oct  2 10:48:44 conquest3 kernel: cdrom[4987]: segfault at 200 ip b807b71d sp bf
a34890 error 4 in ld-2.9.so[b8068000+1c000]
Oct  2 10:48:56 conquest3 kernel: cdrom[5028]: segfault at 200 ip b7ff871d sp bf
cee290 error 4 in ld-2.9.so[b7fe5000+1c000]
Oct  2 10:56:42 conquest3 kernel: cdrom[5031]: segfault at 200 ip b7f9571d sp bf
8e9850 error 4 in ld-2.9.so[b7f82000+1c000]
Oct  2 10:56:49 conquest3 kernel: cdrom[5033]: segfault at 200 ip b806971d sp bf
a96ac0 error 4 in ld-2.9.so[b8056000+1c000]

2) These are written somewhere around when aptitude prompts for a DVD & one is 
inserted as in

Media Change: Please insert the disc labeled 'Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 DVD Binary-1 20090921-05:51' in the drive '/dvd/' and press [Enter].

3) aptitude will typically read many of the files from the dvd correctly, but
then report an error on at least one of the package files.

4) Obviously I have checked the DVDs and associated hardware. In any case
it is happening on several machines with different drives and media.

The best I have managed with gdb so far is this sort of thing:-

----------------------------------------------------------------------- 
# pstree|grep  cdrom
     |                                               |-xterm---su---bash---aptitude-+-cdrom
# ps -C cdrom
  PID TTY          TIME CMD
 5845 pts/0    00:00:00 cdrom
conquest3:~# gdb aptitude 5845
GNU gdb (GDB) 6.8.50.20090628-cvs-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Attaching to program: /usr/bin/aptitude, process 5845
0xffffe424 in __kernel_vsyscall ()
(gdb)  handle 11 stop
Signal        Stop      Print   Pass to program Description
SIGSEGV       Yes       Yes     Yes             Segmentation fault
(gdb) info forks
No forks.
(gdb) info threads
* 1 process 5845  0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7c9cfad in ?? ()
#2  0xb7ec591d in ?? ()
#3  0x0804b2d3 in ?? ()
#4  0xb7ec51b7 in ?? ()
#5  0x0804c8e6 in ?? ()
#6  0xb7bd97a5 in ?? ()
#7  0x08049ae1 in ?? ()
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) n
Program not restarted.
(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0xb7f6371d in ?? () from /lib/ld-linux.so.2
(gdb) bt
#0  0xb7f6371d in ?? () from /lib/ld-linux.so.2
#1  0xb7e64ca4 in ?? ()
#2  0xb7f5deb6 in ?? () from /lib/ld-linux.so.2
#3  0xb7e6503c in ?? ()
#4  0xb7e64cda in ?? ()
#5  0xb7ee9feb in ?? ()
#6  0x0804c8fe in ?? ()
#7  0xb7bd97a5 in ?? ()
#8  0x08049ae1 in ?? ()
(gdb) 

which is not much help.




-- Package-specific info:
aptitude 0.4.11.11 compiled at Aug  3 2009 17:14:11
Compiler: g++ 4.3.3
Compiled against:
  apt version 4.8.0
  NCurses version 5.7
  libsigc++ version: 2.0.18
  Ept support enabled.

Current library versions:
  NCurses version: ncurses 5.7.20090803
  cwidget version: 0.5.13
  Apt version: 4.8.1
	linux-gate.so.1 =>  (0xffffe000)
	libapt-pkg-libc6.9-6.so.4.8 => /usr/lib/libapt-pkg-libc6.9-6.so.4.8 (0xb7f69000)
	libncursesw.so.5 => /lib/libncursesw.so.5 (0xb7f25000)
	libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb7f1f000)
	libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xb7e5c000)
	libept.so.0 => /usr/lib/libept.so.0 (0xb7de1000)
	libxapian.so.15 => /usr/lib/libxapian.so.15 (0xb7c90000)
	libz.so.1 => /usr/lib/libz.so.1 (0xb7c7b000)
	libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7c62000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7b70000)
	libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7b4a000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b1f000)
	libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb79bf000)
	libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb79bb000)
	libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb79b7000)
	/lib/ld-linux.so.2 (0xb8051000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.31 (PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.23.1          Advanced front-end for dpkg
ii  libc6                  2.9-25            GNU C Library: Shared libraries
ii  libcwidget3            0.5.13-1          high-level terminal interface libr
ii  libept0                0.5.28            High-level library for managing De
ii  libgcc1                1:4.4.1-4         GCC support library
ii  libncursesw5           5.7+20090803-2    shared libraries for terminal hand
ii  libsigc++-2.0-0c2a     2.0.18-2          type-safe Signal Framework for C++
ii  libstdc++6             4.4.1-4           The GNU Standard C++ Library v3
ii  libxapian15            1.0.16-3          Search engine library
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-do 0.4.11.11-1 English manual for aptitude, a ter
ii  libparse-debianchangelog-per 1.1.1-2     parse Debian changelogs and output

Versions of packages aptitude suggests:
pn  debtags                       <none>     (no description available)
pn  tasksel                       <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.25.2

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:

apt-doc_0.7.25.2_all.deb
  to main/a/apt/apt-doc_0.7.25.2_all.deb
apt-transport-https_0.7.25.2_i386.deb
  to main/a/apt/apt-transport-https_0.7.25.2_i386.deb
apt-utils_0.7.25.2_i386.deb
  to main/a/apt/apt-utils_0.7.25.2_i386.deb
apt_0.7.25.2.dsc
  to main/a/apt/apt_0.7.25.2.dsc
apt_0.7.25.2.tar.gz
  to main/a/apt/apt_0.7.25.2.tar.gz
apt_0.7.25.2_i386.deb
  to main/a/apt/apt_0.7.25.2_i386.deb
libapt-pkg-dev_0.7.25.2_i386.deb
  to main/a/apt/libapt-pkg-dev_0.7.25.2_i386.deb
libapt-pkg-doc_0.7.25.2_all.deb
  to main/a/apt/libapt-pkg-doc_0.7.25.2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 549312@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 27 Jan 2010 16:16:10 +0100
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all i386
Version: 0.7.25.2
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 475770 534920 548884 549312 558348 561636 565213 566664
Changes: 
 apt (0.7.25.2) unstable; urgency=low
 .
   [ Michael Vogt ]
   * apt-pkg/contrib/cdromutl.cc:
     - fix UnmountCdrom() fails, give it a bit more time and try
       the umount again
   * apt-pkg/cdrom.cc:
     - fix crash in pkgUdevCdromDevices
   * methods/cdrom.cc:
     - fixes in multi cdrom setup code (closes: #549312)
     - add new "Acquire::cdrom::AutoDetect" config that enables/disables
       the dlopen of libudev for automatic cdrom detection. Off by default
       currently, feedback/testing welcome
   * cmdline/apt-cdrom.cc:
     - add new --auto-detect option that uses libudev to figure out
       the cdrom/mount-point
   * cmdline/apt-mark:
     - merge fix from Gene Cash that supports markauto for
       packages that are not in the extended_states file yet
       (closes: #534920)
   * ftparchive/writer.{cc,h}:
     - merge crash fix for apt-ftparchive on hurd, thanks to
       Samuel Thibault for the patch (closes: #566664)
 .
   [ David Kalnischkies ]
   * apt-pkg/contrib/fileutl.cc:
     - Fix the newly introduced method GetListOfFilesInDir to not
       accept every file if no extension is enforced
       (= restore old behaviour). (Closes: #565213)
   * apt-pkg/policy.cc:
     - accept also partfiles with "pref" file extension as valid
   * apt-pkg/contrib/configuration.cc:
     - accept also partfiles with "conf" file extension as valid
   * doc/apt.conf.5.xml:
     - reorder description and split out syntax
     - add partfile name convention (Closes: #558348)
   * doc/apt_preferences.conf.5.xml:
     - describe partfile name convention also here
   * apt-pkg/deb/dpkgpm.cc:
     - don't segfault if term.log file can't be opened.
       Thanks Sam Brightman for the patch! (Closes: #475770)
   * doc/*:
     - replace the per language addendum with a global addendum
     - add a explanation why translations include (maybe) english
       parts to the new global addendum (Closes: #561636)
   * apt-pkg/contrib/strutl.cc:
     - fix malloc asseration fail with ja_JP.eucJP locale in
       apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
 .
   [ Christian Perrier ]
   * French translation update
Checksums-Sha1: 
 ac8305749e6789a9a561cd9c4d63ea422944308f 1212 apt_0.7.25.2.dsc
 fa713204e67a625b8e49a400d3469e8daa9896a0 2646304 apt_0.7.25.2.tar.gz
 db9709015dc7d2b6f9ad184d58e1a749f4f20f0b 138688 apt-doc_0.7.25.2_all.deb
 db2869f81e2a06dd19eb634b06d737911019c77d 133138 libapt-pkg-doc_0.7.25.2_all.deb
 b4d1feefb88a0a08abf4c5a04c3f87968d139f6d 1749128 apt_0.7.25.2_i386.deb
 963550225280eb30c45a6f4736675db53b459037 121454 libapt-pkg-dev_0.7.25.2_i386.deb
 c687ff00e73f52557257e5041d94ccde83ae793f 223736 apt-utils_0.7.25.2_i386.deb
 bd524432662e1625d774e723f9ba6db9950ff0d3 69524 apt-transport-https_0.7.25.2_i386.deb
Checksums-Sha256: 
 44004edba97d9654afcc93d8646d726e1ae82c78c03c4fe411527dd62fc29e29 1212 apt_0.7.25.2.dsc
 f3af72df41fafebe47793c9d17b220124c781b8b47fa5ced4d2b431bc9518982 2646304 apt_0.7.25.2.tar.gz
 878c3e51e3e4060dc65fb73bdc049eec0224bc0c528d57c5120c287ac1b7937e 138688 apt-doc_0.7.25.2_all.deb
 2e057e32f8ab3b98cfa375cbe7c5cadc8bc3880f9f817ff278e18bac3d4ca405 133138 libapt-pkg-doc_0.7.25.2_all.deb
 57c421ee407bca76a4795c97b67f2f45d3568e11bbc96db321d619aef4a892e5 1749128 apt_0.7.25.2_i386.deb
 db8c1ce6850ebc399e712877800559e8ec7dbb7c6d016733cc43bc50931d3468 121454 libapt-pkg-dev_0.7.25.2_i386.deb
 59a865beea3135631a0f32070f68c61174d994431d1df0a2e874073bee2c9cbb 223736 apt-utils_0.7.25.2_i386.deb
 35e8d4f9641b77c8610524db5f300954f729975d52752ee718eb684ec35fe314 69524 apt-transport-https_0.7.25.2_i386.deb
Files: 
 aa6cb570c3de9459ed6a3af70c238402 1212 admin important apt_0.7.25.2.dsc
 1e240fd7d4503153a8d8db3f06773450 2646304 admin important apt_0.7.25.2.tar.gz
 605a43301f186f34ce84edf871770af1 138688 doc optional apt-doc_0.7.25.2_all.deb
 c9af37ba5f8c36a64647caf3ba17e633 133138 doc optional libapt-pkg-doc_0.7.25.2_all.deb
 87c4d91f33925da75712cb30cb473e92 1749128 admin important apt_0.7.25.2_i386.deb
 3465b3582136a2f203327f75bb9b0e8d 121454 libdevel optional libapt-pkg-dev_0.7.25.2_i386.deb
 4f17df3fa19c7af740f5e3b5913a16bf 223736 admin important apt-utils_0.7.25.2_i386.deb
 0ad50ab47182e4194566943d8c151c9a 69524 admin optional apt-transport-https_0.7.25.2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAktgqasACgkQliSD4VZixzRGSQCbBU3kP/cCg6bfrLwsqp2V9Jf6
S/oAni9fA85eTJevy8o/JU5t9OcLHP08
=VcjT
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: