Date: Tue, 3 Apr 2001 07:28:56 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: Maxim Sobolev <sobomax@FreeBSD.org> Cc: dd@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: ports/26307: libc_r aborts when using the KDE media player (noatun) with the sound server(aRts) Message-ID: <Pine.SUN.3.91.1010403072056.22208A-100000@pcnet1.pcnet.com> In-Reply-To: <3AC9878F.F767D872@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
On Tue, 3 Apr 2001, Maxim Sobolev wrote:
> dd@FreeBSD.ORG wrote:
>
> > Synopsis: libc_r aborts when using the KDE media player (noatun) with the sound server(aRts)
> >
> > Responsible-Changed-From-To: freebsd-bugs->freebsd-ports
> > Responsible-Changed-By: dd
> > Responsible-Changed-When: Mon Apr 2 19:53:15 PDT 2001
> > Responsible-Changed-Why:
> > Ports issue.
>
> I'm not so sure. Actually from the PR content it looks like a libc_r issue rather than a KDE
> issue. Could somebody with libc_r knowledge check that?
This needs kdelibs, noatun, mpeglib, mpeglib_artsplug, and sound.
This is not easy for me to reproduce and I don't have a sound card.
I can help someone else debug it. Try printing the return value from
the pthread_cond_timedwait at uthread_gc.c, line 229:
Index: uthread_gc.c
===================================================================
RCS file: /opt/b/CVS/src/lib/libc_r/uthread/uthread_gc.c,v
retrieving revision 1.14
diff -u -r1.14 uthread_gc.c
--- uthread_gc.c 2001/01/24 13:03:33 1.14
+++ uthread_gc.c 2001/04/03 11:31:05
@@ -227,8 +227,10 @@
* timeout (for a backup poll).
*/
if ((ret = pthread_cond_timedwait(&_gc_cond,
- &_gc_mutex, &abstime)) != 0 && ret != ETIMEDOUT)
+ &_gc_mutex, &abstime)) != 0 && ret != ETIMEDOUT) {
+ stdout_debug("GC: pthread_cond_timedwait returns %d\n, rval);
PANIC("gc cannot wait for a signal");
+ }
}
/* Unlock the garbage collector mutex: */
--
Dan Eischen
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.1010403072056.22208A-100000>
