On Thursday, January 13, 2011, Thiago Macieira wrote: > On Thursday, 13 de January de 2011 22:43:28 Matthias Fuchs wrote: > > Hi, > > > > There are some crashes related to QRegExp and multithreading, so they > > appear when using KRunner. > > There should be no crashes related to QRegExp and threading since Qt 4.4. > If you find something, it's usually because you used the same QRegExp > object to conduct searches at the same time.
yes, that's exactly what's happening :) Matthias already fixed one krunner plugin that was doing this, but not he's faced with the Nepomuk::Query::QueryParser bits. as it is internal to Nepomuk and it is using static members internal to the library (meaning krunner or any other app can't just use a "different Nepomuk object") QThreadStorage seems the easiest solution here. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks
signature.asc
Description: This is a digitally signed message part.