Summary: | Opening muon makes it crash | ||
---|---|---|---|
Product: | [Unmaintained] muon | Reporter: | Mirza <mirza.dervisevic> |
Component: | libqapt | Assignee: | Jonathan Thomas <echidnaman> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | eu, petermax_30 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mirza
2010-07-19 22:58:52 UTC
Could you install qapt-dbg and get paste the new backtrace? The current one is missing some important details. Thanks. Nevermind, I got it. :) It seems that your system has a package in it that is without a section, and that trying to get the section from APT results in referencing a null pointer (a crash). ;) A package without a section is in violation of Debian packaging policy, but obviously Muon should not crash when it encounters such misbehaving packages. I should have a solution to solve this crash quite soon, and it will definitely make it in to the beta release, scheduled a week from Wednesday. Thanks for the report! SVN commit 1151987 by jmthomas: Apparently libapt-pkg returns null const char pointers when you try to call Section() on a package that lacks a section. :/ I naively thought that we might live in a world where all libraries would be like Qt and gracefully return an empty string on failure. We do not live in such a world. BUG: 245177 M +1 -1 backend.cpp M +6 -1 package.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1151987 :D nice comment :D *** Bug 246063 has been marked as a duplicate of this bug. *** |