This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: lost SIGTERM signal handler and winpcap....

James Abley wrote:
On 28/03/2008, S A wrote:
Here's the really strange part:

 if I do an strace on my application, then my signal handler
 gets invoked correctly!! Can't explain this.

c.f. Heisenbug [1]. It's common enough, but very annoying. Gives you another avenue to explore though. What does strace do to the environment that causes the problem to disappear?

That's simple. strace is a Windows app, not a Cygwin app. So it doesn't have the Cygwin signal semantics.

You'll probably get a better feel for the differences here if you take a
look at the Cygwin doc:


Gritty details can be found in 'how-signals-work.txt' the 'cygwin'
source directory.

-- Larry Hall RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746


A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]