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-0c2a2.0.16-3 type-safe Signal Framework for C++
ii libstdc++64.1.1-5The 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_stringchar, std::char_traitschar,
std::allocatorchar ::basic_stringchar*
()
#5 0x101cfa78 in std::basic_stringchar, std::char_traitschar,
std::allocatorchar ::basic_stringchar*
()
#6 0x100d6570 in std::basic_stringchar, std::char_traitschar,
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar