public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Thomas Wolff <towo@towo.net>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: dash-0.5.8-3
Date: Fri, 17 Feb 2017 22:30:00 -0000	[thread overview]
Message-ID: <6bac1397-8542-8283-5146-4dffcce7c905@towo.net> (raw)
In-Reply-To: <20170217094302.GI3889@calimero.vinschen.de>

[-- Attachment #1: Type: text/plain, Size: 1501 bytes --]

Am 17.02.2017 um 10:43 schrieb Corinna Vinschen:
> On Feb 17 08:36, Thomas Wolff wrote:
>> Am 16.02.2017 um 21:32 schrieb Thomas Wolff:
>>> Am 16.02.2017 um 13:49 schrieb Corinna Vinschen:
>>>> There's an ESC sequence to change the codeset?  Do you mean the
>>>> alternate codeset sequence \e[10m / \e[11m
>>> Oh, that one! Thanks for mentioning, I had overlooked it and fixed
>>> mintty now to consider it.
>>>> or is there something more sophisticated?
>>> I actually meant to adress
>>> https://github.com/mintty/mintty/wiki/CtrlSeqs#locale and there is
>>> also \e%G and \e%@.
>>>
>>> I just notice that later changing of the IUTF8 flag from the master
>>> side does not seem to work on a Window 10 system (although it works
>>> initially) while it does work on a Windows 7 system. Weird.
>> Now tested on 2 Windows 7 systems and 2 Windows 10 systems. Does not
>> work on Windows 10.
>> Any idea?
> Whatever you're observing, there's nothing Windows version-specific
> here.  The tcsetattr function indiscriminately copies the incoming
> termios structure over.  Maybe the bg_check function fails for some
> reason?  Can you strace setting the flag via tcsetattr?
Attached. There are lots of strace output even without interaction. I've 
tried to isolate the switching moment tightly.
> There should be some output from tcsetattr as well as from fhandler_termios::bg_check.
>
> Can you check?
You mean the termios_printf trace? How would I activate it (without 
recompiling cygwin)?
------
Thomas

[-- Attachment #2: try-to-set-IUTF8.strace --]
[-- Type: text/plain, Size: 173471 bytes --]

480772 38418741 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  261 38419002 [main] mintty 9348 peek_windows: window 4(0x0) ready
  157 38419159 [main] mintty 9348 select_stuff::wait: res after verify 0
   99 38419258 [main] mintty 9348 select_stuff::wait: returning 0
   78 38419336 [main] mintty 9348 select: sel.wait returns 0
   86 38419422 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  152 38419574 [main] mintty 9348 set_bits: ready 1
  386 38419960 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14562 38434522 [main] mintty 9348 select_stuff::destroy: deleting select records
  422 38434944 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  156 38435100 [main] mintty 9348 select_stuff::destroy: deleting select records
  110 38435210 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1295 38436505 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   93 38436598 [main] mintty 9348 proc_subproc: args: 6, 6741288
   77 38436675 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   76 38436751 [main] mintty 9348 checkstate: nprocs 1
   68 38436819 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   71 38436890 [main] mintty 9348 checkstate: no matching terminated children found
   69 38436959 [main] mintty 9348 checkstate: returning -1
   70 38437029 [main] mintty 9348 proc_subproc: waiting thread found no children
   72 38437101 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   69 38437170 [main] mintty 9348 proc_subproc: returning 1
   76 38437246 [main] mintty 9348 wait4: 0 = cygwait (...)
   68 38437314 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   74 38437388 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   71 38437459 [main] mintty 9348 pselect: to NULL, us -1
  239 38437698 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  160 38437858 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   91 38437949 [main] mintty 9348 select: sel.always_ready 0
  317 38438266 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
27305 38465571 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  225 38465796 [main] mintty 9348 peek_windows: window 4(0x0) ready
  158 38465954 [main] mintty 9348 select_stuff::wait: res after verify 0
  106 38466060 [main] mintty 9348 select_stuff::wait: returning 0
  152 38466212 [main] mintty 9348 select: sel.wait returns 0
  102 38466314 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   79 38466393 [main] mintty 9348 set_bits: ready 1
  382 38466775 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
20595 38487370 [main] mintty 9348 select_stuff::destroy: deleting select records
  297 38487667 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   84 38487751 [main] mintty 9348 select_stuff::destroy: deleting select records
   88 38487839 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  137 38487976 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   80 38488056 [main] mintty 9348 proc_subproc: args: 6, 6741288
   88 38488144 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   89 38488233 [main] mintty 9348 checkstate: nprocs 1
   84 38488317 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   88 38488405 [main] mintty 9348 checkstate: no matching terminated children found
   89 38488494 [main] mintty 9348 checkstate: returning -1
   86 38488580 [main] mintty 9348 proc_subproc: waiting thread found no children
   88 38488668 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   88 38488756 [main] mintty 9348 proc_subproc: returning 1
  120 38488876 [main] mintty 9348 wait4: 0 = cygwait (...)
   91 38488967 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   95 38489062 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
  104 38489166 [main] mintty 9348 pselect: to NULL, us -1
  325 38489491 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  250 38489741 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
  158 38489899 [main] mintty 9348 select: sel.always_ready 0
  497 38490396 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
458984 38949380 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  282 38949662 [main] mintty 9348 peek_windows: window 4(0x0) ready
  191 38949853 [main] mintty 9348 select_stuff::wait: res after verify 0
   88 38949941 [main] mintty 9348 select_stuff::wait: returning 0
   87 38950028 [main] mintty 9348 select: sel.wait returns 0
   84 38950112 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  157 38950269 [main] mintty 9348 set_bits: ready 1
  282 38950551 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14770 38965321 [main] mintty 9348 select_stuff::destroy: deleting select records
  326 38965647 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   85 38965732 [main] mintty 9348 select_stuff::destroy: deleting select records
  194 38965926 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1431 38967357 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  110 38967467 [main] mintty 9348 proc_subproc: args: 6, 6741288
   85 38967552 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   77 38967629 [main] mintty 9348 checkstate: nprocs 1
   73 38967702 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   77 38967779 [main] mintty 9348 checkstate: no matching terminated children found
   74 38967853 [main] mintty 9348 checkstate: returning -1
   74 38967927 [main] mintty 9348 proc_subproc: waiting thread found no children
   75 38968002 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   80 38968082 [main] mintty 9348 proc_subproc: returning 1
   83 38968165 [main] mintty 9348 wait4: 0 = cygwait (...)
   70 38968235 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   73 38968308 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   74 38968382 [main] mintty 9348 pselect: to NULL, us -1
  270 38968652 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  195 38968847 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   83 38968930 [main] mintty 9348 select: sel.always_ready 0
  215 38969145 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
33738 39002883 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  224 39003107 [main] mintty 9348 peek_windows: window 4(0x0) ready
   95 39003202 [main] mintty 9348 select_stuff::wait: res after verify 0
   96 39003298 [main] mintty 9348 select_stuff::wait: returning 0
   86 39003384 [main] mintty 9348 select: sel.wait returns 0
  140 39003524 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  145 39003669 [main] mintty 9348 set_bits: ready 1
  330 39003999 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14703 39018702 [main] mintty 9348 select_stuff::destroy: deleting select records
  310 39019012 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   85 39019097 [main] mintty 9348 select_stuff::destroy: deleting select records
  153 39019250 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  136 39019386 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  133 39019519 [main] mintty 9348 proc_subproc: args: 6, 6741288
   92 39019611 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   90 39019701 [main] mintty 9348 checkstate: nprocs 1
   88 39019789 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   88 39019877 [main] mintty 9348 checkstate: no matching terminated children found
   87 39019964 [main] mintty 9348 checkstate: returning -1
  145 39020109 [main] mintty 9348 proc_subproc: waiting thread found no children
  122 39020231 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   97 39020328 [main] mintty 9348 proc_subproc: returning 1
  156 39020484 [main] mintty 9348 wait4: 0 = cygwait (...)
  103 39020587 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
  183 39020770 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
  112 39020882 [main] mintty 9348 pselect: to NULL, us -1
  236 39021118 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  245 39021363 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
  161 39021524 [main] mintty 9348 select: sel.always_ready 0
  410 39021934 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
465728 39487662 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  249 39487911 [main] mintty 9348 peek_windows: window 4(0x0) ready
   92 39488003 [main] mintty 9348 select_stuff::wait: res after verify 0
   80 39488083 [main] mintty 9348 select_stuff::wait: returning 0
   74 39488157 [main] mintty 9348 select: sel.wait returns 0
   73 39488230 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   73 39488303 [main] mintty 9348 set_bits: ready 1
  243 39488546 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14856 39503402 [main] mintty 9348 select_stuff::destroy: deleting select records
  413 39503815 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  161 39503976 [main] mintty 9348 select_stuff::destroy: deleting select records
  100 39504076 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1229 39505305 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  102 39505407 [main] mintty 9348 proc_subproc: args: 6, 6741288
  156 39505563 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  104 39505667 [main] mintty 9348 checkstate: nprocs 1
   78 39505745 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   74 39505819 [main] mintty 9348 checkstate: no matching terminated children found
   73 39505892 [main] mintty 9348 checkstate: returning -1
   72 39505964 [main] mintty 9348 proc_subproc: waiting thread found no children
   73 39506037 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   74 39506111 [main] mintty 9348 proc_subproc: returning 1
   80 39506191 [main] mintty 9348 wait4: 0 = cygwait (...)
   72 39506263 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   75 39506338 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   73 39506411 [main] mintty 9348 pselect: to NULL, us -1
  268 39506679 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  200 39506879 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   95 39506974 [main] mintty 9348 select: sel.always_ready 0
  326 39507300 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
27186 39534486 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  244 39534730 [main] mintty 9348 peek_windows: window 4(0x0) ready
   89 39534819 [main] mintty 9348 select_stuff::wait: res after verify 0
  156 39534975 [main] mintty 9348 select_stuff::wait: returning 0
  146 39535121 [main] mintty 9348 select: sel.wait returns 0
  103 39535224 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   79 39535303 [main] mintty 9348 set_bits: ready 1
  481 39535784 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14410 39550194 [main] mintty 9348 select_stuff::destroy: deleting select records
  297 39550491 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   85 39550576 [main] mintty 9348 select_stuff::destroy: deleting select records
   88 39550664 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  137 39550801 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   80 39550881 [main] mintty 9348 proc_subproc: args: 6, 6741288
   87 39550968 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   89 39551057 [main] mintty 9348 checkstate: nprocs 1
   84 39551141 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   86 39551227 [main] mintty 9348 checkstate: no matching terminated children found
   86 39551313 [main] mintty 9348 checkstate: returning -1
   80 39551393 [main] mintty 9348 proc_subproc: waiting thread found no children
   87 39551480 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   86 39551566 [main] mintty 9348 proc_subproc: returning 1
  107 39551673 [main] mintty 9348 wait4: 0 = cygwait (...)
  101 39551774 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
  102 39551876 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
  100 39551976 [main] mintty 9348 pselect: to NULL, us -1
  335 39552311 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  159 39552470 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
  154 39552624 [main] mintty 9348 select: sel.always_ready 0
  317 39552941 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
466653 40019594 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  222 40019816 [main] mintty 9348 peek_windows: window 4(0x0) ready
  153 40019969 [main] mintty 9348 select_stuff::wait: res after verify 0
   99 40020068 [main] mintty 9348 select_stuff::wait: returning 0
  125 40020193 [main] mintty 9348 select: sel.wait returns 0
  111 40020304 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   98 40020402 [main] mintty 9348 set_bits: ready 1
  356 40020758 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14551 40035309 [main] mintty 9348 select_stuff::destroy: deleting select records
  313 40035622 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   74 40035696 [main] mintty 9348 select_stuff::destroy: deleting select records
   73 40035769 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1212 40036981 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   97 40037078 [main] mintty 9348 proc_subproc: args: 6, 6741288
  156 40037234 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  101 40037335 [main] mintty 9348 checkstate: nprocs 1
   74 40037409 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   75 40037484 [main] mintty 9348 checkstate: no matching terminated children found
   72 40037556 [main] mintty 9348 checkstate: returning -1
   70 40037626 [main] mintty 9348 proc_subproc: waiting thread found no children
   74 40037700 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   71 40037771 [main] mintty 9348 proc_subproc: returning 1
   80 40037851 [main] mintty 9348 wait4: 0 = cygwait (...)
   70 40037921 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   74 40037995 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   75 40038070 [main] mintty 9348 pselect: to NULL, us -1
  248 40038318 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  197 40038515 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   85 40038600 [main] mintty 9348 select: sel.always_ready 0
  216 40038816 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
27669 40066485 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  368 40066853 [main] mintty 9348 peek_windows: window 4(0x0) ready
  150 40067003 [main] mintty 9348 select_stuff::wait: res after verify 0
  120 40067123 [main] mintty 9348 select_stuff::wait: returning 0
   91 40067214 [main] mintty 9348 select: sel.wait returns 0
  100 40067314 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   89 40067403 [main] mintty 9348 set_bits: ready 1
  316 40067719 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
20498 40088217 [main] mintty 9348 select_stuff::destroy: deleting select records
  319 40088536 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   88 40088624 [main] mintty 9348 select_stuff::destroy: deleting select records
   88 40088712 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  127 40088839 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  130 40088969 [main] mintty 9348 proc_subproc: args: 6, 6741288
   92 40089061 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  148 40089209 [main] mintty 9348 checkstate: nprocs 1
   94 40089303 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   88 40089391 [main] mintty 9348 checkstate: no matching terminated children found
   86 40089477 [main] mintty 9348 checkstate: returning -1
   96 40089573 [main] mintty 9348 proc_subproc: waiting thread found no children
  112 40089685 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   96 40089781 [main] mintty 9348 proc_subproc: returning 1
  142 40089923 [main] mintty 9348 wait4: 0 = cygwait (...)
   97 40090020 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
  143 40090163 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
  118 40090281 [main] mintty 9348 pselect: to NULL, us -1
  208 40090489 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  131 40090620 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   68 40090688 [main] mintty 9348 select: sel.always_ready 0
  371 40091059 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
444149 40535208 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  227 40535435 [main] mintty 9348 peek_windows: window 4(0x0) ready
  154 40535589 [main] mintty 9348 select_stuff::wait: res after verify 0
  103 40535692 [main] mintty 9348 select_stuff::wait: returning 0
   80 40535772 [main] mintty 9348 select: sel.wait returns 0
   86 40535858 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  158 40536016 [main] mintty 9348 set_bits: ready 1
  276 40536292 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14689 40550981 [main] mintty 9348 select_stuff::destroy: deleting select records
  307 40551288 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   86 40551374 [main] mintty 9348 select_stuff::destroy: deleting select records
  156 40551530 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1297 40552827 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  151 40552978 [main] mintty 9348 proc_subproc: args: 6, 6741288
  101 40553079 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   92 40553171 [main] mintty 9348 checkstate: nprocs 1
  151 40553322 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   99 40553421 [main] mintty 9348 checkstate: no matching terminated children found
   76 40553497 [main] mintty 9348 checkstate: returning -1
   76 40553573 [main] mintty 9348 proc_subproc: waiting thread found no children
   73 40553646 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   73 40553719 [main] mintty 9348 proc_subproc: returning 1
   75 40553794 [main] mintty 9348 wait4: 0 = cygwait (...)
   71 40553865 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   73 40553938 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   79 40554017 [main] mintty 9348 pselect: to NULL, us -1
  250 40554267 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  198 40554465 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   84 40554549 [main] mintty 9348 select: sel.always_ready 0
  416 40554965 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
33275 40588240 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  270 40588510 [main] mintty 9348 peek_windows: window 4(0x0) ready
  108 40588618 [main] mintty 9348 select_stuff::wait: res after verify 0
  146 40588764 [main] mintty 9348 select_stuff::wait: returning 0
  142 40588906 [main] mintty 9348 select: sel.wait returns 0
  102 40589008 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  160 40589168 [main] mintty 9348 set_bits: ready 1
  506 40589674 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14372 40604046 [main] mintty 9348 select_stuff::destroy: deleting select records
  443 40604489 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  132 40604621 [main] mintty 9348 select_stuff::destroy: deleting select records
  100 40604721 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  127 40604848 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   72 40604920 [main] mintty 9348 proc_subproc: args: 6, 6741288
   71 40604991 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   70 40605061 [main] mintty 9348 checkstate: nprocs 1
   69 40605130 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   68 40605198 [main] mintty 9348 checkstate: no matching terminated children found
   69 40605267 [main] mintty 9348 checkstate: returning -1
   67 40605334 [main] mintty 9348 proc_subproc: waiting thread found no children
   71 40605405 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   70 40605475 [main] mintty 9348 proc_subproc: returning 1
   76 40605551 [main] mintty 9348 wait4: 0 = cygwait (...)
   68 40605619 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   71 40605690 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   70 40605760 [main] mintty 9348 pselect: to NULL, us -1
  240 40606000 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  160 40606160 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   93 40606253 [main] mintty 9348 select: sel.always_ready 0
  316 40606569 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
459750 41066319 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  209 41066528 [main] mintty 9348 peek_windows: window 4(0x0) ready
   94 41066622 [main] mintty 9348 select_stuff::wait: res after verify 0
  149 41066771 [main] mintty 9348 select_stuff::wait: returning 0
   92 41066863 [main] mintty 9348 select: sel.wait returns 0
   88 41066951 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   87 41067038 [main] mintty 9348 set_bits: ready 1
  363 41067401 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
20769 41088170 [main] mintty 9348 select_stuff::destroy: deleting select records
  382 41088552 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  158 41088710 [main] mintty 9348 select_stuff::destroy: deleting select records
  100 41088810 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1349 41090159 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  113 41090272 [main] mintty 9348 proc_subproc: args: 6, 6741288
  152 41090424 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  106 41090530 [main] mintty 9348 checkstate: nprocs 1
   85 41090615 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  116 41090731 [main] mintty 9348 checkstate: no matching terminated children found
   78 41090809 [main] mintty 9348 checkstate: returning -1
   70 41090879 [main] mintty 9348 proc_subproc: waiting thread found no children
   75 41090954 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   72 41091026 [main] mintty 9348 proc_subproc: returning 1
   79 41091105 [main] mintty 9348 wait4: 0 = cygwait (...)
   71 41091176 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   73 41091249 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   73 41091322 [main] mintty 9348 pselect: to NULL, us -1
  249 41091571 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  192 41091763 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   85 41091848 [main] mintty 9348 select: sel.always_ready 0
  216 41092064 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
27244 41119308 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  227 41119535 [main] mintty 9348 peek_windows: window 4(0x0) ready
  164 41119699 [main] mintty 9348 select_stuff::wait: res after verify 0
  129 41119828 [main] mintty 9348 select_stuff::wait: returning 0
   83 41119911 [main] mintty 9348 select: sel.wait returns 0
   75 41119986 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   73 41120059 [main] mintty 9348 set_bits: ready 1
  243 41120302 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14690 41134992 [main] mintty 9348 select_stuff::destroy: deleting select records
  422 41135414 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  154 41135568 [main] mintty 9348 select_stuff::destroy: deleting select records
  102 41135670 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  124 41135794 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   83 41135877 [main] mintty 9348 proc_subproc: args: 6, 6741288
  152 41136029 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  102 41136131 [main] mintty 9348 checkstate: nprocs 1
   76 41136207 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   75 41136282 [main] mintty 9348 checkstate: no matching terminated children found
   70 41136352 [main] mintty 9348 checkstate: returning -1
   74 41136426 [main] mintty 9348 proc_subproc: waiting thread found no children
   74 41136500 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   73 41136573 [main] mintty 9348 proc_subproc: returning 1
   77 41136650 [main] mintty 9348 wait4: 0 = cygwait (...)
   73 41136723 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   73 41136796 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   74 41136870 [main] mintty 9348 pselect: to NULL, us -1
  267 41137137 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  197 41137334 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
  143 41137477 [main] mintty 9348 select: sel.always_ready 0
  317 41137794 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
450476 41588270 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  160 41588430 [main] mintty 9348 peek_windows: window 4(0x0) ready
   82 41588512 [main] mintty 9348 select_stuff::wait: res after verify 0
   85 41588597 [main] mintty 9348 select_stuff::wait: returning 0
  155 41588752 [main] mintty 9348 select: sel.wait returns 0
  112 41588864 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  154 41589018 [main] mintty 9348 set_bits: ready 1
  375 41589393 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14422 41603815 [main] mintty 9348 select_stuff::destroy: deleting select records
  420 41604235 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  161 41604396 [main] mintty 9348 select_stuff::destroy: deleting select records
   99 41604495 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1204 41605699 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  105 41605804 [main] mintty 9348 proc_subproc: args: 6, 6741288
  154 41605958 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  101 41606059 [main] mintty 9348 checkstate: nprocs 1
   78 41606137 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   75 41606212 [main] mintty 9348 checkstate: no matching terminated children found
   70 41606282 [main] mintty 9348 checkstate: returning -1
   71 41606353 [main] mintty 9348 proc_subproc: waiting thread found no children
   75 41606428 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   72 41606500 [main] mintty 9348 proc_subproc: returning 1
   87 41606587 [main] mintty 9348 wait4: 0 = cygwait (...)
   69 41606656 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   73 41606729 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   76 41606805 [main] mintty 9348 pselect: to NULL, us -1
  247 41607052 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  196 41607248 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   86 41607334 [main] mintty 9348 select: sel.always_ready 0
  216 41607550 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
27373 41634923 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  207 41635130 [main] mintty 9348 peek_windows: window 4(0x0) ready
   92 41635222 [main] mintty 9348 select_stuff::wait: res after verify 0
  157 41635379 [main] mintty 9348 select_stuff::wait: returning 0
   99 41635478 [main] mintty 9348 select: sel.wait returns 0
   80 41635558 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   85 41635643 [main] mintty 9348 set_bits: ready 1
  359 41636002 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14750 41650752 [main] mintty 9348 select_stuff::destroy: deleting select records
  420 41651172 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  153 41651325 [main] mintty 9348 select_stuff::destroy: deleting select records
  100 41651425 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  125 41651550 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   82 41651632 [main] mintty 9348 proc_subproc: args: 6, 6741288
  114 41651746 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   80 41651826 [main] mintty 9348 checkstate: nprocs 1
   69 41651895 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   71 41651966 [main] mintty 9348 checkstate: no matching terminated children found
   68 41652034 [main] mintty 9348 checkstate: returning -1
   68 41652102 [main] mintty 9348 proc_subproc: waiting thread found no children
   70 41652172 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   68 41652240 [main] mintty 9348 proc_subproc: returning 1
   74 41652314 [main] mintty 9348 wait4: 0 = cygwait (...)
   69 41652383 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   70 41652453 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   71 41652524 [main] mintty 9348 pselect: to NULL, us -1
  217 41652741 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  160 41652901 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   90 41652991 [main] mintty 9348 select: sel.always_ready 0
  392 41653383 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
451465 42104848 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  146 42104994 [main] mintty 9348 peek_windows: window 4(0x0) ready
  201 42105195 [main] mintty 9348 select_stuff::wait: res after verify 0
  110 42105305 [main] mintty 9348 select_stuff::wait: returning 0
  100 42105405 [main] mintty 9348 select: sel.wait returns 0
   87 42105492 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   87 42105579 [main] mintty 9348 set_bits: ready 1
  315 42105894 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14533 42120427 [main] mintty 9348 select_stuff::destroy: deleting select records
  354 42120781 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  157 42120938 [main] mintty 9348 select_stuff::destroy: deleting select records
  149 42121087 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1696 42122783 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  246 42123029 [main] mintty 9348 proc_subproc: args: 6, 6741288
  101 42123130 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   81 42123211 [main] mintty 9348 checkstate: nprocs 1
   73 42123284 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   74 42123358 [main] mintty 9348 checkstate: no matching terminated children found
   72 42123430 [main] mintty 9348 checkstate: returning -1
   72 42123502 [main] mintty 9348 proc_subproc: waiting thread found no children
   86 42123588 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
  154 42123742 [main] mintty 9348 proc_subproc: returning 1
  107 42123849 [main] mintty 9348 wait4: 0 = cygwait (...)
   76 42123925 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   75 42124000 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   73 42124073 [main] mintty 9348 pselect: to NULL, us -1
  226 42124299 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  253 42124552 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
  104 42124656 [main] mintty 9348 select: sel.always_ready 0
  325 42124981 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
10979 42135960 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  217 42136177 [main] mintty 9348 peek_windows: window 4(0x0) ready
  136 42136313 [main] mintty 9348 select_stuff::wait: res after verify 0
  149 42136462 [main] mintty 9348 select_stuff::wait: returning 0
  114 42136576 [main] mintty 9348 select: sel.wait returns 0
   93 42136669 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   89 42136758 [main] mintty 9348 set_bits: ready 1
  311 42137069 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14610 42151679 [main] mintty 9348 select_stuff::destroy: deleting select records
  278 42151957 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  121 42152078 [main] mintty 9348 select_stuff::destroy: deleting select records
  114 42152192 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  151 42152343 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  116 42152459 [main] mintty 9348 proc_subproc: args: 6, 6741288
  117 42152576 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  125 42152701 [main] mintty 9348 checkstate: nprocs 1
  147 42152848 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  150 42152998 [main] mintty 9348 checkstate: no matching terminated children found
  127 42153125 [main] mintty 9348 checkstate: returning -1
   92 42153217 [main] mintty 9348 proc_subproc: waiting thread found no children
   90 42153307 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   87 42153394 [main] mintty 9348 proc_subproc: returning 1
   96 42153490 [main] mintty 9348 wait4: 0 = cygwait (...)
   84 42153574 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   87 42153661 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   91 42153752 [main] mintty 9348 pselect: to NULL, us -1
  263 42154015 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  173 42154188 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   85 42154273 [main] mintty 9348 select: sel.always_ready 0
  394 42154667 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
456374 42611041 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  233 42611274 [main] mintty 9348 peek_windows: window 4(0x0) ready
  109 42611383 [main] mintty 9348 select_stuff::wait: res after verify 0
  151 42611534 [main] mintty 9348 select_stuff::wait: returning 0
  100 42611634 [main] mintty 9348 select: sel.wait returns 0
   81 42611715 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   84 42611799 [main] mintty 9348 set_bits: ready 1
  365 42612164 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
 7607 42619771 [main] mintty 9348 select_stuff::destroy: deleting select records
  319 42620090 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   91 42620181 [main] mintty 9348 select_stuff::destroy: deleting select records
  137 42620318 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 4573 42624891 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  118 42625009 [main] mintty 9348 proc_subproc: args: 6, 6741288
   84 42625093 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   95 42625188 [main] mintty 9348 checkstate: nprocs 1
  152 42625340 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  103 42625443 [main] mintty 9348 checkstate: no matching terminated children found
   80 42625523 [main] mintty 9348 checkstate: returning -1
   75 42625598 [main] mintty 9348 proc_subproc: waiting thread found no children
   76 42625674 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   74 42625748 [main] mintty 9348 proc_subproc: returning 1
   75 42625823 [main] mintty 9348 wait4: 0 = cygwait (...)
   73 42625896 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   74 42625970 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   74 42626044 [main] mintty 9348 pselect: to NULL, us -1
  291 42626335 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  331 42626666 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   90 42626756 [main] mintty 9348 select: sel.always_ready 0
  294 42627050 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
  260 42627310 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  277 42627587 [main] mintty 9348 peek_windows: window 4(0x0) ready
  164 42627751 [main] mintty 9348 select_stuff::wait: res after verify 0
  148 42627899 [main] mintty 9348 select_stuff::wait: returning 0
  196 42628095 [main] mintty 9348 select: sel.wait returns 0
  230 42628325 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  233 42628558 [main] mintty 9348 set_bits: ready 1
  559 42629117 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  286 42629403 [pipesel] mintty 9348 thread_pipe: stopping
  257 42629660 [main] mintty 9348 select_stuff::destroy: deleting select records
  258 42629918 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   91 42630009 [main] mintty 9348 select_stuff::destroy: deleting select records
   81 42630090 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  169 42630259 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   76 42630335 [main] mintty 9348 proc_subproc: args: 6, 6741288
   73 42630408 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   73 42630481 [main] mintty 9348 checkstate: nprocs 1
   70 42630551 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   72 42630623 [main] mintty 9348 checkstate: no matching terminated children found
   70 42630693 [main] mintty 9348 checkstate: returning -1
   69 42630762 [main] mintty 9348 proc_subproc: waiting thread found no children
   71 42630833 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   70 42630903 [main] mintty 9348 proc_subproc: returning 1
   74 42630977 [main] mintty 9348 wait4: 0 = cygwait (...)
   69 42631046 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   72 42631118 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   71 42631189 [main] mintty 9348 pselect: to NULL, us -1
  210 42631399 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  162 42631561 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   92 42631653 [main] mintty 9348 select: sel.always_ready 0
  314 42631967 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 2712 42634679 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  138 42634817 [main] mintty 9348 peek_windows: window 4(0x0) ready
   82 42634899 [main] mintty 9348 select_stuff::wait: res after verify 0
   73 42634972 [main] mintty 9348 select_stuff::wait: returning 0
   70 42635042 [main] mintty 9348 select: sel.wait returns 0
   72 42635114 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  176 42635290 [main] mintty 9348 set_bits: ready 1
  340 42635630 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
15457 42651087 [main] mintty 9348 select_stuff::destroy: deleting select records
  315 42651402 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   86 42651488 [main] mintty 9348 select_stuff::destroy: deleting select records
  159 42651647 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  241 42651888 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  148 42652036 [main] mintty 9348 proc_subproc: args: 6, 6741288
  102 42652138 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   81 42652219 [main] mintty 9348 checkstate: nprocs 1
   74 42652293 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   74 42652367 [main] mintty 9348 checkstate: no matching terminated children found
   73 42652440 [main] mintty 9348 checkstate: returning -1
   70 42652510 [main] mintty 9348 proc_subproc: waiting thread found no children
   76 42652586 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   72 42652658 [main] mintty 9348 proc_subproc: returning 1
   82 42652740 [main] mintty 9348 wait4: 0 = cygwait (...)
   70 42652810 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   74 42652884 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   74 42652958 [main] mintty 9348 pselect: to NULL, us -1
  269 42653227 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  195 42653422 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   87 42653509 [main] mintty 9348 select: sel.always_ready 0
  291 42653800 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 4924 42658724 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  206 42658930 [main] mintty 9348 peek_windows: window 4(0x0) ready
   88 42659018 [main] mintty 9348 select_stuff::wait: res after verify 0
   75 42659093 [main] mintty 9348 select_stuff::wait: returning 0
   74 42659167 [main] mintty 9348 select: sel.wait returns 0
   72 42659239 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   74 42659313 [main] mintty 9348 set_bits: ready 1
  299 42659612 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
 7109 42666721 [main] mintty 9348 select_stuff::destroy: deleting select records
  324 42667045 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   90 42667135 [main] mintty 9348 select_stuff::destroy: deleting select records
  149 42667284 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  281 42667565 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  140 42667705 [main] mintty 9348 proc_subproc: args: 6, 6741288
  144 42667849 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  152 42668001 [main] mintty 9348 checkstate: nprocs 1
  139 42668140 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  145 42668285 [main] mintty 9348 checkstate: no matching terminated children found
   93 42668378 [main] mintty 9348 checkstate: returning -1
  143 42668521 [main] mintty 9348 proc_subproc: waiting thread found no children
  104 42668625 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
  101 42668726 [main] mintty 9348 proc_subproc: returning 1
  102 42668828 [main] mintty 9348 wait4: 0 = cygwait (...)
  102 42668930 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
  108 42669038 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
  103 42669141 [main] mintty 9348 pselect: to NULL, us -1
  292 42669433 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  177 42669610 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   84 42669694 [main] mintty 9348 select: sel.always_ready 0
  355 42670049 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 4766 42674815 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  213 42675028 [main] mintty 9348 peek_windows: window 4(0x0) ready
  107 42675135 [main] mintty 9348 select_stuff::wait: res after verify 0
  106 42675241 [main] mintty 9348 select_stuff::wait: returning 0
  102 42675343 [main] mintty 9348 select: sel.wait returns 0
  101 42675444 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  100 42675544 [main] mintty 9348 set_bits: ready 1
  315 42675859 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
12594 42688453 [main] mintty 9348 select_stuff::destroy: deleting select records
  204 42688657 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   58 42688715 [main] mintty 9348 select_stuff::destroy: deleting select records
   99 42688814 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  152 42688966 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   94 42689060 [main] mintty 9348 proc_subproc: args: 6, 6741288
   60 42689120 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   98 42689218 [main] mintty 9348 checkstate: nprocs 1
   60 42689278 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  132 42689410 [main] mintty 9348 checkstate: no matching terminated children found
   75 42689485 [main] mintty 9348 checkstate: returning -1
   57 42689542 [main] mintty 9348 proc_subproc: waiting thread found no children
   61 42689603 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   53 42689656 [main] mintty 9348 proc_subproc: returning 1
   59 42689715 [main] mintty 9348 wait4: 0 = cygwait (...)
   53 42689768 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   57 42689825 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   57 42689882 [main] mintty 9348 pselect: to NULL, us -1
  139 42690021 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   97 42690118 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   61 42690179 [main] mintty 9348 select: sel.always_ready 0
  240 42690419 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
  358 42690777 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  188 42690965 [main] mintty 9348 peek_windows: window 4(0x0) ready
   57 42691022 [main] mintty 9348 select_stuff::wait: res after verify 0
  127 42691149 [main] mintty 9348 select_stuff::wait: returning 0
  112 42691261 [main] mintty 9348 select: sel.wait returns 0
   57 42691318 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  170 42691488 [main] mintty 9348 set_bits: ready 1
  261 42691749 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  112 42691861 [pipesel] mintty 9348 thread_pipe: stopping
  136 42691997 [main] mintty 9348 select_stuff::destroy: deleting select records
  151 42692148 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   53 42692201 [main] mintty 9348 select_stuff::destroy: deleting select records
   96 42692297 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  162 42692459 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   69 42692528 [main] mintty 9348 proc_subproc: args: 6, 6741288
   73 42692601 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   72 42692673 [main] mintty 9348 checkstate: nprocs 1
   71 42692744 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   72 42692816 [main] mintty 9348 checkstate: no matching terminated children found
   73 42692889 [main] mintty 9348 checkstate: returning -1
   72 42692961 [main] mintty 9348 proc_subproc: waiting thread found no children
   74 42693035 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   70 42693105 [main] mintty 9348 proc_subproc: returning 1
   75 42693180 [main] mintty 9348 wait4: 0 = cygwait (...)
   58 42693238 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   58 42693296 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   70 42693366 [main] mintty 9348 pselect: to NULL, us -1
  163 42693529 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  101 42693630 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   49 42693679 [main] mintty 9348 select: sel.always_ready 0
  196 42693875 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 4837 42698712 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  133 42698845 [main] mintty 9348 peek_windows: window 4(0x0) ready
   80 42698925 [main] mintty 9348 select_stuff::wait: res after verify 0
   74 42698999 [main] mintty 9348 select_stuff::wait: returning 0
   72 42699071 [main] mintty 9348 select: sel.wait returns 0
   71 42699142 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   74 42699216 [main] mintty 9348 set_bits: ready 1
  224 42699440 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
 4621 42704061 [main] mintty 9348 select_stuff::destroy: deleting select records
  152 42704213 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   50 42704263 [main] mintty 9348 select_stuff::destroy: deleting select records
   64 42704327 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  158 42704485 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   64 42704549 [main] mintty 9348 proc_subproc: args: 6, 6741288
   66 42704615 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   64 42704679 [main] mintty 9348 checkstate: nprocs 1
   74 42704753 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   85 42704838 [main] mintty 9348 checkstate: no matching terminated children found
   72 42704910 [main] mintty 9348 checkstate: returning -1
   59 42704969 [main] mintty 9348 proc_subproc: waiting thread found no children
   98 42705067 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   57 42705124 [main] mintty 9348 proc_subproc: returning 1
   62 42705186 [main] mintty 9348 wait4: 0 = cygwait (...)
   78 42705264 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   72 42705336 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   65 42705401 [main] mintty 9348 pselect: to NULL, us -1
  176 42705577 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  114 42705691 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   52 42705743 [main] mintty 9348 select: sel.always_ready 0
  261 42706004 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
  705 42706709 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  143 42706852 [main] mintty 9348 peek_windows: window 4(0x0) ready
   70 42706922 [main] mintty 9348 select_stuff::wait: res after verify 0
  126 42707048 [main] mintty 9348 select_stuff::wait: returning 0
   59 42707107 [main] mintty 9348 select: sel.wait returns 0
  128 42707235 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  184 42707419 [main] mintty 9348 set_bits: ready 1
  420 42707839 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  194 42708033 [pipesel] mintty 9348 thread_pipe: stopping
  179 42708212 [main] mintty 9348 select_stuff::destroy: deleting select records
  152 42708364 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   47 42708411 [main] mintty 9348 select_stuff::destroy: deleting select records
   66 42708477 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  147 42708624 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   66 42708690 [main] mintty 9348 proc_subproc: args: 6, 6741288
   66 42708756 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   84 42708840 [main] mintty 9348 checkstate: nprocs 1
   71 42708911 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   65 42708976 [main] mintty 9348 checkstate: no matching terminated children found
   71 42709047 [main] mintty 9348 checkstate: returning -1
   63 42709110 [main] mintty 9348 proc_subproc: waiting thread found no children
   65 42709175 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   69 42709244 [main] mintty 9348 proc_subproc: returning 1
   51 42709295 [main] mintty 9348 wait4: 0 = cygwait (...)
   50 42709345 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   56 42709401 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   51 42709452 [main] mintty 9348 pselect: to NULL, us -1
  126 42709578 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  113 42709691 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   54 42709745 [main] mintty 9348 select: sel.always_ready 0
  252 42709997 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 4696 42714693 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  112 42714805 [main] mintty 9348 peek_windows: window 4(0x0) ready
   75 42714880 [main] mintty 9348 select_stuff::wait: res after verify 0
   54 42714934 [main] mintty 9348 select_stuff::wait: returning 0
   57 42714991 [main] mintty 9348 select: sel.wait returns 0
   77 42715068 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   52 42715120 [main] mintty 9348 set_bits: ready 1
  174 42715294 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
 4394 42719688 [main] mintty 9348 select_stuff::destroy: deleting select records
  111 42719799 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   34 42719833 [main] mintty 9348 select_stuff::destroy: deleting select records
   41 42719874 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
   92 42719966 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   57 42720023 [main] mintty 9348 proc_subproc: args: 6, 6741288
   40 42720063 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   39 42720102 [main] mintty 9348 checkstate: nprocs 1
   41 42720143 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   40 42720183 [main] mintty 9348 checkstate: no matching terminated children found
   40 42720223 [main] mintty 9348 checkstate: returning -1
   35 42720258 [main] mintty 9348 proc_subproc: waiting thread found no children
   37 42720295 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   32 42720327 [main] mintty 9348 proc_subproc: returning 1
   35 42720362 [main] mintty 9348 wait4: 0 = cygwait (...)
   33 42720395 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   34 42720429 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   34 42720463 [main] mintty 9348 pselect: to NULL, us -1
   94 42720557 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   60 42720617 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   30 42720647 [main] mintty 9348 select: sel.always_ready 0
  124 42720771 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 1856 42722627 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
   72 42722699 [main] mintty 9348 peek_windows: window 4(0x0) ready
   40 42722739 [main] mintty 9348 select_stuff::wait: res after verify 0
   68 42722807 [main] mintty 9348 select_stuff::wait: returning 0
   37 42722844 [main] mintty 9348 select: sel.wait returns 0
   34 42722878 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   34 42722912 [main] mintty 9348 set_bits: ready 1
   92 42723004 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
12267 42735271 [main] mintty 9348 select_stuff::destroy: deleting select records
  121 42735392 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   35 42735427 [main] mintty 9348 select_stuff::destroy: deleting select records
   42 42735469 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  139 42735608 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   53 42735661 [main] mintty 9348 proc_subproc: args: 6, 6741288
   51 42735712 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   50 42735762 [main] mintty 9348 checkstate: nprocs 1
   50 42735812 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   47 42735859 [main] mintty 9348 checkstate: no matching terminated children found
   48 42735907 [main] mintty 9348 checkstate: returning -1
   50 42735957 [main] mintty 9348 proc_subproc: waiting thread found no children
   52 42736009 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   36 42736045 [main] mintty 9348 proc_subproc: returning 1
   39 42736084 [main] mintty 9348 wait4: 0 = cygwait (...)
   34 42736118 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   35 42736153 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   33 42736186 [main] mintty 9348 pselect: to NULL, us -1
   91 42736277 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   60 42736337 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   31 42736368 [main] mintty 9348 select: sel.always_ready 0
  123 42736491 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 2155 42738646 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
   89 42738735 [main] mintty 9348 peek_windows: window 4(0x0) ready
   50 42738785 [main] mintty 9348 select_stuff::wait: res after verify 0
   58 42738843 [main] mintty 9348 select_stuff::wait: returning 0
   35 42738878 [main] mintty 9348 select: sel.wait returns 0
   50 42738928 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   45 42738973 [main] mintty 9348 set_bits: ready 1
  115 42739088 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
11821 42750909 [main] mintty 9348 select_stuff::destroy: deleting select records
  181 42751090 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   50 42751140 [main] mintty 9348 select_stuff::destroy: deleting select records
   61 42751201 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  132 42751333 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   58 42751391 [main] mintty 9348 proc_subproc: args: 6, 6741288
   61 42751452 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   64 42751516 [main] mintty 9348 checkstate: nprocs 1
   59 42751575 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   61 42751636 [main] mintty 9348 checkstate: no matching terminated children found
   52 42751688 [main] mintty 9348 checkstate: returning -1
   58 42751746 [main] mintty 9348 proc_subproc: waiting thread found no children
  121 42751867 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   32 42751899 [main] mintty 9348 proc_subproc: returning 1
   34 42751933 [main] mintty 9348 wait4: 0 = cygwait (...)
   29 42751962 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   33 42751995 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   31 42752026 [main] mintty 9348 pselect: to NULL, us -1
   83 42752109 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   59 42752168 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   30 42752198 [main] mintty 9348 select: sel.always_ready 0
   83 42752281 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 2372 42754653 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  108 42754761 [main] mintty 9348 peek_windows: window 4(0x0) ready
   66 42754827 [main] mintty 9348 select_stuff::wait: res after verify 0
   68 42754895 [main] mintty 9348 select_stuff::wait: returning 0
   68 42754963 [main] mintty 9348 select: sel.wait returns 0
   69 42755032 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   49 42755081 [main] mintty 9348 set_bits: ready 1
  192 42755273 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
11416 42766689 [main] mintty 9348 select_stuff::destroy: deleting select records
  352 42767041 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  158 42767199 [main] mintty 9348 select_stuff::destroy: deleting select records
  100 42767299 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  215 42767514 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   86 42767600 [main] mintty 9348 proc_subproc: args: 6, 6741288
  157 42767757 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  103 42767860 [main] mintty 9348 checkstate: nprocs 1
   82 42767942 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   73 42768015 [main] mintty 9348 checkstate: no matching terminated children found
   71 42768086 [main] mintty 9348 checkstate: returning -1
   70 42768156 [main] mintty 9348 proc_subproc: waiting thread found no children
   75 42768231 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   73 42768304 [main] mintty 9348 proc_subproc: returning 1
   78 42768382 [main] mintty 9348 wait4: 0 = cygwait (...)
   75 42768457 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   75 42768532 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   73 42768605 [main] mintty 9348 pselect: to NULL, us -1
  269 42768874 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  234 42769108 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
  139 42769247 [main] mintty 9348 select: sel.always_ready 0
  235 42769482 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 1292 42770774 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  356 42771130 [main] mintty 9348 peek_windows: window 4(0x0) ready
  182 42771312 [main] mintty 9348 select_stuff::wait: res after verify 0
  168 42771480 [main] mintty 9348 select_stuff::wait: returning 0
  174 42771654 [main] mintty 9348 select: sel.wait returns 0
   82 42771736 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   77 42771813 [main] mintty 9348 set_bits: ready 1
  248 42772061 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
16293 42788354 [main] mintty 9348 select_stuff::destroy: deleting select records
  313 42788667 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   91 42788758 [main] mintty 9348 select_stuff::destroy: deleting select records
  145 42788903 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  295 42789198 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  138 42789336 [main] mintty 9348 proc_subproc: args: 6, 6741288
  100 42789436 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  146 42789582 [main] mintty 9348 checkstate: nprocs 1
  170 42789752 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  169 42789921 [main] mintty 9348 checkstate: no matching terminated children found
  103 42790024 [main] mintty 9348 checkstate: returning -1
  142 42790166 [main] mintty 9348 proc_subproc: waiting thread found no children
   92 42790258 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
  144 42790402 [main] mintty 9348 proc_subproc: returning 1
  144 42790546 [main] mintty 9348 wait4: 0 = cygwait (...)
  140 42790686 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   90 42790776 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
  142 42790918 [main] mintty 9348 pselect: to NULL, us -1
  297 42791215 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  173 42791388 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   83 42791471 [main] mintty 9348 select: sel.always_ready 0
  344 42791815 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 2988 42794803 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  180 42794983 [main] mintty 9348 peek_windows: window 4(0x0) ready
  110 42795093 [main] mintty 9348 select_stuff::wait: res after verify 0
  101 42795194 [main] mintty 9348 select_stuff::wait: returning 0
   99 42795293 [main] mintty 9348 select: sel.wait returns 0
  100 42795393 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   97 42795490 [main] mintty 9348 set_bits: ready 1
  296 42795786 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
 8160 42803946 [main] mintty 9348 select_stuff::destroy: deleting select records
  311 42804257 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   88 42804345 [main] mintty 9348 select_stuff::destroy: deleting select records
  106 42804451 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  230 42804681 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  100 42804781 [main] mintty 9348 proc_subproc: args: 6, 6741288
  100 42804881 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  102 42804983 [main] mintty 9348 checkstate: nprocs 1
   96 42805079 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   99 42805178 [main] mintty 9348 checkstate: no matching terminated children found
   96 42805274 [main] mintty 9348 checkstate: returning -1
   98 42805372 [main] mintty 9348 proc_subproc: waiting thread found no children
  100 42805472 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   96 42805568 [main] mintty 9348 proc_subproc: returning 1
  102 42805670 [main] mintty 9348 wait4: 0 = cygwait (...)
   95 42805765 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   99 42805864 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   91 42805955 [main] mintty 9348 pselect: to NULL, us -1
  231 42806186 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  153 42806339 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
  124 42806463 [main] mintty 9348 select: sel.always_ready 0
  231 42806694 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
100258 42906952 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  134 42907086 [main] mintty 9348 peek_windows: window 4(0x0) ready
   40 42907126 [main] mintty 9348 select_stuff::wait: res after verify 0
   35 42907161 [main] mintty 9348 select_stuff::wait: returning 0
   59 42907220 [main] mintty 9348 select: sel.wait returns 0
   29 42907249 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   38 42907287 [main] mintty 9348 set_bits: ready 1
  117 42907404 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
12918 42920322 [main] mintty 9348 select_stuff::destroy: deleting select records
  128 42920450 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   38 42920488 [main] mintty 9348 select_stuff::destroy: deleting select records
   41 42920529 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 3488 42924017 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   85 42924102 [main] mintty 9348 proc_subproc: args: 6, 6741288
   41 42924143 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   36 42924179 [main] mintty 9348 checkstate: nprocs 1
   34 42924213 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   31 42924244 [main] mintty 9348 checkstate: no matching terminated children found
   30 42924274 [main] mintty 9348 checkstate: returning -1
   36 42924310 [main] mintty 9348 proc_subproc: waiting thread found no children
   33 42924343 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   59 42924402 [main] mintty 9348 proc_subproc: returning 1
   37 42924439 [main] mintty 9348 wait4: 0 = cygwait (...)
   33 42924472 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   37 42924509 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   45 42924554 [main] mintty 9348 pselect: to NULL, us -1
   95 42924649 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   62 42924711 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   32 42924743 [main] mintty 9348 select: sel.always_ready 0
  126 42924869 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
   72 42924941 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
   47 42924988 [main] mintty 9348 peek_windows: window 4(0x0) ready
   40 42925028 [main] mintty 9348 select_stuff::wait: res after verify 0
   41 42925069 [main] mintty 9348 select_stuff::wait: returning 0
   34 42925103 [main] mintty 9348 select: sel.wait returns 0
   35 42925138 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   34 42925172 [main] mintty 9348 set_bits: ready 1
  109 42925281 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
 1745 42927026 [main] mintty 9348 select_stuff::destroy: deleting select records
  131 42927157 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   46 42927203 [main] mintty 9348 select_stuff::destroy: deleting select records
   44 42927247 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  623 42927870 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   69 42927939 [main] mintty 9348 proc_subproc: args: 6, 6741288
   67 42928006 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   58 42928064 [main] mintty 9348 checkstate: nprocs 1
   73 42928137 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   90 42928227 [main] mintty 9348 checkstate: no matching terminated children found
   45 42928272 [main] mintty 9348 checkstate: returning -1
   69 42928341 [main] mintty 9348 proc_subproc: waiting thread found no children
   48 42928389 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   65 42928454 [main] mintty 9348 proc_subproc: returning 1
   51 42928505 [main] mintty 9348 wait4: 0 = cygwait (...)
   63 42928568 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   48 42928616 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   55 42928671 [main] mintty 9348 pselect: to NULL, us -1
  148 42928819 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   96 42928915 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   49 42928964 [main] mintty 9348 select: sel.always_ready 0
  230 42929194 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 9552 42938746 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
   86 42938832 [main] mintty 9348 peek_windows: window 4(0x0) ready
   41 42938873 [main] mintty 9348 select_stuff::wait: res after verify 0
   39 42938912 [main] mintty 9348 select_stuff::wait: returning 0
   46 42938958 [main] mintty 9348 select: sel.wait returns 0
   36 42938994 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   60 42939054 [main] mintty 9348 set_bits: ready 1
  141 42939195 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
12339 42951534 [main] mintty 9348 select_stuff::destroy: deleting select records
  159 42951693 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   31 42951724 [main] mintty 9348 select_stuff::destroy: deleting select records
   28 42951752 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  701 42952453 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   46 42952499 [main] mintty 9348 proc_subproc: args: 6, 6741288
   57 42952556 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   36 42952592 [main] mintty 9348 checkstate: nprocs 1
   31 42952623 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   28 42952651 [main] mintty 9348 checkstate: no matching terminated children found
   28 42952679 [main] mintty 9348 checkstate: returning -1
   26 42952705 [main] mintty 9348 proc_subproc: waiting thread found no children
   28 42952733 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   30 42952763 [main] mintty 9348 proc_subproc: returning 1
   30 42952793 [main] mintty 9348 wait4: 0 = cygwait (...)
   28 42952821 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   29 42952850 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   30 42952880 [main] mintty 9348 pselect: to NULL, us -1
  143 42953023 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   77 42953100 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   46 42953146 [main] mintty 9348 select: sel.always_ready 0
  105 42953251 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
35940 42989191 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  168 42989359 [main] mintty 9348 peek_windows: window 4(0x0) ready
  114 42989473 [main] mintty 9348 select_stuff::wait: res after verify 0
   64 42989537 [main] mintty 9348 select_stuff::wait: returning 0
   52 42989589 [main] mintty 9348 select: sel.wait returns 0
   31 42989620 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   31 42989651 [main] mintty 9348 set_bits: ready 1
  116 42989767 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
15305 43005072 [main] mintty 9348 select_stuff::destroy: deleting select records
  277 43005349 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   82 43005431 [main] mintty 9348 select_stuff::destroy: deleting select records
   83 43005514 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  118 43005632 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   72 43005704 [main] mintty 9348 proc_subproc: args: 6, 6741288
   76 43005780 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   80 43005860 [main] mintty 9348 checkstate: nprocs 1
   72 43005932 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   73 43006005 [main] mintty 9348 checkstate: no matching terminated children found
   73 43006078 [main] mintty 9348 checkstate: returning -1
   81 43006159 [main] mintty 9348 proc_subproc: waiting thread found no children
   91 43006250 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   84 43006334 [main] mintty 9348 proc_subproc: returning 1
   94 43006428 [main] mintty 9348 wait4: 0 = cygwait (...)
   81 43006509 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   85 43006594 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   79 43006673 [main] mintty 9348 pselect: to NULL, us -1
  230 43006903 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  210 43007113 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   85 43007198 [main] mintty 9348 select: sel.always_ready 0
  395 43007593 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
27322 43034915 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  112 43035027 [main] mintty 9348 peek_windows: window 4(0x0) ready
   66 43035093 [main] mintty 9348 select_stuff::wait: res after verify 0
   60 43035153 [main] mintty 9348 select_stuff::wait: returning 0
   52 43035205 [main] mintty 9348 select: sel.wait returns 0
   49 43035254 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   62 43035316 [main] mintty 9348 set_bits: ready 1
  212 43035528 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  600 43036128 [main] mintty 9348 select_stuff::destroy: deleting select records
  105 43036233 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   37 43036270 [main] mintty 9348 select_stuff::destroy: deleting select records
   36 43036306 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  470 43036776 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   39 43036815 [main] mintty 9348 proc_subproc: args: 6, 6741288
   52 43036867 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   54 43036921 [main] mintty 9348 checkstate: nprocs 1
   46 43036967 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   54 43037021 [main] mintty 9348 checkstate: no matching terminated children found
   49 43037070 [main] mintty 9348 checkstate: returning -1
   54 43037124 [main] mintty 9348 proc_subproc: waiting thread found no children
   53 43037177 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   54 43037231 [main] mintty 9348 proc_subproc: returning 1
   50 43037281 [main] mintty 9348 wait4: 0 = cygwait (...)
   52 43037333 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   42 43037375 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   44 43037419 [main] mintty 9348 pselect: to NULL, us -1
  108 43037527 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   71 43037598 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   39 43037637 [main] mintty 9348 select: sel.always_ready 0
  162 43037799 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
14012 43051811 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
   70 43051881 [main] mintty 9348 peek_windows: window 4(0x0) ready
   42 43051923 [main] mintty 9348 select_stuff::wait: res after verify 0
   47 43051970 [main] mintty 9348 select_stuff::wait: returning 0
   52 43052022 [main] mintty 9348 select: sel.wait returns 0
   34 43052056 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   30 43052086 [main] mintty 9348 set_bits: ready 1
  111 43052197 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
15354 43067551 [main] mintty 9348 select_stuff::destroy: deleting select records
  273 43067824 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   82 43067906 [main] mintty 9348 select_stuff::destroy: deleting select records
  100 43068006 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1498 43069504 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  110 43069614 [main] mintty 9348 proc_subproc: args: 6, 6741288
  125 43069739 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  135 43069874 [main] mintty 9348 checkstate: nprocs 1
  128 43070002 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  130 43070132 [main] mintty 9348 checkstate: no matching terminated children found
  145 43070277 [main] mintty 9348 checkstate: returning -1
  104 43070381 [main] mintty 9348 proc_subproc: waiting thread found no children
  114 43070495 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
  101 43070596 [main] mintty 9348 proc_subproc: returning 1
  112 43070708 [main] mintty 9348 wait4: 0 = cygwait (...)
   95 43070803 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
  117 43070920 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   93 43071013 [main] mintty 9348 pselect: to NULL, us -1
  241 43071254 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  162 43071416 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   79 43071495 [main] mintty 9348 select: sel.always_ready 0
  300 43071795 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
17753 43089548 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  164 43089712 [main] mintty 9348 peek_windows: window 4(0x0) ready
   82 43089794 [main] mintty 9348 select_stuff::wait: res after verify 0
  111 43089905 [main] mintty 9348 select_stuff::wait: returning 0
  107 43090012 [main] mintty 9348 select: sel.wait returns 0
  105 43090117 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  108 43090225 [main] mintty 9348 set_bits: ready 1
  297 43090522 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14738 43105260 [main] mintty 9348 select_stuff::destroy: deleting select records
  166 43105426 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   51 43105477 [main] mintty 9348 select_stuff::destroy: deleting select records
   52 43105529 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
   76 43105605 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   49 43105654 [main] mintty 9348 proc_subproc: args: 6, 6741288
   48 43105702 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   52 43105754 [main] mintty 9348 checkstate: nprocs 1
   44 43105798 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   43 43105841 [main] mintty 9348 checkstate: no matching terminated children found
   47 43105888 [main] mintty 9348 checkstate: returning -1
   46 43105934 [main] mintty 9348 proc_subproc: waiting thread found no children
   43 43105977 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   46 43106023 [main] mintty 9348 proc_subproc: returning 1
   48 43106071 [main] mintty 9348 wait4: 0 = cygwait (...)
   41 43106112 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   47 43106159 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   45 43106204 [main] mintty 9348 pselect: to NULL, us -1
  142 43106346 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   90 43106436 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   47 43106483 [main] mintty 9348 select: sel.always_ready 0
  180 43106663 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
14168 43120831 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  122 43120953 [main] mintty 9348 peek_windows: window 4(0x0) ready
   47 43121000 [main] mintty 9348 select_stuff::wait: res after verify 0
   47 43121047 [main] mintty 9348 select_stuff::wait: returning 0
   40 43121087 [main] mintty 9348 select: sel.wait returns 0
   47 43121134 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   42 43121176 [main] mintty 9348 set_bits: ready 1
  133 43121309 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
15266 43136575 [main] mintty 9348 select_stuff::destroy: deleting select records
  328 43136903 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   95 43136998 [main] mintty 9348 select_stuff::destroy: deleting select records
  113 43137111 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1639 43138750 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  139 43138889 [main] mintty 9348 proc_subproc: args: 6, 6741288
  156 43139045 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  158 43139203 [main] mintty 9348 checkstate: nprocs 1
  147 43139350 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  148 43139498 [main] mintty 9348 checkstate: no matching terminated children found
  130 43139628 [main] mintty 9348 checkstate: returning -1
  126 43139754 [main] mintty 9348 proc_subproc: waiting thread found no children
  129 43139883 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
  115 43139998 [main] mintty 9348 proc_subproc: returning 1
  132 43140130 [main] mintty 9348 wait4: 0 = cygwait (...)
  114 43140244 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
  131 43140375 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
  116 43140491 [main] mintty 9348 pselect: to NULL, us -1
  308 43140799 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  161 43140960 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   98 43141058 [main] mintty 9348 select: sel.always_ready 0
  332 43141390 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
26318 43167708 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  132 43167840 [main] mintty 9348 peek_windows: window 4(0x0) ready
   46 43167886 [main] mintty 9348 select_stuff::wait: res after verify 0
   51 43167937 [main] mintty 9348 select_stuff::wait: returning 0
   51 43167988 [main] mintty 9348 select: sel.wait returns 0
   50 43168038 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   53 43168091 [main] mintty 9348 set_bits: ready 1
  145 43168236 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
21569 43189805 [main] mintty 9348 select_stuff::destroy: deleting select records
  295 43190100 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  111 43190211 [main] mintty 9348 select_stuff::destroy: deleting select records
  125 43190336 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  155 43190491 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  111 43190602 [main] mintty 9348 proc_subproc: args: 6, 6741288
   89 43190691 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   87 43190778 [main] mintty 9348 checkstate: nprocs 1
   93 43190871 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  152 43191023 [main] mintty 9348 checkstate: no matching terminated children found
   97 43191120 [main] mintty 9348 checkstate: returning -1
  118 43191238 [main] mintty 9348 proc_subproc: waiting thread found no children
  124 43191362 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
  139 43191501 [main] mintty 9348 proc_subproc: returning 1
  118 43191619 [main] mintty 9348 wait4: 0 = cygwait (...)
  140 43191759 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
  129 43191888 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
  116 43192004 [main] mintty 9348 pselect: to NULL, us -1
  283 43192287 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  143 43192430 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   81 43192511 [main] mintty 9348 select: sel.always_ready 0
  379 43192890 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
43628 43236518 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  197 43236715 [main] mintty 9348 peek_windows: window 4(0x0) ready
   90 43236805 [main] mintty 9348 select_stuff::wait: res after verify 0
  137 43236942 [main] mintty 9348 select_stuff::wait: returning 0
  127 43237069 [main] mintty 9348 select: sel.wait returns 0
  120 43237189 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  131 43237320 [main] mintty 9348 set_bits: ready 1
  342 43237662 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14515 43252177 [main] mintty 9348 select_stuff::destroy: deleting select records
  234 43252411 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   65 43252476 [main] mintty 9348 select_stuff::destroy: deleting select records
   43 43252519 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
   81 43252600 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   45 43252645 [main] mintty 9348 proc_subproc: args: 6, 6741288
   42 43252687 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   38 43252725 [main] mintty 9348 checkstate: nprocs 1
   37 43252762 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   57 43252819 [main] mintty 9348 checkstate: no matching terminated children found
   50 43252869 [main] mintty 9348 checkstate: returning -1
   65 43252934 [main] mintty 9348 proc_subproc: waiting thread found no children
   53 43252987 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   62 43253049 [main] mintty 9348 proc_subproc: returning 1
   55 43253104 [main] mintty 9348 wait4: 0 = cygwait (...)
   48 43253152 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   52 43253204 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   39 43253243 [main] mintty 9348 pselect: to NULL, us -1
  153 43253396 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   98 43253494 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   50 43253544 [main] mintty 9348 select: sel.always_ready 0
  184 43253728 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
198429 43452157 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  215 43452372 [main] mintty 9348 peek_windows: window 4(0x0) ready
  117 43452489 [main] mintty 9348 select_stuff::wait: res after verify 0
   91 43452580 [main] mintty 9348 select_stuff::wait: returning 0
   81 43452661 [main] mintty 9348 select: sel.wait returns 0
   76 43452737 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   75 43452812 [main] mintty 9348 set_bits: ready 1
  350 43453162 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14732 43467894 [main] mintty 9348 select_stuff::destroy: deleting select records
  230 43468124 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  109 43468233 [main] mintty 9348 select_stuff::destroy: deleting select records
   90 43468323 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  319 43468642 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  101 43468743 [main] mintty 9348 proc_subproc: args: 6, 6741288
  118 43468861 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  146 43469007 [main] mintty 9348 checkstate: nprocs 1
  108 43469115 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  112 43469227 [main] mintty 9348 checkstate: no matching terminated children found
   93 43469320 [main] mintty 9348 checkstate: returning -1
   90 43469410 [main] mintty 9348 proc_subproc: waiting thread found no children
   96 43469506 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
  104 43469610 [main] mintty 9348 proc_subproc: returning 1
  123 43469733 [main] mintty 9348 wait4: 0 = cygwait (...)
  122 43469855 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   97 43469952 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
  124 43470076 [main] mintty 9348 pselect: to NULL, us -1
  285 43470361 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  195 43470556 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
  106 43470662 [main] mintty 9348 select: sel.always_ready 0
  399 43471061 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
96570 43567631 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  225 43567856 [main] mintty 9348 peek_windows: window 4(0x0) ready
  192 43568048 [main] mintty 9348 select_stuff::wait: res after verify 0
  100 43568148 [main] mintty 9348 select_stuff::wait: returning 0
  126 43568274 [main] mintty 9348 select: sel.wait returns 0
  126 43568400 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  120 43568520 [main] mintty 9348 set_bits: ready 1
  346 43568866 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
20614 43589480 [main] mintty 9348 select_stuff::destroy: deleting select records
  301 43589781 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  107 43589888 [main] mintty 9348 select_stuff::destroy: deleting select records
  118 43590006 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1443 43591449 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  103 43591552 [main] mintty 9348 proc_subproc: args: 6, 6741288
   88 43591640 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   86 43591726 [main] mintty 9348 checkstate: nprocs 1
   75 43591801 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   90 43591891 [main] mintty 9348 checkstate: no matching terminated children found
  107 43591998 [main] mintty 9348 checkstate: returning -1
   94 43592092 [main] mintty 9348 proc_subproc: waiting thread found no children
   93 43592185 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
  110 43592295 [main] mintty 9348 proc_subproc: returning 1
  126 43592421 [main] mintty 9348 wait4: 0 = cygwait (...)
   94 43592515 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
  120 43592635 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
  126 43592761 [main] mintty 9348 pselect: to NULL, us -1
  299 43593060 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  177 43593237 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   93 43593330 [main] mintty 9348 select: sel.always_ready 0
  455 43593785 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
26917 43620702 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  279 43620981 [main] mintty 9348 peek_windows: window 4(0x0) ready
  109 43621090 [main] mintty 9348 select_stuff::wait: res after verify 0
  117 43621207 [main] mintty 9348 select_stuff::wait: returning 0
  123 43621330 [main] mintty 9348 select: sel.wait returns 0
  117 43621447 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  125 43621572 [main] mintty 9348 set_bits: ready 1
  341 43621913 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14405 43636318 [main] mintty 9348 select_stuff::destroy: deleting select records
  195 43636513 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   53 43636566 [main] mintty 9348 select_stuff::destroy: deleting select records
   49 43636615 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
   97 43636712 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   61 43636773 [main] mintty 9348 proc_subproc: args: 6, 6741288
   65 43636838 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   50 43636888 [main] mintty 9348 checkstate: nprocs 1
   54 43636942 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   48 43636990 [main] mintty 9348 checkstate: no matching terminated children found
   41 43637031 [main] mintty 9348 checkstate: returning -1
   39 43637070 [main] mintty 9348 proc_subproc: waiting thread found no children
   43 43637113 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   73 43637186 [main] mintty 9348 proc_subproc: returning 1
   50 43637236 [main] mintty 9348 wait4: 0 = cygwait (...)
   41 43637277 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   49 43637326 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   55 43637381 [main] mintty 9348 pselect: to NULL, us -1
  100 43637481 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   71 43637552 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   49 43637601 [main] mintty 9348 select: sel.always_ready 0
  148 43637749 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
14111 43651860 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  111 43651971 [main] mintty 9348 peek_windows: window 4(0x0) ready
   44 43652015 [main] mintty 9348 select_stuff::wait: res after verify 0
   42 43652057 [main] mintty 9348 select_stuff::wait: returning 0
   34 43652091 [main] mintty 9348 select: sel.wait returns 0
   36 43652127 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   41 43652168 [main] mintty 9348 set_bits: ready 1
   94 43652262 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
15318 43667580 [main] mintty 9348 select_stuff::destroy: deleting select records
  301 43667881 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  110 43667991 [main] mintty 9348 select_stuff::destroy: deleting select records
  108 43668099 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1766 43669865 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  122 43669987 [main] mintty 9348 proc_subproc: args: 6, 6741288
  114 43670101 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  113 43670214 [main] mintty 9348 checkstate: nprocs 1
   85 43670299 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   94 43670393 [main] mintty 9348 checkstate: no matching terminated children found
  112 43670505 [main] mintty 9348 checkstate: returning -1
   98 43670603 [main] mintty 9348 proc_subproc: waiting thread found no children
  116 43670719 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
  263 43670982 [main] mintty 9348 proc_subproc: returning 1
   94 43671076 [main] mintty 9348 wait4: 0 = cygwait (...)
   84 43671160 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   88 43671248 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   89 43671337 [main] mintty 9348 pselect: to NULL, us -1
  246 43671583 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  161 43671744 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   99 43671843 [main] mintty 9348 select: sel.always_ready 0
  331 43672174 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
17430 43689604 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
   66 43689670 [main] mintty 9348 peek_windows: window 4(0x0) ready
   47 43689717 [main] mintty 9348 select_stuff::wait: res after verify 0
   42 43689759 [main] mintty 9348 select_stuff::wait: returning 0
   40 43689799 [main] mintty 9348 select: sel.wait returns 0
   39 43689838 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   49 43689887 [main] mintty 9348 set_bits: ready 1
  129 43690016 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14795 43704811 [main] mintty 9348 select_stuff::destroy: deleting select records
  127 43704938 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   46 43704984 [main] mintty 9348 select_stuff::destroy: deleting select records
   60 43705044 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  209 43705253 [main] mintty 9348 write: write(3, 0x66C55E, 1)
  129 43705382 [main] mintty 9348 write: 1 = write(3, 0x66C55E, 1)
14494923 40121726 [main] bash 7384 select_stuff::wait: wait_ret 2, m = 3.  verifying
   86 40121812 [main] bash 7384 set_bits: me 0x2007B980, testing fd 0 (/dev/pty2)
   34 40121846 [main] bash 7384 set_bits: ready 1
   33 40121879 [main] bash 7384 select_stuff::wait: res after verify 0
   32 40121911 [main] bash 7384 select_stuff::wait: returning 0
   31 40121942 [main] bash 7384 select: sel.wait returns 0
   35 40121977 [main] bash 7384 peek_pipe: /dev/pty2, already ready for read
   32 40122009 [main] bash 7384 set_bits: me 0x2007B980, testing fd 0 (/dev/pty2)
   30 40122039 [main] bash 7384 set_bits: ready 1
   31 40122070 [main] bash 7384 select_stuff::cleanup: calling cleanup routines
   32 40122102 [main] bash 7384 select_stuff::destroy: deleting select records
   62 40122164 [main] bash 7384 select_stuff::cleanup: calling cleanup routines
   39 40122203 [main] bash 7384 select_stuff::destroy: deleting select records
   40 40122243 [main] bash 7384 pselect: 1 = select (1, 0x6DC048, 0x0, 0x0, 0x0)
   39 40122282 [main] bash 7384 set_signal_mask: setmask 0, newmask 0, mask_bits 0
  248 40122530 [main] bash 7384 read: read(0, 0x6DC043, 1) blocking
   42 40122572 [main] bash 7384 fhandler_pty_slave::read: read(0x6DC043, 1) handle 0x4BC
   92 40122664 [main] bash 7384 fhandler_pty_slave::read: reading 1 bytes (vtime 0)
  999 43706381 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   37 43706418 [main] mintty 9348 proc_subproc: args: 6, 6741288
   35 43706453 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   41 43706494 [main] mintty 9348 checkstate: nprocs 1
  116 40122780 [main] bash 7384 fhandler_pty_slave::read: 1=read(0x6DC044, 0)
   40 43706534 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  100 40122880 [main] bash 7384 read: 1 = read(0, 0x6DC043, 1)
   43 43706577 [main] mintty 9348 checkstate: no matching terminated children found
   34 43706611 [main] mintty 9348 checkstate: returning -1
   36 43706647 [main] mintty 9348 proc_subproc: waiting thread found no children
   35 43706682 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   38 43706720 [main] mintty 9348 proc_subproc: returning 1
   39 43706759 [main] mintty 9348 wait4: 0 = cygwait (...)
  238 40123118 [main] bash 7384 fhandler_pty_slave::write: pty2, write(0x20038C58, 1)
   36 43706795 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   43 40123161 [main] bash 7384 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x4AC): waiting -1 ms
   38 43706833 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   41 40123202 [main] bash 7384 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   42 43706875 [main] mintty 9348 pselect: to NULL, us -1
   48 40123250 [main] bash 7384 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x4AC) released
   52 40123302 [main] bash 7384 write: 1 = write(2, 0x20038C58, 1)
  131 43707006 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   75 43707081 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   37 43707118 [main] mintty 9348 select: sel.always_ready 0
  151 43707269 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
   40 43707309 [pipesel] mintty 9348 peek_pipe: read: /dev/ptmx, ready for read: avail 1
   40 43707349 [main] mintty 9348 select_stuff::wait: wait_ret 2, m = 3.  verifying
   36 43707385 [main] mintty 9348 set_bits: me 0x2009F590, testing fd 3 (/dev/ptmx)
   37 43707422 [main] mintty 9348 set_bits: ready 1
   43 43707465 [main] mintty 9348 select_stuff::wait: res after verify 0
   44 43707509 [main] mintty 9348 select_stuff::wait: returning 0
   36 43707545 [main] mintty 9348 select: sel.wait returns 0
   36 43707581 [main] mintty 9348 peek_windows: window 4(0x0) not ready
   36 43707617 [main] mintty 9348 peek_pipe: /dev/ptmx, already ready for read
   38 43707655 [main] mintty 9348 set_bits: me 0x2009F590, testing fd 3 (/dev/ptmx)
   36 43707691 [main] mintty 9348 set_bits: ready 1
   35 43707726 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   92 43707818 [main] mintty 9348 select_stuff::destroy: deleting select records
  861 40124163 [main] bash 7384 fhandler_pty_slave::tcsetattr: (900): pty output_mutex (0x4AC): waiting -1 ms
   54 40124217 [main] bash 7384 fhandler_pty_slave::tcsetattr: (900): pty output_mutex: acquired
   48 40124265 [main] bash 7384 fhandler_pty_slave::tcsetattr: (902): pty output_mutex(0x4AC) released
  131 43707949 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   45 43707994 [main] mintty 9348 select_stuff::destroy: deleting select records
   54 40124319 [main] bash 7384 __set_errno: int tcsetattr(int, int, const termios*):158 setting errno 0
   37 43708031 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
   58 40124377 [main] bash 7384 tcsetattr: iflag 0x850A, oflag 0x9, cflag 0xBF, lflag 0xD1F, VMIN 1, VTIME 0
   36 43708067 [main] mintty 9348 read: read(3, 0x458AC0, 4096) nonblocking
   58 40124435 [main] bash 7384 tcsetattr: 0 = tcsetattr(0, 3, 0x6B1F1240)
   75 43708142 [main] mintty 9348 fhandler_pty_master::process_slave_output: bytes read 2
   45 40124480 [main] bash 7384 sigaction_worker: signal 2, newact 0x6B1F1574 (handler 0x440C50), oa 0x6B1D5A90
   38 43708180 [main] mintty 9348 fhandler_pty_master::process_slave_output: returning 2
   44 40124524 [main] bash 7384 sigaction: 0 = sigaction(2, 0x6B1F1574, 0x6DC0C4)
   34 43708214 [main] mintty 9348 read: 2 = read(3, 0x458AC0, 2)
   36 40124560 [main] bash 7384 sigaction_worker: signal 15, newact 0x6B1F1568 (handler 0x4407A0), oa 0x6B1D5A90
   50 43708264 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   42 40124602 [main] bash 7384 sigaction: 0 = sigaction(15, 0x6B1F1568, 0x6DC0C4)
   39 43708303 [main] mintty 9348 proc_subproc: args: 6, 6741288
   56 40124658 [main] bash 7384 sigaction_worker: signal 1, newact 0x6B1F155C (handler 0x440EE0), oa 0x6B1D5A90
   38 43708341 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   44 43708385 [main] mintty 9348 checkstate: nprocs 1
   54 40124712 [main] bash 7384 sigaction: 0 = sigaction(1, 0x6B1F155C, 0x6DC0C4)
   37 43708422 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   58 40124770 [main] bash 7384 sigaction_worker: signal 14, newact 0x6B1F1550 (handler 0x440EE0), oa 0x6B1D5A90
   39 43708461 [main] mintty 9348 checkstate: no matching terminated children found
   37 40124807 [main] bash 7384 sigaction: 0 = sigaction(14, 0x6B1F1550, 0x6DC0C4)
   35 43708496 [main] mintty 9348 checkstate: returning -1
   37 40124844 [main] bash 7384 sigaction_worker: signal 28, newact 0x6B1F1514 (handler 0x43DC00), oa 0x6B1D5130
   36 43708532 [main] mintty 9348 proc_subproc: waiting thread found no children
   50 40124894 [main] bash 7384 sigaction: 0 = sigaction(28, 0x6B1F1514, 0x6DC0F4)
   42 43708574 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   49 40124943 [main] bash 7384 sigaction_worker: signal 2, newact 0x6DC108 (handler 0x440C50), oa 0x440C50
   37 43708611 [main] mintty 9348 proc_subproc: returning 1
   37 40124980 [main] bash 7384 sigaction: 0 = sigaction(2, 0x6DC108, 0x6DC114)
   43 43708654 [main] mintty 9348 wait4: 0 = cygwait (...)
   41 43708695 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   38 43708733 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   43 43708776 [main] mintty 9348 pselect: to NULL, us -1
  125 40125105 [main] bash 7384 time: 1487370247 = time(0x0)
   97 43708873 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   68 43708941 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   66 43709007 [main] mintty 9348 select: sel.always_ready 0
  200 43709207 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 2392 40127497 [main] bash 7384 fhandler_pty_slave::write: pty2, write(0x20039090, 4)
   45 40127542 [main] bash 7384 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x4AC): waiting -1 ms
   45 40127587 [main] bash 7384 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   66 40127653 [main] bash 7384 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x4AC) released
   76 40127729 [main] bash 7384 write: 4 = write(1, 0x20039090, 4)
  876 40128605 [main] bash 7384 pthread_sigmask: 0 = pthread_sigmask(0, 0x0, 0x4BAAF4)
   36 40128641 [main] bash 7384 sigaction_worker: signal 2, newact 0x6DCA68 (handler 0x440C50), oa 0x440C50
   66 40128707 [main] bash 7384 sigaction: 0 = sigaction(2, 0x6DCA68, 0x6DCA74)
   72 40128779 [main] bash 7384 time: 1487370247 = time(0x0)
 1605 40130384 [main] bash 7384 set_signal_mask: setmask 0, newmask 3A0000, mask_bits 0
   35 40130419 [main] bash 7384 sigprocmask: 0 = sigprocmask (1, 0x6DC118, 0x6DC11C)
   72 40130491 [main] bash 7384 fhandler_termios::tcsetpgrp: /dev/pty2, pgid 7384, sid 7384, tsid 7384
   53 40130544 [main] bash 7384 tcsetpgrp: 0 = tcsetpgrp(31, 7384)
   49 40130593 [main] bash 7384 set_signal_mask: setmask 3A0000, newmask 0, mask_bits 3A0000
   51 40130644 [main] bash 7384 sigprocmask: 0 = sigprocmask (0, 0x6DC11C, 0x0)
   48 40130692 [main] bash 7384 sigaction_worker: signal 2, newact 0x6DC108 (handler 0x440C50), oa 0x440C50
   51 40130743 [main] bash 7384 sigaction: 0 = sigaction(2, 0x6DC108, 0x6DC114)
  291 40131034 [main] bash 7384 ioctl: ioctl(fd 0, cmd 0x5401)
   31 40131065 [main] bash 7384 fhandler_pty_slave::ioctl: ioctl (5401)
   49 40131114 [main] bash 7384 fhandler_pty_slave::ioctl: (986): pty output_mutex (0x4AC): waiting -1 ms
   51 40131165 [main] bash 7384 fhandler_pty_slave::ioctl: (986): pty output_mutex: acquired
   52 40131217 [main] bash 7384 fhandler_pty_slave::ioctl: (1008): pty output_mutex(0x4AC) released
   35 40131252 [main] bash 7384 fhandler_pty_slave::ioctl: 0 = ioctl(5401)
   35 40131287 [main] bash 7384 ioctl: 0 = ioctl(0, 0x5401, ...)
   31 40131318 [main] bash 7384 ioctl: ioctl(fd 0, cmd 0x5402)
   32 40131350 [main] bash 7384 fhandler_pty_slave::ioctl: ioctl (5402)
   32 40131382 [main] bash 7384 fhandler_pty_slave::ioctl: (986): pty output_mutex (0x4AC): waiting -1 ms
   34 40131416 [main] bash 7384 fhandler_pty_slave::ioctl: (986): pty output_mutex: acquired
   33 40131449 [main] bash 7384 fhandler_pty_slave::ioctl: (1008): pty output_mutex(0x4AC) released
   33 40131482 [main] bash 7384 fhandler_pty_slave::ioctl: 0 = ioctl(5402)
   31 40131513 [main] bash 7384 ioctl: 0 = ioctl(0, 0x5402, ...)
   34 40131547 [main] bash 7384 tcgetattr: iflag 0x850A, oflag 0x9, cflag 0xBF, lflag 0xD1F, VMIN 1, VTIME 0
   35 40131582 [main] bash 7384 fhandler_pty_slave::tcsetattr: (900): pty output_mutex (0x4AC): waiting -1 ms
   33 40131615 [main] bash 7384 fhandler_pty_slave::tcsetattr: (900): pty output_mutex: acquired
   34 40131649 [main] bash 7384 fhandler_pty_slave::tcsetattr: (902): pty output_mutex(0x4AC) released
   32 40131681 [main] bash 7384 __set_errno: int tcsetattr(int, int, const termios*):158 setting errno 0
   33 40131714 [main] bash 7384 tcsetattr: iflag 0x840A, oflag 0x9, cflag 0xBF, lflag 0xD19, VMIN 1, VTIME 0
   32 40131746 [main] bash 7384 tcsetattr: 0 = tcsetattr(0, 3, 0x6DC0D4)
  135 40131881 [main] bash 7384 set_signal_mask: setmask 0, newmask 326007, mask_bits 0
   30 40131911 [main] bash 7384 sigprocmask: 0 = sigprocmask (1, 0x6B1F14FC, 0x6B1F14F8)
   35 40131946 [main] bash 7384 sigaction_worker: signal 2, newact 0x6DC084 (handler 0x6B1D5A90), oa 0x440C50
   33 40131979 [main] bash 7384 sigaction: 0 = sigaction(2, 0x6DC084, 0x6DC078)
   34 40132013 [main] bash 7384 sigaction_worker: signal 15, newact 0x6DC084 (handler 0x6B1D5A90), oa 0x4407A0
   33 40132046 [main] bash 7384 sigaction: 0 = sigaction(15, 0x6DC084, 0x6DC078)
   34 40132080 [main] bash 7384 sigaction_worker: signal 1, newact 0x6DC084 (handler 0x6B1D5A90), oa 0x440EE0
   34 40132114 [main] bash 7384 sigaction: 0 = sigaction(1, 0x6DC084, 0x6DC078)
   33 40132147 [main] bash 7384 sigaction_worker: signal 3, newact 0x6DC084 (handler 0x6B1D5A90), oa 0x1
   33 40132180 [main] bash 7384 sigaction: 0 = sigaction(3, 0x6DC084, 0x6DC078)
   33 40132213 [main] bash 7384 sigaction_worker: signal 3, newact 0x6B1F1544 (handler 0x1), oa 0x6B1D5A90
   34 40132247 [main] bash 7384 sigaction: 0 = sigaction(3, 0x6B1F1544, 0x6DC0C4)
   33 40132280 [main] bash 7384 sigaction_worker: signal 14, newact 0x6DC0B4 (handler 0x6B1D5A90), oa 0x440EE0
   33 40132313 [main] bash 7384 sigaction: 0 = sigaction(14, 0x6DC0B4, 0x6DC0A8)
   34 40132347 [main] bash 7384 sigaction_worker: signal 18, newact 0x6DC084 (handler 0x6B1D5A90), oa 0x1
   33 40132380 [main] bash 7384 sigaction: 0 = sigaction(18, 0x6DC084, 0x6DC078)
   33 40132413 [main] bash 7384 sigaction_worker: signal 18, newact 0x6B1F1538 (handler 0x1), oa 0x6B1D5A90
   33 40132446 [main] bash 7384 sigaction: 0 = sigaction(18, 0x6B1F1538, 0x6DC0C4)
   31 40132477 [main] bash 7384 sigaction_worker: signal 22, newact 0x6DC084 (handler 0x6B1D5A90), oa 0x1
   45 40132522 [main] bash 7384 sigaction: 0 = sigaction(22, 0x6DC084, 0x6DC078)
   31 40132553 [main] bash 7384 sigaction_worker: signal 22, newact 0x6B1F152C (handler 0x1), oa 0x6B1D5A90
   33 40132586 [main] bash 7384 sigaction: 0 = sigaction(22, 0x6B1F152C, 0x6DC0C4)
   33 40132619 [main] bash 7384 sigaction_worker: signal 21, newact 0x6DC084 (handler 0x6B1D5A90), oa 0x1
   33 40132652 [main] bash 7384 sigaction: 0 = sigaction(21, 0x6DC084, 0x6DC078)
   32 40132684 [main] bash 7384 sigaction_worker: signal 21, newact 0x6B1F1520 (handler 0x1), oa 0x6B1D5A90
   33 40132717 [main] bash 7384 sigaction: 0 = sigaction(21, 0x6B1F1520, 0x6DC0C4)
   33 40132750 [main] bash 7384 set_signal_mask: setmask 326007, newmask 0, mask_bits 326007
   33 40132783 [main] bash 7384 sigprocmask: 0 = sigprocmask (0, 0x6B1F14F8, 0x0)
   33 40132816 [main] bash 7384 sigaction_worker: signal 28, newact 0x6DC084 (handler 0x6B1D5130), oa 0x43DC00
   32 40132848 [main] bash 7384 sigaction: 0 = sigaction(28, 0x6DC084, 0x6DC078)
  210 40133058 [main] bash 7384 fhandler_pty_slave::write: pty2, write(0x20038C58, 124)
   30 40133088 [main] bash 7384 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x4AC): waiting -1 ms
   36 40133124 [main] bash 7384 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   34 40133158 [main] bash 7384 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x4AC) released
   36 40133194 [main] bash 7384 write: 124 = write(2, 0x20038C58, 124)
   87 40133281 [main] bash 7384 pthread_sigmask: 0 = pthread_sigmask(0, 0x0, 0x6B1F1C14)
   31 40133312 [main] bash 7384 sigprocmask: 0 = sigprocmask (1, 0x0, 0x6DC044)
  330 40133642 [main] bash 7384 set_signal_mask: setmask 0, newmask 0, mask_bits 0
   29 40133671 [main] bash 7384 pselect: pselect (1, 0x6DC048, 0x0, 0x0, 0x0, 0x6DC044)
   35 40133706 [main] bash 7384 pselect: to NULL, us -1
   63 40133769 [main] bash 7384 dtable::select_read: /dev/pty2 fd 0
   30 40133799 [main] bash 7384 select: sel.always_ready 0
   34 40133833 [main] bash 7384 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
