[Bug 1220013] Re: python-apt can SIGSEGV when encountering Packages stanzas with no Description field (was: update-apt-xapian-index crashed with SIGSEGV in File())
Julian Andres Klode
juliank at ubuntu.com
Fri Mar 14 18:44:15 UTC 2014
The APT command-line code does the same loop python-apt does. If it
fails in python-apt, APT fails as well. So in that case, the best idea
might be to change APT by overriding end() to do the checks isGood()
does, so all clients work correctly. This would require a rebuild of all
reverse dependencies though, and is formally an ABI break.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1220013
Title:
python-apt can SIGSEGV when encountering Packages stanzas with no
Description field (was: update-apt-xapian-index crashed with SIGSEGV
in File())
Status in “apt” package in Ubuntu:
Confirmed
Status in “apt-xapian-index” package in Ubuntu:
Confirmed
Status in “python-apt” package in Ubuntu:
Confirmed
Bug description:
Errors Bucket:
http://errors.ubuntu.com/bug/1220013
There are 600+ reports of this on errors.ubuntu.com.
Something wrong
ProblemType: CrashDistroRelease: Ubuntu 13.10
Package: apt-xapian-index 0.45ubuntu2
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic i686
ApportVersion: 2.12.1-0ubuntu3
Architecture: i386
CrashCounter: 1
Date: Tue Sep 3 01:23:23 2013
ExecutablePath: /usr/sbin/update-apt-xapian-index
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/update-apt-xapian-index --quiet
ProcEnviron:
TERM=linux
PATH=(custom, no user)
SHELL=/bin/sh
SegvAnalysis:
Segfault happened at: 0xb6c9e020: imul $0x3c,(%eax),%ebp
PC (0xb6c9e020) ok
source "$0x3c" ok
destination "(%eax)" (0xd7ac1000) not located in a known VMA region (needed writable region)!
SegvReason: writing unknown VMA
Signal: 11SourcePackage: apt-xapian-index
StacktraceTop:
?? () from /usr/lib/python2.7/dist-packages/apt_pkg.so
?? ()
PyObject_GetAttr ()
PyEval_EvalFrameEx ()
?? ()
Title: update-apt-xapian-index crashed with SIGSEGV in PyObject_GetAttr()
UpgradeStatus: Upgraded to saucy on 2013-08-16 (17 days ago)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1220013/+subscriptions
More information about the foundations-bugs
mailing list