This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Question about executable startup failure
- From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" <cygwin at cygwin dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Thu, 14 Nov 2019 16:37:04 +0000
- Subject: Re: Question about executable startup failure
- 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
- 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-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==
- Ironport-sdr: brYyVB/mGhi6rJwWS+N5vjw5/T2chgXGXeUN2PhDDHlBoe11tn9+H58Kmtf15iLm3cw+15ym1W 6uAEEhBC1SRQ==
- Reply-to: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
> > 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