[Interest] can the QRegExpEngine cache acces objects belonging to an unloaded library during global destruction?

Martins, Sérgio sergio.martins at kdab.com
Mon Jan 29 17:56:28 CET 2018


On 2018-01-29 14:49, René J.V. Bertin wrote:
> Hi,
> 
> I've already touched on this in a previous message. I'm seeing an
> issue (crash or hang on exit) during the destruction of the
> QRegExpEngine globalEngineCache.

Don't use QStringLiteral with QRegExp, specially in plugins you'll 
unload.
See https://blogs.kde.org/2015/11/05/qregexp-qstringliteral-crash-exit



Regards,
-- 
Sérgio Martins | sergio.martins at kdab.com | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - The Qt, C++ and OpenGL Experts



More information about the Interest mailing list