← Back to team overview

touch-packages team mailing list archive

[Bug 1445436] Re: Segmentation faults in libapt-pkg.so.4.12.0

 

I am affected as well. I'm using Linux Mint 17 on a 64-bit laptop. For me the error came immediately (or after downloading for apt-get update) and gave the following message :
         
       Segmentation fault
       E: Problem executing scripts APT::Update::Post-Invoke-Success 'test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i'
       E: Sub-process returned an error code

I used the debugger to determine that the offending line in apt-show-
versions was line 55 :

    my $cache = AptPkg::Cache->new;

The fix provided above worked. Deleting any files in /var didn't.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1445436

Title:
  Segmentation faults in libapt-pkg.so.4.12.0

Status in apt package in Ubuntu:
  New

Bug description:
  For no obvious reason whatsoever it is now completely impossible for
  me to use APT. Furthermore it is completely impossible for me to
  report a bug with apport.

  apport-gtk[4025]: segfault at aca04d24 ip b4b622f1 sp aebe7240 error 6 in libapt-pkg.so.4.12.0[b4a8c000+125000]
  apt-get[4087]: segfault at b58bed24 ip b768c2f1 sp bfc6d800 error 6 in libapt-pkg.so.4.12.0[b75b6000+125000]
  apt-cache[4827]: segfault at b58fbd24 ip b76c82f1 sp bfc7ece0 error 6 in libapt-pkg.so.4.12.0[b75f2000+125000]
  apport-gtk[4886]: segfault at ab92fd24 ip b4b8d2f1 sp b46d4240 error 6 in libapt-pkg.so.4.12.0[b4ab7000+125000]
  apt-get[4929]: segfault at b5953d24 ip b77212f1 sp bfb75f40 error 6 in libapt-pkg.so.4.12.0[b764b000+125000]
  apt-get[5110]: segfault at b58c9d24 ip b7697281 sp bf9cf750 error 6 in libapt-pkg.so.4.12.0[b75c1000+125000]
  apt-get[5258]: segfault at b58f0d24 ip b76bd281 sp bfa1fe40 error 6 in libapt-pkg.so.4.12.0[b75e7000+125000]
  apt-get[5381]: segfault at b58bad24 ip b7687281 sp bfdaf300 error 6 in libapt-pkg.so.4.12.0[b75b1000+125000]
  apt-get[5991]: segfault at b595ed24 ip b772c281 sp bff062a0 error 6 in libapt-pkg.so.4.12.0[b7656000+125000]
  apt-get[6104]: segfault at b5982d24 ip b7750281 sp bfdbeee0 error 6 in libapt-pkg.so.4.12.0[b767a000+125000]
  apt-get[6279]: segfault at b597dd24 ip b774b281 sp bfab9600 error 6 in libapt-pkg.so.4.12.0[b7675000+125000]
  apt-get[6814]: segfault at b58b4d24 ip b7682281 sp bfb1efe0 error 6 in libapt-pkg.so.4.12.0[b75ac000+125000]

  I have tried reinstalling libapt-
  pkg4.12_0.8.16~exp12ubuntu10.21_i386.deb but nothing changes.

  Last upgrade log:

  Start-Date: 2015-04-15  00:39:51
  Commandline: /usr/bin/apt-get dist-upgrade
  Upgrade: libsdl1.2debian:i386 (1.2.14-6.4ubuntu3, 1.2.14-6.4ubuntu3.1), libxfixes3:i386 (5.0-4ubuntu4.3, 5.0-4ubuntu4.4), libx11-data:i386 (1.4.99.1-0ubuntu2.2, 1.4.99.1-0ubuntu2.3), libxi-dev:i386 (1.7.1.901-1ubuntu1~precise2, 1.7.1.901-1ubuntu1~precise3), libxrender-dev:i386 (0.9.6-2ubuntu0.1, 0.9.6-2ubuntu0.2), libx11-xcb1:i386 (1.4.99.1-0ubuntu2.2, 1.4.99.1-0ubuntu2.3), x11proto-core-dev:i386 (7.0.22-1ubuntu0.1, 7.0.22-1ubuntu0.2), libxext-dev:i386 (1.3.0-3ubuntu0.1, 1.3.0-3ubuntu0.2), xserver-xorg-video-vmware:i386 (12.0.1-1ubuntu1.1, 12.0.1-1ubuntu1.2), libxrender1:i386 (0.9.6-2ubuntu0.1, 0.9.6-2ubuntu0.2), libxrandr-dev:i386 (1.3.2-2ubuntu0.2, 1.3.2-2ubuntu0.3), libx11-6:i386 (1.4.99.1-0ubuntu2.2, 1.4.99.1-0ubuntu2.3), ntpdate:i386 (4.2.6.p3+dfsg-1ubuntu3.3, 4.2.6.p3+dfsg-1ubuntu3.4), libx11-dev:i386 (1.4.99.1-0ubuntu2.2, 1.4.99.1-0ubuntu2.3), libx11-doc:i386 (1.4.99.1-0ubuntu2.2, 1.4.99.1-0ubuntu2.3), libxfixes-dev:i386 (5.0-4ubuntu4.3, 5.0-4ubuntu4.4), libxi6:i386 (1.7.1.901-1ubuntu1~precise2, 1.7.1.901-1ubuntu1~precise3), libxp6:i386 (1.0.1-2ubuntu0.12.04.1, 1.0.1-2ubuntu0.12.04.2), libxv1:i386 (1.0.6-2ubuntu0.1, 1.0.6-2ubuntu0.2), libxext6:i386 (1.3.0-3ubuntu0.1, 1.3.0-3ubuntu0.2), libxrandr2:i386 (1.3.2-2ubuntu0.2, 1.3.2-2ubuntu0.3)
  End-Date: 2015-04-15  00:40:43

  Clearing the entire archive including *.bin* files didn't work.
  http://askubuntu.com/a/14552/170177

  Increasing or disabling the cache limit made no difference.
  https://aziest.wordpress.com/2011/01/24/how-to-increase-your-apt-cache-limit/

  Still looking and will update.
  --- 
  ApportVersion: 2.0.1-0ubuntu17.8
  Architecture: i386
  DistroRelease: Ubuntu 12.04
  MarkForUpload: True
  NonfreeKernelModules: nvidia
  Package: apt 0.8.16~exp12ubuntu10.23
  PackageArchitecture: i386
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.11.0-26.45~precise1-generic 3.11.10.12
  Tags:  precise package-from-proposed
  Uname: Linux 3.11.0-26-generic i686
  UpgradeStatus: Upgraded to precise on 2014-12-07 (130 days ago)
  UserGroups: adm admin audio cdrom debian-tor dialout dip fax floppy fuse lp lpadmin plugdev sambashare scanner tape video

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


References