Bug#88533: segmentation fault
Package: apt
Version: 0.5.0
Severity: important
----- /etc/apt/preferences contains:
Package: *
Pin: release a=stable
Pin-Priority: 600
Package: *
Pin: release a=potato
Pin-Priority: 600
Package: *
Pin: release o=helix
Pin-Priority: 600
----- so normally stable packages have higher priority then unstable.
How to reproduce:
lyell:~# apt-get -s install rproxy -t unstable
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
cpp cpp-2.95 g++ g++-2.95 gcc gcc-2.95 libc6 libc6-dev libstdc++2.10-dev
libstdc++2.10-glibc2.2 locales stardic task-chinese-s zh-trans
The following packages will be REMOVED:
locale-zh
The following NEW packages will be installed:
cpp-2.95 g++-2.95 gcc-2.95 libstdc++2.10-glibc2.2 stardic
10 packages upgraded, 5 newly installed, 1 to remove and 433 not upgraded.
Inst libstdc++2.10-glibc2.2 (1:2.95.3-6 Debian:unstable) []
Inst cpp-2.95 (1:2.95.3-6 Debian:unstable) []
Inst gcc-2.95 (1:2.95.3-6 Debian:unstable) []
Inst g++ (1:2.95.3-5 Debian:unstable) []
Inst gcc (1:2.95.3-5 Debian:unstable) []
Inst cpp (1:2.95.3-5 Debian:unstable) []
Inst g++-2.95 (1:2.95.3-6 Debian:unstable) []
Inst libstdc++2.10-dev (1:2.95.3-6 Debian:unstable) []
Inst libc6-dev (2.2.2-1 Debian:unstable) []
Inst zh-trans (0.8.1-3 Debian:unstable) []
Inst task-chinese-s (0.7 Debian:unstable) []
Segmentation fault
(gdb) bt
#0 0x4019d2a0 in strcmp () from /lib/libc.so.6
#1 0x40062b68 in pkgCache::VerIterator::RelStr ()
from /usr/lib/libapt-pkg.so.3.1
#2 0x4006fc90 in pkgSimulate::Describe () from /usr/lib/libapt-pkg.so.3.1
#3 0x40070ab6 in pkgSimulate::Remove () from /usr/lib/libapt-pkg.so.3.1
#4 0x4006e808 in pkgPackageManager::SmartRemove ()
from /usr/lib/libapt-pkg.so.3.1
#5 0x4006f495 in pkgPackageManager::OrderInstall ()
from /usr/lib/libapt-pkg.so.3.1
#6 0x4006f5b5 in pkgPackageManager::DoInstall ()
from /usr/lib/libapt-pkg.so.3.1
#7 0x80505c3 in strcpy ()
#8 0x80588bd in strcpy ()
#9 0x4005a2ea in CommandLine::DispatchArg () from /usr/lib/libapt-pkg.so.3.1
#10 0x8061840 in strcpy ()
#11 0x40162a42 in __libc_start_main () from /lib/libc.so.6
trace shows nothing that looks important to me:
write(1, "Inst task-chinese-s (0.7 Debian:"..., 45Inst task-chinese-s (0.7 Debian:unstable) []
) = 45
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
more details can be provided on request.
Also note:
lyell:~# dpkg -l libc6 rproxy
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libc6 2.1.3-15 GNU C Library: Shared libraries and Timezone
ii rproxy 0.5.7-4 A cache which uses differences to speed up r
lyell:~# dpkg -S /usr/lib/libapt-pkg.so.3.1
apt: /usr/lib/libapt-pkg.so.3.1
and:
----- /etc/apt/sources
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed throught the apt-cdrom tool.
# Proxy configuration is covered through environment variables or
#
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://mirror.aarnet.edu.au/pub/helixcode/distributions/debian unstable main
# --- STABLE ---
deb ftp://ftp.monash.edu.au/pub/linux/debian stable main contrib non-free
deb ftp://ftp.monash.edu.au/pub/linux/debian-non-US stable non-US/main non-US/contrib non-US/non-free
#deb-src ftp://ftp.monash.edu.au/pub/linux/debian stable main contrib non-free
#deb-src ftp://ftp.monash.edu.au/pub/linux/debian-non-US stable non-US/main non-US/contrib non-US/non-free
deb http://ftp.au.debian.org/pub/debian stable main contrib non-free
deb http://ftp.au.debian.org/pub/debian-non-US stable non-US/main non-US/contrib non-US/non-free
deb-src http://ftp.au.debian.org/pub/debian stable main contrib non-free
deb-src http://ftp.au.debian.org/pub/debian-non-US stable non-US/main non-US/contrib non-US/non-free
# --- UNSTABLE ---
deb ftp://ftp.monash.edu.au/pub/linux/debian unstable main contrib non-free
deb ftp://ftp.monash.edu.au/pub/linux/debian-non-US unstable non-US/main non-US/contrib non-US/non-free
#deb-src ftp://ftp.monash.edu.au/pub/linux/debian unstable main contrib non-free
#deb-src ftp://ftp.monash.edu.au/pub/linux/debian-non-US unstable non-US/main non-US/contrib non-US/non-free
deb http://ftp.au.debian.org/pub/debian unstable main contrib non-free
deb http://ftp.au.debian.org/pub/debian-non-US unstable non-US/main non-US/contrib non-US/non-free
deb-src http://ftp.au.debian.org/pub/debian unstable main contrib non-free
deb-src http://ftp.au.debian.org/pub/debian-non-US unstable non-US/main non-US/contrib non-US/non-free
-----
-- System Information
Debian Release: 2.2
Architecture: i386
Kernel: Linux lyell 2.2.18 #1 Tue Jan 2 11:45:11 EST 2001 i686
Versions of packages apt depends on:
ii libc6 2.1.3-15 GNU C Library: Shared libraries an
ii libstdc++2.10 1:2.95.2-13 The GNU stdc++ library
Reply to: