From owner-freebsd-bugs Fri Apr 13 14:40: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D383F37B43E for ; Fri, 13 Apr 2001 14:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3DLe2a10933; Fri, 13 Apr 2001 14:40:02 -0700 (PDT) (envelope-from gnats) Date: Fri, 13 Apr 2001 14:40:02 -0700 (PDT) Message-Id: <200104132140.f3DLe2a10933@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Will Andrews Subject: Re: bin/26307: libc_r aborts when using the KDE media player (noatun) with the sound server(aRts) Reply-To: Will Andrews Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/26307; it has been noted by GNATS. From: Will Andrews To: dd@FreeBSD.ORG Cc: freebsd-ports@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, FreeBSD GNATS DB Subject: Re: bin/26307: libc_r aborts when using the KDE media player (noatun) with the sound server(aRts) Date: Fri, 13 Apr 2001 16:29:40 -0500 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. 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. 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