Bug 317151

Summary: pirut hangs forever on empty search (eating CPU only)
Product: [Fedora] Fedora Reporter: Doncho Gunchev <dgunchev>
Component: pirutAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: james.antill
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-15 02:02:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Doncho Gunchev 2007-10-03 17:43:04 UTC
Description of problem:
If I search for empty string in pirut it hangs forever (it does not even 
redraws) and eats the whole CPU.

Version-Release number of selected component (if applicable):
pirut-1.3.22-1.fc8

How reproducible:
always

Steps to Reproduce:
1. start pirut
2. go to the search tab
3. hit search without entering single letter to search for

Actual results:
Hangs and eats the CPU forever, kill -9 is needed.

Expected results:
should just list all available/installed or both packages.

Additional info:
The previous version has this problem too. Here's the console output I got:
--- cut ---
Loading "refresh-updatesd" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
--- cut ---
I don't have 3 repos enabled, just devel?!?

Comment 1 Jeremy Katz 2007-10-03 18:04:58 UTC
Thanks, fixed in CVS

Comment 2 Doncho Gunchev 2007-10-03 19:21:13 UTC
Wow, that was *FAST*! Thank you!
Will test the new one when ready :-)

Comment 3 Doncho Gunchev 2007-10-15 00:29:43 UTC
I think this one is fixed. I used to search for '' (empty string) to get a 
list of all packages, now I have to search for '*' though (single star). I 
don't know if anyone else used this empty search 'feature', but figuring out a 
single star does the trick is easy...

Can this be related to bug # 240606?