| Summary: | libc_r aborts when using the KDE media player (noatun) with the sound server(aRts) | ||
|---|---|---|---|
| Product: | Base System | Reporter: | jazepeda <jazepeda> |
| Component: | bin | Assignee: | freebsd-threads (Nobody) <threads> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
jazepeda
2001-04-03 03:30:01 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-ports Ports issue. Responsible Changed From-To: freebsd-ports->freebsd-bugs Looks like it's not a ports issue after all. 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 On Fri, Apr 13, 2001 at 04:29:40PM -0500, Will Andrews wrote: > 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 also forgot to mention that Alex Zepeda <garbanzo@kde.org> added kewl mpg123/mp3 plugins to replace the lame old mpeglib crap. So in KDE CVS mp3's work very nicely (according to him). :) --=20 wca The noatun problems seem to be fixed in the ports for kde-2.2. Does this mean we can close this PR now? Tom State Changed From-To: open->closed This problem does not occur with the latest KDE - noatun works fine now State Changed From-To: closed->open Alex Zepeda <jazepeda@pacbell.net> reports: The band-aid solution I implemented was to hack up a copy of mpg123 as the mp3 plugin, and hack up a separate ogg vorbis plugin for noatun. This should be re-opened and re-checked with the mpeglib plugin. Actually, the mpg123 based plugin is generally superior, however, judging by where the crash is pointing at (within libc_r), there's something wrong with libc_r, thus the open pr. Responsible Changed From-To: freebsd-bugs->freebsd-threads Assign to threads mailing list State Changed From-To: open->closed Fixed for ages. Approved by: Originator |