DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 49EJf9n03531860
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=E40LfZUF
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6B703858C5F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1728934868;
	bh=ZYOa7f4/dEbbMNCYL+VKoB4cFvOOcWLhfmgx8MdqRSI=;
	h=Date:To:Cc:Subject:In-Reply-To:References:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 From:Reply-To:From;
	b=E40LfZUF8YpCPVAcArSlKEaDjyQ7BhiI/vd+iC/nVP99Vq8biMPXeshivW0aGOK2t
	 fAZnCAHp2xFGhER6pu0YzcIYzqhYA7jMwKbjou1Unx8H1lKbOZ3L59aWAGWV+JBB10
	 8foMs8FKHXTOx+59XpO2EZ+CVVUrjpwTh4h+kPwM=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 456FE3858C98
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 456FE3858C98
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728934843; cv=none;
 b=VJl7qFlugy3W7Gw6Dd8lqBzHbNf8RJqd4MQs2j5TO5j55uICybM6iSARu46dRU+zhJj7yqcfaD/Ps495pb69AxzpaQOV7ldUm+4o5CIRyUHqazi70OphxF4eEILT1jF/3LjzbI06KLudYa0JD8LOh5FPWJChM4griSBpk6Y1z08=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1728934843; c=relaxed/simple;
 bh=EbfhMoDrlmor7wAFNz1ReC5UuCKIHw10rp3wtK3+2Z8=;
 h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
 b=Ef5ZP/lWeCgRScOCaC5EtfMwULZycyFZ9Fdl0KwAzAkUp2mXN+kKKf0wEZW7fwahFIP2M0YH2ff+RKUorcSr/XLFrym86tuxyO4UwHnn2ikYAcgdShwi24KK0eLyQ4033D9e1a+SuS9MYxk5neyeSvnqRxpOEwzKiRXQGpkYwUo=
ARC-Authentication-Results: i=1; server2.sourceware.org
Date: Tue, 15 Oct 2024 04:40:37 +0900
To: jeff <jeff@jeffunit.com>
Cc: cygwin@cygwin.com
Subject: Re: fresh install, when I run a c++ program I made from a cygterm
 it logs out
Message-Id: <20241015044037.49cc26f49a4bcc8290b5c2aa@nifty.ne.jp>
In-Reply-To: <bba13fdb-2c6c-48ff-93e3-335a02efbe54@jeffunit.com>
References: <826d4141-c988-4445-b069-17d98deee944@jeffunit.com>
 <20241015042129.bb800cc5f1a7c5d74e78f887@nifty.ne.jp>
 <bba13fdb-2c6c-48ff-93e3-335a02efbe54@jeffunit.com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
 SPF_HELO_PASS, 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.30
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: Takashi Yano via Cygwin <cygwin@cygwin.com>
Reply-To: Takashi Yano <takashi.yano@nifty.ne.jp>
Content-Type: text/plain; charset="utf-8"
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 49EJf9n03531860

On Mon, 14 Oct 2024 12:31:37 -0700
jeff wrote:
> On 10/14/2024 12:21, Takashi Yano wrote:
> > On Mon, 14 Oct 2024 09:15:02 -0700
> > jeff wrote:
> >> I wrote a program called lines.cpp, which is line wc.
> >> It works fine when I run it from a windows terminal or windows command.
> >>
> >> When I run it from bash, on my u disk, it works fine:
> >>
> >> jdeifik@epyc-milan-64 /cygdrive/u
> >> $ lines john.conf
> >> c: 131785  w: 21581  l:  4505  LP p:  67  longest l: 292   john.conf
> >>
> >> When I run wc from my k disk it works.
> >> When I run lines from my k disk, it pauses, then logs out:
> >>
> >> jdeifik@epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run
> >> $ wc john.conf
> >>     4505  21585 131785 john.conf
> >>
> >> jdeifik@epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run
> >> $ lines john.conf
> >>
> >> jdeifik@epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run
> >> $
> >> logout
> >>
> >> I thought the behavior odd, so I removed cygwin, and I did a fresh
> >> install today.
> >> The problem still persists.
> >>
> >> I am including the source for lines.cpp, though not all the libraries
> >> needed to build it.
> >>
> >> Any ideas?
> > Please provide full reproducible test case as well as
> > steps to reproduce.
> >
> It is a bit too complicated to have a reproducible test case.
> It does seem very directory dependent.
> /cygdrive/k/pw-crack\fred_john\run\john.conf - when I run lines, it logs out
> /cygdrive/k/pw-crack\fred_john\john.conf - when I run lines, it works 
> successfully.

How can we compile the test case?
Your inhex.cpp cannot be compiled due to many errors, such as
missing local headers.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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

