X-Recipient: archive-cygwin@delorie.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:from:reply-to:to:subject:date:message-id
	:content-type:content-transfer-encoding:mime-version; q=dns; s=
	default; b=TcST9/SCndUSQCANlbZ23xk8xFgVW6ARo6qSRnhYWSW3fK6EW3sVg
	s0uX8KwLJXiTGAgTSWgh32RIYRImER6vjN4I8g/G16ynnbwfpJYbDO9pOPo6/Gq4
	yKfeWRy/sm02LE5jfglDRZ38JSvAxoohFMk72CDLY5PtuuTUCjt2aw=
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:from:reply-to:to:subject:date:message-id
	:content-type:content-transfer-encoding:mime-version; s=default;
	 bh=0tN4O8zpMt98wTiWtJSdhh9Gc6U=; b=N0j2u7ajprqF56H0gAX5Su67VExu
	GwOw77svXOvIOXjt4+0XVE2fxUVHscEeYXSotgPDrw8IAu4LXQb8V67Pmw8Pdwez
	ugJv47PaPh9Hi1TIxJTvhXCYZbrDf9Xw/u5FiRzmkW8Da2/ZlhYO3hKh2+1H+ksy
	QgrLopTRCpfj85s=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=popup, HX-Languages-Length:790
X-HELO: nihcesxwayst06.hub.nih.gov
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;  d=nih.gov; i=@nih.gov; q=dns/txt; s=NIH; t=1573749429;  x=1605285429;  h=from:to:subject:date:message-id:   content-transfer-encoding:mime-version;  bh=Om2/dFZUqG/9ey+pNee5GZt5CoNF/tumiKq1/8711JE=;  b=B57ZM7164TvPE3Q2PW8g2LdwZm/jRA4nJWzoPwDohpNnOXVH/yA93kc+   tKBbUzZ8RZXhqDxJUFO8ujCmt1THqa0oF+UgXnSovPddlk5OZeWWQ6dxE   ul+NjLxJsM55KqEfWs9aTf2e5ned8i75SNjmaNfZhaF+PDq9DnaekkUoL   /BgM5R77MAD4VubW03kYil8wtb1RpMmJqbXz6rfTlJgjf14Jy8MZmMztV   MnP7O9vPMLWuSmQcgc+xq1Jutbk+D1+GLHHFWLHlPgW7r2VEJG98dE6yq   Cb93/qhJBIKvINfOVN5Do4RG2YVnch4lkKHH8AfKyOQIuWPrbrRpCq0a3   A==;
IronPort-SDR: brYyVB/mGhi6rJwWS+N5vjw5/T2chgXGXeUN2PhDDHlBoe11tn9+H58Kmtf15iLm3cw+15ym1W 6uAEEhBC1SRQ==
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J/QXxbGvQ7PXizeB7yZ8uItjuqK/uWa+QWesSsLpDemqvsAnoqM47rtdf++QUtbRKAk5UVHnkWk1xGIHbqr2wxQ8tlhFj4x7AeTfX9yvlKYUdvAktemP1Ucn4DT+5wRKRdr3/yQJ9ndwNxyMhhBSZXHLijVUJZ9MEctbjSZleOjlrI5v3o29CQsxLv327cW4fF+wmyxNxX53IiC1Mynkpf5+2RmUytiQi0d7A5ZpBUvXLZ08vgYZl2he3pOPxGZ+bWuymJTGb83aoEZ2ImTqTNfMnyqqFxDyLScdBGU84gEkNDXOZmqIkw2wZUS3gLvqlYiPfB9nSr+8NtbgxKZw7w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Om2/dFZUqG/9ey+pNee5GZt5CoNF/tumiKq1/8711JE=; b=E9QPm/UwLx0kHyiH4iGr6FXawIs7sohpDynrMil3r86HbHev6HL2sQ7E2a5QE9ignfxgPr19kgSypMRDXxOyf8vIrZfh4O+zz5Zs3TghaZR2qnI3IzNC1yFJbJ3N/uJYB7JNyUoRbUgIjoaXbNe3M398o4FrrjT/PDRTdLlhhdaAvnKb4xz0BgAdgZN9bChY4Fll2eIuIbt0RUDbP1XsSRjTUamA7SjHUwOtxBq6s1qtzD/o3Q6F1tbT0qwkwdQCwKy/gd7kK7i4/ujwyce8VwzbWSd6WCP316SatA761OP1iETRh5Ta4PVqiktHTYdrt23JbZlcoQM7abpZ9I6XyA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ncbi.nlm.nih.gov; dmarc=pass action=none header.from=ncbi.nlm.nih.gov; dkim=pass header.d=ncbi.nlm.nih.gov; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.onmicrosoft.com; s=selector2-nih-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Om2/dFZUqG/9ey+pNee5GZt5CoNF/tumiKq1/8711JE=; b=o7L6fMqq44scsxt7EPehqksacRmw9szfESL003IITNAxgSs4XcbLm/mdYDvN39z2d0XkWAnU59sYVIB8eQMIh1JaRyipWt+zpoGOdlpUhRxAdl3SVBREpeK3Bqz0V9SYa2xsAz5R0j1DdfFYagMHxsjqL1Gw2t9dGk/GxZ+wB6E=
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" <cygwin@cygwin.com>
Reply-To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>
To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: Re: Question about executable startup failure
Date: Thu, 14 Nov 2019 16:37:04 +0000
Message-ID: <MN2PR09MB39654358CBEF23CD3FBE987AA5710@MN2PR09MB3965.namprd09.prod.outlook.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=lavr@ncbi.nlm.nih.gov;
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: X87KXsjcYP/jv2R3HWn/ppkN6JB7FuWv9UeWoj0LiCtcIpr4Wfbg4q2JeOwhxjhl
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id xAEGbj2f000621

> > During startup program exited with code 0xc0000139.

> so Windows handles termination.

IMO if it did, the exit code wouldn't have been 127 but something with decimal equivalent of 0x139 (or the likes).

> P.S. I didn't get to know what exactly the entry point was missing that the 
> binary required (obviously from the newer Cygwin ABI).

Running under strace gets a Windows error popup "thebadexecutable.exe - Entry Point Not Found", that says inside:

---
The procedure entry point uname_x could not be located in the dynamic link library
C:\Cygwin64\home\user\thebadexecutable.exe
---

where thebadexecutable.exe in the above, is the executable being attempted to run.

In case of running it from the shell, nothing like that appears.

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


