From owner-freebsd-threads@FreeBSD.ORG Wed Jun 25 09:16:04 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 E07FE37B405 for ; Wed, 25 Jun 2003 09:16:04 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13F5143FE3 for ; Wed, 25 Jun 2003 09:16:02 -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 h5PJJSnp034052; Wed, 25 Jun 2003 19:19:28 GMT Received: (from phantom@localhost) by phantom.cris.net (8.12.6/8.12.2) id h5PGNQ0Z015458; Wed, 25 Jun 2003 19:23:26 +0300 (EEST) (envelope-from phantom) Date: Wed, 25 Jun 2003 19:23:26 +0300 From: Alexey Zelkin To: Daniel Eischen Message-ID: <20030625192326.A15424@phantom.cris.net> References: <20030625133041.A12986@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from eischen@vigrid.com on Wed, Jun 25, 2003 at 09:55:21AM -0400 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: threads@freebsd.org Subject: Re: libkse & jdk14: signals(?) breakage 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 16:16:05 -0000 hi, On Wed, Jun 25, 2003 at 09:55:21AM -0400, Daniel Eischen wrote: > On Wed, 25 Jun 2003, Alexey Zelkin wrote: > > > hi, > > > > Yesterday I have got to point then libkse & libthr testing > > reached top of my TODO list. Results are not that I expected and > > wanted to get. > > > > In my first expirement I have had 6 Jun's -CURRENT and very recent > > libkse and libthr. In this case at jdk14 build attempt I have > > expirienced strange behaviour of both libs: at compiling of big > > chunks of code java compiler stuck in "pause" mode forever. > > > > Well, I have made clean build & install with most recent world, > > kernel and libkse and found that "pause" lockups are not repearing > > anymore, but something still broken. While compiling of one of > > packages it's usual case then SIGSEGV is received by javac. In > > libc_r case it is usually catched by signalHandler(), handled > > and continued. But in libkse case signal is not even reached > > of signalHandler() routine. As soon as I do 'continue' in gdb > > I get another SIGSEGV with below backtrace. > > > > Looks like signals are still not really working in libkse. > > David Xu is revamping signal handling (it also involves > some kernel changes). Very alpha patches are at: > > http://people.freebsd.org/~davidxu/kse_sig/ > > They are not yet completely working, but might help. Cool! It really helped. At least visible behaviour is same to libc_r. /me running TCK tests...