In article <[EMAIL PROTECTED]>,
Max Khon <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message