Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 99517

Summary: "equery depends --all-packages" memory leak.
Product: Portage Development Reporter: Peter Volkov (RETIRED) <pva>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Volkov (RETIRED) gentoo-dev 2005-07-19 06:10:09 UTC
When I issue "equery depends --all-packages foo" it eats more and more memory.   
I have to kill it when memory usage exceed 700Mb.   
   
I've checked and found this behaviour in app-portage/gentoolkit-0.2.0 and   
app-portage/gentoolkit-0.2.1_pre4. 
   

Reproducible: Always
Steps to Reproduce:
1. equery depends --all-packages gtk+ 
2. Wait. You may issue top on the other console. 
3. For some time equery will read your hdd, then it stops reading. CPU usage 
grows to 100% and equery begins to eat more and more of your memory. 
   


Expected Results:  
I think equery shall return list of packages in portage that are dependencies   
for gtk+.   

I've asked on irc channel #gentoo-dev and at least 3 developers confirmed this  
bug. 
 
I've marked this bug as major because in gentoolkit-0.2.1 qpkg will be moved 
out of bin directory, so the only official way to check dependencies will be 
equery. 
 
May be this bug is related to bug 66429 .
Comment 1 Paul Varner (RETIRED) gentoo-dev 2005-07-19 09:21:33 UTC

*** This bug has been marked as a duplicate of 90680 ***