Re: SSHd crashing when touching /etc/* - Which snapshot is the relevant one?

2013-05-06 Thread Larry Hall (Cygwin)
On 5/6/2013 10:29 AM, Christopher Faylor wrote: On Mon, May 06, 2013 at 02:11:28PM +0300, Ran wrote: sorry please ignore, I read more deeply and used the one from August 1st 2012. You shouldn't be using a snapshot. You should just be using the most recently released version of Cygwin. And a

Re: SSHd crashing when touching /etc/* - Which snapshot is the relevant one?

2013-05-06 Thread Christopher Faylor
On Mon, May 06, 2013 at 02:11:28PM +0300, Ran wrote: >sorry please ignore, I read more deeply and used the one from August 1st 2012. You shouldn't be using a snapshot. You should just be using the most recently released version of Cygwin. cgf -- Problem reports: http://cygwin.com/problems

Re: SSHd crashing when touching /etc/* - Which snapshot is the relevant one?

2013-05-06 Thread Ran
sorry please ignore, I read more deeply and used the one from August 1st 2012. On Mon, May 6, 2013 at 1:41 PM, Ran wrote: > Hi, > > So it looks like I'm not the first one to touch on this issue. I did > find more than a few Forum posts mentioning this issue and in all of > them, there's Corinna,

Re: sshd crashing

2012-10-16 Thread The love dada
I too would like to thank those who fixed this issue. I had the same problem on Windows 7 but not only with sshd, also with rxvt exiting unexpectedly whenever I accessed files under /etc. All fine with todays snapshot cywin1.dll. -- View this message in context: http://cygwin.1069669.n5.nabble.

Re: sshd crashing

2012-10-04 Thread bourne
Corinna Vinschen cygwin.com> writes: --- SNIPPET --- > > > > I can reproduce this as well. I also found the patch which introduced > > the problem, but it's not clear yet, why. Stay tuned. > > I've just applied a patch to fix this problem. It seems

Re: sshd crashing

2012-08-02 Thread Corinna Vinschen
On Aug 1 21:44, A Lichner wrote: > > The cygwin1.dll from the latest snapshot is fine too - sshd doesn't crash > when writing to /etc folder. > $ uname -a > CYGWIN_NT-6.0-WOW64 dbs14 1.7.17s(0.262/5/3) 20120801 11:02:01 i686 Cygwin > > > Corinna Vinschen-2 wrote: > > > > On Aug 1 09:02, Corin

Re: sshd crashing

2012-08-01 Thread A Lichner
The cygwin1.dll from the latest snapshot is fine too - sshd doesn't crash when writing to /etc folder. $ uname -a CYGWIN_NT-6.0-WOW64 dbs14 1.7.17s(0.262/5/3) 20120801 11:02:01 i686 Cygwin Corinna Vinschen-2 wrote: > > On Aug 1 09:02, Corinna Vinschen wrote: > > I've just uploaded another sna

Re: sshd crashing

2012-08-01 Thread Corinna Vinschen
On Aug 1 09:02, Corinna Vinschen wrote: > On Jul 31 15:59, A Lichner wrote: > > > > Thanks Corinna. The fix works. > > Ales > > [...] > > Corinna Vinschen-2 wrote: > > > I've just applied a patch to fix this problem. It seems this is a long > > > standing bug which could result in random stack c

Re: sshd crashing

2012-08-01 Thread Corinna Vinschen
On Jul 31 15:59, A Lichner wrote: > > Thanks Corinna. The fix works. > Ales > > > Corinna Vinschen-2 wrote: > > > > On Jul 31 14:28, Corinna Vinschen wrote: > >> On Jul 30 17:49, Aleš wrote: > >> > > >> > Hello, > >> > > >> > I can confirm the issue. It's occurring after upgrade to 1.7.16 and

Re: sshd crashing

2012-07-31 Thread A Lichner
Thanks Corinna. The fix works. Ales Corinna Vinschen-2 wrote: > > On Jul 31 14:28, Corinna Vinschen wrote: >> On Jul 30 17:49, Aleš wrote: >> > >> > Hello, >> > >> > I can confirm the issue. It's occurring after upgrade to 1.7.16 and >> seems to >> > be limited to VMWare guests in my case. An

Re: sshd crashing

2012-07-31 Thread Pawel Jasinski
hi, the fix works, I have tested it with the only vm I have with me. thanks pawel On Tue, Jul 31, 2012 at 10:19 PM, Corinna Vinschen wrote: > On Jul 31 14:28, Corinna Vinschen wrote: >> On Jul 30 17:49, Aleš wrote: >> > >> > Hello, >> > >> > I can confirm the issue. It's occurring after upgrade

Re: sshd crashing

2012-07-31 Thread Corinna Vinschen
On Jul 31 14:28, Corinna Vinschen wrote: > On Jul 30 17:49, Aleš wrote: > > > > Hello, > > > > I can confirm the issue. It's occurring after upgrade to 1.7.16 and seems to > > be limited to VMWare guests in my case. Any write attempt within the /etc > > directory causes sshd to crash. Other direc

Re: sshd crashing

2012-07-31 Thread Reini Urban
On Mon, Jul 30, 2012 at 5:50 PM, Pawel Jasinski wrote: > checking for gcc... gcc > checking whether the C compiler works... no > configure: error: in `/usr/src/openssh-6.0p1-2/build': > configure: error: C compiler cannot create executables > See `config.log' for more details > *** ERROR: configure

Re: sshd crashing

2012-07-31 Thread Corinna Vinschen
On Jul 30 17:49, Aleš wrote: > > Hello, > > I can confirm the issue. It's occurring after upgrade to 1.7.16 and seems to > be limited to VMWare guests in my case. Any write attempt within the /etc > directory causes sshd to crash. Other directories are fine. > > uname -a before upgrade (sshd doe

Re: sshd crashing

2012-07-30 Thread Aleš
Hello, I can confirm the issue. It's occurring after upgrade to 1.7.16 and seems to be limited to VMWare guests in my case. Any write attempt within the /etc directory causes sshd to crash. Other directories are fine. uname -a before upgrade (sshd doens't crash): CYGWIN_NT-6.0-WOW64 dbs6 1.7.15(

Re: sshd crashing

2012-07-30 Thread Pawel Jasinski
hi, I have already tried. So my first step is to recompile sshd without any changes (adding debug etc.) As far as I can tell from documentation, sshd is type 3, covered by cygport tool. So I did: $ cygport /usr/src/openssh-6.0p1-2.cygport prep >>> Preparing openssh-6.0p1-2 *** Info: gnupg must be

Re: sshd crashing

2012-07-30 Thread Ryan Johnson
On 27/07/2012 10:18 PM, Christopher Faylor wrote: On Sat, Jul 28, 2012 at 01:04:47AM +0200, Pawel Jasinski wrote: as I said I did rebaseall :-( In a mean time I also tried with CYGWIN=pipe_byte, no change At the moment of crash there is nothing new in the /var/log/sshd.log Oh boy. "CYGWIN=pipe

Re: sshd crashing

2012-07-30 Thread Larry Hall (Cygwin)
On 7/28/2012 5:27 AM, Pawel Jasinski wrote: I also tried to core dump with: /usr/bin/cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a "-D" -y tcpip -u cyg_server -w xx -e CYGWIN="error_start=dumper -d %1 %2" The file is there (/sshd.exe.core), but again gdb doesn't show any encour

Re: sshd crashing

2012-07-28 Thread Pawel Jasinski
hi, So I did the core dump homework ... I can find the sshd.exe.stacktrace in / It is not encouraging: Exception: STATUS_ACCESS_VIOLATION at eip= eax= ebx= ecx=0022D000 edx=0004 esi= edi=0022A280 ebp=010C esp=0022A230 program=C:\cygwin\usr\sbin\sshd.exe, pi

Re: sshd crashing

2012-07-27 Thread Christopher Faylor
On Sat, Jul 28, 2012 at 01:04:47AM +0200, Pawel Jasinski wrote: >as I said I did rebaseall :-( >In a mean time I also tried with CYGWIN=pipe_byte, no change >At the moment of crash there is nothing new in the /var/log/sshd.log Oh boy. "CYGWIN=pipe_byte" will now become the voodoo fix for the mass

Re: sshd crashing

2012-07-27 Thread Pawel Jasinski
as I said I did rebaseall :-( In a mean time I also tried with CYGWIN=pipe_byte, no change At the moment of crash there is nothing new in the /var/log/sshd.log --pawel On Sat, Jul 28, 2012 at 12:52 AM, Reini Urban wrote: > On Fri, Jul 27, 2012 at 4:44 PM, Pawel Jasinski wrote: >> I have a fresh

Re: sshd crashing

2012-07-27 Thread Reini Urban
On Fri, Jul 27, 2012 at 4:44 PM, Pawel Jasinski wrote: > I have a fresh installation of cygwin on xp and win7 (both run 1.17.16-1). > I have run ssh-host-config followed by rebaseall. The CYGWIN variable > for sshd is not set. > I have tried with and without priv. separation. > It is started with c