From: David Macek <david.macek.0@gmail.com>
To: cygwin@cygwin.com
Subject: Re: fork issue when lauching cygwin64 process from 32bit native app on Windows 10 TH2
Date: Tue, 01 Dec 2015 21:44:00 -0000 [thread overview]
Message-ID: <565E14BA.60204@gmail.com> (raw)
In-Reply-To: <565DDB8E.1090609@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]
On 1. 12. 2015 18:40, David Macek wrote:
> On 1. 12. 2015 15:01, Corinna Vinschen wrote:
>> On Dec 1 21:07, nu774 wrote:
>>>> There must be a bug in the new CMD somewhere. But, anyway, I'll look
>>>> into it when I finally managed to update my W10 test machine.
>>>
>>> No, cmd.exe is just an example. Any 32bit process can be an trigger.
>>> I guess something has changed in TH2 kernel regarding process memory
>>> management or something that interferes cygwin's fork().
>>
>> If that only happens w/ 64 bit Cygwin started from a 32 bit parent, then
>> there's some foul-up in the WOW64 layer in terms of starting 64 bit
>> processes, perhaps. Sigh, it's a rather unexpected change after it
>> worked fine for so long :(
>
> Yup. I can confirm.
Just for the record, we did some debugging over IRC and it seems it's an issue with WOW64 where the stack in the first 64-bit process is offset for some reason.
Citing Corinna: "I wonder if we have to resurrect the old wow64_respawn_process function for this border case"
--
David Macek
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4254 bytes --]
next prev parent reply other threads:[~2015-12-01 21:44 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-01 10:28 nu774
2015-12-01 11:20 ` Corinna Vinschen
2015-12-01 12:07 ` nu774
2015-12-01 14:01 ` Corinna Vinschen
2015-12-01 17:40 ` David Macek
2015-12-01 19:33 ` Rob van Eijk
2015-12-04 16:35 ` Linda Walsh
2015-12-06 14:11 ` Corinna Vinschen
2015-12-01 21:44 ` David Macek [this message]
2015-12-02 22:15 ` Corinna Vinschen
2015-12-02 22:44 ` René Berber
2015-12-02 23:00 ` Corinna Vinschen
2015-12-03 8:13 ` David Macek
2015-12-03 18:58 ` René Berber
2015-12-03 19:09 ` René Berber
2015-12-03 10:43 ` Corinna Vinschen
2015-12-03 19:09 ` Thomas Wolff
2015-12-03 22:52 ` 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=565E14BA.60204@gmail.com \
--to=david.macek.0@gmail.com \
--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).