[Bug 842676] Re: aptd crashed with SIGSEGV in pkgProblemResolver::MakeScores()
Julian Andres Klode
juliank at ubuntu.com
Thu Mar 29 09:45:25 UTC 2012
Two options:
(a) If we release the GIL, and call pkgAllUpgrade(), pkgAllUpgrade() can
modify the depCache. If now another (Python)-thread accesses the
depcache, we're lost (and that's potentially a real bug, given that APT
is almost totally not thread-safe).
(b) The cache file is broken - we rule out too short cache files now, as
that is detected since August 2011, so it can basically only be caused
by a broken storage or memory.
--
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/842676
Title:
aptd crashed with SIGSEGV in pkgProblemResolver::MakeScores()
Status in “python-apt” package in Ubuntu:
New
Bug description:
hi
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: aptdaemon 0.43+bzr691
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic i686
Architecture: i386
Date: Tue Sep 6 11:57:07 2011
DesktopFile: /usr/share/aptdaemon/aptdaemon.desktop
ExecutablePath: /usr/sbin/aptd
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/aptd
ProcEnviron:
SegvAnalysis:
Segfault happened at: 0x103dc4d <_ZN18pkgProblemResolver10MakeScoresEv+1645>: imul $0x1c,0x28(%eax),%eax
PC (0x0103dc4d) ok
source "$0x1c" ok
destination "0x28(%eax)" (0xc405a8b8) not located in a known VMA region (needed writable region)!
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: aptdaemon
StacktraceTop:
pkgProblemResolver::MakeScores() () from /usr/lib/libapt-pkg.so.4.11
pkgProblemResolver::ResolveByKeepInternal() () from /usr/lib/libapt-pkg.so.4.11
pkgProblemResolver::ResolveByKeep() () from /usr/lib/libapt-pkg.so.4.11
pkgAllUpgrade(pkgDepCache&) () from /usr/lib/libapt-pkg.so.4.11
?? () from /usr/lib/python2.7/dist-packages/apt_pkg.so
Title: aptd crashed with SIGSEGV in pkgProblemResolver::MakeScores()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/842676/+subscriptions
More information about the foundations-bugs
mailing list