[Differential] [Commented On] D4201: Make it possible to lower KCrash to tier 1
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Mon Jan 23 14:37:41 UTC 2017
apol added inline comments.
INLINE COMMENTS
> dfaure wrote in kcrash.cpp:437
> You can't use QVector here. We're crashing, likely due to corrupted memory, the whole point of this code is to NOT do any memory allocation. You should revert to const char*[], or use something that always allocates on the stack (e.g. QVarLengthArray, if preallocated to be big enough).
Yes... that makes sense.
But then possibly worse than that is the use of QMap.
Will rethink the approach.
REPOSITORY
R285 KCrash
REVISION DETAIL
https://phabricator.kde.org/D4201
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: apol, #frameworks, dfaure
Cc: shumski, anthonyfieroni, graesslin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170123/392df034/attachment.html>
More information about the Kde-frameworks-devel
mailing list