On 11. 5. 2015 13:34, David Macek wrote:
> On 11. 5. 2015 9:50, Rainer Schuetz wrote:
> Anyway, I'll try to find time to try cmake with Bitvise. It's possible their 
> sshd is doing something MSYS2 doesn't like.

With Rainer's help on IRC, I isolated the issue to 32-bit apps launched from 
64-bit Cygwin/MSYS2 inside a SSH session using Bitvise SSH Server. I haven't 
checked what happens with 32-bit Cygwin, but the issue certainly doesn't 
manifest when running 64-bit apps from 64 Cygwin (through Bitvise SSHd), nor 
when running any apps from bare cmd (through Bitvise SSHd), nor -- as noted 
previously -- when using Cygwin/MSYS2 sshd.

I've investigated a bit, but I couldn't find any solution. Most of what I've 
found out is summarized in a support ticket I filed with Bitvise, available on 
<https://fogbugz.bitvise.com/default.asp?21576_b1prhdqr>. Transcript follows.

===

Dear Mr or Mrs, I found an issue with Cygwin and Bitvise SSHd and I was 
wondering if you could help me somehow. The way to reproduce the issue is:

1. install 64-bit Cygwin
2. install Bitvise SSH Server
3. connect through SSH to this server
4. run Cygwin inside this SSH session (C:\cygwin64\bin\bash --login -i)
5. run a 32-bit process from inside this Cygwin session (such as 
/cygdrive/c/windows/syswow64/cmd)

The resulting process is almost clear of environment variables (I'd say that it 
is completely clear upon start, but then the process itself adds some variables 
of its own). According to procmon, it seems that the original process exits or 
crashes immediately and it is then re-started from the toterm* helper process 
(which runs with a clean environment and apparently doesn't override the 
environment when creating the child process).

I'd be happy if you could look into this issue. I can provide more information 
regarding Cygwin, if needed.

Looking forward to hearing from you.

-- 
David Macek

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to