Thread-safety issue in KConfig / KStandardDirs ?

Thiago Macieira thiago at
Sat Apr 24 10:09:49 BST 2010

Em Sábado 24. Abril 2010, às 10.53.27, Oswald Buddenhagen escreveu:
> On Fri, Apr 23, 2010 at 09:36:45PM -0300, Sandro Andrade wrote:
> > KConfig / KStandardDirs are thread-safe ?
> kstandarddirs' thread-safety is documented.
> kconfig is most definitely not thread-safe, but it is re-entrant. you
> may get lucky with the const methods just like in kstddirs.

Besides, the crash was in malloc. Malloc is thread-safe.

Unless, of course, you've already done memory smashing and destroyed malloc 
control data.

Thiago Macieira - thiago (AT) - thiago (AT)
  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: <>

More information about the kde-core-devel mailing list