[Aptitude-devel] Bug#801430: aptitude: segfault maybe casued by package dependency loop aptitudeDepCache::internal_mark_delete loop here

张敬强 zh_jq at outlook.com
Sat Oct 10 17:16:58 UTC 2015


>>The bug is caused by libxmlrpc-lite-perl and libsoap-lite-perl
>>libsoap-lite-perl depends libxmlrpc-lite-perl, while the latter one
>>recommends the previous one. 
>>The step to reproduce:
>>1.Install libsoap-lite-perl, make sure libxmlrpc-lite-perl is marked as
>>auto-installed 2.Select package libsoap-lite-perl, Press 'M'
>>3.Press 'g'
>>4.Select libxmlrpc-lite-perl or libsoap-lite-perl, press '_'
>>5.crash
> 
> I cannot reproduce it as it is, maybe because I have devscripts
> installed, which recommends libsoap-lite-perl.
Today I uninstalled maint-guide and devscripts on my work computer and found 
this.
> 
> But interested to know, do you have ::Purge-Unused enabled in (user or
> root's) ~/.aptitude/config ?  Can you post that file?
On my old laptop, aptitude crash when "_" or "-" pkg postgresql-9.4 with the 
same backtrace.
/root/.aptitude/config content on this machine:

aptitude "";
aptitude::Keep-Unused-Pattern "";
aptitude::Delete-Unused-Pattern "";
aptitude::UI "";
aptitude::UI::Menubar-Autohide "true";
aptitude::UI::Package-Display-Format "%c%a%M%S %p %Z %t %v %V";
aptitude::UI::Package-Status-Format "%d %t";
aptitude::UI::Advance-On-Action "false";
aptitude::AutoClean-After-Update "true";


I can not reproduce both of them on my new laptop, on which two more lines
in /root/.aptitude/config:

APT "";
APT::Install-Recommends "false";

If I remove these two lines, the bug can be reproduced on my new laptop.

Thanks 		 	   		  


More information about the Aptitude-devel mailing list