delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/10/14/15:32:07

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 49EJW6kA3528956
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=NcUPysvx
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 212D93858C5F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1728934326;
bh=hkfNxJm+gw1Xd30nsJ8BBD/2EZXyYqFtvaCcgK157ZU=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=NcUPysvxBD36/RAWvjiF32jd49UOlLVm7grIOe0L6d+uBUppJAZ2wMj0DI1J2o5+m
t2lEpNUbLTH1T3e1Ms5xjFoK0MFnwjE91v0RBfo5v3T6C5VfnP3jhrwnQNxJr+TyTs
A/tHLXMwcvZzsQPJXpW/BN76uyI/MzwSc/xBnfSc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2CDE03858C98
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2CDE03858C98
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728934303; cv=none;
b=MTWO4earcFnV8MXpMsQgwXMTMxKlTLdkSiTwQ5jey+VTzXSmGFHlSlNQe7jiQUSHOqA+ASU94rVmG3SQqPtNQHOviDQbs9l4u/1FlinGBuqWQGhP9CEUj+s/Z8hImW+5mo5EYdlG5oeMQWRiGfsUNpjMa7ZEYk0dMUglpH/Td6E=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1728934303; c=relaxed/simple;
bh=u+IcIo4j3ECYDWEgPujrg1NuhbKM0drUQ1XYVk1UDhQ=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=rLz3gCURr2wCu4uzCHSCFP0sK2/UzO6O0mhCJk76l7izo2adk/DM7zVEa2klK6r5IA7SP7yF9ZpQZPTLTk8icd8sySWcN1AfB6U6keCC2TnyB2C4qapiH7bnHYgSBNTQlpK4bbqfKhixNdnkbEEyCw+aGUrWii8Ukf6m+V+33fo=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1728934301; x=1729539101;
h=content-transfer-encoding:in-reply-to:autocrypt:from
:content-language:references:to:subject:user-agent:mime-version:date
:message-id:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=fxTp/YD6xpQOpH/Jl9yeOK4QDJ7zLujlEHxCz3JpdYg=;
b=YU08ttjESy9qE15weoP4dGISuA4aJ4mzPHcaHaczS9EFVpp7vhGPPGNpJ1ervz0oYC
Dz4mFpLJiYVCQ7iMtA6IskgCG3OyyebjORPfGrrLSdkMYEoSipVu+cRDsbMI24OBniF+
6WQ72fm5ZKb92Ya8oNHEFasU4S0Kq99Cd2JAMaIk6CIwvq/eyo9pOgM3L+mfrndAR9Xv
HQNetl8DAtrRYhCg+BIIFqFTQK+oA0qbqgnydPkdvQd8q53nQeNtZi4raFXsL6sH63RC
KvMzCRXQv/M/qpDgBcJYTh6FkBCWbJdJwqPO8RDjmh7dhCLRkrUKlJG0f0W9zWYA1IEQ
68qQ==
X-Forwarded-Encrypted: i=1;
AJvYcCUxm3F2pNlQbBtyaLfart5q0S4q1R5WKcn2vZniGQ4ATdb/JFHs4XG2+q2e300q2wpC1V7ta+M=@cygwin.com
X-Gm-Message-State: AOJu0YxII5Q00wx76CWPCpI6G0bvU7GuCYecwkoUpLC16A9VVeiyseNE
4h33sZPgbRK90PU8XIKWCoaU5F3roVucxdJft8csG6L91GFhPQtU13IAF28lS6U=
X-Google-Smtp-Source: AGHT+IH+tJGVPeeVcWrXzE4lgNaU0xHb5l6DmGmZVyPNY5Y+HIRNsr/9aOyBMd5562JW2RMHmTunyQ==
X-Received: by 2002:a05:6a21:2d84:b0:1d8:adea:6598 with SMTP id
adf61e73a8af0-1d8bcfaf61emr20603126637.38.1728934300921;
Mon, 14 Oct 2024 12:31:40 -0700 (PDT)
Message-ID: <bba13fdb-2c6c-48ff-93e3-335a02efbe54@jeffunit.com>
Date: Mon, 14 Oct 2024 12:31:37 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: fresh install, when I run a c++ program I made from a cygterm it
logs out
To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>, cygwin AT cygwin DOT com
References: <826d4141-c988-4445-b069-17d98deee944 AT jeffunit DOT com>
<20241015042129 DOT bb800cc5f1a7c5d74e78f887 AT nifty DOT ne DOT jp>
Autocrypt: addr=jeff AT jeffunit DOT com; keydata=
xsFNBFFKfi0BEACrMpYE2LikN1PK/gcaqARn7RYzGX6MNgwYwzkNJH9kO3EUp+zWlsiPkSJs
iojDBWuel1KySD1YPU1a3D4j5IsDlsuL1qAfU2pWszdR4m5wQtYNSMBTcWbAzeTuadcsuDsp
7NqjA+J2sbOJ5p1VUW+lsdqVaR3xYhAemyyFouqsCyvsbghkmp+/MHLUaFFGETyrDBYhzyrF
N2ZDUpsVsnSiMEWToC2TR6kdXnKOnTcNteyUR6QbpXopPj7oTrIqodetrqwH0Tx/zr4CvURG
g5XR7D5yGEbUEt4WIBBFNRD1yNdUYb1iqcpwZ2CD5AfG7Dh0/I3i5ECSmMDmFYyLh41IElvy
MELxK8DpMxCw42vcyPcAvWDr9F5AoMQTxj8SNa42WAHicp/vqa0d+OF7IYMBz0BrN2Ry3NzD
mmMMdSw+tY7eqjFUC9KEIbUlryIshZEMbAHfAmMUXVrxTYDf+48ZhBNbAuPcca5Sd/qhfSF2
8+KL7UY79/wZ0VCuuQbV4cjCj1wu97sVVwcXwV4hgdfa17TF476pc7ZjG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CCJP4cSXPJnkbr13sCsOwzj0A1NO71Qtzf5sst3d5h
QDnSPe9uLLlhuN0CsJtS77qpz7+tklLTamOl87bJXlIG6hFkYl+ihXlKz9z2nNgA/kf7nREY
lWKxc6dL37LdzkRF0TH1Ga/eNlYxbkPsBwA3zSudZOjNIntxyLgOgimxeBvSuseohZ6KxYUM
DbaOL/wbvdgYz5IAgBn84By+TXS5wUjNrr9m7kaZIIY2L413mUGjZgBrFhVS
In-Reply-To: <20241015042129.bb800cc5f1a7c5d74e78f887@nifty.ne.jp>
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=no 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 AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: jeff via Cygwin <cygwin AT cygwin DOT com>
Reply-To: jeff <jeff AT jeffunit DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 49EJW6kA3528956

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 AT 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 AT epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run
>> $ wc john.conf
>>     4505  21585 131785 john.conf
>>
>> jdeifik AT epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run
>> $ lines john.conf
>>
>> jdeifik AT 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.

jeff


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

- Raw text -


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