<div dir="ltr">Don't worry too much about it, I have a workaround in place that suits me well.<div><br></div><div>I just wanted to report this problem.</div><div><br></div><div>Thanks,</div><div>Ludovic</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 9, 2017 at 5:05 PM, Dan McDonald <span dir="ltr"><<a href="mailto:danmcd@omniti.com" target="_blank">danmcd@omniti.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On May 9, 2017, at 10:30 AM, Dan McDonald <<a href="mailto:danmcd@omniti.com">danmcd@omniti.com</a>> wrote:<br>
><br>
> When I get home I'll provide more details, but you should try bloody or still in beta r151022.<br>
><br>
<br>
</span>Well shoot.  It appears I have pretty much the same problem in OmniOS bloody (and therefore r151022):<br>
<br>
root@ubuntu-14-04-b:~# ksh93<br>
# echo "Hello, world."<br>
^D<br>
^C<br>
# ls /<br>
bin   dev  home  lib64  mnt     opt   root  sbin  sys     tmp  var<br>
boot  etc  lib   media  native  proc  run   srv   system  usr<br>
<br>
^D<br>
^C#<br>
#<br>
<br>
Any command I type that's builtin just stops.  Any command that forks outputs, but doesn't seem to properly exit.<br>
<br>
Ouch... and when I try it again from scratch, it hangs per the original report.  And worse, ONE TIME (can't reproduce) it seemed to runaway with spawning itself.  Apparently if the first thing you type is a builtin or just RETURN, you enter a state where you can amp-off processes, but the shell itself seems to wedge until you hit ^C.  If you enter a real process right off the bat, ksh93 goes on a slow forking spree... well, sometimes.  Other times, hitting ^C in the hung shell will return you.<br>
<br>
I wonder if I mismerged or forgot to merge something from SmartOS?<br>
<br>
I also wonder if this mismerge or omission happened early on in the prior bloody cycle?  It's going to be hard to tell.<br>
<br>
Whatever ksh93 is doing, it appears to be doing it in LX userspace, too:<br>
<br>
bloody(~)[0]% ptree `pgrep ksh93`<br>
493   /usr/sbin/sshd<br>
  9511  /usr/sbin/sshd -R<br>
    9515  /usr/sbin/sshd -R<br>
      9516  -tcsh<br>
        9555  sudo zlogin lx1<br>
          9556  zlogin lx1<br>
            9557  /bin/login -h zone:global -f root<br>
              9566  -bash<br>
                9622  ksh93<br>
bloody(~)[0]% sudo mdb -k<br>
Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc apix scsi_vhci zfs sata sd ip hook neti sockfs arp usba xhci stmf stmf_sbd mm lofs random crypto idm nfs cpc ufs logindmux ptm ipc ]<br>
> ::ps !grep ksh<br>
R   9622   9566   9622   9557      0 0x4a014000 ffffff1983ee5000 ksh93<br>
> ffffff1983ee5000::ps -t<br>
S    PID   PPID   PGID    SID    UID      FLAGS             ADDR NAME<br>
R   9622   9566   9622   9557      0 0x4a014000 ffffff1983ee5000 ksh93<br>
        T  0xffffff1955982c60 <TS_ONPROC><br>
> 0xffffff1955982c60::findstack<br>
stack pointer for thread ffffff1955982c60: ffffff007ae157f0<br>
  ffffff007ae15f10 0x200000()<br>
><br>
<br>
And I've no good way to know what it's doing, as the illumos-native tools aren't giving me enough data.<br>
<br>
Sorry,<br>
Dan<br>
<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.<wbr>com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/<wbr>mailman/listinfo/omnios-<wbr>discuss</a><br>
</div></div></blockquote></div><br></div>