Multiple QRegExp crashes when multithreading in KRunner

Thiago Macieira thiago at kde.org
Thu Jan 13 22:02:29 GMT 2011


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.

Make sure you operate on a QRegExp object that isn't in use by any other 
thread. Create a copy if you need to.

If the problem persists, it would be nice to have a clean testcase so that the 
bug can be fixed. A helgrind log would help too.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110113/6e2d7e78/attachment.sig>


More information about the kde-core-devel mailing list