Review Request 128650: [KBookmarks] Fix crash on app shutdown due to QRegExp(QStringLiteral())

Daniel Vrátil dvratil at kde.org
Wed Aug 10 15:21:04 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128650/
-----------------------------------------------------------

Review request for KDE Frameworks.


Repository: kbookmarks


Description
-------

Kleopatra was crashing on shutdown during cleanup of global statics with QRegExps. Based on [0] I was able to trace the pointer back to .rodata in libKF5KBookmarks.so. The crash is gone when QRegExp(QLatin1String()) is used.


[0] https://blogs.kde.org/2015/11/05/qregexp-qstringliteral-crash-exit


Diffs
-----

  src/kbookmarkimporter_ie.cpp 7dcbfb3 
  src/kbookmarkmanager.cpp dd7a98b 

Diff: https://git.reviewboard.kde.org/r/128650/diff/


Testing
-------


Thanks,

Daniel Vrátil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160810/0ecd4f94/attachment.html>


More information about the Kde-frameworks-devel mailing list