#723636 [apt] apt segfault in pkgDepCache::SetCandidateVersion(pkgCache::VerIterator) ()

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Bastien ROUCARIÈS
Date:
2013-11-04 00:51:10 UTC
Severity:
normal
#723636#5
Date:
2013-09-18 10:26:59 UTC
From:
To:
i get the following backtrace trying to apt-get install package/unstable

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7afb262 in pkgDepCache::SetCandidateVersion(pkgCache::VerIterator) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
(gdb) bt
#0  0x00007ffff7afb262 in pkgDepCache::SetCandidateVersion(pkgCache::VerIterator) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#1  0x00007ffff7afecb6 in pkgDepCache::SetCandidateRelease(pkgCache::VerIterator, std::string const&, std::list<std::pair<pkgCache::VerIterator, pkgCache::VerIterator>, std::allocator<std::pair<pkgCache::VerIterator, pkgCache::VerIterator>
#2  0x00000000004236ec in ?? ()
#3  0x0000000000416842 in ?? ()
#4  0x00007ffff7ae0112 in CommandLine::DispatchArg(CommandLine::Dispatch*, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#5  0x0000000000409bc5 in ?? ()
#6  0x00007ffff6ef1995 in __libc_start_main (main=0x409960, argc=3, ubp_av=0x7fffffffeba8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffeb98) at libc-start.c:260
#7  0x0000000000409ecf in ?? ()

#723636#10
Date:
2013-09-20 16:51:26 UTC
From:
To:
Hi Bastien,

And as you haven't used reportbug:
What system is this (testing?)? Any special config/sources?

$ export LANG=C.UTF-8
$ apt-get install package/unstable -s
[…]
E: Unable to locate package package
$ apt-get install apt/unstable -s
[…]
apt is already the newest version.
Selected version '0.9.11.3' (Debian:unstable [amd64]) for 'apt'
[…]
$ apt-get install llvm/unstable -s
[…]
Selected version '1:3.2-20' (Debian:testing [amd64]) for 'llvm'
[…]
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
[…]
$ apt-get install amule/experimental -s
[…]
Selected version '2.3.1-10+b1' (Debian:experimental [amd64]) for 'amule'
Selected version '2.3.1-10' (Debian:experimental [all]) for
'amule-common' because of 'amule'
[…]
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
[…]

As you see, none of those segfault for me.


Segfaults could also be caused by damaged binary caches,
which would indicate hardware issues.


Best regards

David Kalnischkies

#723636#15
Date:
2013-11-04 00:21:20 UTC
From:
To:
Dear Maintainer,

I just ran into this same segfault while running "apt-get install jitsi/unstable". I hope the backtrace is of any use.