11086 43720293 [pipesel] mintty 9348 peek_pipe: read: /dev/ptmx, ready for read: avail 1
   47 43720340 [main] mintty 9348 select_stuff::wait: wait_ret 2, m = 3.  verifying
   33 43720373 [main] mintty 9348 set_bits: me 0x2009F590, testing fd 3 (/dev/ptmx)
   38 43720411 [main] mintty 9348 set_bits: ready 1
   43 43720454 [main] mintty 9348 select_stuff::wait: res after verify 0
   33 43720487 [main] mintty 9348 select_stuff::wait: returning 0
   40 43720527 [main] mintty 9348 select: sel.wait returns 0
   36 43720563 [main] mintty 9348 peek_windows: window 4(0x0) not ready
   41 43720604 [main] mintty 9348 peek_pipe: /dev/ptmx, already ready for read
   35 43720639 [main] mintty 9348 set_bits: me 0x2009F590, testing fd 3 (/dev/ptmx)
   41 43720680 [main] mintty 9348 set_bits: ready 1
   32 43720712 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   95 43720807 [main] mintty 9348 select_stuff::destroy: deleting select records
   91 43720898 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   30 43720928 [main] mintty 9348 select_stuff::destroy: deleting select records
   40 43720968 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
   37 43721005 [main] mintty 9348 read: read(3, 0x458AC0, 4096) nonblocking
   75 43721080 [main] mintty 9348 fhandler_pty_master::process_slave_output: bytes read 129
   39 43721119 [main] mintty 9348 fhandler_pty_master::process_slave_output: returning 129
   34 43721153 [main] mintty 9348 read: 129 = read(3, 0x458AC0, 129)
  313 43721466 [main] mintty 9348 fhandler_pty_slave::write: pty1, write(0x2003A6C8, 18)
   32 43721498 [main] mintty 9348 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x2CC): waiting -1 ms
   40 43721538 [main] mintty 9348 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   36 43721574 [main] mintty 9348 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x2CC) released
