apt-check segfault in libapt-pkg-libc6.8-6.so.4.6.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apt
installed ibex daily, tried to install dvdgrab, apt-get segfaulted:
juser@dhcp243:
Reading package lists... Done
Segmentation fault (core dumped)
dmesg:
[35696.631474] apt-check[13562]: segfault at df117958 ip b7d015a7 sp bfc37b30 error 4 in libapt-
juser@dhcp243:~$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
juser@dhcp243:~$ apt-cache policy apt
apt:
Installed: 0.7.14ubuntu6+nmu1
Candidate: 0.7.14ubuntu6+nmu1
Version table:
*** 0.7.14ubuntu6+nmu1 0
100 /var/lib/
0.7.14ubuntu6 0
500 http://
juser@dhcp243:~$ uname -a
Linux dhcp243 2.6.27-7-generic #1 SMP Fri Oct 17 22:24:21 UTC 2008 i686 GNU/Linux
juser@dhcp243:~$ sudo gdb
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "i486-linux-gnu".
(gdb) file apt-get
Reading symbols from /usr/bin/
(gdb) run install dvgrab
Starting program: /usr/bin/apt-get install dvgrab
Reading package lists... Done
Building dependency tree... 50%
Program received signal SIGSEGV, Segmentation fault.
0xb7f275a7 in pkgDepCache:
{Dep = 0xb770002c, Type = pkgCache:
124 ../build/
in ../build/
(gdb) list
119 in ../build/
(gdb) bt full
#0 0xb7f275a7 in pkgDepCache:
{Dep = 0xb770002c, Type = pkgCache:
No locals.
#1 0xb7f27927 in pkgDepCache:
at ../build/
State = 0 '\0'
#2 0xb7f29b10 in pkgDepCache::Update (this=0x90f2750, Prog=0xbfbde50c)
at depcache.cc:623
State = (unsigned char &) @0xb6fdc60b: 1 '\001'
D = {Dep = 0xb770002c, Type = pkgCache:
Owner = 0x90f24f8}
Group = 0 '\0'
I = {Pkg = 0xb76f9590, Owner = 0x90f24f8, HashIndex = 6}
Done = 98
#3 0xb7f2e545 in pkgDepCache::Init (this=0x90f2750, Prog=0xbfbde50c)
at depcache.cc:154
actions = {cache = @0x90f2750, released = false}
Done = 34152
#4 0xb7f4f0bc in pkgCacheFile::Open (this=0xbfbde570, Progress=
WithLock=<value optimized out>) at cachefile.cc:103
No locals.
#5 0x08059e4f in DoInstall (CmdL=@0xbfbdec64) at apt-get.cc:100
Cache = {<pkgCacheFile> = {Map = 0x90f4398, Cache = 0x90f24f8,
DCache = 0x90f2750, Policy = 0x91da9c8}, static SortCache = 0x0,
List = 0x0}
BrokenFix = <value optimized out>
AutoMarkChanged = <value optimized out>
ExpectedInst = <value optimized out>
Packages = <value optimized out>
Fix = {Cache = @0x0, Scores = 0x0, Flags = 0x0, Debug = 120,
static This = 0x0}
DefRemove = <value optimized out>
#6 0xb7f18aaf in CommandLine:
NoMatch=true) at contrib/
Res = <value optimized out>
#7 0x080556e8 in main (argc=3, argv=0x8064684) at apt-get.cc:2829
Args = {{ShortOpt = 104 'h', LongOpt = 0x805e1d8 "help",
ConfName = 0x805e1d8 "help", Flags = 0}, {ShortOpt = 118 'v',
LongOpt = 0x805e6e2 "version", ConfName = 0x805e6e2 "version", Flags = 0},
{ShortOpt = 86 'V', LongOpt = 0x805ea0d "verbose-versions",
ConfName = 0x805e4f1 "APT::Get:
ShortOpt = 113 'q', LongOpt = 0x805e1d2 "quiet",
ConfName = 0x805e1d2 "quiet", Flags = 2}, {ShortOpt = 113 'q',
LongOpt = 0x805ea1e "silent", ConfName = 0x805e1d2 "quiet", Flags = 2}, {
ShortOpt = 100 'd', LongOpt = 0x805ea25 "download-only",
ConfName = 0x805e1dd "APT::Get:
ShortOpt = 98 'b', LongOpt = 0x805ea33 "compile",
ConfName = 0x805e3bd "APT::Get:
LongOpt = 0x805ea3b "build", ConfName = 0x805e3bd "APT::Get:
Flags = 0}, {ShortOpt = 115 's', LongOpt = 0x805ea41 "simulate",
ConfName = 0x805e1f5 "APT::Get:
ShortOpt = 115 's', LongOpt = 0x805ea4a "just-print",
ConfName = 0x805e1f5 "APT::Get:
ShortOpt = 115 's', LongOpt = 0x805ea55 "recon",
ConfName = 0x805e1f5 "APT::Get:
ShortOpt = 115 's', LongOpt = 0x805ea5b "dry-run",
ConfName = 0x805e1f5 "APT::Get:
ShortOpt = 115 's', LongOpt = 0x805ea63 "no-act",
ConfName = 0x805e1f5 "APT::Get:
ShortOpt = 121 'y', LongOpt = 0x805eae4 "yes",
ConfName = 0x805e208 "APT::Get:
ShortOpt = 121 'y', LongOpt = 0x805ea6a "assume-yes",
ConfName = 0x805e208 "APT::Get:
ShortOpt = 102 'f', LongOpt = 0x805ea75 "fix-broken",
ConfName = 0x805e21d "APT::Get:
ShortOpt = 117 'u', LongOpt = 0x805ea80 "show-upgraded",
ConfName = 0x805e7ac "APT::Get:
ShortOpt = 109 'm', LongOpt = 0x805ea8e "ignore-missing",
ConfName = 0x805e821 "APT::Get:
ShortOpt = 116 't', LongOpt = 0x805ea9d "target-release",
ConfName = 0x805e277 "APT::Default-
ShortOpt = 116 't', LongOpt = 0x805eaac "default-release",
ConfName = 0x805e277 "APT::Default-
ShortOpt = 0 '\0', LongOpt = 0x805e84c "download",
ConfName = 0x805e5c8 "APT::Get:
LongOpt = 0x805eabc "fix-missing",
ConfName = 0x805e821 "APT::Get:
ShortOpt = 0 '\0', LongOpt = 0x805eac8 "ignore-hold",
ConfName = 0x805e932 "APT::Ignore-Hold", Flags = 0}, {ShortOpt = 0 '\0',
LongOpt = 0x805e9e7 "upgrade", ConfName = 0x805e510 "APT::Get:
Flags = 0}, {ShortOpt = 0 '\0', LongOpt = 0x805eade "force-yes",
ConfName = 0x805ead4 "APT::Get:
ShortOpt = 0 '\0', LongOpt = 0x805eae8 "print-uris",
ConfName = 0x805e33c "APT::Get:
ShortOpt = 0 '\0', LongOpt = 0x805eaf3 "diff-only",
ConfName = 0x805e306 "APT::Get:
ShortOpt = 0 '\0', LongOpt = 0x805eafd "tar-only",
ConfName = 0x805e384 "APT::Get:
LongOpt = 0x805eb06 "dsc-only", ConfName = 0x805e46b "APT::Get:
Flags = 0}, {ShortOpt = 0 '\0', LongOpt = 0x805e962 "purge",
ConfName = 0x805e52f "APT::Get::Purge", Flags = 0}, {ShortOpt = 0 '\0',
LongOpt = 0x805eb0f "list-cleanup",
ConfName = 0x805e246 "APT::Get:
ShortOpt = 0 '\0', LongOpt = 0x805eb1c "reinstall",
ConfName = 0x805e53f "APT::Get:
ShortOpt = 0 '\0', LongOpt = 0x805eb26 "trivial-only",
ConfName = 0x805e7f1 "APT::Get:
ShortOpt = 0 '\0', LongOpt = 0x805eb4e "remove",
ConfName = 0x805e769 "APT::Get::Remove", Flags = 0}, {ShortOpt = 0 '\0',
LongOpt = 0x805eb33 "only-source",
ConfName = 0x805e28c "APT::Get:
ShortOpt = 0 '\0', LongOpt = 0x805eb3f "arch-only",
ConfName = 0x805e867 "APT::Get:
ShortOpt = 0 '\0', LongOpt = 0x805eb49 "auto-remove",
ConfName = 0x805e25d "APT::Get:
ShortOpt = 0 '\0', LongOpt = 0x805eb55 "allow-
ConfName = 0x8060058 "APT::Get:
ShortOpt = 0 '\0', LongOpt = 0x805eb6b "install-
ConfName = 0x805eb7e "APT::Install-
ShortOpt = 0 '\0', LongOpt = 0x805eb96 "fix-policy",
ConfName = 0x805e65b "APT::Get:
ShortOpt = 99 'c', LongOpt = 0x805eba1 "config-file", ConfName = 0x0,
Flags = 17}, {ShortOpt = 111 'o', LongOpt = 0x805ebad "option",
ConfName = 0x0, Flags = 33}, {ShortOpt = 0 '\0', LongOpt = 0x0,
ConfName = 0x0, Flags = 0}}
Cmds = {{Match = 0x805e9cb "update",
Handler = 0x8052ff0 <DoUpdate(
Match = 0x805e9e7 "upgrade",
Handler = 0x805ba00 <DoUpgrade(
Match = 0x805eb1e "install",
Handler = 0x8059dc0 <DoInstall(
Match = 0x805eb4e "remove",
Handler = 0x8059dc0 <DoInstall(
Match = 0x805e962 "purge", Handler = 0x8059dc0 <DoInstall(
{Match = 0x805e968 "autoremove",
Handler = 0x8059dc0 <DoInstall(
Match = 0x805e962 "purge", Handler = 0x8059dc0 <DoInstall(
{Match = 0x805e9d2 "dist-upgrade",
Handler = 0x8059a80 <DoDistUpgrade(
Match = 0x805e9df "dselect-upgrade",
Handler = 0x8059470 <DoDSelectUpgra
Match = 0x805e9ef "build-dep",
Handler = 0x8057f20 <DoBuildDep(
Match = 0x805e9fd "clean", Handler = 0x8054660 <DoClean(
Match = 0x805e9f9 "autoclean",
Handler = 0x8050100 <DoAutoClean(
Match = 0x805ea03 "check", Handler = 0x80544f0 <DoCheck(
Match = 0x805e48d "source", Handler = 0x804e150 <DoSource(
{Match = 0x805ea09 "moo", Handler = 0x8054630 <DoMoo(
Match = 0x805e1d8 "help", Handler = 0x8054b30 <ShowHelp(
Match = 0x0, Handler = 0}}
CmdL = {ArgList = 0xbfbde92c, Conf = 0x90ec218, FileList = 0x9189a48}