Assertion fix for ProblemModel
ClosedPublic

Authored by antonanikin on Feb 17 2017, 2:22 AM.

Details

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

Diff Detail

Repository
R33 KDevPlatform
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
antonanikin retitled this revision from to Assertion fix for ProblemModel.
antonanikin updated this object.
antonanikin edited the test plan for this revision. (Show Details)
antonanikin added a reviewer: KDevelop.
antonanikin added a subscriber: kdevelop-devel.
antonanikin updated this object.Feb 17 2017, 2:24 AM
antonanikin updated this object.
kfunk accepted this revision.Feb 17 2017, 7:39 AM
kfunk added a reviewer: kfunk.
This revision is now accepted and ready to land.Feb 17 2017, 7:39 AM
This revision was automatically updated to reflect the committed changes.