update_mode UTF-8
   38 43721612 [main] mintty 9348 write: 18 = write(1, 0x2003A6C8, 18)
  145 43721757 [main] mintty 9348 tcgetattr: iflag 0x840A, oflag 0x9, cflag 0xBF, lflag 0xD19, VMIN 1, VTIME 0
   33 43721790 [main] mintty 9348 __set_errno: int tcsetattr(int, int, const termios*):158 setting errno 88
   36 43721826 [main] mintty 9348 tcsetattr: iflag 0x2840A, oflag 0x9, cflag 0xBF, lflag 0xD19, VMIN 1, VTIME 0
   36 43721862 [main] mintty 9348 tcsetattr: 0 = tcsetattr(3, 2, 0x66C774)
   36 43721898 [main] mintty 9348 tcgetattr: iflag 0x2840A, oflag 0x9, cflag 0xBF, lflag 0xD19, VMIN 1, VTIME 0
  171 43722069 [main] mintty 9348 fhandler_pty_slave::write: pty1, write(0x2003A6C8, 21)
   32 43722101 [main] mintty 9348 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x2CC): waiting -1 ms
   37 43722138 [main] mintty 9348 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   41 43722179 [main] mintty 9348 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x2CC) released
utf 1 -> IUTF8 20000
   37 43722216 [main] mintty 9348 write: 21 = write(1, 0x2003A6C8, 21)
  211 43722427 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   76 43722503 [main] mintty 9348 proc_subproc: args: 6, 6741288
   51 43722554 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   52 43722606 [main] mintty 9348 checkstate: nprocs 1
   34 43722640 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   40 43722680 [main] mintty 9348 checkstate: no matching terminated children found
   39 43722719 [main] mintty 9348 checkstate: returning -1
   36 43722755 [main] mintty 9348 proc_subproc: waiting thread found no children
   35 43722790 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   36 43722826 [main] mintty 9348 proc_subproc: returning 1
   41 43722867 [main] mintty 9348 wait4: 0 = cygwait (...)
   36 43722903 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   36 43722939 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   40 43722979 [main] mintty 9348 pselect: to NULL, us -1
   96 43723075 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   67 43723142 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   33 43723175 [main] mintty 9348 select: sel.always_ready 0
  129 43723304 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
   64 43723368 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
   69 43723437 [main] mintty 9348 peek_windows: window 4(0x0) ready
   64 43723501 [main] mintty 9348 select_stuff::wait: res after verify 0
   35 43723536 [main] mintty 9348 select_stuff::wait: returning 0
   68 43723604 [main] mintty 9348 select: sel.wait returns 0
   62 43723666 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   35 43723701 [main] mintty 9348 set_bits: ready 1
  189 43723890 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   71 43723961 [pipesel] mintty 9348 thread_pipe: stopping
   84 43724045 [main] mintty 9348 select_stuff::destroy: deleting select records
   90 43724135 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   30 43724165 [main] mintty 9348 select_stuff::destroy: deleting select records
   34 43724199 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  200 43724399 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   37 43724436 [main] mintty 9348 proc_subproc: args: 6, 6741288
   41 43724477 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   35 43724512 [main] mintty 9348 checkstate: nprocs 1
   35 43724547 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   34 43724581 [main] mintty 9348 checkstate: no matching terminated children found
   35 43724616 [main] mintty 9348 checkstate: returning -1
   34 43724650 [main] mintty 9348 proc_subproc: waiting thread found no children
   43 43724693 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   33 43724726 [main] mintty 9348 proc_subproc: returning 1
   34 43724760 [main] mintty 9348 wait4: 0 = cygwait (...)
   34 43724794 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   32 43724826 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   34 43724860 [main] mintty 9348 pselect: to NULL, us -1
   97 43724957 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   65 43725022 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   36 43725058 [main] mintty 9348 select: sel.always_ready 0
  129 43725187 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
