Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2001 16:29:40 -0500
From:      Will Andrews <will@physics.purdue.edu>
To:        dd@FreeBSD.ORG
Cc:        freebsd-ports@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, FreeBSD GNATS DB <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   Re: bin/26307: libc_r aborts when using the KDE media player (noatun) with the sound server(aRts)
Message-ID:  <20010413162940.G12543@casimir.physics.purdue.edu>
In-Reply-To: <200104132048.f3DKmQ503992@freefall.freebsd.org>; from dd@FreeBSD.ORG on Fri, Apr 13, 2001 at 01:48:27PM -0700
References:  <200104132048.f3DKmQ503992@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 13, 2001 at 01:48:27PM -0700, dd@FreeBSD.ORG wrote:
> Synopsis: libc_r aborts when using the KDE media player (noatun) with the=
 sound server(aRts)
>=20
> Responsible-Changed-From-To: freebsd-ports->freebsd-bugs
> Responsible-Changed-By: dd
> Responsible-Changed-When: Fri Apr 13 13:48:02 PDT 2001
> Responsible-Changed-Why:=20
> Looks like it's not a ports issue after all.

<paraphrase origin=3D"aRts author">
Indeed, aRts is linked with pthreads, which causes issues becuz some
parts of aRts aren't thread-safe (and thus cannot use reentrant forms of
libc functions).  Noatun is also not thread-safe.  The fact that
pthreads is implemented in user-space makes it impossible to change the
reference for the appropriate syscalls.  At least this is true for 4.x.
Hopefully 5.x will put pthreads in the kernel.

This problem will be revisited for KDE 2.2, where the author of aRts is
going to offer non-threadsafe versions for the libraries in aRts which
are written in a threadsafe manner.
</paraphrase>

I may not remember something above correctly, but it makes sense to me.

--=20
wca

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010413162940.G12543>