Package: aptitude
Version: 0.4.1-1.1
Followup-For: Bug #377751

I've also seen this, on both of my own machines: a powerpc (iBook) and an
amd64. If for example I install libgamin-dev, which lives on DVD3, it depends
on libgamin0 and gamin, which live on DVD1. Reading the first DVD and install
those goes along fine, then aptitude asks for the next DVD, insert it, click
"Continue", and a SEGFAULT appears back at the shell.

When using aptitude by the command line interface it is apparent that the
SEGFAULT occurs in a seperate thread *before* the prompt asking for the other
DVD.

When apt-get is used in the same manner, no SEGFAULT occurs.

I grabbed a core file from one instance of this happening on my powerpc. It's
50MB big, so I'll just attach gdb's backtrace. Hope this helps.

Peace,
Brendon

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-powerpc
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-6-3.1 0.6.44.2   Advanced front-end for dpkg
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.1-5  GCC support library
ii  libncursesw5                  5.5-2      Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a            2.0.16-3   type-safe Signal Framework for C++
ii  libstdc++6                    4.1.1-5    The GNU Standard C++ Library v3

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

-- no debconf information
[EMAIL PROTECTED]:~$ gdb aptitude aptitude.core.3996
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

Reading symbols from /usr/lib/libapt-pkg-libc6.3-6.so.3.11...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/libapt-pkg-libc6.3-6.so.3.11
Reading symbols from /lib/libncursesw.so.5...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libncursesw.so.5
Reading symbols from /usr/lib/libsigc-2.0.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libsigc-2.0.so.0
Reading symbols from /lib/tls/libpthread.so.0...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/tls/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/tls/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /lib/ld.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/ld.so.1
Reading symbols from /lib/tls/libnss_compat.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/tls/libnss_compat.so.2
Reading symbols from /lib/tls/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /lib/tls/libnss_nis.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libnss_nis.so.2
Reading symbols from /lib/tls/libnss_files.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/tls/libnss_files.so.2
Failed to read a valid object file image from memory.
Core was generated by `aptitude'.
Program terminated with signal 11, Segmentation fault.
#0  0x0ff590e4 in pkgOrderList::WipeFlags () from 
/usr/lib/libapt-pkg-libc6.3-6.so.3.11
(gdb) backtrace
#0  0x0ff590e4 in pkgOrderList::WipeFlags () from 
/usr/lib/libapt-pkg-libc6.3-6.so.3.11
#1  0x0ff5c678 in pkgOrderList::OrderUnpack () from 
/usr/lib/libapt-pkg-libc6.3-6.so.3.11
#2  0x0ff63528 in pkgPackageManager::OrderInstall () from 
/usr/lib/libapt-pkg-libc6.3-6.so.3.11
#3  0x0ff61fd8 in pkgPackageManager::DoInstall () from 
/usr/lib/libapt-pkg-libc6.3-6.so.3.11
#4  0x101cf570 in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string<char*>
    ()
#5  0x101cfa78 in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string<char*>
    ()
#6  0x100d6570 in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string<__gnu_cxx::__normal_iterator<char const*, 
std::string> > ()
#7  0x100d7028 in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string<__gnu_cxx::__normal_iterator<char const*, 
std::string> > ()
#8  0x1003abb8 in std::operator+<char, std::char_traits<char>, 
std::allocator<char> > ()
#9  0x10122440 in pkgSimulate::Policy::~Policy ()
#10 0x100bbacc in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string<__gnu_cxx::__normal_iterator<char const*, 
std::string> > ()
#11 0x1000af00 in ?? ()
#12 0x0fb05a34 in __libc_init_first () from /lib/tls/libc.so.6
#13 0x0fb05a34 in __libc_init_first () from /lib/tls/libc.so.6
#14 0x0fb05a34 in __libc_init_first () from /lib/tls/libc.so.6
Previous frame inner to this frame (corrupt stack?)

Reply via email to