10826 43736013 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
   90 43736103 [main] mintty 9348 peek_windows: window 4(0x0) ready
   34 43736137 [main] mintty 9348 select_stuff::wait: res after verify 0
   31 43736168 [main] mintty 9348 select_stuff::wait: returning 0
   35 43736203 [main] mintty 9348 select: sel.wait returns 0
   36 43736239 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   33 43736272 [main] mintty 9348 set_bits: ready 1
  100 43736372 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
15359 43751731 [main] mintty 9348 select_stuff::destroy: deleting select records
  118 43751849 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   37 43751886 [main] mintty 9348 select_stuff::destroy: deleting select records
   39 43751925 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
19257 43771182 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   88 43771270 [main] mintty 9348 proc_subproc: args: 6, 6741288
   48 43771318 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   39 43771357 [main] mintty 9348 checkstate: nprocs 1
   37 43771394 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   35 43771429 [main] mintty 9348 checkstate: no matching terminated children found
   45 43771474 [main] mintty 9348 checkstate: returning -1
   37 43771511 [main] mintty 9348 proc_subproc: waiting thread found no children
   37 43771548 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   42 43771590 [main] mintty 9348 proc_subproc: returning 1
   39 43771629 [main] mintty 9348 wait4: 0 = cygwait (...)
   36 43771665 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   35 43771700 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   41 43771741 [main] mintty 9348 pselect: to NULL, us -1
  102 43771843 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   66 43771909 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   32 43771941 [main] mintty 9348 select: sel.always_ready 0
  137 43772078 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
