bug? or my bad use of threads part 2
genjix at gmail.com
Tue Sep 15 20:57:56 CEST 2009
Also I have debugging symbols enabled but get no backtrace.
Also for some reason on ubuntu I dont get the wallpaper previewing app-
anyone know where I can find it?
On Tue, Sep 15, 2009 at 7:51 PM, Amir Taaki <genjix at gmail.com> wrote:
> oops that slipped my attention. but still removing the offending code the
> crash is still present
> On Tue, Sep 15, 2009 at 7:43 PM, Aaron J. Seigo <aseigo at kde.org> wrote:
>> On September 15, 2009, Amir Taaki wrote:
>> > Basically was having some trouble in my plugin so I've hacked this small
>> > testcase. It consists of one threaded object writing to an image read by
>> > the main Plasma Wallpaper object and drawn to the screen.
>> Tutorial1::Tutorial1(QObject *parent, const QVariantList &args)
>> : Plasma::Wallpaper(parent, args), mutex(new QMutex), blaa(parent,
>> mutex, &img)
>> img = NULL;
>> mutex = new QMutex;
>> you're assigning mutex twice, once in the ctor init list and once in the
>> of the ctor.
>> that means that Tutorial1 and Blaa are using separate mutexes, which
>> the purpose of having one ;)
>> 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
>> Plasma-devel mailing list
>> Plasma-devel at kde.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Plasma-devel