Bug 216162 - yast2 sw_single does a segmentation fault
Summary: yast2 sw_single does a segmentation fault
Status: RESOLVED DUPLICATE of bug 216140
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 1
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-29 21:29 UTC by Ulf Lange
Modified: 2006-10-30 19:59 UTC (History)
1 user (show)

See Also:
Found By: Other
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 Ulf Lange 2006-10-29 21:29:48 UTC
Hello,

yast2 sw_single always crashes with a segmentation fault

Segmentation fault at /usr/share/YaST2/clients/sw_single.ycp:169
/sbin/yast2: line 267:  7761 Segmentation fault      $ybindir/y2base $module "$@" "$SELECTED_GUI" "$Y2_GEOMETRY" $Y2QT_ARGS

The problem seems to occur, if there is no CD-ROM in the drive.
If i put the first openSUSE CD in the drive, everything just works fine.
The second source is http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/

y2log
2006-10-29 22:22:22 <1> lmc(7761) [source] SourceImpl.cc(resetMediaVerifier):401 Reseting media verifier
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaManager.cc(delVerifier):550 MediaVerifier change: id=2, verifier=N4zypp6source10SourceImpl8VerifierE
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaManager.cc(addVerifier):534 MediaVerifier change: id=2, verifier=zypp::media::NoVerifier
2006-10-29 22:22:22 <1> lmc(7761) [susetags] SuseTagsImpl.cc(downloadMetadata):239 Downloading metadata to /var/tmp/TmpDir.kWpmSK
2006-10-29 22:22:22 <0> lmc(7761) [source] SourceImpl.cc(provideDirTree):606 Going to try provide tree ./media.1 from 1
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaManager.cc(attach):571 attach(id=2)
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaCD.cc(attachTo):422 next 0 last -1
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaCD.cc(detectDevices):291 Found 1 cdrom drive udis
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaCD.cc(detectDevices):321 Found /org/freedesktop/Hal/devices/storage_model_DVD_ROM_GDR8162B: cdrom</dev/sr0[11,0]>
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaCD.cc(attachTo):489 count 0
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaCD.cc(closeTray):268 Close tray /dev/sr0
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaHandler.cc(createAttachPoint):378 Trying to create attach point in /var/adm/mount
2006-10-29 22:22:22 <0> lmc(7761) [zypp] PathInfo.cc(_Log_Result):295 mkdir /var/adm/mount/AP_0x00000002 00755
2006-10-29 22:22:22 <1> lmc(7761) [media] MediaHandler.cc(createAttachPoint):355 Created default attach point /var/adm/mount/AP_0x00000002
2006-10-29 22:22:22 <0> lmc(7761) [zypp] ExternalProgram.cc(start_program):170 Executing '/bin/mount' '-t' 'iso9660' '-o' 'ro' '/dev/sr0' '/var/adm/mount/AP_0x00000002'
2006-10-29 22:22:22 <0> lmc(7761) [zypp] ExternalProgram.cc(start_program):280 pid 7814 launched
2006-10-29 22:22:22 <0> lmc(7761) [media] Mount.cc(mount):98 stdout: mount: No medium found
2006-10-29 22:22:22 <0> lmc(7761) [zypp] ExternalProgram.cc(checkStatus):327 pid 7814 exited with status 32
2006-10-29 22:22:22 <0> lmc(7761) [media] Mount.cc(Status):251 exit code: 32
2006-10-29 22:22:22 <2> lmc(7761) [media] Mount.cc(mount):144 mount /dev/sr0 /var/adm/mount/AP_0x00000002: No medium found
2006-10-29 22:22:22 <5> lmc(7761) [base] Exception.cc(log):94 Mount.cc(mount):145 THROW:    Mount.cc(mount):145: Failed to mount /dev/sr0 on /var/adm/mount/AP_0x00000002: No
 medium found (mount: No medium found)