33063 43805141 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  153 43805294 [main] mintty 9348 peek_windows: window 4(0x0) ready
  133 43805427 [main] mintty 9348 select_stuff::wait: res after verify 0
   70 43805497 [main] mintty 9348 select_stuff::wait: returning 0
   52 43805549 [main] mintty 9348 select: sel.wait returns 0
   35 43805584 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   32 43805616 [main] mintty 9348 set_bits: ready 1
  113 43805729 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
15286 43821015 [main] mintty 9348 select_stuff::destroy: deleting select records
  303 43821318 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   98 43821416 [main] mintty 9348 select_stuff::destroy: deleting select records
   91 43821507 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  145 43821652 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   95 43821747 [main] mintty 9348 proc_subproc: args: 6, 6741288
  106 43821853 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  150 43822003 [main] mintty 9348 checkstate: nprocs 1
  127 43822130 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  115 43822245 [main] mintty 9348 checkstate: no matching terminated children found
  138 43822383 [main] mintty 9348 checkstate: returning -1
  117 43822500 [main] mintty 9348 proc_subproc: waiting thread found no children
  133 43822633 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
  129 43822762 [main] mintty 9348 proc_subproc: returning 1
  136 43822898 [main] mintty 9348 wait4: 0 = cygwait (...)
  108 43823006 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
  113 43823119 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
  124 43823243 [main] mintty 9348 pselect: to NULL, us -1
  303 43823546 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  233 43823779 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   93 43823872 [main] mintty 9348 select: sel.always_ready 0
  391 43824263 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
