Public bug reported: 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@entry=0x7ffff5d94c00 <main_arena>, bytes=bytes@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) ** Affects: aptitude (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug wily -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1516438 Title: Segfault when simulating removing all i386 packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1516438/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs