segv in apt 1.2.7 with dist-upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The following NEW packages will be installed:
maas-region-api
The following packages will be upgraded:
console-setup console-setup-linux devscripts git git-man
keyboard-
language-
libboost-
liblxc1 libmirclient9 libmircommon5 libmirprotobuf3 libpam-systemd libpcre3
libpython2.7 libpython2.
libsystemd0 libudev1 locales lxc lxc-common lxc-templates lxc1 maas maas-cli
maas-common maas-dhcp maas-dns maas-proxy maas-rack-
maas-
python-twisted python-twisted-bin python-
python-
python-
python2.7-minimal python3 python3-django-maas python3-lxc
python3-
python3-
software-
ubuntu-standard ucf udev virt-manager virtinst
75 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
Need to get 0 B/35.0 MB of archives.
After this operation, 3,892 kB disk space will be freed.
Do you want to continue? [Y/n]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b79209 in pkgCache:
(gdb) bt
#0 0x00007ffff7b79209 in pkgCache:
from /usr/lib/
#1 0x00007ffff7b719ab in pkgPackageManag
from /usr/lib/
#2 0x00007ffff7b74bdd in ?? () from /usr/lib/
#3 0x00007ffff7b7224b in pkgPackageManag
from /usr/lib/
#4 0x00007ffff7b7768a in pkgPackageManag
#5 0x00007ffff7b76c11 in pkgPackageManag
from /usr/lib/
#6 0x00007ffff78353e0 in InstallPackages
from /usr/lib/
#7 0x00007ffff7858ede in ?? () from /usr/lib/
#8 0x00007ffff7afbc66 in CommandLine:
from /usr/lib/
#9 0x00007ffff782adf3 in DispatchCommand
#10 0x0000555555557b39 in ?? ()
#11 0x00007ffff6ed3841 in __libc_start_main (main=0x5555555
fini=<optimized out>, rtld_fini=
#12 0x0000555555557bf9 in ?? ()
(gdb)
And here is the trace from 1.2.8:
Using host libthread_db library "/lib/x86_ 64-linux- gnu/libthread_ db.so.1" . ubuntu- mirror. wfg-office/ ubuntu xenial/main amd64 python3-gi amd64 3.20.0-0ubuntu1 [153 kB] ubuntu- mirror. wfg-office/ ubuntu xenial/universe amd64 python-gi-cairo amd64 3.20.0-0ubuntu1 [6,246 B] ubuntu- mirror. wfg-office/ ubuntu xenial/main amd64 python-gi amd64 3.20.0-0ubuntu1 [194 kB] ubuntu- mirror. wfg-office/ ubuntu xenial/main amd64 python-setuptools all 20.3.1-1 [170 kB] ubuntu- mirror. wfg-office/ ubuntu xenial/main amd64 python- pkg-resources all 20.3.1-1 [108 kB] ubuntu- mirror. wfg-office/ ubuntu xenial/main amd64 python3-setuptools all 20.3.1-1 [88.1 kB] ubuntu- mirror. wfg-office/ ubuntu xenial/main amd64 python3- pkg-resources all 20.3.1-1 [78.8 kB]
Need to get 798 kB/35.8 MB of archives.
After this operation, 3,549 kB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Fetched 798 kB in 0s (17.4 MB/s)
Program received signal SIGSEGV, Segmentation fault. stem::CheckDep( char const*, int, char const*) () x86_64- linux-gnu/ libapt- pkg.so. 5.0 stem::CheckDep( char const*, int, char const*) () x86_64- linux-gnu/ libapt- pkg.so. 5.0 er::CheckRConfl icts(pkgCache: :PkgIterator, pkgCache: :DepIterator, char const*) x86_64- linux-gnu/ libapt- pkg.so. 5.0 er::SmartUnPack (pkgCache: :PkgIterator, bool, int) () x86_64- linux-gnu/ libapt- pkg.so. 5.0 x86_64- linux-gnu/ libapt- pkg.so. 5.0 er::SmartUnPack (pkgCache: :PkgIterator, bool, int) () x86_64- linux-gnu/ libapt- pkg.so. 5.0 er::OrderInstal l() () from /usr/lib/ x86_64- linux-gnu/ libapt- pkg.so. 5.0 er::DoInstall( APT::Progress: :PackageManager *) () x86_64- linux-gnu/ libapt- pkg.so. 5.0 (CacheFile& , bool, bool, bool) () x86_64- linux-gnu/ libapt- private. so.0.0 x86_64- linux-gnu/ libapt- private. so.0.0 :DispatchArg( CommandLine: :Dispatch const*, bool) () x86_64- linux-gnu/ libapt- pkg.so. 5.0 Line(CommandLin e&, std::vector< CommandLine: :Dispatch, std::allocator< CommandLine: :Dispatch> > const&) () from /usr/lib/ x86_64- linux-gnu/ libapt- private. so.0.0 57aa0, argc=2, argv=0x7fffffff eb58, init=<optimized out>, <optimized out>, stack_end= 0x7fffffffeb48) at ../csu/ libc-start. c:291
0x00007ffff7b3e00d in debVersioningSy
from /usr/lib/
(gdb) bt
#0 0x00007ffff7b3e00d in debVersioningSy
from /usr/lib/
#1 0x00007ffff7b7161b in pkgPackageManag
() from /usr/lib/
#2 0x00007ffff7b71af8 in pkgPackageManag
from /usr/lib/
#3 0x00007ffff7b74bdd in ?? () from /usr/lib/
#4 0x00007ffff7b7224b in pkgPackageManag
from /usr/lib/
#5 0x00007ffff7b7768a in pkgPackageManag
#6 0x00007ffff7b76c11 in pkgPackageManag
from /usr/lib/
#7 0x00007ffff78353e0 in InstallPackages
from /usr/lib/
#8 0x00007ffff7858ede in ?? () from /usr/lib/
#9 0x00007ffff7afbc66 in CommandLine:
from /usr/lib/
#10 0x00007ffff782adf3 in DispatchCommand
#11 0x0000555555557b39 in ?? ()
#12 0x00007ffff6ed3841 in __libc_start_main (main=0x5555555
fini=<optimized out>, rtld_fini=
#13 0x0000555555557bf9 in ?? ()
(gdb)