10579 43834842 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  271 43835113 [main] mintty 9348 peek_windows: window 4(0x0) ready
  124 43835237 [main] mintty 9348 select_stuff::wait: res after verify 0
  126 43835363 [main] mintty 9348 select_stuff::wait: returning 0
  128 43835491 [main] mintty 9348 select: sel.wait returns 0
  116 43835607 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  127 43835734 [main] mintty 9348 set_bits: ready 1
  350 43836084 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  470 43836554 [main] mintty 9348 select_stuff::destroy: deleting select records
  251 43836805 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   73 43836878 [main] mintty 9348 select_stuff::destroy: deleting select records
   78 43836956 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  342 43837298 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  105 43837403 [main] mintty 9348 proc_subproc: args: 6, 6741288
  102 43837505 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   85 43837590 [main] mintty 9348 checkstate: nprocs 1
   87 43837677 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   98 43837775 [main] mintty 9348 checkstate: no matching terminated children found
   98 43837873 [main] mintty 9348 checkstate: returning -1
   98 43837971 [main] mintty 9348 proc_subproc: waiting thread found no children
   97 43838068 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   99 43838167 [main] mintty 9348 proc_subproc: returning 1
  107 43838274 [main] mintty 9348 wait4: 0 = cygwait (...)
   94 43838368 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   98 43838466 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   96 43838562 [main] mintty 9348 pselect: to NULL, us -1
  276 43838838 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  193 43839031 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   98 43839129 [main] mintty 9348 select: sel.always_ready 0
  376 43839505 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
  198 43839703 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  328 43840031 [main] mintty 9348 peek_windows: window 4(0x0) not ready
  206 43840237 [main] mintty 9348 select_stuff::wait: res after verify 1
   94 43840331 [main] mintty 9348 select_stuff::wait: returning 1
  250 43840581 [main] mintty 9348 select: sel.wait returns 1
  186 43840767 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   94 43840861 [pipesel] mintty 9348 thread_pipe: stopping
  250 43841111 [main] mintty 9348 select_stuff::destroy: deleting select records
  461 43841572 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  192 43841764 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
  126 43841890 [main] mintty 9348 select: sel.always_ready 0
  362 43842252 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
  168 43842420 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  135 43842555 [main] mintty 9348 peek_windows: window 4(0x0) not ready
  133 43842688 [main] mintty 9348 select_stuff::wait: res after verify 1
   96 43842784 [main] mintty 9348 select_stuff::wait: returning 1
  122 43842906 [main] mintty 9348 select: sel.wait returns 1
  117 43843023 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  275 43843298 [pipesel] mintty 9348 thread_pipe: stopping
  217 43843515 [main] mintty 9348 select_stuff::destroy: deleting select records
  266 43843781 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  114 43843895 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   59 43843954 [main] mintty 9348 select: sel.always_ready 0
  332 43844286 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
  206 43844492 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  269 43844761 [main] mintty 9348 peek_windows: window 4(0x0) not ready
  127 43844888 [main] mintty 9348 select_stuff::wait: res after verify 1
  153 43845041 [main] mintty 9348 select_stuff::wait: returning 1
  309 43845350 [main] mintty 9348 select: sel.wait returns 1
  179 43845529 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  265 43845794 [main] mintty 9348 select_stuff::destroy: deleting select records
  428 43846222 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  176 43846398 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   96 43846494 [main] mintty 9348 select: sel.always_ready 0
  363 43846857 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 4095 43850952 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  220 43851172 [main] mintty 9348 peek_windows: window 4(0x0) ready
   85 43851257 [main] mintty 9348 select_stuff::wait: res after verify 0
   84 43851341 [main] mintty 9348 select_stuff::wait: returning 0
   77 43851418 [main] mintty 9348 select: sel.wait returns 0
   78 43851496 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   79 43851575 [main] mintty 9348 set_bits: ready 1
  286 43851861 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
