apt-get crashed with SIGSEGV in pkgDepCache::CheckDep()

Bug #857504 reported by Pierre
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

"Ubuntu 11.10" is a guest OS running on top of VirtualBox 4.1.2

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: apt 0.8.16~exp5ubuntu11
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
CrashCounter: 1
Date: Wed Sep 21 19:08:59 2011
ExecutablePath: /usr/bin/apt-get
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110915.1)
ProcCmdline: apt-get upgrade
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
SegvAnalysis:
 Segfault happened at: 0x7f51b601af95 <_ZN11pkgDepCache8CheckDepEN8pkgCache11DepIteratorEiRNS0_11PkgIteratorE+581>: cmp %edx,0x14(%rax)
 PC (0x7f51b601af95) ok
 source "%edx" ok
 destination "0x14(%rax)" (0x7f51b7a68474) not located in a known VMA region (needed writable region)!
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: apt
StacktraceTop:
 pkgDepCache::CheckDep(pkgCache::DepIterator, int, pkgCache::PkgIterator&) () from /usr/lib/libapt-pkg.so.4.11
 pkgDepCache::DependencyState(pkgCache::DepIterator&) () from /usr/lib/libapt-pkg.so.4.11
 pkgDepCache::Update(OpProgress*) () from /usr/lib/libapt-pkg.so.4.11
 pkgDepCache::Init(OpProgress*) () from /usr/lib/libapt-pkg.so.4.11
 pkgCacheFile::BuildDepCache(OpProgress*) () from /usr/lib/libapt-pkg.so.4.11
Title: apt-get crashed with SIGSEGV in pkgDepCache::CheckDep()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Pierre (pierred) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 pkgDepCache::CheckDep (this=0x1f25bb0, Dep=..., Type=0, Res=...) at depcache.cc:372
 CheckDep (Type=0, Dep=<optimized out>, this=0x1f25bb0) at ../build/include/apt-pkg/depcache.h:315
 pkgDepCache::DependencyState (this=0x1f25bb0, D=...) at depcache.cc:606
 pkgDepCache::Update (this=0x1f25bb0, Prog=0x7fff7f47a590) at depcache.cc:679
 pkgDepCache::Init (this=0x1f25bb0, Prog=0x7fff7f47a590) at depcache.cc:158

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in apt (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt (Ubuntu):
status: New → Confirmed
Revision history for this message
Robert Roth (evfool) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

visibility: private → public
tags: added: precise
Revision history for this message
LAZA (laza74) wrote :

Happened for my today twice on a Internetcafé machine.

OS: Xubuntu 12.04, 32 Bit, up to date

Revision history for this message
Julian Andres Klode (juliank) wrote :

We believe that this bug is caused by an invalid cache file, broken hardware, or that it is fixed in recent APT versions, and I am thus closing the bug, so we can focus on others.

Changed in apt (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.