X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-498853.9 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-MDAV-Processed: mail1.multiplay.co.uk, Wed, 15 Jul 2009 22:28:04 +0100
X-Spam-Processed: mail1.multiplay.co.uk, Wed, 15 Jul 2009 22:28:03 +0100 	(not processed: message from trusted or authenticated source)
X-MDRemoteIP: 188.220.16.97
X-Return-Path: prvs=144737c3d0=killing@multiplay.co.uk
X-Envelope-From: killing@multiplay.co.uk
X-MDaemon-Deliver-To: cygwin@cygwin.com
Message-ID: <3A7ECF6AFCAC428BB48BDA89F116401E@multiplay.co.uk>
From: "Steven Hartland" <killing@multiplay.co.uk>
To: "Dave Korn" <dave.korn.cygwin@googlemail.com>, <cygwin@cygwin.com>
References: <8541BCA91FF64580AA7A8065FBF9C938@multiplay.co.uk> <39B3B148DA514671BB2E1AE46946169C@multiplay.co.uk> <20090715000331.GA5635@ednor.casa.cgf.cx> <6D01817BC10A4430AFE7A590CC935C09@multiplay.co.uk> <20090715152139.GA694@calimero.vinschen.de> <4A5DFDDF.2000904@gmail.com> <20090715162243.GL14502@ednor.casa.cgf.cx> <4A5E0AB1.9020201@gmail.com> <20090715185636.GA16211@ednor.casa.cgf.cx> <4A5E2ED6.3070502@gmail.com> <20090715194539.GZ27613@calimero.vinschen.de> <4A5E3F1F.9040103@gmail.com>
Subject: Re: perl threads on 2008 R2 64bit = crash ( was: perl 5.10 threads  	on 1.5.25 = instant crash )
Date: Wed, 15 Jul 2009 22:28:00 +0100
MIME-Version: 1.0
Content-Type: text/plain; 	format=flowed; 	charset="iso-8859-1"; 	reply-type=original
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
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


----- Original Message ----- 
From: "Dave Korn" 
> (gdb) b 113 if ((*object) == 0)
> No symbol "object" in current context.
> (gdb)
> 
>  Ah, that's bad.  It might work on a DLL compiled with -O0 -g, but here we
> have a problem that the function gets inlined everywhere it's called.  So
> instead I set an unconditional breakpoint there and let it run until I hit it:

From my experience last night you should be able to use something like:-
b 113 if ( 0 == (**(verifyable_object **)objectptr)

If not here at least it hits that break ~ 280 times before blowing up so
setting a conditional on that occurrence should help.

Unfortunately I'm currently testing a none threaded compile on the machine
so cant check myself just now.


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

