https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290217

--- Comment #8 from David 'equinox' Lamparter <[email protected]> ---
Created attachment 264704
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264704&action=edit
jls --libxo json,pretty -vdh

(In reply to Mark Johnston from comment #7)

Output of "jls --libxo json,pretty -vdh" attached

I can get you access to the VM and the hypervisor (in case you want to attach
gdb), but maybe not this week (I'm at RIPE91).  I'm not sure what's different
here, it's quite easy to reproduce with >= 4 CPUs.

I did "improve" the reproducer (removing the "set -x" makes it more likely
because there's less "writing things to terminal" going on.  The sleep duration
doesn't seem to matter):

#!/bin/sh

root="/root/base_txz"  # contents of base.txz

jail -i -c "path=$root" host.hostname=test command=/bin/sh -c "sleep 3" | {
        read jid
        echo $jid > /tmp/.jid     # not necessary, only for automation, see
below
        sleep 0.1
        jail -r $jid
}
# time between "jail -r" and "jls -d" must be minimal
jls -d

# for automated reproduction with
#   while ./jailtest.sh; do true; done
for I in $(seq 0 10); do
        jls -d -j $(cat /tmp/.jid) || exit 0
        sleep .2
done
exit 1

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to