[Differential] [Request, 2 lines] D4641: Assertion fix for ProblemModel
Anton Anikin
noreply at phabricator.kde.org
Fri Feb 17 02:22:07 UTC 2017
antonanikin created this revision.
antonanikin added a reviewer: KDevelop.
antonanikin added a subscriber: kdevelop-devel.
REVISION SUMMARY
The problem was caused by cases when some problem has relative paths in it's final location.
For example, Valgrind DRD tool can produce urls like this:
/build/glibc-t3gR2i/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S
If we try to open such problems then assertion inside IndexedString constructor happens (serialization/indexedstring.cpp:256):
Q_ASSERT(url == url.adjusted(QUrl::NormalizePathSegments));
TEST PLAN
Tested on master branch
REPOSITORY
R33 KDevPlatform
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D4641
AFFECTED FILES
shell/problemmodel.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: antonanikin, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170217/82e65983/attachment.html>
More information about the KDevelop-devel
mailing list