Bug 396666

Summary: product creator crashed after selecting path to iso image/subtree
Product: [openSUSE] openSUSE 11.0 Reporter: Josef Reidinger <jreidinger>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Critical    
Priority: P5 - None CC: jsuchome
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2 logs
patch for /usr/share/YaST2/include/product-creator/dialogs.ycp

Description Josef Reidinger 2008-06-03 11:28:13 UTC
Created attachment 219772 [details]
yast2 logs

way to reproduce:
1)fresh install from dvd
2) install yast2-product-creator
3) select Package Manager
4) select some repository ( I try DVD or internet source, for both crashed)
5) choose path (both iso image and subdirectory tree failed)
6) click on next and product creator crash.

I choose different combination of options and everytime it crashed with:
/sbin/yast2: line 421: 28984 Segmentation fault      $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS
Comment 1 Jiří Suchomel 2008-06-03 11:34:49 UTC
For me, it doesn't crash, but the selected source is not added and thus I see no packages to select.
Comment 2 Jiří Suchomel 2008-06-03 11:43:21 UTC
Created attachment 219776 [details]
patch for /usr/share/YaST2/include/product-creator/dialogs.ycp

This seems to fix my issue. Josef, does it help with yours?
Comment 3 Josef Reidinger 2008-06-03 11:58:59 UTC
after apply this patch, it works
Comment 5 Ladislav Slezák 2008-06-03 13:55:45 UTC
The patch seems to be correct, the key is defined only when there is defined more than one repository.
Comment 6 Jiří Suchomel 2008-06-03 13:57:20 UTC
(15:43:14)  jsuchome:  coolo: I know it is not a blocker for a release, but it looks like
1) that product-creator tends to be unusable without the patch
2) the patch can't break anything (TM) 
(15:44:09)  coolo:  jsuchome: fine with me, I have other things to do than to review every major bug 
(15:44:20)  coolo:  but if it's unusuable, the bug is critical

-> fixed in yast2-product-creator-2.16.19