Hi!
On Tue, Feb 06, 2001 at 08:42:03PM +0800, Mr E_T wrote:
> I have used both the kde 2.0 and the kde 2.0.1 arts sound servers and I
> keep getting the same problem.
>
> When kde starts up I get the start wave no problems - but If I try to start
> the kde media player It and all other programs accessing artsd cause it to
> die.
>
> I started it from the console using the commands
>
> artsd -d 0 -r 11000
>
> and got the following.
>
> [...]
> search playobject, extension = wav
> addDirectory(/opt/kde/lib/mcop,)
> addDirectory(/opt/kde/lib/mcop/Arts,Arts)
> WavPlayObject_impl
> Wav: loadMedia /home/user/BearTheme.wav
> loaded wav /home/user/BearTheme.wav
> sample format: 401, sample width: 8
> channelCount: 1
>
> streamInit
> streamStart
> artsd: object.h:156: class ::Arts::Object_base * ::Arts::Object_base::_copy(): A
> ssertion `_refCnt > 0' failed.
>
>
> It doesn't matter what sound file is played - it always comes out the same.
>
> I temporarily got around it by changing the assert statement in
> mcop/objects.h from assert(_refCnt > 0) to assert(_refCnt >= 0).
Now that sounds like an important problem. I have a suspicion, though. You
could try to test it with the latest version of connection.cc, found here:
http://kdewebcvs.nebsllc.com/cgi-bin/cvsweb.cgi/kdelibs/arts/mcop/connection.cc
If it doesn't work with than either, it would be helpful to know whether the
problem occurs with a very recent KDE beta version (like 2.1beta2) as well,
although you will still need to update connection.cc, which didn't make it
into that beta version in time.
Cu... Stefan
--
-* Stefan Westerfeld, [EMAIL PROTECTED] (PGP!), Hamburg/Germany
KDE Developer, project infos at http://space.twc.de/~stefan/kde *-