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



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to