2006-10-29 22:22:22 <5> lmc(7761) [base] Exception.cc(log):94
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaHandler.cc(removeAttachPoint):163 MediaHandler - checking if to remove attach point
2006-10-29 22:22:22 <0> lmc(7761) [zypp] PathInfo.cc(_Log_Result):295 recursive_rmdir /var/adm/mount/AP_0x00000002
2006-10-29 22:22:22 <1> lmc(7761) [media] MediaHandler.cc(removeAttachPoint):175 Deleted default attach point /var/adm/mount/AP_0x00000002
2006-10-29 22:22:22 <5> lmc(7761) [base] Exception.cc(log):94 MediaCD.cc(attachTo):602 CAUGHT:   Mount.cc(mount):145: Failed to mount /dev/sr0 on /var/adm/mount/AP_0x0000000
2: No medium found (mount: No medium found)
2006-10-29 22:22:22 <5> lmc(7761) [base] Exception.cc(log):94
2006-10-29 22:22:22 <5> lmc(7761) [base] Exception.cc(log):94 MediaCD.cc(attachTo):621 THROW:    MediaCD.cc(attachTo):621: Failed to mount cd:///?devices=/dev/sr0 on /var/ad
m/mount/AP_0x00000002: No medium found (mount: No medium found)
2006-10-29 22:22:22 <5> lmc(7761) [base] Exception.cc(log):94
2006-10-29 22:22:22 <1> lmc(7761) [media] Mount.cc(~Mount):45 ~Mount()
2006-10-29 22:22:22 <1> lmc(7761) [media] Mount.cc(~Mount):52 ~Mount() end
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaHandler.cc(removeAttachPoint):163 MediaHandler - checking if to remove attach point
2006-10-29 22:22:22 <5> lmc(7761) [base] Exception.cc(log):94 MediaHandler.cc(attach):635 RETHROW:  MediaCD.cc(attachTo):621: Failed to mount cd:///?devices=/dev/sr0 on /var
/adm/mount/AP_0x00000002: No medium found (mount: No medium found)
2006-10-29 22:22:22 <5> lmc(7761) [base] Exception.cc(log):94
2006-10-29 22:22:22 <5> lmc(7761) [base] Exception.cc(log):94 SourceImpl.cc(provideDirTree):614 CAUGHT:   MediaHandler.cc(attach):635: Failed to mount cd:///?devices=/dev/sr
0 on /var/adm/mount/AP_0x00000002: No medium found (mount: No medium found)
2006-10-29 22:22:22 <5> lmc(7761) [base] Exception.cc(log):94
2006-10-29 22:22:22 <0> lmc(7761) [source] SourceImpl.cc(provideDirTree):619 Media couldn't provide tree ./media.1 , releasing.
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaManager.cc(release):583 release(id=2)
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaHandler.cc(release):690 Request to release media - not attached; eject 0
2006-10-29 22:22:22 <1> lmc(7761) [source] SourceImpl.cc(provideDirTree):629 Releasing all medias of all sources
2006-10-29 22:22:22 <1> lmc(7761) [zypp::SourceManager] SourceManager.cc(releaseAllSources):235 SourceManager releasing all sources ...
2006-10-29 22:22:22 <1> lmc(7761) [source] MediaSet.cc(release):115 Releasing all medias of source
2006-10-29 22:22:22 <1> lmc(7761) [source] MediaSet.cc(release):121 Releasing media 1
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaManager.cc(release):583 release(id=1)
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaHandler.cc(release):696 Request to release attached media http<http://download.opensuse.org/distribution/SL-OSS-factory/inst-s
ource/>, use count=1
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaHandler.cc(release):703 Releasing media http<http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/>
2006-10-29 22:22:22 <1> lmc(7761) [media] MediaHandler.cc(disconnect):676 Disconnected: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/ attached; local
Root "/var/adm/mount/AP_0x00000001"
2006-10-29 22:22:22 <0> lmc(7761) [media] MediaHandler.cc(removeAttachPoint):163 MediaHandler - checking if to remove attach point
2006-10-29 22:22:22 <0> lmc(7761) [zypp] PathInfo.cc(_Log_Result):295 recursive_rmdir /var/adm/mount/AP_0x00000001
2006-10-29 22:22:22 <1> lmc(7761) [media] MediaHandler.cc(removeAttachPoint):175 Deleted default attach point /var/adm/mount/AP_0x00000001
2006-10-29 22:22:22 <1> lmc(7761) [media] MediaHandler.cc(release):757 Released: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/ not attached; localRoo
t ""
2006-10-29 22:22:22 <1> lmc(7761) [zypp::SourceManager] SourceManager.cc(releaseAllSources):241 SourceManager releasing all sources done.
Comment 1 Cristian Rodríguez 2006-10-30 19:59:25 UTC

*** This bug has been marked as a duplicate of bug 216140 ***