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

Bug#409336: apt: Intermittent seg fault (stack trace)



Package: apt
Version: 0.6.46.4
Followup-For: Bug #409336

I've got another segfault. Deleting the .bin files in /var/cache/apt
has fixed all my segfaults so far. I've tried to get a stack trace on the
off-chance it is of use. I am doing "apt-get upgrade" and getting:

   Reading package lists... Done
   Building dependency tree... 50%
   Program received signal SIGSEGV, Segmentation fault

   #0  0xb7f06010 in pkgDepCache::UpdateVerState () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
   #1  0xb7f074c4 in pkgDepCache::Update () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
   #2  0xb7f07927 in pkgDepCache::Init () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
   #3  0xb7f2613c in pkgCacheFile::Open () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
   #4  0x0805f91c in DoUpgrade (CmdL=@0xbfc13074) at apt-get.cc:96
   #5  0xb7ef449b in CommandLine::DispatchArg () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
   #6  0x0804f59f in main (argc=-1208557897, argv=0xb7f6deb7) at apt-get.cc:2606

Not sure how much use a stack trace is if corrupt files are the problem; if
they are then how do the files get corrupt? I'm stumbling around in the dark 
with gdb at the moment. I'll try to figure out how to get a line number on 
the library with the error. Please say if any particular information would 
be of use.

Thanks.

-- Package-specific info:

Already sent.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-486
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apt depends on:
ii  debian-archive-keyring      2006.11.22   GnuPG archive keys of the Debian a
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libstdc++6                  4.1.1-21     The GNU Standard C++ Library v3

apt recommends no packages.

-- debconf-show failed



Reply to: