delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/26/13:36:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=FzQCBTt8UZBULTQ3kDtfx5wFYW/2G
vKQGMx7At1q9akaHn81ilpSUMNd2xk9gikAIHn+hyLXy5qmR0rynvleBPbmMzErT
LsBuiBGzOcRoDbspuKwQ921Chk+WP+bU30JJctpoigJvxuwffeLAacfB4LgeYSdF
8Qxr5yo5YhvCFY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=8ft5/Qe8lEO82UcT7z6oeN0H3T0=; b=sz2
sCOfaiWraWwc71ho4/VtZ2mFbj1i8GZYHbn0XPjqtLJMxTRtNTXYrmHUPyUDxPpM
sCxeydw145sJ3TKXWgazB5eu6tL6GtoC8npEbeQ1eFhTaDGn6jqcMen+ty2mAVi+
qKmRs1tacWKHAH9iFelenxhv8155ir6fQFS/0FWA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-la0-f43.google.com
MIME-Version: 1.0
X-Received: by 10.112.235.229 with SMTP id up5mr649932lbc.62.1395855324466; Wed, 26 Mar 2014 10:35:24 -0700 (PDT)
Date: Wed, 26 Mar 2014 13:35:24 -0400
Message-ID: <CAFjYYd5XG2JxcXeGsZH-0WEeBgctap9hc5NO0JENB2DqNaeuoA@mail.gmail.com>
Subject: launching sh/bash from windows console (cmd) results in application Segmentation Faults
From: Scott Mitchell <scott DOT kevin DOT mitchell AT gmail DOT com>
To: cygwin AT cygwin DOT com

==Problem==
When launching cygwin bash shell from windows command prompt (cmd)
then applications run by bash very frequently crash with Segmentation
Faults.  When this occurs applications that are launched by the shell
are not cleaned up after the shell session terminates (for example
ssh-agents and ssh processes remain and must be killed in task
manager).  This is also a problem when using cygwin from other shell
environments such as console2 and conemu.

==Environment==
Windows 7 SP1 x64.

Cygwin Version:
CYGWIN_NT-6.1 1.7.25(0.270/5/3) 2013-08-31 20:37 x86_64 Cygwin
-ssh-agent is present and run at startup

Bash version:
GNU bash, version 4.1.11(2)-release (x86_64-unknown-cygwin)

==Procedure==
1) Launch windows cmd
2) cd to cygwin bin dirctory
3) Execute "sh.exe --login -i" or "sh.exe --login" or "sh.exe -i"
4) Run "ps", "ls", "cat" processes 3 times each.
5) If segmentation faults are not observed run "ssh-add <key>" and
repeat step 4.

==Stack Dumps==
1)
Exception: STATUS_ACCESS_VIOLATION at rip=001800A6DDC
rax=0000000000030000 rbx=00000001802DF958 rcx=00000001802DF958
rdx=0000000001E20000 rsi=0000000000000001 rdi=0000000000000000
r8 =0000000000000008 r9 =0000000000000001 r10=0000000000230000
r11=0000000100411C89 r12=000000000022AA68 r13=0000000000000000
r14=000000000022AA70 r15=0000000000000000
rbp=000000000022AB20 rsp=000000000022A940
program=C:\cygwin64\bin\ls.exe, pid 5900, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame        Function    Args
0000022AB20  001800A6DDC (00000000000, 0000022AB20, 0000022AA68, 00000000000)
0000022AB20  00180134677 (003FEFC8180, 0000022AA70, 00000000001, 0000022AA68)
0000022AB20  001801130AB (0000022AA70, 00000000001, 0000022AA68, 0010040E770)
0000022AB20  00100000003 (00000000001, 0000022AA68, 0010040E770, 001802BD480)
0000022AB20  003FEFC8180 (0000022AA68, 0010040E770, 001802BD480, 0000022AA68)
0000022AB20  0000022AA70 (0010040E770, 001802BD480, 0000022AA68, 001802A6740)
0000022AB20  00000000001 (001802BD480, 0000022AA68, 001802A6740, 001802A6740)
0000022AB20  0000022AA68 (0000022AA68, 001802A6740, 001802A6740, 001802A6740)
0000022AB20  0010040E770 (001802A6740, 001802A6740, 001802A6740, 001801736C0)
0000022AB20  001802BD480 (001802A6740, 001802A6740, 001801736C0, 00000000001)
0000022AB20  0000022AA68 (001802A6740, 001801736C0, 00000000001, 00000000000)
0000022AB20  001802A6740 (001801736C0, 00000000001, 00000000000, 04900720019)
0000022AB20  001802A6740 (00000000001, 00000000000, 04900720019, 00180163CAA)
0000022AB20  001802A6740 (00000000000, 04900720019, 00180163CAA, 001802DD820)
0000022AB20  001801736C0 (04900720019, 00180163CAA, 001802DD820, 001802DEE08)
0000022AB20  00000000001 (04900720019, 00180163CAA, 001802DD820, 001802DEE08)
End of stack trace (more stack frames may be present)

2)
Exception: STATUS_ACCESS_VIOLATION at rip=0018007A5AB
rax=00000000003F0000 rbx=0000000000228F30 rcx=0000779666DA0000
rdx=0000001400000000 rsi=00000001802E3BD8 rdi=0000000000000004
r8 =0000000000228AC8 r9 =0000000000228D20 r10=0000000000000000
r11=0000000000000246 r12=0000000000000020 r13=0000000000000001
r14=0000000000000001 r15=0000000000000001
rbp=0000000000228D20 rsp=0000000000228C10
program=C:\cygwin64\bin\ssh-add.exe, pid 3900, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame        Function    Args
00000228D20  0018007A5AB (0010041F160, 000002294E0, 00000000000, 000002294B0)
00000228D20  001801341DA (00000000000, 00000000400, 00000000000, 00000228DEF)
0010041F160  001801130AB (00000000400, 00000000000, 00000228DEF, 0000022942F)
0010041F160  00000471900 (00000000400, 00000000000, 00000228DEF, 0000022942F)
End of stack trace

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019