Date: Sun, 23 Jan 2000 11:22:57 -0800 (PST) From: John Polstra <jdp@polstra.com> To: current@freebsd.org Subject: Re: rtld-elf, java + tya Message-ID: <200001231922.LAA19009@vashon.polstra.com> In-Reply-To: <Pine.BSF.4.21.0001211839110.67324-100000@iclub.nsu.ru> References: <Pine.BSF.4.21.0001211839110.67324-100000@iclub.nsu.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.4.21.0001211839110.67324-100000@iclub.nsu.ru>, Max Khon <fjoe@iclub.nsu.ru> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001231922.LAA19009>