15873 43867734 [main] mintty 9348 select_stuff::destroy: deleting select records
  238 43867972 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   43 43868015 [main] mintty 9348 select_stuff::destroy: deleting select records
   37 43868052 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
   98 43868150 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   32 43868182 [main] mintty 9348 proc_subproc: args: 6, 6741288
   31 43868213 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   37 43868250 [main] mintty 9348 checkstate: nprocs 1
   35 43868285 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   33 43868318 [main] mintty 9348 checkstate: no matching terminated children found
   30 43868348 [main] mintty 9348 checkstate: returning -1
   30 43868378 [main] mintty 9348 proc_subproc: waiting thread found no children
   31 43868409 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   29 43868438 [main] mintty 9348 proc_subproc: returning 1
   30 43868468 [main] mintty 9348 wait4: 0 = cygwait (...)
   28 43868496 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   29 43868525 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   29 43868554 [main] mintty 9348 pselect: to NULL, us -1
   85 43868639 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   59 43868698 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   31 43868729 [main] mintty 9348 select: sel.always_ready 0
  112 43868841 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 5813 43874654 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  115 43874769 [main] mintty 9348 peek_windows: window 4(0x0) ready
   66 43874835 [main] mintty 9348 select_stuff::wait: res after verify 0
   44 43874879 [main] mintty 9348 select_stuff::wait: returning 0
   69 43874948 [main] mintty 9348 select: sel.wait returns 0
   35 43874983 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   37 43875020 [main] mintty 9348 set_bits: ready 1
  167 43875187 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14348 43889535 [main] mintty 9348 select_stuff::destroy: deleting select records
  210 43889745 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   62 43889807 [main] mintty 9348 select_stuff::destroy: deleting select records
   80 43889887 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  186 43890073 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   79 43890152 [main] mintty 9348 proc_subproc: args: 6, 6741288
   82 43890234 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   71 43890305 [main] mintty 9348 checkstate: nprocs 1
   83 43890388 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   69 43890457 [main] mintty 9348 checkstate: no matching terminated children found
   85 43890542 [main] mintty 9348 checkstate: returning -1
   63 43890605 [main] mintty 9348 proc_subproc: waiting thread found no children
   69 43890674 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   65 43890739 [main] mintty 9348 proc_subproc: returning 1
   72 43890811 [main] mintty 9348 wait4: 0 = cygwait (...)
   81 43890892 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   77 43890969 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   79 43891048 [main] mintty 9348 pselect: to NULL, us -1
  191 43891239 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  126 43891365 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   80 43891445 [main] mintty 9348 select: sel.always_ready 0
  249 43891694 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
  113 43891807 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  227 43892034 [main] mintty 9348 peek_windows: window 4(0x0) ready
   63 43892097 [main] mintty 9348 select_stuff::wait: res after verify 0
  139 43892236 [main] mintty 9348 select_stuff::wait: returning 0
  102 43892338 [main] mintty 9348 select: sel.wait returns 0
  101 43892439 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  100 43892539 [main] mintty 9348 set_bits: ready 1
  335 43892874 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  134 43893008 [pipesel] mintty 9348 thread_pipe: stopping
  199 43893207 [main] mintty 9348 select_stuff::destroy: deleting select records
  190 43893397 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   62 43893459 [main] mintty 9348 select_stuff::destroy: deleting select records
   60 43893519 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  143 43893662 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   65 43893727 [main] mintty 9348 proc_subproc: args: 6, 6741288
   59 43893786 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   63 43893849 [main] mintty 9348 checkstate: nprocs 1
   60 43893909 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   81 43893990 [main] mintty 9348 checkstate: no matching terminated children found
   65 43894055 [main] mintty 9348 checkstate: returning -1
   78 43894133 [main] mintty 9348 proc_subproc: waiting thread found no children
   84 43894217 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   62 43894279 [main] mintty 9348 proc_subproc: returning 1
   66 43894345 [main] mintty 9348 wait4: 0 = cygwait (...)
   84 43894429 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   87 43894516 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   68 43894584 [main] mintty 9348 pselect: to NULL, us -1
  236 43894820 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  105 43894925 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   59 43894984 [main] mintty 9348 select: sel.always_ready 0
  224 43895208 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 3503 43898711 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  126 43898837 [main] mintty 9348 peek_windows: window 4(0x0) ready
   86 43898923 [main] mintty 9348 select_stuff::wait: res after verify 0
   65 43898988 [main] mintty 9348 select_stuff::wait: returning 0
   79 43899067 [main] mintty 9348 select: sel.wait returns 0
   62 43899129 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   84 43899213 [main] mintty 9348 set_bits: ready 1
  198 43899411 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
 5594 43905005 [main] mintty 9348 select_stuff::destroy: deleting select records
  114 43905119 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   36 43905155 [main] mintty 9348 select_stuff::destroy: deleting select records
   47 43905202 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  102 43905304 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   50 43905354 [main] mintty 9348 proc_subproc: args: 6, 6741288
   39 43905393 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   46 43905439 [main] mintty 9348 checkstate: nprocs 1
   37 43905476 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   47 43905523 [main] mintty 9348 checkstate: no matching terminated children found
   36 43905559 [main] mintty 9348 checkstate: returning -1
   41 43905600 [main] mintty 9348 proc_subproc: waiting thread found no children
   39 43905639 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   38 43905677 [main] mintty 9348 proc_subproc: returning 1
   37 43905714 [main] mintty 9348 wait4: 0 = cygwait (...)
   33 43905747 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   35 43905782 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   35 43905817 [main] mintty 9348 pselect: to NULL, us -1
   96 43905913 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   62 43905975 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   32 43906007 [main] mintty 9348 select: sel.always_ready 0
  125 43906132 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
  508 43906640 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  103 43906743 [main] mintty 9348 peek_windows: window 4(0x0) ready
   66 43906809 [main] mintty 9348 select_stuff::wait: res after verify 0
   64 43906873 [main] mintty 9348 select_stuff::wait: returning 0
   35 43906908 [main] mintty 9348 select: sel.wait returns 0
   41 43906949 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   35 43906984 [main] mintty 9348 set_bits: ready 1
  108 43907092 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
13582 43920674 [main] mintty 9348 select_stuff::destroy: deleting select records
  103 43920777 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   36 43920813 [main] mintty 9348 select_stuff::destroy: deleting select records
   38 43920851 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  102 43920953 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   34 43920987 [main] mintty 9348 proc_subproc: args: 6, 6741288
   32 43921019 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   30 43921049 [main] mintty 9348 checkstate: nprocs 1
   27 43921076 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   33 43921109 [main] mintty 9348 checkstate: no matching terminated children found
   30 43921139 [main] mintty 9348 checkstate: returning -1
   29 43921168 [main] mintty 9348 proc_subproc: waiting thread found no children
   29 43921197 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   30 43921227 [main] mintty 9348 proc_subproc: returning 1
   31 43921258 [main] mintty 9348 wait4: 0 = cygwait (...)
   39 43921297 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   42 43921339 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   33 43921372 [main] mintty 9348 pselect: to NULL, us -1
   85 43921457 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   62 43921519 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   31 43921550 [main] mintty 9348 select: sel.always_ready 0
  116 43921666 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
  972 43922638 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
   55 43922693 [main] mintty 9348 peek_windows: window 4(0x0) ready
   34 43922727 [main] mintty 9348 select_stuff::wait: res after verify 0
   33 43922760 [main] mintty 9348 select_stuff::wait: returning 0
   32 43922792 [main] mintty 9348 select: sel.wait returns 0
   32 43922824 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   31 43922855 [main] mintty 9348 set_bits: ready 1
   94 43922949 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
13417 43936366 [main] mintty 9348 select_stuff::destroy: deleting select records
  120 43936486 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   44 43936530 [main] mintty 9348 select_stuff::destroy: deleting select records
   39 43936569 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  120 43936689 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   40 43936729 [main] mintty 9348 proc_subproc: args: 6, 6741288
   62 43936791 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   71 43936862 [main] mintty 9348 checkstate: nprocs 1
   70 43936932 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   54 43936986 [main] mintty 9348 checkstate: no matching terminated children found
   42 43937028 [main] mintty 9348 checkstate: returning -1
   42 43937070 [main] mintty 9348 proc_subproc: waiting thread found no children
   39 43937109 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   36 43937145 [main] mintty 9348 proc_subproc: returning 1
   40 43937185 [main] mintty 9348 wait4: 0 = cygwait (...)
   39 43937224 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   38 43937262 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   35 43937297 [main] mintty 9348 pselect: to NULL, us -1
   95 43937392 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   65 43937457 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   33 43937490 [main] mintty 9348 select: sel.always_ready 0
  131 43937621 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
  974 43938595 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
   70 43938665 [main] mintty 9348 peek_windows: window 4(0x0) ready
   44 43938709 [main] mintty 9348 select_stuff::wait: res after verify 0
   36 43938745 [main] mintty 9348 select_stuff::wait: returning 0
   40 43938785 [main] mintty 9348 select: sel.wait returns 0
   42 43938827 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   34 43938861 [main] mintty 9348 set_bits: ready 1
  112 43938973 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
12910 43951883 [main] mintty 9348 select_stuff::destroy: deleting select records
  111 43951994 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   33 43952027 [main] mintty 9348 select_stuff::destroy: deleting select records
   31 43952058 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  109 43952167 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   37 43952204 [main] mintty 9348 proc_subproc: args: 6, 6741288
   33 43952237 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   34 43952271 [main] mintty 9348 checkstate: nprocs 1
   34 43952305 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   34 43952339 [main] mintty 9348 checkstate: no matching terminated children found
   32 43952371 [main] mintty 9348 checkstate: returning -1
   32 43952403 [main] mintty 9348 proc_subproc: waiting thread found no children
   32 43952435 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   31 43952466 [main] mintty 9348 proc_subproc: returning 1
   36 43952502 [main] mintty 9348 wait4: 0 = cygwait (...)
   32 43952534 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   32 43952566 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   32 43952598 [main] mintty 9348 pselect: to NULL, us -1
   96 43952694 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   62 43952756 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   32 43952788 [main] mintty 9348 select: sel.always_ready 0
  144 43952932 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 1726 43954658 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  133 43954791 [main] mintty 9348 peek_windows: window 4(0x0) ready
   49 43954840 [main] mintty 9348 select_stuff::wait: res after verify 0
   39 43954879 [main] mintty 9348 select_stuff::wait: returning 0
   42 43954921 [main] mintty 9348 select: sel.wait returns 0
   40 43954961 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   38 43954999 [main] mintty 9348 set_bits: ready 1
  127 43955126 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
12507 43967633 [main] mintty 9348 select_stuff::destroy: deleting select records
  104 43967737 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   29 43967766 [main] mintty 9348 select_stuff::destroy: deleting select records
   37 43967803 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  515 43968318 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   55 43968373 [main] mintty 9348 proc_subproc: args: 6, 6741288
   43 43968416 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   37 43968453 [main] mintty 9348 checkstate: nprocs 1
   35 43968488 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   40 43968528 [main] mintty 9348 checkstate: no matching terminated children found
   47 43968575 [main] mintty 9348 checkstate: returning -1
   40 43968615 [main] mintty 9348 proc_subproc: waiting thread found no children
   30 43968645 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   31 43968676 [main] mintty 9348 proc_subproc: returning 1
   32 43968708 [main] mintty 9348 wait4: 0 = cygwait (...)
   36 43968744 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   40 43968784 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   30 43968814 [main] mintty 9348 pselect: to NULL, us -1
   92 43968906 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   59 43968965 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   31 43968996 [main] mintty 9348 select: sel.always_ready 0
  124 43969120 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
 7633 43976753 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  127 43976880 [main] mintty 9348 peek_windows: window 4(0x0) not ready
   79 43976959 [main] mintty 9348 select_stuff::wait: res after verify 1
   39 43976998 [main] mintty 9348 select_stuff::wait: returning 1
   49 43977047 [main] mintty 9348 select: sel.wait returns 1
   54 43977101 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
