Multiple QRegExp crashes when multithreading in KRunner

todd rme toddrme2178 at gmail.com
Sat Jan 15 16:20:32 GMT 2011


On Thu, Jan 13, 2011 at 5:02 PM, Thiago Macieira <thiago at kde.org> 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.
>
> Make sure you operate on a QRegExp object that isn't in use by any other
> thread. Create a copy if you need to.

Judging from this thread, this seems to be a common but little-known
problem.  Is there a way to build a test for this into KDE debug tools
so that when it causes a crash the backtrace gives a clear message
telling them to fix this?

-Todd




More information about the kde-core-devel mailing list