From owner-freebsd-threads@FreeBSD.ORG Wed Jun 25 04:07:27 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B6D437B401 for ; Wed, 25 Jun 2003 04:07:27 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A19743FFD for ; Wed, 25 Jun 2003 04:07:21 -0700 (PDT) (envelope-from phantom@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h5PEAinp013891 for ; Wed, 25 Jun 2003 14:10:45 GMT Received: (from phantom@localhost) by phantom.cris.net (8.12.6/8.12.2) id h5PBEkGH013226; Wed, 25 Jun 2003 14:14:47 +0300 (EEST) (envelope-from phantom) Date: Wed, 25 Jun 2003 14:14:46 +0300 From: Alexey Zelkin To: threads@freebsd.org Message-ID: <20030625141446.A13215@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.7-STABLE i386 Subject: libthr & jdk14: cv problems ? X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 11:07:27 -0000 hi, Hmmm... libthr is also having problem with compiling jdk14. At some point (could not find a some logic in lockups yet), java processes lock up. I have expirienced few lockups and DDB's ps output looks almost same for all cases (examples below). For one of these lockups I have did gcore got backtrace (also below). IMPORTANT NOTE: I also should note that previous problem I posted about libkse about hour ago is NOT an issue for libthr. At least looks like, because with libthr build process passed far longer than with libkse. 44394 c4453d3c e0e76000 1001 44393 26249 0004002 [SLP]pause 0xc472e000] javac [SLP]pause 0xc472e000] javac [SLP]pause 0xc472e000] javac [CV]select 0xc038c5f4] javac [SLP]pause 0xc472e000] javac [SLP]pause 0xc472e000] javac [SLP]pause 0xc472e000] javac [SLP]pause 0xc472e000] javac [SLP]pause 0xc472e000] javac 49226 c47d3974 e0ea1000 1001 49225 44442 0004002 [SLP]pause 0xc4a74000] java [SLP]pause 0xc4a74000] java [SLP]pause 0xc4a74000] java [CV]select 0xc038c5f4] java [SLP]pause 0xc4a74000] java [SLP]pause 0xc4a74000] java [SLP]pause 0xc4a74000] java [SLP]pause 0xc4a74000] java [SLP]pause 0xc4a74000] java #0 0x280c9df3 in sigtimedwait () from /usr/lib/libc.so.5 No symbol table info available. #1 0x2807aadf in _thread_suspend (pthread=0x80513e4, abstime=0x0) at /home/phantom/src5/lib/libthr/thread/thr_kern.c:207 remaining = {tv_sec = -1080656532, tv_nsec = 671590325} ts = (struct timespec *) 0x159 info = {si_signo = -2147483644, si_errno = 0, si_code = 0, si_pid = 0, si_uid = 671605680, si_status = 134544352, si_addr = 0xbf967d9c, si_value = { sigval_int = 671594420, sigval_ptr = 0x2807b7b4}, si_band = 134924288, __spare__ = {0, 0, 671600686, 134544380, 671605680, 3, 671605680}} set = {__bits = {134924328, 3214310740, 0, 0}} error = 345 #2 0x2807b7b4 in cond_wait_common (cond=0x80513e4, mutex=0x80513e0, abstime=0x0) at /home/phantom/src5/lib/libthr/thread/thr_cond.c:287 rval = 134544380 done = 134544352 seqno = 3 mtxrval = 345 #3 0x2807b4ae in _pthread_cond_wait (cond=0x159, mutex=0x159) at /home/phantom/src5/lib/libthr/thread/thr_cond.c:175 rval = 345