X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <23fce8e60804011311n1d33e05cqc753018a1e7bd140@mail.gmail.com>
Date: Tue, 1 Apr 2008 21:11:13 +0100
From: "James Abley" <james.abley@gmail.com>
To: cygwin@cygwin.com
Subject: Re: lost SIGTERM signal handler and winpcap....
In-Reply-To: <BAY128-W61940D459BA2828752A6ED2F90@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <BAY128-W61940D459BA2828752A6ED2F90@phx.gbl>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On 28/03/2008, S A <sagarwal10@hotmail.com> 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?

Sorry I can't help with your main problem though.

James

[1] http://en.wikipedia.org/wiki/Heisenbug#Heisenbugs

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