13098 43990199 [main] mintty 9348 select_stuff::destroy: deleting select records
  193 43990392 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   75 43990467 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   54 43990521 [main] mintty 9348 select: sel.always_ready 0
  163 43990684 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
   70 43990754 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
   46 43990800 [main] mintty 9348 peek_windows: window 4(0x0) ready
   66 43990866 [main] mintty 9348 select_stuff::wait: res after verify 0
  101 43990967 [main] mintty 9348 select_stuff::wait: returning 0
   43 43991010 [main] mintty 9348 select: sel.wait returns 0
   93 43991103 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   75 43991178 [main] mintty 9348 set_bits: ready 1
  271 43991449 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  111 43991560 [pipesel] mintty 9348 thread_pipe: stopping
   90 43991650 [main] mintty 9348 select_stuff::destroy: deleting select records
  119 43991769 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   41 43991810 [main] mintty 9348 select_stuff::destroy: deleting select records
   45 43991855 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  236 43992091 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   42 43992133 [main] mintty 9348 proc_subproc: args: 6, 6741288
   70 43992203 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   55 43992258 [main] mintty 9348 checkstate: nprocs 1
   48 43992306 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   55 43992361 [main] mintty 9348 checkstate: no matching terminated children found
   46 43992407 [main] mintty 9348 checkstate: returning -1
   52 43992459 [main] mintty 9348 proc_subproc: waiting thread found no children
   49 43992508 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   53 43992561 [main] mintty 9348 proc_subproc: returning 1
   43 43992604 [main] mintty 9348 wait4: 0 = cygwait (...)
   66 43992670 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   56 43992726 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   39 43992765 [main] mintty 9348 pselect: to NULL, us -1
  143 43992908 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   71 43992979 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   40 43993019 [main] mintty 9348 select: sel.always_ready 0
  176 43993195 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
59533 44052728 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  232 44052960 [main] mintty 9348 peek_windows: window 4(0x0) ready
  101 44053061 [main] mintty 9348 select_stuff::wait: res after verify 0
   95 44053156 [main] mintty 9348 select_stuff::wait: returning 0
   99 44053255 [main] mintty 9348 select: sel.wait returns 0
  122 44053377 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  127 44053504 [main] mintty 9348 set_bits: ready 1
  349 44053853 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14569 44068422 [main] mintty 9348 select_stuff::destroy: deleting select records
  145 44068567 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   48 44068615 [main] mintty 9348 select_stuff::destroy: deleting select records
   60 44068675 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  187 44068862 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   43 44068905 [main] mintty 9348 proc_subproc: args: 6, 6741288
   44 44068949 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   41 44068990 [main] mintty 9348 checkstate: nprocs 1
   36 44069026 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   39 44069065 [main] mintty 9348 checkstate: no matching terminated children found
   48 44069113 [main] mintty 9348 checkstate: returning -1
   36 44069149 [main] mintty 9348 proc_subproc: waiting thread found no children
   39 44069188 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   36 44069224 [main] mintty 9348 proc_subproc: returning 1
   38 44069262 [main] mintty 9348 wait4: 0 = cygwait (...)
   34 44069296 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   41 44069337 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   38 44069375 [main] mintty 9348 pselect: to NULL, us -1
  105 44069480 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   71 44069551 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   36 44069587 [main] mintty 9348 select: sel.always_ready 0
  207 44069794 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
51641 44121435 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  266 44121701 [main] mintty 9348 peek_windows: window 4(0x0) ready
  186 44121887 [main] mintty 9348 select_stuff::wait: res after verify 0
   90 44121977 [main] mintty 9348 select_stuff::wait: returning 0
  126 44122103 [main] mintty 9348 select: sel.wait returns 0
  125 44122228 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  106 44122334 [main] mintty 9348 set_bits: ready 1
  377 44122711 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14597 44137308 [main] mintty 9348 select_stuff::destroy: deleting select records
  274 44137582 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   92 44137674 [main] mintty 9348 select_stuff::destroy: deleting select records
  135 44137809 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  365 44138174 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  148 44138322 [main] mintty 9348 proc_subproc: args: 6, 6741288
  130 44138452 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  220 44138672 [main] mintty 9348 checkstate: nprocs 1
  127 44138799 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  120 44138919 [main] mintty 9348 checkstate: no matching terminated children found
  111 44139030 [main] mintty 9348 checkstate: returning -1
  122 44139152 [main] mintty 9348 proc_subproc: waiting thread found no children
  102 44139254 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
  109 44139363 [main] mintty 9348 proc_subproc: returning 1
  125 44139488 [main] mintty 9348 wait4: 0 = cygwait (...)
  109 44139597 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
  101 44139698 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
  126 44139824 [main] mintty 9348 pselect: to NULL, us -1
  276 44140100 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  191 44140291 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
  129 44140420 [main] mintty 9348 select: sel.always_ready 0
  376 44140796 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
27649 44168445 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  254 44168699 [main] mintty 9348 peek_windows: window 4(0x0) ready
   84 44168783 [main] mintty 9348 select_stuff::wait: res after verify 0
   87 44168870 [main] mintty 9348 select_stuff::wait: returning 0
   75 44168945 [main] mintty 9348 select: sel.wait returns 0
   78 44169023 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   82 44169105 [main] mintty 9348 set_bits: ready 1
  259 44169364 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
21255 44190619 [main] mintty 9348 select_stuff::destroy: deleting select records
  320 44190939 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  100 44191039 [main] mintty 9348 select_stuff::destroy: deleting select records
  118 44191157 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 2630 44193787 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  192 44193979 [main] mintty 9348 proc_subproc: args: 6, 6741288
  113 44194092 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  102 44194194 [main] mintty 9348 checkstate: nprocs 1
  134 44194328 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   96 44194424 [main] mintty 9348 checkstate: no matching terminated children found
   91 44194515 [main] mintty 9348 checkstate: returning -1
   93 44194608 [main] mintty 9348 proc_subproc: waiting thread found no children
  107 44194715 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   96 44194811 [main] mintty 9348 proc_subproc: returning 1
   94 44194905 [main] mintty 9348 wait4: 0 = cygwait (...)
  102 44195007 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   93 44195100 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   98 44195198 [main] mintty 9348 pselect: to NULL, us -1
  307 44195505 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  197 44195702 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   97 44195799 [main] mintty 9348 select: sel.always_ready 0
  339 44196138 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
25689 44221827 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  204 44222031 [main] mintty 9348 peek_windows: window 4(0x0) ready
   94 44222125 [main] mintty 9348 select_stuff::wait: res after verify 0
  130 44222255 [main] mintty 9348 select_stuff::wait: returning 0
  127 44222382 [main] mintty 9348 select: sel.wait returns 0
  116 44222498 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  129 44222627 [main] mintty 9348 set_bits: ready 1
  383 44223010 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14456 44237466 [main] mintty 9348 select_stuff::destroy: deleting select records
  119 44237585 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   37 44237622 [main] mintty 9348 select_stuff::destroy: deleting select records
   38 44237660 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
   72 44237732 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   37 44237769 [main] mintty 9348 proc_subproc: args: 6, 6741288
   41 44237810 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   38 44237848 [main] mintty 9348 checkstate: nprocs 1
   38 44237886 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   37 44237923 [main] mintty 9348 checkstate: no matching terminated children found
   37 44237960 [main] mintty 9348 checkstate: returning -1
   41 44238001 [main] mintty 9348 proc_subproc: waiting thread found no children
   40 44238041 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   32 44238073 [main] mintty 9348 proc_subproc: returning 1
   36 44238109 [main] mintty 9348 wait4: 0 = cygwait (...)
   32 44238141 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   32 44238173 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   30 44238203 [main] mintty 9348 pselect: to NULL, us -1
   91 44238294 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   65 44238359 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   31 44238390 [main] mintty 9348 select: sel.always_ready 0
  128 44238518 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
14495 44253013 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  111 44253124 [main] mintty 9348 peek_windows: window 4(0x0) ready
   54 44253178 [main] mintty 9348 select_stuff::wait: res after verify 0
   36 44253214 [main] mintty 9348 select_stuff::wait: returning 0
   44 44253258 [main] mintty 9348 select: sel.wait returns 0
   46 44253304 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   35 44253339 [main] mintty 9348 set_bits: ready 1
  107 44253446 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
15349 44268795 [main] mintty 9348 select_stuff::destroy: deleting select records
  271 44269066 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  122 44269188 [main] mintty 9348 select_stuff::destroy: deleting select records
   82 44269270 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1871 44271141 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  187 44271328 [main] mintty 9348 proc_subproc: args: 6, 6741288
  108 44271436 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  110 44271546 [main] mintty 9348 checkstate: nprocs 1
   98 44271644 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   97 44271741 [main] mintty 9348 checkstate: no matching terminated children found
   96 44271837 [main] mintty 9348 checkstate: returning -1
   92 44271929 [main] mintty 9348 proc_subproc: waiting thread found no children
  119 44272048 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
  128 44272176 [main] mintty 9348 proc_subproc: returning 1
  110 44272286 [main] mintty 9348 wait4: 0 = cygwait (...)
   85 44272371 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   81 44272452 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   91 44272543 [main] mintty 9348 pselect: to NULL, us -1
  260 44272803 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  185 44272988 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   93 44273081 [main] mintty 9348 select: sel.always_ready 0
  341 44273422 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
32763 44306185 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  132 44306317 [main] mintty 9348 peek_windows: window 4(0x0) ready
   60 44306377 [main] mintty 9348 select_stuff::wait: res after verify 0
   47 44306424 [main] mintty 9348 select_stuff::wait: returning 0
   49 44306473 [main] mintty 9348 select: sel.wait returns 0
   75 44306548 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   54 44306602 [main] mintty 9348 set_bits: ready 1
  163 44306765 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
15078 44321843 [main] mintty 9348 select_stuff::destroy: deleting select records
  160 44322003 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
   35 44322038 [main] mintty 9348 select_stuff::destroy: deleting select records
   37 44322075 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  135 44322210 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
   33 44322243 [main] mintty 9348 proc_subproc: args: 6, 6741288
   32 44322275 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
   34 44322309 [main] mintty 9348 checkstate: nprocs 1
   38 44322347 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
   36 44322383 [main] mintty 9348 checkstate: no matching terminated children found
   31 44322414 [main] mintty 9348 checkstate: returning -1
   29 44322443 [main] mintty 9348 proc_subproc: waiting thread found no children
   31 44322474 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   29 44322503 [main] mintty 9348 proc_subproc: returning 1
   32 44322535 [main] mintty 9348 wait4: 0 = cygwait (...)
   30 44322565 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
   29 44322594 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   36 44322630 [main] mintty 9348 pselect: to NULL, us -1
   93 44322723 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
   59 44322782 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
   29 44322811 [main] mintty 9348 select: sel.always_ready 0
  113 44322924 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
227761 44550685 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  165 44550850 [main] mintty 9348 peek_windows: window 4(0x0) ready
  102 44550952 [main] mintty 9348 select_stuff::wait: res after verify 0
  109 44551061 [main] mintty 9348 select_stuff::wait: returning 0
   85 44551146 [main] mintty 9348 select: sel.wait returns 0
   81 44551227 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
   89 44551316 [main] mintty 9348 set_bits: ready 1
  321 44551637 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
 1239 44552876 [main] mintty 9348 select_stuff::destroy: deleting select records
  312 44553188 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  103 44553291 [main] mintty 9348 select_stuff::destroy: deleting select records
  120 44553411 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
  303 44553714 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  149 44553863 [main] mintty 9348 proc_subproc: args: 6, 6741288
  109 44553972 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  103 44554075 [main] mintty 9348 checkstate: nprocs 1
  114 44554189 [main] mintty 9348 stopped_or_terminated: considering pid 7384, pgid 7384, w->pid 7384
  144 44554333 [main] mintty 9348 checkstate: no matching terminated children found
  108 44554441 [main] mintty 9348 checkstate: returning -1
  122 44554563 [main] mintty 9348 proc_subproc: waiting thread found no children
  103 44554666 [main] mintty 9348 proc_subproc: finished processing terminated/stopped child
   94 44554760 [main] mintty 9348 proc_subproc: returning 1
   99 44554859 [main] mintty 9348 wait4: 0 = cygwait (...)
   96 44554955 [main] mintty 9348 wait4: 0 = wait4(7384, 0x0, 1, 0x0)
  103 44555058 [main] mintty 9348 pselect: pselect (5, 0x66C898, 0x0, 0x0, 0x0, 0x0)
   94 44555152 [main] mintty 9348 pselect: to NULL, us -1
  292 44555444 [main] mintty 9348 dtable::select_read: /dev/ptmx fd 3
  193 44555637 [main] mintty 9348 dtable::select_read: /dev/windows fd 4
  106 44555743 [main] mintty 9348 select: sel.always_ready 0
  306 44556049 [main] mintty 9348 select_stuff::wait: m 3, us 18446744073709551615, wmfo_timeout -1
150124 44706173 [main] mintty 9348 select_stuff::wait: wait_ret 3, m = 3.  verifying
  227 44706400 [main] mintty 9348 peek_windows: window 4(0x0) ready
   94 44706494 [main] mintty 9348 select_stuff::wait: res after verify 0
  123 44706617 [main] mintty 9348 select_stuff::wait: returning 0
  108 44706725 [main] mintty 9348 select: sel.wait returns 0
  125 44706850 [main] mintty 9348 set_bits: me 0x20088BD0, testing fd 4 (/dev/windows)
  111 44706961 [main] mintty 9348 set_bits: ready 1
  326 44707287 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
14564 44721851 [main] mintty 9348 select_stuff::destroy: deleting select records
  313 44722164 [main] mintty 9348 select_stuff::cleanup: calling cleanup routines
  111 44722275 [main] mintty 9348 select_stuff::destroy: deleting select records
  140 44722415 [main] mintty 9348 pselect: 1 = select (5, 0x66C898, 0x0, 0x0, 0x0)
 1284 44723699 [main] mintty 9348 wait4: calling proc_subproc, pid 7384, options 1
  117 44723816 [main] mintty 9348 proc_subproc: args: 6, 6741288
  108 44723924 [main] mintty 9348 proc_subproc: wval->pid 7384, wval->options 1
  125 44724049 [main] 

[-- Attachment #3: Type: text/plain, Size: 219 bytes --]


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2017-02-17 22:30 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-27 23:40 Eric Blake (cygwin)
2017-01-24 15:58 ` Houder
2017-01-25  1:28   ` Steven Penny
2017-01-25 13:37     ` Houder
2017-01-25 20:31       ` cyg Simple
2017-01-28 14:36         ` Houder
2017-01-26  0:14       ` Steven Penny
2017-01-28 13:44         ` Houder
2017-01-31 10:04           ` Corinna Vinschen
2017-01-31 13:16             ` Corinna Vinschen
2017-01-31 15:02               ` Houder
2017-01-31 15:33                 ` Corinna Vinschen
2017-01-31 15:42                   ` Eric Blake
2017-02-01  8:46                     ` Houder
2017-01-31 17:54                   ` Houder
2017-02-01  9:17                     ` Corinna Vinschen
2017-02-13 22:03                   ` Thomas Wolff
2017-02-14  8:45                     ` Corinna Vinschen
2017-02-14 19:40                       ` Thomas Wolff
2017-02-14 19:56                         ` Eric Blake
2017-02-14 20:29                           ` Thomas Wolff
2017-02-14 20:35                             ` Thomas Wolff
2017-02-15 22:19                               ` Thomas Wolff
2017-02-16 12:49                                 ` Corinna Vinschen
2017-02-16 20:32                                   ` Thomas Wolff
2017-02-17  7:36                                     ` Thomas Wolff
2017-02-17  9:43                                       ` Corinna Vinschen
2017-02-17 22:30                                         ` Thomas Wolff [this message]
2017-02-18 22:46                                           ` Thomas Wolff
2017-02-20  9:11                                             ` Corinna Vinschen
2017-02-20 21:08                                               ` Thomas Wolff
2017-02-20  9:07                                           ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6bac1397-8542-8283-5146-4dffcce7c905@towo.net \
    --to=towo@towo.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).