|
Bugzilla – Full Text Bug Listing |
| Summary: | sw_single crash: signal 11 at YCP file /usr/share/YaST2/clients/sw_single.ycp:187 | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Peter Buschbacher <nospamm> |
| Component: | libzypp | Assignee: | Duncan Mac-Vicar <dmacvicar> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Klaus Kämpf <kkaempf> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | f-perret, kkaempf, pascal.bleser |
| Version: | Beta 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
hwinfo (vmware)
/var/log/Yast2 screenshot of the xmessage backtrack as requested in comment #8 guru-RPM-MD-Example |
||
|
Description
Peter Buschbacher
2007-08-11 05:55:30 UTC
Created attachment 156902 [details]
hwinfo (vmware)
Created attachment 156903 [details]
/var/log/Yast2
Created attachment 156904 [details]
screenshot of the xmessage
Might be libzypp-related because I get an 'Speicherzugriffsfehler' there too, like in the xmessage-box, if I try to install a package. 'Speicherzugriffsfehler' means 'segmentation fault' sorry for much text, but I'm new here and can't sort out whatyou need exactly. Peter Buschbacher linux-b18d:/home/test # zypper ref Refreshing 'packman' * Building repository 'packman' cache Refreshing 'http://download.opensuse.org/distribution/SL-Factory-non-oss/inst-source-extra/' * Building repository 'http://download.opensuse.org/distribution/SL-Factory-non-oss/in* Building repository 'http://download.opensuse.org/distribution/SL-Factory-non-oss/in* Building repository 'http://download.opensuse.org/distribution/SL-Factory-non-oss/in* Building repository 'http://download.opensuse.org/distribution/SL-Factory-non-oss/in* Building repository 'http://download.opensuse.org/distribution/SL-Factory-non-oss/inst-source-extra/' cache Refreshing 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/' * Building repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-s* Building repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-s* Building repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-s* Building repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-s* Building repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/' cache Refreshing 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/inst-source-debug/' * Building repository 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/* Building repository 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/* Building repository 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/* Building repository 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/* Building repository 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/inst-source-debug/' cache Refreshing 'guru' * Building repository 'guru' cache All repositories have been refreshed. linux-b18d:/home/test # zypper lr # | Enabled | Refresh | Type | Name | URI --+---------+---------+--------+-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------- 1 | Yes | Yes | rpm-md | packman | http://ftp.gwdg.de/pub/linux/misc/packman/suse/10.3/ 2 | Yes | Yes | yast2 | http://download.opensuse.org/distribution/SL-Factory-non-oss/inst-source-extra/ | http://download.opensuse.org/distribution/SL-Factory-non-oss/inst-source-extra/ 3 | Yes | Yes | yast2 | http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/ | http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/ 4 | Yes | Yes | yast2 | http://download.opensuse.org/distribution/SL-OSS-factory-debug/inst-source-debug/ | http://download.opensuse.org/distribution/SL-OSS-factory-debug/inst-source-debug/ 5 | No | Yes | yast2 | 20070810-223207 | cd:///?devices=/dev/sr0 6 | Yes | Yes | rpm-md | guru | http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.3/RPMS/ linux-b18d:/home/test # zypper in libxine-1 * Reading repository 'packman' cache - Reading repository 'http://download.opensuse.org/distribution/SL-Factory-non-oss/ins\ Reading repository 'http://download.opensuse.org/distribution/SL-Factory-non-oss/ins| Reading repository 'http://download.opensuse.org/distribution/SL-Factory-non-oss/ins* Reading repository 'http://download.opensuse.org/distribution/SL-Factory-non-oss/inst-source-extra/' cache / Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so- Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so\ Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so| Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so/ Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so- Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so\ Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so| Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so/ Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so- Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so\ Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so| Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so/ Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so- Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so\ Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so| Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so/ Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so- Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so\ Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-so* Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/' cache | Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/i/ Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/i- Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/i\ Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/i| Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/i/ Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/i* Reading repository 'http://download.opensuse.org/distribution/SL-OSS-factory-debug/inst-source-debug/' cache * Reading repository 'guru' cache Speicherzugriffsfehler linux-b18d:/home/test # removing guru repository does help in Yast2 and in zypper. So it seems to be a problem of error-handling in libzypp. So I CCed kkaempf@novell.com, hope that's right for libzypp issues. Peter Buschbacher Added Pascal Bleser to CC. If it has to do with some inconsistency in the guru-repository it might be possible to save the state of it somewhere for testing purposes, Pascal? I'm updating my repository several times a day so... please try to reproduce and if it still happens, just rsync the metadata ASAP. You don't need me for that ;) Just copy the yast2 and RPM-MD metadata from my repository (preferably from the mirror that was used). Didn't hear any complaints about my repository being broken and given how many people use it, I'm sure I would already have received lots of emails ;) Please, attach gdb backtrace (run 'gdb /usr/lib/YaST2/bin/y2base', enter 'run sw_single qt', when it crashed enter command 'bt' and attach the output). The problem happens in yast and in zypper, so I guess the problem is in libzypp. Hello Ladislav I'm sorry I can't provide the information ordered in comment #8 before friday. I won't have online access with a linux machine until then - and now I am jus online as guest. http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.3/RPMS/ does not contain any packages just some metadata in /repodata. It was as far as I know never announced to be there, i just found it accidentially and stumbled over the behaviour discussed in this thread. One main problem to me is that yast2 crashes without giving the user some sort of interaction. There is no controlled way to handle(this?) case of invalid(?) metadata in a repo as well in the backend as in the front-end. If the crash on wrong online input is a potential security issue - which I can't judge because I don't have the Knowledge - it might be more than 'Major'. Just if you think its urgent someone else must try to reproduce it. There is no graceful handling, because this is a real crash that needs to be fixed. Although reported for a plaindir repo, bug 299680 might be related to this one. Created attachment 159807 [details] backtrack as requested in comment #8 Finally I had the time to sadly reproduce it with beta2, updated the beta1(which was a fresh-install) with the kde-one-cd via update-option of the installation-system on the cd. Now - at least running sw_single in gdb as requested in comment #8 - I got no x-message. After the program received SIGSEGV I watched the busy mouse-arrow for some minutes and then entered 'bt'. Created attachment 159809 [details] guru-RPM-MD-Example Attached the Metadata for the case the repository will be filled before this bug is solved. Only happens with the RPM-Metadata. As you can see here, for the Yast-Source, zypper behaves as expected. Peter Buschbacher linux-b18d:/home/test # zypper ar http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.3/ guru-yast * Adding repository 'guru-yast' Repository 'guru-yast' successfully added: Enabled: Yes Autorefresh: Yes URL: http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.3/ linux-b18d:/home/test # zypper rr guru * Cleaning repository 'guru' cache * Removing repository 'guru' Repository guru has been removed. linux-b18d:/home/test # zypper in libxine-1 Refreshing 'guru-yast' * Building repository 'guru-yast' cache * Reading repository 'packman' cache * Reading repository 'FACTORY - Main Repository (NON-OSS)' cache * Reading repository 'openSUSE-10.3-OSS-KDE 10.3' cache * Reading repository 'FACTORY - Main Repository (OSS)' cache * Reading repository 'FACTORY - Main Repository (DEBUG)' cache * Reading repository 'guru-yast' cache * Reading repository 'openSUSE-10.3-OSS-KDE 10.3' cache * Reading installed packages [100%] 1 Problems: Problem: Requirememt libxine-1 cannot be fulfilled. Problem: Requirememt libxine-1 cannot be fulfilled. There are no installable providers of libxine-1 number, (r)etry or (c)ancel> c linux-b18d:/home/test # zypper in libxine1 * Reading repository 'packman' cache * Reading repository 'FACTORY - Main Repository (NON-OSS)' cache * Reading repository 'openSUSE-10.3-OSS-KDE 10.3' cache * Reading repository 'FACTORY - Main Repository (OSS)' cache * Reading repository 'FACTORY - Main Repository (DEBUG)' cache * Reading repository 'guru-yast' cache * Reading repository 'openSUSE-10.3-OSS-KDE 10.3' cache * Reading installed packages [100%] The following NEW packages are going to be installed: libxine1 ImageMagick flac libMagick10 libWand10 libcaca speex The following package is going to be REMOVED: xine-lib Overall download size: 14,3 M. After the operation, additional 35,7 M will be used. Continue? [y/n]: see also Bug 301669 *** Bug 303851 has been marked as a duplicate of this bug. *** *** Bug 304166 has been marked as a duplicate of this bug. *** Still exists with libzypp 3.18.4 and zypper 0.8.16. Please, retest with libzypp 3.21.0 and zypper 0.8.18 once they get to factory (or with Beta 3). This problem should be fixed there. If so, please close this bug as duplicate of bug 299680. Thanx! Works with libzypp-3.22.0-2 and zypper-0.8.18-3 from factory today. *** This bug has been marked as a duplicate of bug 299680 *** |