Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Jun 2007 03:54:10 -0400
From:      Walter Vaughan <wvaughan@steelerubber.com>
To:        freebsd-current@freebsd.org
Subject:   Threading breaking FreeBSD Foundation's Java?
Message-ID:  <466A5CA2.8010301@steelerubber.com>

next in thread | raw e-mail | index | archive | help
On dual quad core Intel box with 8 gig ram running AMD64.
FreeBSD-Current from about a week ago and a few hours ago
SCHED_ULE

We have been flexing our Java based ERP on the box and all of a sudden we have 
problems when we had code to find printers.

I found some example code that we put into the project that we think was the 
problem and when I compiled and ran an example class I got...

Fatal error 'Exceeded maximum lock level' at line 201 in file 
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 0)

about a hundred times and then it

Segmentation fault (core dumped)

That line is...
               KSE_LOCK_ACQUIRE(curkse, &l->lck);

Does this from UPDATING apply here?
         The default threading library has been changed to libthr.  If
         you wish to have libpthread as your default, use option
         DEFAULT_THREAD_LIB=libpthread for the buildworld.
I did that didn't see a change when I built world with
make -j16 buildworld DEFAULT_THREAD_LIB=libpthread

What about the kernel?

I dont see any help with http://www.freebsd.org/kse/index.html

Thanks
--
Walter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?466A5CA2.8010301>