X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 	tests=AWL,BAYES_00,HK_OBFDOM,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A5DFDDF.2000904@gmail.com>
Date: Wed, 15 Jul 2009 17:03:43 +0100
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: perl threads on 2008 R2 64bit = crash ( was: perl 5.10 threads  	on 1.5.25 = instant crash )
References: <20090714185506.GB12236@ednor.casa.cgf.cx> <20090714190436.GO27613@calimero.vinschen.de> <C795A3B019414FFC84425368B30B83F1@multiplay.co.uk> <20090714200631.GP27613@calimero.vinschen.de> <F24D5DF71BEC447DB0E080A0D6451ABB@multiplay.co.uk> <20090714205617.GA12534@ednor.casa.cgf.cx> <8541BCA91FF64580AA7A8065FBF9C938@multiplay.co.uk> <39B3B148DA514671BB2E1AE46946169C@multiplay.co.uk> <20090715000331.GA5635@ednor.casa.cgf.cx> <6D01817BC10A4430AFE7A590CC935C09@multiplay.co.uk> <20090715152139.GA694@calimero.vinschen.de>
In-Reply-To: <20090715152139.GA694@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Corinna Vinschen wrote:

> What happens is that this statement
> 
>   if ((*object)->magic != magic)
> 
> in the function thread.cc:verifyable_object_isvalid throws an exception
> because *object is NULL.  This should be covered by the myfault handler
> in this function but for some reason it isn't.

  So, set a "*object == 0" conditional breakpoint on that line and see what
the SEH chain looks like?

    cheers,
      DaveK


--
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

