memory problems in arts
staikos at kde.org
Wed Jul 16 06:49:06 BST 2003
On Wednesday 16 July 2003 01:17, George Staikos wrote:
> I'm still trying to track down these arts problems but I just have no clue
> what arts tries to do. Here's a valgrind log. As far as I can see:
> _pool = target._pool; // this line triggers "delete this;"
> _cache = target._cache; // this writes to free'd memory
> What's going on here? And are we in trouble now because this code is all
> inlined? (ie. apps need to be recompiled in order to make use of any
> possible fix)
> This is the same type of error I've seen elsewhere in KDE due to arts as
> well. It's rather critical.
FYI: I tried _copy() and _release() in artscbackend around the assignment to
::null() and it seems to fix the memory problem, but I'm not sure what it
really means/does, and I'm not sure if it's leaking now.
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the kde-multimedia