Bug 394504

Summary: YaST Packager (Qt): Searching for *test* kills YaST
Product: [openSUSE] openSUSE 11.0 Reporter: Lukas Ocilka <locilka>
Component: libzyppAssignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: casualprogrammer, coolo, deanjo, dmacvicar
Version: Beta 3plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST log

Description Lukas Ocilka 2008-05-26 14:06:21 UTC
Created attachment 218122 [details]
YaST log

1.) Run YaST package management
2.) Enter "*test*" in the search field
3.) Press enter to proceed

[ui] YCP_UI.cc(RunPkgSelection):1398 Running package selection...
[zypp] Exception.cc(log):119 Regex.cc(assign):43 THROW:    Regex.cc(assign):43: Invalid preceding regular expression
[qt-ui] YQUI_builtins.cc(runPkgSelection):71 Caught std::exception: Invalid preceding regular expression
[qt-ui] YQUI_builtins.cc(runPkgSelection):71 This is a libzypp problem. Do not file a bug against the UI!
[qt-pkg] YQPackageSelectorBase.cc(~YQPackageSelectorBase):94 Destroying PackageSelector

BTW: It works in ncurses :))) ;)
Comment 1 Lukas Ocilka 2008-05-26 14:07:00 UTC
libzypp-4.25.0-3
yast2-qt-pkg-2.16.44-3
Comment 2 Duncan Mac-Vicar 2008-05-26 14:12:18 UTC
it works in ncurses because ncurses uses manual searching, while Qt UI is using the new PoolQuery to search in the solv files at maximum speed.

Sadly it seems the speed breaks physics laws and the runtime kills the operation to save the universe from implosion. I will look at it!
Comment 3 Lukas Ocilka 2008-05-26 14:16:43 UTC
Bubli: FYI, see comment #2 (11.1?)
Comment 4 Duncan Mac-Vicar 2008-05-26 14:27:41 UTC
This can't be critical, happens with one string!
Comment 5 Stephan Kulow 2008-05-26 14:34:47 UTC
#11 0xb716a1c8 in zypp::_ZYPP_THROW<zypp::Exception> (excpt_r=@0xb5a07764, where_r=@0xb5a07780) at /usr/include/zypp/base/Exception.h:280
#12 0xb6fd929a in zypp::str::regex::assign (this=0xb5a07a5c, str=@0x912e310, flags=15) at /usr/src/debug/libzypp-4.25.0/zypp/base/Regex.cc:43
#13 0xb6fd936e in regex (this=0xb5a07a5c, str=@0x912e310, flags=15) at /usr/src/debug/libzypp-4.25.0/zypp/base/Regex.cc:49
#14 0xb6f492e6 in zypp::PoolQuery::Impl::compile (this=0x912e2f8) at /usr/src/debug/libzypp-4.25.0/zypp/PoolQuery.cc:241
#15 0xb6f49e42 in zypp::PoolQuery::Impl::begin (this=0x912e2f8) at /usr/src/debug/libzypp-4.25.0/zypp/PoolQuery.cc:383
#16 0xb6f4a8eb in zypp::PoolQuery::begin (this=0xb5a087e8) at /usr/src/debug/libzypp-4.25.0/zypp/PoolQuery.cc:894
Comment 6 Duncan Mac-Vicar 2008-05-26 14:38:30 UTC
indeed happens with all
Comment 7 Duncan Mac-Vicar 2008-05-26 14:49:16 UTC
submitted
Comment 8 Lukas Ocilka 2008-05-28 08:19:26 UTC
*** Bug 394977 has been marked as a duplicate of this bug. ***
Comment 9 Casual J. Programmer 2008-05-28 08:30:13 UTC
How would one possibly find this Bug ("YaST Packager (Qt): Searching for *test* kills YaST"), trying to prevent a duplicate ? 
Comment 10 Lukas Ocilka 2008-05-28 08:31:58 UTC
Not quite easily :) Sorry for that.
Comment 11 Lukas Ocilka 2008-05-28 08:33:03 UTC
*** Bug 394980 has been marked as a duplicate of this bug. ***
Comment 12 Stefan Hundhammer 2008-05-28 09:53:12 UTC
(In reply to comment #9 from Casual J. Programmer)
> How would one possibly find this Bug ("YaST Packager (Qt): Searching for 
> *test* kills YaST"), trying to prevent a duplicate ? 

Sadly enough, there is a lot of room for improvement in our Bugzilla's search capabilities. Something like the KDE Bugzilla's full text search when trying to add a new bug would be very nice.

Comment 13 Casual J. Programmer 2008-05-28 10:02:35 UTC
What can be done to push such improvements ? File an enhancement Bug ( against what ). I think this should get high priority as well, as it would free scarce resources for more sensible tasks.
Comment 14 Lukas Ocilka 2008-05-28 10:11:44 UTC
Let's move the discussion to yast-devel or opensuse-factory mailing-lists, please. There should be more people involved.

See also http://mvidner.blogspot.com/2008/05/easier-bugzilla-search.html
Comment 15 Stephan Kulow 2008-05-28 11:55:19 UTC
bugzilla is a product in bugzilla, but I don't know if it's public. The topic comes up regularly in the opensuse-project IRC meeting - but it's novell's bugzilla, so there is not much we can do atm ;(

I doubt someone wants to host and maintain his own bugzilla for openSUSE yast issues.
Comment 16 Lukas Ocilka 2008-05-28 14:10:28 UTC
*** Bug 395080 has been marked as a duplicate of this bug. ***