[Bug 470011] New: yast2 Segmentation fault
https://bugzilla.novell.com/show_bug.cgi?id=470011 Summary: yast2 Segmentation fault Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86 OS/Version: openSUSE 11.1 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andrea@opensuse.org QAContact: jsrain@novell.com Found By: --- hi, i added obs bashee repository toi my list, but if i go to "filter --> repository --> bashee" (where banshee is the name i gave to banshee repo yast2 crash with that report YaST got signal 11 at YCP file PackagesUI.ycp:239 /sbin/yast2: line 437: 10538 Segmentation fault $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS it crash only if i try to filter banshee repo... here my repos list: # | Alias | Nome | abilitato | Attualizza | URI --+-------------+----------------------------------------------------------+-----------+------------+-------------------------------------------------------------------------------- 1 | anubisg1 | anubisg1 | Sì | Sì | http://download.opensuse.org/repositories/home:/anubisg1/openSUSE_11.1 2 | banshee-1.4 | banshee-1.4 | Sì | Sì | http://download.opensuse.org/repositories/Banshee/openSUSE_11.1 3 | repo | NVIDIA Repository | Sì | Sì | http://download.nvidia.com/opensuse/11.1 4 | repo_1 | Sorgente di installazione principale (NON-OSS) | Sì | Sì | http://download.opensuse.org/distribution/11.1/repo/non-oss/ 5 | repo_2 | Sorgente di installazione (OSS) | Sì | Sì | http://download.opensuse.org/distribution/11.1/repo/oss/ 6 | repo_5 | openSUSE BuildService - OpenOffice.org | Sì | Sì | http://download.opensuse.org/repositories/OpenOffice.org:/STABLE/openSUSE_11... 7 | repo_6 | Sorgente di installazione principale degli aggiornamenti | Sì | Sì | http://download.opensuse.org/update/11.1/ 8 | repo_7 | Packman Repository | Sì | Sì | http://ftp.skynet.be/pub/packman/suse/11.1/ yast2 log attached -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470011 User andrea@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=470011#c1 --- Comment #1 from andrea florio <andrea@opensuse.org> 2009-01-27 16:41:19 MST --- Created an attachment (id=268110) --> (https://bugzilla.novell.com/attachment.cgi?id=268110) yast2 logs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470011 User andrea@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=470011#c2 --- Comment #2 from andrea florio <andrea@opensuse.org> 2009-02-04 16:45:00 MST --- any news? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470011 User chrubis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470011#c3 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | --- Comment #3 from Cyril Hrubis <chrubis@novell.com> 2009-02-13 11:06:09 MST --- Moving to yast2 maintainers. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470011 User kmachalkova@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470011#c4 Katarina Machalkova <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |andrea@opensuse.org --- Comment #4 from Katarina Machalkova <kmachalkova@novell.com> 2009-02-16 02:56:27 MST --- Can you reproduce the same issue with ncurses UI? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470011 User andrea@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=470011#c5 --- Comment #5 from andrea florio <andrea@opensuse.org> 2009-02-16 04:47:35 MST --- yes it crasch also in ncurses UI, but there i receie NO exception te strange thing is that it crasch only if i try to select the banshee repo, not if i choose the others -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470011 User kmachalkova@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470011#c6 Katarina Machalkova <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kmachalkova@novell.com, | |tgoettlicher@novell.com AssignedTo|yast2-maintainers@suse.de |zypp-maintainers@forge.prov | |o.novell.com --- Comment #6 from Katarina Machalkova <kmachalkova@novell.com> 2009-02-16 07:50:47 MST --- Ok, I too reproduced both with Qt and ncurses UI (Gtk does not use PoolQuery to filter the packages), unfortunately the backtrace and valgrind output are not being too verbose here. The code leading to the crash is something along these lines: zypp::PoolQuery query; query.addRepo( currentRepo.info().alias() ); query.addKind(zypp::ResKind::package); for( zypp::PoolQuery::Selectable_iterator it = query.selectableBegin(); it != query.selectableEnd(); it++) { // do something with (*it) } (now it loops through all the selectables, but never gets past the loop): -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470011 User kmachalkova@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470011#c7 Katarina Machalkova <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|andrea@opensuse.org | --- Comment #7 from Katarina Machalkova <kmachalkova@novell.com> 2009-02-16 07:52:23 MST --- This is what valgrind says: y2base: /usr/include/boost/intrusive_ptr.hpp:149: T* boost::intrusive_ptr<T>::operator->() const [with T = zypp::ui::Selectable]: Assertion `p_ != 0' failed. and the backtrace (from curses, Qt one is in the log above): Frame 0: /usr/lib/liby2.so.2 log_backtrace() Frame 1: /usr/lib/liby2.so.2 signal_handler(int) Frame 2: [0xffffe400] Frame 3: [0xffffe430] Frame 4: /lib/libc.so.6(gsignal+0x50) [0xb79ad990] Frame 5: /lib/libc.so.6(abort+0x188) [0xb79af2c8] Frame 6: /lib/libc.so.6(__assert_fail+0xee) [0xb79a678e] Frame 7: /usr/lib/YaST2/plugin/libpy2ncurses_pkg.so.2 NCPkgRepoTable::showRepoPackages() Not sure whether to keep major severity or raise to critical (because of the crash), as it only seems to happen with Banshee repo above: http://download.opensuse.org/repositories/Banshee/openSUSE_11.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470011 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High CC| |ma@novell.com AssignedTo|zypp-maintainers@forge.prov |ma@novell.com |o.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470011 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470011#c8 --- Comment #8 from Michael Andres <ma@novell.com> 2009-02-18 02:55:52 MST --- This looks like the PoolQuery iterator returns a NULL Selectable. This must not happen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470011 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470011#c9 --- Comment #9 from Michael Andres <ma@novell.com> 2009-02-18 04:33:20 MST --- Nice bug(s): 1) In the banshee metadata the patterns.xml.gz contains an empty pattern definition: <pattern /> 2) The satsolvers parser translates this entry into a package(!) with no name and version. 3) In libzypp finally, a package with no name and version is basically no problem, unless you ask for the corresponding Selectable. None was generated, and that's why the iterator unexpectedly returns NULL. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=470011 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=470011#c10 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #10 from Michael Andres <ma@novell.com> 2009-02-18 09:05:55 MST --- 1) is up to the OBS projects maintainer. 2) and 3) are fixed in satsolver-0.13.4 and libzypp-5.28.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com