[Bug 600236] New: zypper crash in boost::intrusive_ptr<T>::operator->() const, Assertion `px != 0' failed
http://bugzilla.novell.com/show_bug.cgi?id=600236 http://bugzilla.novell.com/show_bug.cgi?id=600236#c0 Summary: zypper crash in boost::intrusive_ptr<T>::operator->() const, Assertion `px != 0' failed Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: burnus@gmx.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.3) Gecko/20100401 SUSE/3.6.3-1.6 Firefox/3.6.3 That's a follow up to PR 595545, where one got a zypper crash due to a Boost miscompilation. It also worked for me after the fix, but after updating today, I got (again) a crash - though the error message is slightly different: zypper: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:166: T* boost::intrusive_ptr<T>::operator->() const [with T = const zypp::ResObject]: Assertion `px != 0' failed. #2 0x00002aaaabfb11e5 in __assert_fail () from /lib64/libc.so.6 #3 0x00000000004de231 in SolverRequester::Feedback::asUserString(SolverRequester::Options const&) const () #4 0x00000000004de777 in SolverRequester::Feedback::print(Out&, SolverRequester::Options const&) const () #5 0x0000000000468ba2 in SolverRequester::printFeedback(Out&) const () #6 0x000000000045e676 in Zypper::doCommand() () #7 0x0000000000463be8 in Zypper::safeDoCommand() () #8 0x000000000046433a in Zypper::commandShell() () #9 0x0000000000468428 in Zypper::main(int, char**) () That's with: - libzypp (7.0.0-1.3, Build Sun Apr 25 21:54:39 2010, Distro: openSUSE Factory) - zypper (1.4.2-1.2, Build Sun Apr 25 22:16:05 2010, Distro: openSUSE Factory) The last item of libzypp is, however: * Wed Apr 14 2010 ma@suse.de - Using boost-1.42 requires -fno-strict-aliasing (bnc#595545) Reproducible: Always -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=600236 http://bugzilla.novell.com/show_bug.cgi?id=600236#c1 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |NEEDINFO InfoProvider| |burnus@gmx.de AssignedTo|zypp-maintainers@forge.prov |jkupec@novell.com |o.novell.com | Target Milestone|--- |Milestone 7 --- Comment #1 from Ján Kupec <jkupec@novell.com> 2010-04-28 07:21:28 UTC --- That's probably my fault. Please attach zypper.log, if you can reproduce. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=600236 http://bugzilla.novell.com/show_bug.cgi?id=600236#c2 Tobias Burnus <burnus@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|burnus@gmx.de | --- Comment #2 from Tobias Burnus <burnus@gmx.de> 2010-04-28 07:42:12 UTC --- Created an attachment (id=357303) --> (http://bugzilla.novell.com/attachment.cgi?id=357303) zypper.log.bz2 Well, I was positive that I had attached zypper.log.bz2, but I cannot find it in Bugzilla. Well, here it comes again. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=600236 http://bugzilla.novell.com/show_bug.cgi?id=600236#c3 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma@novell.com --- Comment #3 from Michael Andres <ma@novell.com> 2010-04-28 13:17:19 CEST --- @Jano: I see (and fix) this: case NO_UPD_CANDIDATE: { PoolItem highest = asSelectable()(_objinst)->highestAvailableVersionObj(); if (identical(_objinst, highest) || _objinst->edition() > highest->edition()) NO_UPD_CANDIDATE includes no candidate at all, thus highest == NULL and segv on highest->edition. Caused by: SolverRequester.cc(updateTo):491 no available objects in repos, skipping update of glib if (s->availableEmpty()) { addFeedback(Feedback::NO_UPD_CANDIDATE, cap, repoalias, PoolItem(), installed); DBG << "no available objects in repos, skipping update of " << s->name() << endl; -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=600236 http://bugzilla.novell.com/show_bug.cgi?id=600236#c4 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Michael Andres <ma@novell.com> 2010-04-28 13:30:05 CEST --- commit a6692f7cbf94bee11ce6f271b983c9b21b23a2d1 Fixed for zypper-1.4.3 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=600236 http://bugzilla.novell.com/show_bug.cgi?id=600236#c5 --- Comment #5 from Ján Kupec <jkupec@novell.com> 2010-04-28 11:43:03 UTC --- Thanx Michael! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=600236 http://bugzilla.novell.com/show_bug.cgi?id=600236#c6 --- Comment #6 from Tobias Burnus <burnus@gmx.de> 2010-05-03 20:10:46 UTC --- (In reply to comment #4)
commit a6692f7cbf94bee11ce6f271b983c9b21b23a2d1 Fixed for zypper-1.4.3
Thanks - but could you also request the inclusion in Factory? https://build.opensuse.org/stage/package/rdiff?opackage=zypper&oproject=openSUSE%3AFactory&package=zypper&project=zypp%3AHead -- Configure bugmail: http://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