This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [patch] recognise when an exec()d process terminates due to unhandled exception
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 13 Mar 2008 19:56:40 -0600
- Subject: Re: [patch] recognise when an exec()d process terminates due to unhandled exception
- References: <47D9D8D3.17BC1E3B@dessent.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Brian Dessent on 3/13/2008 7:45 PM:
| Anyway, the attached patch fixes all that by adding logic to let the
| actual NTSTATUS logic percolate up to the waiting parent, so that it can
| recognise these kinds of common(ish) faults and print a friendly message
| -- or at least something other than silently dieing with no output.
Cool! However, I haven't looked at the patch itself, yet.
| $ ./dll_not_found
| dll_not_found.exe: one or more DLLs that this program requires cannot be
| located by the system. Make sure the PATH is correct and re-run the
| setup program to install any packages indicated as necessary to satisfy
| library dependencies.
| Killed
Should we also mention 'cygcheck ./dll_not_found' to find out which ones
are missing?
|
| $ ./missing_import
| missing_import.exe: an entry point for one of more symbols could not be
| found during program initialization. Usually this means an incorrect
| or out of date version of one or more DLLs is being erroniously found
| on the PATH.
| Killed
s/erroniously/erroneously/
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkfZ21gACgkQ84KuGfSFAYCjQwCfdmAdES3oXUTF0rf9eMFCvDBJ
SbIAn1xfTEwKHZDUAloRo4VdvEt99xWJ
=W9DL
-----END PGP SIGNATURE-----