Bug 317151 - pirut hangs forever on empty search (eating CPU only)
Summary: pirut hangs forever on empty search (eating CPU only)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pirut
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-03 17:43 UTC by Doncho Gunchev
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-15 02:02:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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?


Note You need to log in before you can comment on or make changes to this bug.