Re: New nvidia drivers available

From: Doug Rabson <dfr_at_nlsystems.com>
Date: Sun, 15 Aug 2004 16:29:22 +0100
On Sunday 15 August 2004 16:12, Stefan Ehmann wrote:
> On Sun, 2004-08-15 at 11:24, Doug Rabson wrote:
> > On Sunday 15 August 2004 09:39, Stefan Ehmann wrote:
> > > On Sun, 2004-08-15 at 02:56, Johan Pettersson wrote:
> > > > On Sat, 14 Aug 2004 19:34:24 +0100
> > > >
> > > > Doug Rabson <dfr_at_nlsystems.com> wrote:
> > > > > The latest 6113 build of the nvidia graphics drivers has just
> > > > > appeared
>
> ...
>
> > > > Im running the new driver on a recent -CURRENT and xorg 6.7.0.
> > > > When starting zsnes I get this:
> > > >
> > > > beard ~> zsnes
> > > > Fatal error 'Exceeded maximum lock level' at line 261 in file
> > > > /usr/src/lib/libpthread/thread/thr_cancel.c (errno = 0) Bus
> > > > error (core dumped)
> > > > beard ~>
> > >
> > > Same error message here when starting neverball. If I map
> > > libpthread->libc_r it's working again.
> > >
> > > xawtv also stopped working. Fortunately setting -xvport manually
> > > did fix that.
> >
> > This might be because libGL calls libpthread's version of open()
> > before libpthread has initialised properly. This patch might fix it
> > - it fixes neverball's map compiler for me but I haven't actually
> > run neverball itself.
>
> That fixed the problem, thanks.
>
> Just noticed that libthr seems to have similiar problems. Here's a
> backtrace when starting neverball using libthr.

This patch ought to fix libthr (I haven't tested it).

Index: thread/thr_cancel.c
===================================================================
RCS file: /home/ncvs/src/lib/libthr/thread/thr_cancel.c,v
retrieving revision 1.10
diff -u -r1.10 thr_cancel.c
--- thread/thr_cancel.c	20 May 2004 12:06:16 -0000	1.10
+++ thread/thr_cancel.c	15 Aug 2004 15:28:24 -0000
_at__at_ -131,6 +131,10 _at__at_
 void
 _thread_enter_cancellation_point(void)
 {
+
+	if (_thread_initial == NULL)
+		_thread_init();
+
 	testcancel();
 	curthread->cancellationpoint = 1;
 }
Received on Sun Aug 15 2004 - 13:29:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:06 UTC