[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Review Request: Workaround for non-thread-safety of
From: Thiago Macieira <thiago () kde ! org>
Date: 2010-05-27 14:23:22
Message-ID: 201005271623.22938.thiago () kde ! org
[Download RAW message or body]
Note that there is a fix for the issue.
I will apply it to libdbus-1. I recommend all distributions upgrade to D-Bus
1.4.0 as soon as it's out (there's no schedule for it).
Em Quinta-feira 27 Maio 2010, Ã s 15:55:33, Sebastian Trueg escreveu:
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/4166/
> -----------------------------------------------------------
>
> Review request for kdelibs.
>
>
> Summary
> -------
>
> As many of us experienced already QDBusConnection is not thread-safe. As
> you can see in Qt bug 7475
> (http://bugreports.qt.nokia.com/browse/QTBUG-7475) this is not Qt's fault
> but an issue in libdbus which has been reported a rather long time ago
> (https://bugs.freedesktop.org/show_bug.cgi?id=17754). In Nepomuk we work
> around this problem using a pool of connections, one for each thread. This
> is no perfect solution but at least we get no more crashes. The same
> applies to KSycoca, too. It is used in multi-threading situations at least
> in Dolphin. Thus, this patch moves the DBusConnectionPool to kdecore,
> making it privately available to all kdelibs components.
>
>
> Diffs
> -----
>
> trunk/KDE/kdelibs/kdecore/util/dbusconnectionpool.cpp PRE-CREATION
> trunk/KDE/kdelibs/kdecore/CMakeLists.txt 1130392
> trunk/KDE/kdelibs/kdecore/sycoca/ksycoca.cpp 1130392
> trunk/KDE/kdelibs/kdecore/util/dbusconnectionpool.h PRE-CREATION
> trunk/KDE/kdelibs/nepomuk/core/CMakeLists.txt 1130392
> trunk/KDE/kdelibs/nepomuk/core/dbusconnectionpool.h 1130392
> trunk/KDE/kdelibs/nepomuk/core/dbusconnectionpool.cpp 1130392
>
> Diff: http://reviewboard.kde.org/r/4166/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Sebastian
--
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
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic