Package: apt
Version: 0.7.20.2
Severity: important

On a D-Link DNS-323 rev. A1, whenever I do 'apt-get update', I receive the 
following output:

----------------------------8<-----------------------------
E: Method http has died unexpectedly!
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Method /usr/lib/apt/methods/http did not start correctly
----------------------------8<-----------------------------

(The return code is 100.)

Here is the debug information from the core dump (since it did not segfault in 
gdb using the 'run' command):

----------------------------8<-----------------------------
r...@netstorage:~$ ulimit -S -c unlimited
r...@netstorage:~$ /usr/lib/apt/methods/http
Segmentation fault (core dumped)
r...@netstorage:~$ gdb /usr/lib/apt/methods/http core
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 "arm-linux-gnueabi"...
(no debugging symbols found)
Reading symbols from /usr/lib/libapt-pkg-libc6.7-6.so.4.6...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/libapt-pkg-libc6.7-6.so.4.6
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/libm.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/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/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libutil.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/ld-linux.so.3...
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.3

Core was generated by `/usr/lib/apt/methods/http'.
Program terminated with signal 11, Segmentation fault.
[New process 2590]
#0  0x40cf9f78 in ?? ()
(gdb) backtrace
#0  0x40cf9f78 in ?? ()
#1  0x401aeebc in ?? () from /usr/lib/libstdc++.so.6
Cannot access memory at address 0xd3ee4
(gdb) 
----------------------------8<-----------------------------

All other programs in the same directory segfault exactly similarly to the 
above, meaning that it is impossible to install new packages or update existing 
ones via aptitude.  It is also impossible to use some other apt utilities, such 
as 'apt-cache' and 'apt-config'.

I installed the apt debug package; yet, gdb cannot easily locate the culprit of 
the problem.  I suspect that this problem correlates to a kernel upgrade.  This 
problem did not occur before the upgrade to the '2.6.26-13lenny2' version of 
'linux-image-2.6.26-1-orion5x', which means that I am not certain if it is apt 
or the flash memory that is causing the problem.  Right now, I assume that it 
is apt that is the problem.

-- Package-specific info:

-- apt-config dump --


-- System Information:
Debian Release: 5.0
Architecture: armel (armv5tel)

Kernel: Linux 2.6.26-1-orion5x
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 apt depends on:
ii  debian-archive-keyring       2009.01.31  GnuPG archive keys of the Debian a
ii  libc6                        2.7-18      GNU C Library: Shared libraries
ii  libgcc1                      1:4.3.2-1.1 GCC support library
ii  libstdc++6                   4.3.2-1.1   The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc               <none>             (no description available)
ii  aptitude              0.4.11.11-1~lenny1 terminal-based package manager
ii  bzip2                 1.0.5-1            high-quality block-sorting file co
ii  dpkg-dev              1.14.25            Debian package development tools
ii  lzma                  4.43-14            Compression method of 7z format in
pn  python-apt            <none>             (no description available)

-- no debconf information



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

Reply via email to