[Bug 1549819] Re: SIGSEGV when reloading cache after setting architecture to ""
Andreas Hasenack
andreas at canonical.com
Thu Feb 25 15:41:47 UTC 2016
Here is a bt full from this reproducer given to me by juliank:
$ cat a.cfg
APT::Architecture "";
$ apt-cache gencaches -c a.cfg -o Dir::Cache=$PWD -o Debug::NoLocking=1
Reading package lists... Error!
E: The package cache was built for different architectures: vs i386
W: You may want to run apt-get update to correct these problems
E: The package cache file is corrupted
http://pastebin.ubuntu.com/15197953/
Also attached in case the pastebin gets wiped.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1549819
Title:
SIGSEGV when reloading cache after setting architecture to ""
Status in apt package in Ubuntu:
Confirmed
Status in landscape-client package in Ubuntu:
Confirmed
Bug description:
When reloading the cache, after setting an architecture, the Python
process segfaults.
Simple script to reproduce is at: http://paste.ubuntu.com/15197359/
Tested on a Xenial LXD with Wily host (on the host, the script doesn't
trigger the segfault).
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: python-apt 1.1.0~beta1build1
ProcVersionSignature: Ubuntu 4.2.0-27.32-generic 4.2.8-ckt1
Uname: Linux 4.2.0-27-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
Date: Thu Feb 25 14:09:39 2016
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-apt
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1549819/+subscriptions
More information about the foundations-bugs
mailing list