X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5BFEF3858D33
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1673858127;
	bh=Pe1xFZlpRIOyL2+uJqwygVSC6cuUYZqG8Lxmo8OtczA=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=JKBRzJXe++XqCbJTR+Sn08wej7eM1plC262akF2gIn+UknpffSYyqxi8MWXFufbHL
	 TkrlGoz8GscGdBV8HQ1b1aExlpl9ia8dB1tc2AHRXJ1KHzLscYkDabWKiVcqRFVnFC
	 +WOMOhQ6KjWaoNTr2vlm41pJBKsDNU1veEY/GU3c=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7E2A33858D32
X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=63c50c3e
 a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17
 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=mDV3o1hIAAAA:8 a=F_9B600JxQUgHd76FTcA:9
 a=QEXdDO2ut3YA:10 a=buB1NfXUTBUA:10 a=dI9p-avQWAUA:10
 a=sRI3_1zDfAgwuvI8zelB:22 a=_FVE-zBwftR9WsbkzFJk:22
Message-ID: <3bdbc7af-32ed-5f9d-4a4a-86e7df48c06d@Shaw.ca>
Date: Mon, 16 Jan 2023 01:35:09 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.6.1
Subject: Re: Bash 1876 error occured
Content-Language: en-CA
To: cygwin@cygwin.com
References: <CAJ=1AHc6LeNOsrGbsmOjsC6mBTybkb_UdJ1R7D60xryfb4D7rw@mail.gmail.com>
Organization: Inglis
In-Reply-To: <CAJ=1AHc6LeNOsrGbsmOjsC6mBTybkb_UdJ1R7D60xryfb4D7rw@mail.gmail.com>
X-CMAE-Envelope: MS4xfKPc6w/iJl5CbEiM+8V/BnX3rWqZUvXb9Sp0VG7O2HEKlzHKki/Y2tgNgRPfONEmIKCvLINQh4BqppL+qfM7P49ZSJShOogXyhPbcKZPkKzog0Me47Ap
 UR0MUWUx/Wx4nm0K1xzzEIlhhYniOqozbu+X5m9fnMlstUp9fOcduUeol7V5l1baaM6xLUR+m8VbROzJ8B3t9sTxJDvBEJca2zo=
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, NICE_REPLY_A,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Brian Inglis <Brian.Inglis@Shaw.ca>, Nouman Shahid <nouman85736@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 30G8Zqkj008327

On 2023-01-15 14:24, Nouman Shahid via Cygwin wrote:
> Bash 1876 error occured

That's neither a command line or an actual error message that tells anyone 
anything about what your problem was, what command caused it, and what versions 
of bash, Cygwin, and Windows you are running.

Ideally, please follow the instructions for:
Problem reports:      https://cygwin.com/problems.html

Please at least show the actual command line and error messages, and bash, 
Cygwin, and Windows versions e.g.
```
$ command...
...output...
$ bash --version
GNU bash, version 4.4.12(3)-release (x86_64-unknown-cygwin)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ uname -srvmo
CYGWIN_NT-10.0-19044 3.5.0-0.107.g8bd56ec87345.x86_64 2023-01-14 17:27 UTC 
x86_64 Cygwin
$ cmd /c ver

Microsoft Windows [Version 10.0.19044.2364]
```

Sometimes it is useful to know more about linked DLLs:
```
$ cygcheck -v bash
Found: C:/.../cygwin64/bin/bash.exe
Found: C:/WINDOWS/system32/bash.exe
Warning: C:/.../cygwin64/bin/bash.exe hides C:/WINDOWS/system32/bash.exe
C:/.../cygwin64/bin/bash.exe - os=4.0 img=0.0 sys=5.2
   "bash.exe" v0.0 ts=2017-01-27 19:13
   C:/.../cygwin64/bin/cygwin1.dll - os=4.0 img=0.0 sys=5.2
     "cygwin1.dll" v0.0 ts=2023-01-14 17:32
     C:/WINDOWS/system32/KERNEL32.dll - os=10.0 img=10.0 sys=10.0
       "KERNEL32.dll" v0.0 ts=1986-01-06 08:58
       C:/WINDOWS/system32/ntdll.dll - os=10.0 img=10.0 sys=10.0
         "ntdll.dll" v0.0
       C:/WINDOWS/system32/KERNELBASE.dll - os=10.0 img=10.0 sys=10.0
         "KERNELBASE.dll" v0.0 ts=2018-08-22 12:46
         C:/WINDOWS/system32/ntdll.dll (already done)
     C:/WINDOWS/system32/ntdll.dll (already done)
   C:/.../cygwin64/bin/cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
     "cygiconv-2.dll" v0.0 ts=2022-05-23 12:22
     C:/.../cygwin64/bin/cygwin1.dll (already done)
     C:/WINDOWS/system32/KERNEL32.dll (already done)
   C:/.../cygwin64/bin/cygintl-8.dll - os=4.0 img=0.0 sys=5.2
     "cygintl-8.dll" v0.0 ts=2022-11-18 12:16
     C:/.../cygwin64/bin/cygwin1.dll (already done)
     C:/.../cygwin64/bin/cygiconv-2.dll (already done)
     C:/WINDOWS/system32/KERNEL32.dll (already done)
   C:/.../cygwin64/bin/cygreadline7.dll - os=4.0 img=0.0 sys=5.2
     "cygreadline7.dll" v0.0 ts=2022-10-08 05:37
     C:/.../cygwin64/bin/cygwin1.dll (already done)
     C:/.../cygwin64/bin/cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
       "cygncursesw-10.dll" v0.0 ts=2023-01-14 22:27
       C:/.../cygwin64/bin/cygwin1.dll (already done)
       C:/WINDOWS/system32/KERNEL32.dll (already done)
     C:/WINDOWS/system32/KERNEL32.dll (already done)
   C:/WINDOWS/system32/KERNEL32.dll (already done)
```

-- 
Take care. Thanks, Brian Inglis			Calgary, Alberta, Canada

La perfection est atteinte			Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter	not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer	but when there is no more to cut
			-- Antoine de Saint-Exupéry

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

