Comment # 26 on bug 941398 from
Found it:

https://github.com/openSUSE/libzypp/commit/a2e46f1c816322c1c0860f04541dafdeeee5362e#diff-cfe97fa1cac32c085d36c42d3a898bd4R76

    ResolverProblem_Ptr problem() const { return nullptr; }

This will reliably crash every time here in libyui-qt-pkg in
YQPkgConflictList.cc line 381:

https://github.com/libyui/libyui-qt-pkg/blob/master/src/YQPkgConflictList.cc#L381

        yuiMilestone() << "User selected resolution \""<<
solution->description()
               << "\" for problem \"" 
                       << solution->problem()->description()
               <<"\"" << std::endl;

Adding insult to injury, this is logging output that should make debugging
easier - but it crashes before it can output anything.

Removing both lines removes the problem() (pun intended).

Now, why a non-virtual const function would ever return a null pointer is
beyond me. This is asking for trouble.


Michael, I think you owe me a beer. ;-)


You are receiving this mail because: