[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#214513: Illegal Instruction when apt-get tries to install a package



Package: apt
Version: 0.5.14
Severity: normal

When run apt-get in gdb I get the following:
---
Power:~# gdb apt-get
GNU gdb 5.3-debian
Copyright 2002 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 "i386-linux"...(no debugging symbols found)...
(gdb) set args install memtest86
(gdb) run
Starting program: /usr/bin/apt-get install memtest86
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
  hwtools kernel-patch-badram
The following NEW packages will be installed:
  memtest86
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
Need to get 0B/46.3kB of archives.
After unpacking 152kB of additional disk space will be used.
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGILL, Illegal instruction.
0x4008dff0 in pkgDPkgPM::Go() () from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
(gdb) bt
#0  0x4008dff0 in pkgDPkgPM::Go() () from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
#1  0x40062a75 in pkgPackageManager::DoInstall() () from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
#2  0x08050fea in strcpy ()
#3  0x080558a5 in strcpy ()
#4  0x40049b4c in CommandLine::DispatchArg(CommandLine::Dispatch*, bool) () from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
#5  0x0805d766 in strcpy ()
#6  0x401a1e3e in __libc_start_main () from /lib/libc.so.6

---
The error happens with every package installation it tries, after downloading the packages.
My system is an Athlon 700 with GNU/Debian testing and some unstable packages. apt-get worked fine until yesterday, after I
upgraded some (probably) unrelated packages. apt was upgraded some days ago, but I rebooted the machine only yesterday.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Default-Release "testing";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

deb http://security.debian.org/ stable/updates main contrib non-free 
deb http://security.debian.org/ testing/updates main contrib non-free 

# the main Debian packages.  Uncomment the deb-src line if you
# want 'apt-get source' to work with most packages.
deb http://ftp.de.debian.org/debian/ testing main contrib non-free
#deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free

# the non-US Debian packages.  Uncomment the deb-src line if you
# want 'apt-get source' to work with non-US packages.
deb http://ftp.de.debian.org/debian-non-US/ testing/non-US main contrib non-free
#deb-src http://ftp.de.debian.org/debian-non-US/ testing/non-US main contrib non-free

# the main Debian packages.  Uncomment the deb-src line if you
# want 'apt-get source' to work with most packages.
deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
#deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free

# the non-US Debian packages.  Uncomment the deb-src line if you
# want 'apt-get source' to work with non-US packages.
deb http://ftp.de.debian.org/debian-non-US/ unstable/non-US main contrib non-free
#deb-src http://ftp.de.debian.org/debian-non-US/ unstable/non-US main contrib non-free

deb http://marillat.free.fr/ testing main
deb http://marillat.free.fr/ unstable main

deb http://mentors.debian.net/debian/ unstable main contrib non-free
#deb-src http://mentors.debian.net/debian/ unstable main contrib non-free



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux Power 2.4.21-4-k7 #1 Sun Aug 3 02:34:06 EST 2003 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages apt depends on:
ii  libc6                      2.3.2-7       GNU C Library: Shared libraries an
ii  libgcc1                    1:3.3.2-0pre4 GCC support library
ii  libstdc++5                 1:3.3.2-0pre4 The GNU Standard C++ Library v3

-- no debconf information




Reply to: