Bug 396666 - product creator crashed after selecting path to iso image/subtree
Summary: product creator crashed after selecting path to iso image/subtree
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: RC 1
Hardware: Other Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-03 11:28 UTC by Josef Reidinger
Modified: 2008-06-03 13:57 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
yast2 logs (1.33 MB, application/x-gzip)
2008-06-03 11:28 UTC, Josef Reidinger
Details
patch for /usr/share/YaST2/include/product-creator/dialogs.ycp (552 bytes, patch)
2008-06-03 11:43 UTC, Jiří Suchomel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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