threads/72353: Assertion failsin/usr/src/lib/libpthread/sys/lock.c, line 171, when compilingmonodoc

Daniel Eischen eischen at vigrid.com
Tue Oct 5 12:30:35 PDT 2004


On Tue, 5 Oct 2004, Bjoern A. Zeeb wrote:

> On Tue, 5 Oct 2004, Daniel Eischen wrote:
>
> threads@ only, not gants.
>
> >  On Tue, 5 Oct 2004, Ivan Voras wrote:
> >  > Compiling monodoc (Mono documentation browsers) fails with error:
> >  > Assertion failed: (lu->lu_myreq->lr_owner == lu), function _lock_acquire, file /usr/src/lib/libpthread/sys/lock.c, line 171.
> >  > Abort trap (core dumped)
> >  > *** Error code 134
>
> this is about the same place I have seen my crashes with the
> invalid kse_mailbox in the bt:

Ivan mentioned in one of the referenced postings he was using nvidia
drivers and libraries (openGL).  Libpthread is not compatible with these
(at least older  drivers and libraries -- it really is the nvidia openGL
library I believe that is causing the problem).  No matter what you
put in /etc/libmap.conf, there is no work-around other than to try the
latest nvidia drivers (which aren't thread-safe) or to use Xorg/XFree86
drivers (and be sure to remove nvidia's openGL).

As I believe I asked you before, are you getting any warnings from the kernel
about static LDT allocations?

-- 
Dan Eischen



More information about the freebsd-threads mailing list