[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Re: memory problems in arts
From:       George Staikos <staikos () kde ! org>
Date:       2003-07-16 5:49:06
[Download RAW message or body]

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:
>
> soundserver.h:453
> _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.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/

_______________________________________________
kde-multimedia mailing list
kde-multimedia@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic