Package: aptitude
Version: 0.4.11.11-1~lenny1
Severity: important

Trying to install a package on my amd64 box ends up with a segfault in
most (although not all) cases. Using apt-get to install the same package
seems to be fine.

The backtrace:

(gdb) run install hello
Starting program: /usr/bin/aptitude install hello
[Thread debugging using libthread_db enabled]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
[New Thread 0x7f225c94c6f0 (LWP 8985)]
[New Thread 0x408be950 (LWP 8988)]
The following NEW packages will be installed:
  hello
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 44.4kB of archives. After unpacking 606kB will be used.
Writing extended state information... Done
0% [Working]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f225c94c6f0 (LWP 8985)]
0x00007f225c4d85ba in pkgAcquire::Run () from
/usr/lib/libapt-pkg-libc6.7-6.so.4.6
(gdb) bt
#0  0x00007f225c4d85ba in pkgAcquire::Run () from 
/usr/lib/libapt-pkg-libc6.7-6.so.4.6
#1  0x000000000050db9a in cmdline_do_download (m=0x7fff6495b620, verbose=0) at 
cmdline_util.cc:403
#2  0x00000000004e1760 in cmdline_do_action (argc=2, argv=0xffffffff, 
status_fname=0x7fff6495ba3e "", simulate=false, assume_yes=<value optimized 
out>, download_only=<value optimized out>, 
    fix_broken=true, showvers=false, showdeps=<value optimized out>, 
showsize=<value optimized out>, showwhy=<value optimized out>, 
visual_preview=false, always_prompt=<value optimized out>,
    safe_resolver=false, no_new_installs=false, no_new_upgrades=false, 
user_ta...@0x7fff6495bc50, arch_only=<value optimized out>, queue_only=false, 
verbose=0) at cmdline_do_action.cc:313
#3  0x000000000041c47d in main (argc=2, argv=0x7fff6495c148) at main.cc:641

strace is available at
http://www.crustynet.org.uk/~chrisb/aptitude.install.hello.strace.gz

-- Package-specific info:
aptitude 0.4.11.11 compiled at Dec  5 2008 09:06:14
Compiler: g++ 4.3.2
Compiled against:
  apt version 4.6.0
  NCurses version 5.6
  libsigc++ version: 2.0.18
  Ept support enabled.

Current library versions:
  NCurses version: ncurses 5.7.20081213
  cwidget version: 0.5.12
  Apt version: 4.6.0
        linux-vdso.so.1 =>  (0x00007fffac1fe000)
        libapt-pkg-libc6.7-6.so.4.6 => /usr/lib/libapt-pkg-libc6.7-6.so.4.6 
(0x00007fdfa3cc2000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007fdfa3a77000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007fdfa3872000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007fdfa359f000)
        libept.so.0 => /usr/lib/libept.so.0 (0x00007fdfa3326000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007fdfa2fbc000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007fdfa2da5000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fdfa2b89000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fdfa287d000)
        libm.so.6 => /lib/libm.so.6 (0x00007fdfa25fa000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fdfa23e3000)
        libc.so.6 => /lib/libc.so.6 (0x00007fdfa2090000)
        libutil.so.1 => /lib/libutil.so.1 (0x00007fdfa1e8d000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fdfa1c89000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fdfa3f83000)
Terminal: screen
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
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.20.2          Advanced front-end for dpkg
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libcwidget3            0.5.12-4          high-level terminal interface libr
ii  libept0                0.5.22            High-level library for managing De
ii  libgcc1                1:4.3.2-1.1       GCC support library
ii  libncursesw5           5.7+20081213-1    shared libraries for terminal hand
ii  libsigc++-2.0-0c2a     2.0.18-2          type-safe Signal Framework for C++
ii  libstdc++6             4.3.2-1.1         The GNU Standard C++ Library v3
ii  libxapian15            1.0.7-4           Search engine library
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do <none>     (no description available)
pn  libparse-debianchangelog-perl <none>     (no description available)

Versions of packages aptitude suggests:
pn  debtags                       <none>     (no description available)
ii  tasksel                       2.78       Tool for selecting tasks for insta

-- no debconf information

-- 
Chris Butler <[email protected]>
  GnuPG Key ID: 1024D/D097A261



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

Reply via email to