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

2008-04-03 Thread Brian Dessent
S A wrote: > I'm using Winpcap 4.0.2 in a cygwin application for > local packet capture. > > My application registers a SIG_TERM signal handler. Unless you built winpcap as a Cygwin application, I don't think you should expect this to work. The winpcap as downloaded from their site is a native

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

2008-04-01 Thread Larry Hall (Cygwin)
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

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

2008-04-01 Thread James Abley
On 28/03/2008, S A <[EMAIL PROTECTED]> 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.

lost SIGTERM signal handler and winpcap....

2008-03-28 Thread S A
Hi (I've posted this question on the winpcap mailing list but didn't get a response - just thought I'd check here too) I'm using Winpcap 4.0.2 in a cygwin application for local packet capture. My application registers a SIG_TERM signal handler. But once i call pcap_next_ex(), my signal h