Bug 151945 - YaST crashes when adding false installation directory
Summary: YaST crashes when adding false installation directory
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 4
Hardware: i686 SuSE Linux 10.1
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Klaus Kämpf
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-17 20:44 UTC by Forgotten User OS1JNCFbCX
Modified: 2006-03-14 15:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User OS1JNCFbCX 2006-02-17 20:44:45 UTC
When accidently trying to add a directory ad installation source that does not actually contain one YaST crashes with:

terminate called after throwing an instance of 'zypp::media::MediaFileNotFoundException'
  what():  Media Exception
/sbin/yast2: line 207:  5166 Aborted                 $ybindir/y2base $module "$@" qt "$Y2_GEOMETRY" $Y2QT_ARGS

y2log says:

2006-02-17 21:39:34 <1> sighup(5166) [wfm] clients/inst_source.ycp:103 Pkg Builtin called: SourceScan
2006-02-17 21:39:34 <1> sighup(5166) [media] MediaAccess.cc(open):81 Trying scheme 'dir'
2006-02-17 21:39:34 <1> sighup(5166) [media] MediaDIR.cc(MediaDIR):47 MediaDIR::MediaDIR(dir:///mnt)
2006-02-17 21:39:34 <1> sighup(5166) [media] MediaAccess.cc(open):110 Opened: dir(dir:///mnt not attached; localRoot "/mnt")
2006-02-17 21:39:34 <0> sighup(5166) [media] MediaManager.cc(open):219 Opened new media access using id 3 to dir:///mnt
2006-02-17 21:39:34 <1> sighup(5166) [media] MediaHandler.cc(attach):321 Attached: dir:///mnt attached; localRoot "/mnt"
2006-02-17 21:39:34 <0> sighup(5166) [media] MediaManager.cc(checkDesired):106 checkDesired(): desired (report)
2006-02-17 21:39:34 <5> sighup(5166) [DEFINE_LOGGROUP] Exception.cc(log):83 MediaHandler.cc(getFile):659 THROW:    MediaHandler.cc(getFile):659: File ./media.1/products not found on media: dir:///mnt
2006-02-17 21:39:34 <5> sighup(5166) [DEFINE_LOGGROUP] Exception.cc(log):83
Comment 1 Stanislav Visnovsky 2006-03-14 15:17:30 UTC
IMO this is fixed in the recent betas. If not, please, reopen.