[Bug 1507211] Re: aptitude segfaults during dependency resolution
Richard Hansen
1507211 at bugs.launchpad.net
Tue Dec 15 04:59:36 UTC 2015
** Description changed:
+ [Impact]
+
+ Aptitude regularly crashes when trying to mark packages for deletion due
+ to an infinite loop in a recursive function (improperly handled circular
+ dependencies).
+
+ [Test Case]
+
+ 1. start up aptitude: sudo aptitude
+ 2. open up a flat package view: Ctrl-T -> Views -> New Flat Package List
+ 3. type 'l' to limit the displayed packages
+ 4. enter "~i!~M" (without the quotes) to only show manually installed packages
+ 5. select each package one at a time and mark it for purge by pressing '_' (underscore)
+
+ If the bug is not fixed, aptitude will eventually crash (run the 'reset'
+ command to fix your terminal's state once that happens).
+
+ [Regression Potential]
+
+ The patch alters the logic used to automatically mark packages for
+ deletion. Any regressions should appear there.
+
+ The patch is cherry-picked from the upstream Git repository, so upstream
+ recognizes the bug and approves of this fix. However, upstream might
+ have committed additional related changes (e.g., to fix a hypothetical
+ flaw in this patch) without us realizing it.
+
+ [Original Description]
+
Hi.
I just installed a new Ubuntu MATE 15.10 for my mom and I was selecting
packages when aptitude simply crashed. I am using (for reasons beyond my
control right now) the 32 bit version if that matters.
I don't know if I can reproduce the problem or not, but I may try
(despite the fact I do not have frequent access to this computer).
If any further information is needed, please let me know.
Thanks,
Rogério Brito.
ProblemType: Crash
DistroRelease: Ubuntu 15.10
Package: aptitude 0.7.3-1ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-11-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.19.1-0ubuntu2
Architecture: i386
Date: Sat Oct 17 21:17:03 2015
ExecutablePath: /usr/bin/aptitude-curses
InstallationDate: Installed on 2015-10-17 (0 days ago)
InstallationMedia: Ubuntu-MATE 15.10 "Wily Werewolf" - Alpha i386 (20150924)
ProcCmdline: aptitude
SegvAnalysis: Skipped: missing required field "Disassembly"
Signal: 11
SourcePackage: aptitude
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
== Regression details ==
Discovered in version: 0.7.3-1ubuntu1
Last known good version: 0.6.11-1ubuntu3
--
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/1507211
Title:
aptitude segfaults during dependency resolution
Status in aptitude package in Ubuntu:
Fix Released
Status in aptitude package in Debian:
Fix Released
Bug description:
[Impact]
Aptitude regularly crashes when trying to mark packages for deletion
due to an infinite loop in a recursive function (improperly handled
circular dependencies).
[Test Case]
1. start up aptitude: sudo aptitude
2. open up a flat package view: Ctrl-T -> Views -> New Flat Package List
3. type 'l' to limit the displayed packages
4. enter "~i!~M" (without the quotes) to only show manually installed packages
5. select each package one at a time and mark it for purge by pressing '_' (underscore)
If the bug is not fixed, aptitude will eventually crash (run the
'reset' command to fix your terminal's state once that happens).
[Regression Potential]
The patch alters the logic used to automatically mark packages for
deletion. Any regressions should appear there.
The patch is cherry-picked from the upstream Git repository, so
upstream recognizes the bug and approves of this fix. However,
upstream might have committed additional related changes (e.g., to fix
a hypothetical flaw in this patch) without us realizing it.
[Original Description]
Hi.
I just installed a new Ubuntu MATE 15.10 for my mom and I was
selecting packages when aptitude simply crashed. I am using (for
reasons beyond my control right now) the 32 bit version if that
matters.
I don't know if I can reproduce the problem or not, but I may try
(despite the fact I do not have frequent access to this computer).
If any further information is needed, please let me know.
Thanks,
Rogério Brito.
ProblemType: Crash
DistroRelease: Ubuntu 15.10
Package: aptitude 0.7.3-1ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-11-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.19.1-0ubuntu2
Architecture: i386
Date: Sat Oct 17 21:17:03 2015
ExecutablePath: /usr/bin/aptitude-curses
InstallationDate: Installed on 2015-10-17 (0 days ago)
InstallationMedia: Ubuntu-MATE 15.10 "Wily Werewolf" - Alpha i386 (20150924)
ProcCmdline: aptitude
SegvAnalysis: Skipped: missing required field "Disassembly"
Signal: 11
SourcePackage: aptitude
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
== Regression details ==
Discovered in version: 0.7.3-1ubuntu1
Last known good version: 0.6.11-1ubuntu3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1507211/+subscriptions
More information about the foundations-bugs
mailing list