[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Segmentation faults with aptitude and apt-get on some packages



On 11/16/2016 06:13 PM, rod wrote:
> The current problem I'm having is this:
> 
> root@mw-monitor:/home/rod# aptitude
> Ouch!  Got SIGSEGV, dying..
> Segmentation fault

This has turned out to be an issue with libstdc++6 which comes from the gcc-6
package which was built with a broken version of binutils. The buildds are
currently building a fresh gcc-6 package which is being built with a fixed
version of binutils which should mitigate the problem.

For anyone experiencing the issue, here is a quick workaround to fix apt
for the time being until the buildds have finished building the new gcc-6
package (which should be in around 2-3 hours).

Fix:

$ wget http://snapshot.debian.org/archive/debian-ports/20161022T004918Z/pool-sparc64/main/g/gcc-6/gcc-6-base_6.2.0-9_sparc64.deb \
       http://snapshot.debian.org/archive/debian-ports/20161022T004918Z/pool-sparc64/main/g/gcc-6/libstdc%2B%2B6_6.2.0-9_sparc64.deb
$ dpkg -i gcc-6-base_6.2.0-9_sparc64.deb libstdc++6_6.2.0-9_sparc64.deb

Once gcc-6_6.2.1-3 has finished building on sparc64 here [1], it should be
safe to dist-upgrade the machine again.

Please let us know when you encounter any other issues.

Adrian

> [1] https://buildd.debian.org/status/package.php?p=gcc-6&suite=sid

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: