From owner-freebsd-current Sun Jan 23 11:23: 1 2000 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 3AC9D14BEC for ; Sun, 23 Jan 2000 11:22:59 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id LAA06301 for ; Sun, 23 Jan 2000 11:22:58 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id LAA19009; Sun, 23 Jan 2000 11:22:57 -0800 (PST) (envelope-from jdp@polstra.com) Date: Sun, 23 Jan 2000 11:22:57 -0800 (PST) Message-Id: <200001231922.LAA19009@vashon.polstra.com> To: current@freebsd.org Subject: Re: rtld-elf, java + tya In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Max Khon wrote: > > applet_viewer bombs out with a lot of stuff in the output like this > (until killed -9): > > ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/lockdflt.c:55 The last time this problem happened (I thought I fixed it!), it almost always appeared very soon after starting a multithreaded program. At that time I was able to reproduce it with the script below. Those of you who have seen it might be able to modify the script so it runs your failing application instead of cvsup. It might help you to get a stack trace for me (hint hint). John #! /bin/sh # # for (i = 0; i < $n; i++) { # start $prog in background # sleep($t) # kill $prog # } prog=$HOME/bin/cvsup args="/dev/null" t=0.5 n=100 if [ $# -ge 1 ]; then n=$1 fi go() { $prog $args & pid=$! sleep $t kill $pid wait %1 status=$? if [ $status -ne 143 ]; then echo "Status = $status" exit fi } i=0 while [ $i -lt $n ]; do go i=$(($i + 1)) done To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message