[Bug 1497534] Re: apt-get crashed with SIGSEGV in strlen()

Steve Langasek steve.langasek at canonical.com
Fri Oct 2 22:05:16 UTC 2015


StackTraceSource.txt shows the failure is because at the time
debTranslationsIndex::Exists() is called, Language points to an invalid
string.

Tracking this down will be non-trivial without a reproducer case.  Is
anyone who's seen this bug able to reproduce it at will?  This bug
report shows the problem was triggered by running 'apt-get --yes
autoremove' as root (in an Italian locale).  If the problem is
reproducible, can someone please try running apt-get under valgrind?

** Changed in: apt (Ubuntu Wily)
       Status: Confirmed => Incomplete

-- 
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/1497534

Title:
  apt-get crashed with SIGSEGV in strlen()

Status in apt package in Ubuntu:
  Incomplete
Status in apt source package in Wily:
  Incomplete

Bug description:
  ubuntu 15.10 new upgrade

  ProblemType: Crash
  DistroRelease: Ubuntu 15.10
  Package: apt 1.0.9.10ubuntu6
  ProcVersionSignature: Ubuntu 4.2.0-10.11-generic 4.2.0
  Uname: Linux 4.2.0-10-generic x86_64
  ApportVersion: 2.18.1-0ubuntu1
  Architecture: amd64
  Date: Sat Sep 19 12:26:47 2015
  ExecutablePath: /usr/bin/apt-get
  InstallationDate: Installed on 2014-12-30 (262 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  ProcCmdline: apt-get --yes autoremove
  ProcEnviron:
   PATH=(custom, no user)
   LANG=it_IT.UTF-8
   LANGUAGE=it_IT
   SHELL=/bin/bash
   TERM=unknown
  SegvAnalysis:
   Segfault happened at: 0x7f73ded537fa <strlen+298>:	movdqa (%rax),%xmm8
   PC (0x7f73ded537fa) ok
   source "(%rax)" (0x5622126b7000) not located in a known VMA region (needed readable region)!
   destination "%xmm8" ok
  SegvReason: reading unknown VMA
  Signal: 11
  SourcePackage: apt
  StacktraceTop:
   strlen () at ../sysdeps/x86_64/strlen.S:214
   debTranslationsIndex::IndexURI[abi:cxx11](char const*) const () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.16
   debTranslationsIndex::Exists() const () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.16
   ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.16
   pkgCacheGenerator::MakeStatusCache(pkgSourceList&, OpProgress*, MMap**, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.16
  Title: apt-get crashed with SIGSEGV in strlen()
  UpgradeStatus: Upgraded to wily on 2015-09-19 (0 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1497534/+subscriptions



More information about the foundations-bugs mailing list