Subject: aptitude: Segmentation fault in "why-not"
Package: aptitude
Version: 0.4.11.11-1~lenny1
Severity: important

*** Please type your report below this line ***

Aptitude had found some packages were broken, and insisted on removing
mozilla-browser. I let it do it but trying to investigate further...

r...@alabast:~# aptitude why-not mozilla-browser
Segmentation fault


r...@alabast:~# gdb /usr/bin/aptitude
GNU gdb 6.8-debian
Copyright (C) 2008 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 "x86_64-linux-gnu"...

(gdb) run why-not mozilla-browser
Starting program: /usr/bin/aptitude why-not mozilla-browser
[Thread debugging using libthread_db enabled]
[New Thread 0x7fcd846fe6f0 (LWP 18573)]
[New Thread 0x4238e950 (LWP 18576)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fcd846fe6f0 (LWP 18573)]
0x00007fcd842e4000 in debVersioningSystem::CheckDep () from 
/usr/lib/libapt-pkg-libc6.7-6.so.4.6

(gdb) bt
#0  0x00007fcd842e4000 in debVersioningSystem::CheckDep () from 
/usr/lib/libapt-pkg-libc6.7-6.so.4.6
#1  0x0000000000512587 in aptitude::why::target::generate_successors 
(this=0x7fff8c724eb0, pare...@0x7fff8c724eb0, outp...@0x7fff8c7251c0, 
    para...@0x7fff8c725228, verbosity=0) at cmdline_why.cc:517
#2  0x00000000005135f4 in next (this=0x7fff8c7251c0, outp...@0x7fff8c7254a0) at 
cmdline_why.cc:113
#3  0x0000000000514d16 in do_why (leav...@0x7fff8c7257a0, ro...@0x7fff8c7257e0, 
verbosity=0, root_is_removal=true, succe...@0x7fff8c7256df)
    at cmdline_why.cc:893
#4  0x00000000005166ee in do_why (leav...@0x7fcd8450b3b0, ro...@0x7fce1a8296dc, 
verbosity=3, root_is_removal=50) at cmdline_why.cc:988
#5  0x0000000000516b94 in cmdline_why (argc=2, argv=<value optimized out>, 
status_fname=<value optimized out>, verbosity=0, is_why_not=50)
    at cmdline_why.cc:1136
#6  0x000000000041c309 in main (argc=2, argv=0x7fff8c725f18) at main.cc:615

(gdb) 

-- 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.20090110
  cwidget version: 0.5.12
  Apt version: 4.6.0
        linux-vdso.so.1 =>  (0x00007fff5edfe000)
        libapt-pkg-libc6.7-6.so.4.6 => /usr/lib/libapt-pkg-libc6.7-6.so.4.6 
(0x00007f2a567dd000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f2a56592000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f2a5638d000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f2a560ba000)
        libept.so.0 => /usr/lib/libept.so.0 (0x00007f2a55e41000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007f2a55ad7000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f2a558c0000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f2a556a4000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f2a55398000)
        libm.so.6 => /lib/libm.so.6 (0x00007f2a55115000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f2a54efe000)
        libc.so.6 => /lib/libc.so.6 (0x00007f2a54bab000)
        libutil.so.1 => /lib/libutil.so.1 (0x00007f2a549a8000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f2a547a4000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f2a56a9e000)
Terminal: xterm
$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.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=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.26            High-level library for managing De
ii  libgcc1                1:4.3.2-2         GCC support library
ii  libncursesw5           5.7+20090110-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-2           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:
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:
ii  debtags                       1.7.8.1    Enables support for package tags
ii  tasksel                       2.78       Tool for selecting tasks for insta

-- no debconf information





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

Reply via email to