delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/05/27/05:02:11

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 24141382CBA6
Authentication-Results: sourceware.org;
dmarc=fail (p=none dis=none) header.from=nifty.ne.jp
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 24R8hSjq011937
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;
s=dec2015msa; t=1653641009;
bh=jwP73pK1w7X+Hibdkh0rsvUpSz1jvNOJxZ3g3U53Eec=;
h=Date:From:To:Subject:In-Reply-To:References:From;
b=gHVn3OyGJWZbza0uXsRjhdfy8qUKoxSjSkp5MzexjFMg9wWtyGrfW71mNhlA64wSB
n865VvrJThpM5uFq5riez9/Pfux9q8ZY3dEZNJhcF+5U3dTkU/P1/LK8pj2cZg7Utj
huByMxbuN9gdEdGSvaoLp9Y/acH3bUcC9wI6b4w60CZ7Y11qVdJNTldlDub9qKoUSs
KNK6ffrDZu8SpffFmPQ/+ztBXM/eN6h5IYcM+J7FJz4vnMrNZtONAILw/i6VFOV8K4
6MMH2r9wyADruTjTs4k7K9k78+K25rBQ2FA4K9/69/vTNcyqOKhPcUnulwmzKeqIxD
DdjYn9rEwpkSA==
X-Nifty-SrcIP: [119.150.44.95]
Date: Fri, 27 May 2022 17:43:29 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: Unable to execute Cygwin application within UDF format
Message-Id: <20220527174329.648848d4fdd4800753b75b54@nifty.ne.jp>
In-Reply-To: <20220527133120.58530edd99f4a87c605b8a04@nifty.ne.jp>
References: <CANe7G9EE5Q9kd7FM=+ERhhB2zBxyNo1Tx7Rbuy=X4svaG2m0fw AT mail DOT gmail DOT com>
<20220527133120 DOT 58530edd99f4a87c605b8a04 AT nifty DOT ne DOT jp>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-5.6 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_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE 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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
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>
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>

On Fri, 27 May 2022 13:31:20 +0900
Takashi Yano wrote:
> On Fri, 27 May 2022 11:36:27 +0800
> Sam Lin wrote:
> > I will see the problem on WIN10 or WIN SERVER, the duplicate steps are as
> > follows:
> > 
> > 1. Write a simple code 'hello world'  program  and   compiled the
> > executable file using GCC.
> > 
> > //  hello.c
> > #include <stdio.h>
> > 
> > int main() {
> >     printf("Hello World\n");
> >     return 0;
> > }
> > 
> > $ gcc hello.c -o hello.exe
> > 
> > 2. Format the specified USB drive using command prompt.
> >   C:\> format <USB Drive Letter>: /fs:UDF /q
> > 
> > 3. Put the executable files hello.exe and cygwin1.dll into the UDF format
> > flash drive and execute.
> > We will find that the execution error occurs with cygwin v3.2.x and above.
> > 
> > F:\>hello.exe
> >       0 [main] hello (16224) F:\hello.exe: *** fatal error - add_item
> > ("\??", "/", ...) failed, errno 22
> > Stack trace:
> > Frame        Function    Args
> > 000FFFFCCE0  001800622EE (0018029F172, 0018027AE81, 00800000000,
> > 000FFFF8B40)
> > 000FFFFCCE0  0018004874A (00000000000, 000FFFFCCE0, 00180020010,
> > 000FFFFABD6)
> > 000FFFFCCE0  00180048782 (000FFFF9BD0, 00000000016, 00800000000,
> > 00000000001)
> > 000FFFFCCE0  001800E30BC (000FFFFCBD0, 000FFFFCDF0, 001800D7488,
> > 00000000000)
> > 000FFFFCCE0  00180133DC5 (001800D344A, 00000000000, 00000000000,
> > 00000000000)
> > 000FFFFCCE0  00180048DA5 (00000000000, 00000000000, 00000000000,
> > 00000000000)
> > 000FFFFFFF0  00180047856 (00000000000, 00000000000, 00000000000,
> > 00000000000)
> > 000FFFFFFF0  00180047904 (00000000000, 00000000000, 00000000000,
> > 00000000000)
> > End of stack trace
> > 
> > This error does not occur in v3.1.7.
> > Hope this will be resolved in the future.
> 
> This seems to happen if cygwin1.dll is placed in the root
> directly regardless of file system type.

I meant "root directory".

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT 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

- Raw text -


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