Bug 378737

Summary: YaST segfaults on package installation
Product: [openSUSE] openSUSE 11.0 Reporter: Michal Svec <msvec>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED FIXED QA Contact: Duncan Mac-Vicar <dmacvicar>
Severity: Critical    
Priority: P5 - None CC: jsuchome, ma
Version: Alpha 3plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs

Description Michal Svec 2008-04-10 13:04:55 UTC
* bash# yast2 fingerprint-reader
* "Use Fingerprint Reader"
* Finish
-> wants to install pam_thinkfinger
* Install
-> sig11

Looks like a bug in libzypp.
Comment 1 Michal Svec 2008-04-10 13:05:35 UTC
Created attachment 207223 [details]
y2logs
Comment 2 Jiří Suchomel 2008-04-11 12:50:50 UTC
The package pam_thinkfinger should actually already be installed (or at least selected for installation, but I don't expect Michal manually unselected it) because of its

Supplements:    modalias(usb:v0483p2016d*dc*dsc*dp*ic*isc*ip*)

(see bug 378757)


If it wasn't installed, it is probably another zypp bug.
Comment 3 Jiří Suchomel 2008-04-14 07:04:35 UTC
I booted 11.0 Alpha3+ on x86_64 machine and these packages are preselected for installation:

libthinkfinger
libthinkfinger-32bit
pam_thinkfinger-32bit,

but not pam_thinkfinger! I don't know if this is bug in packaging (Timo) or in solver (Schubi), please check.
Comment 4 Jiří Suchomel 2008-04-14 07:13:55 UTC
Sorry for stealing the topic of this bug: I created new bug  379573 for the problem with pam_thinkfinger not pre-selected.
Comment 5 Michael Andres 2008-04-17 15:14:29 UTC
(In reply to comment #3 from Jiri Suchomel)
> but not pam_thinkfinger! I don't know if this is bug in packaging (Timo) or in
> solver (Schubi), please check.

Evaluation of hardware dependencies requires beta1 (libzypp-4.11).

Comment 6 Michael Andres 2008-04-22 15:06:23 UTC
Fixed in libzypp-4.13.3.

   Frame  2: /lib64/libc.so.6 [0x7fddb75b5330]
   Frame  3: /usr/lib64/libzypp.so.407  zypp::Repository::get() const
   Frame  4: /usr/lib64/libzypp.so.407  zypp::Repository::info() const
   Frame  5: /usr/lib64/YaST2/plugin/libpy2Pkg.so.2  
             PkgFunctions::AnyResolvableFrom(std::string const&)

Retriveing the Repository iterator wrongly created an empty system repository, which invalidated the returned iterator.