[Bug 1516438] Re: Segfault when simulating removing all i386 packages
Axel Beckert
abe at debian.org
Sun Nov 15 20:27:11 UTC 2015
Hi,
Nate Eldredge wrote:
> I wanted to see what would happen if I removed all i386 packages (I am
> on amd64) so I ran
>
> aptitude -s remove '~ri386 ~i'
At least can't reproduce this with 0.7.4-1 in Debian. 0.7.3 is known
to be quite buggy.
> I got a segfault. I compiled aptitude with debug info
No need to do this, there is a debug package for aptitude:
http://packages.ubuntu.com/search?keywords=aptitude-dbg
> There then follow hundreds more repetitions of internal_mark_delete. I
> am not sure if this is very deep recursion, or stack corruption, or
> what.
Yeah. This is very likely https://bugs.debian.org/801430 (circular
dependencies in internal_mark_delete()) which has been fixed in 0.7.4-1.
> I assume this is probably specific to the set of packages I have
> installed. What is the best way for me to send the information that you
> need?
aptitude-create-state-bundle -- but that's probably not needed as this
is very likely already fixed (in Debian).
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
** Bug watch added: Debian Bug tracker #801430
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801430
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/1516438
Title:
Segfault when simulating removing all i386 packages
Status in aptitude package in Ubuntu:
New
Bug description:
I wanted to see what would happen if I removed all i386 packages (I am
on amd64) so I ran
aptitude -s remove '~ri386 ~i'
I got a segfault. I compiled aptitude with debug info and got this
backtrace:
#0 0x00007ffff5a518ef in _int_malloc (av=av at entry=0x7ffff5d94c00 <main_arena>, bytes=bytes at entry=48)
at malloc.c:3326
#1 0x00007ffff5a5450e in __GI___libc_malloc (bytes=48) at malloc.c:2895
#2 0x00007ffff6347188 in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff7b42177 in pkgDepCache::SetReInstall(pkgCache::PkgIterator const&, bool) ()
from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.16
#4 0x0000555555795974 in aptitudeDepCache::internal_mark_delete (this=0x555555daff30, Pkg=..., Purge=false,
unused_delete=true) at ../../../../src/generic/apt/aptcache.cc:1248
There then follow hundreds more repetitions of internal_mark_delete.
I am not sure if this is very deep recursion, or stack corruption, or
what.
I assume this is probably specific to the set of packages I have
installed. What is the best way for me to send the information that
you need?
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: aptitude 0.7.3-1ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-18.22-generic 4.2.3
Uname: Linux 4.2.0-18-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.19.1-0ubuntu4
Architecture: amd64
Date: Sun Nov 15 13:02:14 2015
SourcePackage: aptitude
UpgradeStatus: Upgraded to wily on 2015-11-15 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1516438/+subscriptions
More information about the foundations-bugs
mailing list