From owner-freebsd-current@FreeBSD.ORG Sat Jun 9 07:52:38 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DE3F16A400 for ; Sat, 9 Jun 2007 07:52:38 +0000 (UTC) (envelope-from wvaughan@steelerubber.com) Received: from smtp4.mail.ctc.net (smtp4.mail.ctc.net [166.82.29.11]) by mx1.freebsd.org (Postfix) with ESMTP id 0710A13C44B for ; Sat, 9 Jun 2007 07:52:37 +0000 (UTC) (envelope-from wvaughan@steelerubber.com) Received: from [166.82.96.28] (wvaughan.steelerubber.com [166.82.96.28]) by smtp4.mail.ctc.net (Switch-3.2.5/Switch-3.2.5) with ESMTP id l597qZqB012959 for ; Sat, 9 Jun 2007 03:52:35 -0400 (EDT) Message-ID: <466A5CA2.8010301@steelerubber.com> Date: Sat, 09 Jun 2007 03:54:10 -0400 From: Walter Vaughan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 'X-MASF': '0.00%' X-Mailman-Approved-At: Sat, 09 Jun 2007 11:24:36 +0000 Subject: Threading breaking FreeBSD Foundation's Java? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2007 07:52:38 -0000 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