Le samedi 17 novembre 2007, Christian Esken a écrit :
> I ran Valgrind to find out what might be going wrong and found "Invalid
> read of size 8" inside Solid when *unplugging* the device. It looks to me
> like the device table is already corrupt on unplug.

It looks like Valgrind is confused by QPointer, at this point if we would 
access an invalid memory zone the assert of this line would trigger.

> I don't delete the pointer returned by
> Solid::Device::as<Solid::AudioInterface>(), but should I at all? Anyhow,
> this is just a minor leak.

No, you shouldn't delete it yourself. I'll try to take a look at this leak.

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Kde-hardware-devel mailing list
Kde-hardware-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-hardware-devel

Reply via email to