[Bug 481836] New: libzypp.so.602 segfault
https://bugzilla.novell.com/show_bug.cgi?id=481836 Summary: libzypp.so.602 segfault Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: cyberorg@opensuse.org QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6 Here is the backtrace of the segfault: #0 0xb7ecfe45 in problems_to_solutions () from /usr/lib/libzypp.so.602 #1 0xb7ed5f5c in solver_solve () from /usr/lib/libzypp.so.602 #2 0xb7d9435a in zypp::solver::detail::SATResolver::solving(std::tr1::unordered_set<zypp::Capability, std::tr1::hash<zypp::Capability>, std::equal_to<zypp::Capability>, std::allocator<zypp::Capability> > const&, std::tr1::unordered_set<zypp::Capability, std::tr1::hash<zypp::Capability>, std::equal_to<zypp::Capability>, std::allocator<zypp::Capability> > const&) () from /usr/lib/libzypp.so.602 #3 0xb7d9a20f in zypp::solver::detail::SATResolver::resolvePool(std::tr1::unordered_set<zypp::Capability, std::tr1::hash<zypp::Capability>, std::equal_to<zypp::Capability>, std::allocator<zypp::Capability> > const&, std::tr1::unordered_set<zypp::Capability, std::tr1::hash<zypp::Capability>, std::equal_to<zypp::Capability>, std::allocator<zypp::Capability> > const&, std::list<zypp::PoolItem, std::allocator<zypp::PoolItem> > const&) () from /usr/lib/libzypp.so.602 #4 0xb7d77862 in zypp::solver::detail::Resolver::resolvePool() () from /usr/lib/libzypp.so.602 #5 0xb7e4c254 in zypp::Resolver::resolvePool() () from /usr/lib/libzypp.so.602 #6 0x08104033 in resolve(Zypper&) () #7 0x0810adcc in solve_and_commit(Zypper&) () Command that segfaults: /usr/bin/zypper --non-interactive --no-gpg-checks --reposd-dir /var/cache/kiwi/zypper --cache-dir /var/cache/kiwi/zypper --raw-cache-dir /var/cache/kiwi/zypper --root "/srv/kiwi-ltsp-nfs" addrepo --type YaST 'file:///mnt/11.1'mnt_11.1 Here are all the commands executed: http://pastebin.com/f1c727f40 Reproducible: Always -- 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=481836 Jigish Gohil <cyberorg@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|zypp-maintainers@forge.prov |schubi@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=481836 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High CC| |dmacvicar@novell.com, | |ma@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=481836 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|schubi@novell.com |ma@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=481836 User cyberorg@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c1 --- Comment #1 from Jigish Gohil <cyberorg@opensuse.org> 2009-03-04 03:58:33 MST --- Created an attachment (id=277003) --> (https://bugzilla.novell.com/attachment.cgi?id=277003) solver testcase -- 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=481836 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c2 --- Comment #2 from Michael Schröder <mls@novell.com> 2009-03-04 04:00:48 MST --- That's not a solver testcase... -- 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=481836 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c3 --- Comment #3 from Michael Schröder <mls@novell.com> 2009-03-04 04:02:30 MST --- And it's also Factory, not 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=481836 User cyberorg@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c4 --- Comment #4 from Jigish Gohil <cyberorg@opensuse.org> 2009-03-04 05:26:23 MST --- Created an attachment (id=277031) --> (https://bugzilla.novell.com/attachment.cgi?id=277031) repo2solv.sh /path_to_rpmdir > /tmp/test.solv -- 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=481836 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c5 --- Comment #5 from Michael Schröder <mls@novell.com> 2009-03-04 06:20:36 MST --- That's also not a solver testcase. You're writing that the "addrepo" command segfaults, but pastbin.com has an "install" command as last command. If it's the install command, please add "--debug-solver" to the zypper call to make it generate a solver testcase. -- 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=481836 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c6 --- Comment #6 from Michael Andres <ma@novell.com> 2009-03-04 06:27:13 MST --- @mls: you're not on #zypp channel :) The SEGV happens before the solver testcase is written. I asked for the .solv file trying to reproduce it, but by now I cant. -- 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=481836 User cyberorg@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c7 --- Comment #7 from Jigish Gohil <cyberorg@opensuse.org> 2009-03-04 06:29:11 MST --- attached was repo2solv.sh /path_to_rpmdir > /tmp/test.solv there is no solver testcase as zypper segfaults before it is generated. Sorry, wrong command was pasted, segfault was when running install: /usr/bin/zypper --non-interactive --no-gpg-checks --reposd-dir /var/cache/kiwi/zypper --cache-dir /var/cache/kiwi/zypper --raw-cache-dir /var/cache/kiwi/zypper --root /srv/kiwi-ltsp-nfs install --auto-agree-with-licenses --no-recommends filesystem glibc-locale glibc.i586 xorg-x11-driver-video-openchrome zypper -- 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=481836 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c8 --- Comment #8 from Michael Andres <ma@novell.com> 2009-03-04 07:05:54 MST --- The 'glibc.i586' requirement leads to a solver problem report: glibc-2.9-2.8.i586 has inferior architecture because (it IMO should nit. SATResolver.cc(problems):1053 glibc-2.9-2.8.i586 has inferior architecture -- 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=481836 User cyberorg@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c9 --- Comment #9 from Jigish Gohil <cyberorg@opensuse.org> 2009-03-04 07:11:12 MST --- We need to use that "inferior" arch to boot thin clients that do not boot i686. -- 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=481836 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c10 --- Comment #10 from Michael Andres <ma@novell.com> 2009-03-04 07:14:09 MST --- There was a bug in problems_to_solutions() which might have caused the SEGV. It is also not necessarily reproducible. In case we found the right bug, the command should succeed if just 'install glibc' is requested (and not glibc.i586). This should be fixed in satsolver-0.14 -- 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=481836 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |FIXED -- 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=481836 User cyberorg@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c11 Jigish Gohil <cyberorg@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED | --- Comment #11 from Jigish Gohil <cyberorg@opensuse.org> 2009-03-05 23:17:25 MST --- I am not sure if this has to be handled in kiwi or zypper, the behavior has changed from earlier version: zypper --non-interactive --no-gpg-checks --reposd-dir /var/cache/kiwi/zypper --cache-dir /var/cache/kiwi/zypper --raw-cache-dir /var/cache/kiwi/zypper --root /srv/kiwi-ltsp-nfs install --auto-agree-with-licenses --no-recommends filesystem glibc-locale glibc.i586 xorg-x11-driver-video-openchrome zypper Problem: glibc-2.9-2.8.i586 has inferior architecture Solution 1: install glibc-2.9-2.8.i586 despite the inferior architecture Solution 2: do not ask to install a solvable providing glibc.i586 Choose from above solutions by number or cancel [1/2/C]: c Running the above command used to select solution 1 and do the right thing. -- 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=481836 User cyberorg@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c12 --- Comment #12 from Jigish Gohil <cyberorg@opensuse.org> 2009-03-05 23:18:15 MST --- *** Bug 482696 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=482696 -- 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=481836 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=481836#c13 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ma@novell.com |mls@novell.com --- Comment #13 from Michael Andres <ma@novell.com> 2009-03-06 01:46:21 MST --- Yes, that's IMO a solver flaw. Explicitly requiring the architecture, the solver must not complain. -- 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