X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-499053.1 required=5.0 	tests=AWL,BAYES_00,WEIRD_PORT
X-Spam-Check-By: sourceware.org
X-MDAV-Processed: mail1.multiplay.co.uk, Wed, 15 Jul 2009 00:36:58 +0100
X-Spam-Processed: mail1.multiplay.co.uk, Wed, 15 Jul 2009 00:36:57 +0100 	(not processed: message from trusted or authenticated source)
X-MDRemoteIP: 188.220.16.97
X-Return-Path: prvs=1446091326=killing@multiplay.co.uk
X-Envelope-From: killing@multiplay.co.uk
X-MDaemon-Deliver-To: cygwin@cygwin.com
Message-ID: <39B3B148DA514671BB2E1AE46946169C@multiplay.co.uk>
From: "Steven Hartland" <killing@multiplay.co.uk>
To: <cygwin@cygwin.com>
References: <DAFA8ADC28014B82920B6D6AB81A1633@multiplay.co.uk>  <4A5CCB8E.3050105@gmail.com>  <894CDBC00A124EF386FE3A334A73DFB8@multiplay.co.uk>  <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>
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 00:36:56 +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

This may or may not help:

According to VC++ debugger it always dies with:
Unhandled exception at 0x610d089d in perl.exe: 0xC0000005: Access violation reading location 0x00000004.

According to gdb 0x610d089d = thread.cc:113

So running it through gdb it hits this break point ~ 280 times before it exits:


[gdb]
Breakpoint 1, pthread_setspecific (key=0x19e9e88, value=0x19e9768)
    at /netrel/src/cygwin-snapshot-20090711-1/winsup/cygwin/thread.cc:113
113       if ((*object)->magic != magic)
(gdb)
307       ~myfault () __attribute__ ((always_inline)) { _my_tls.reset_fault (sebastian); }
(gdb)
285         andreas._myfault = old_j._myfault;
(gdb)
307       ~myfault () __attribute__ ((always_inline)) { _my_tls.reset_fault (sebastian); }
(gdb)
285         andreas._myfault = old_j._myfault;
(gdb)
286         andreas._myfault_errno = old_j._myfault_errno;
(gdb)
209       int set (const void *value) {TlsSetValue (tls_index, (void *) value); return 0;}
(gdb)
2259    }
(gdb)
0x610b3108 in _sigbe () from /usr/bin/cygwin1.dll
(gdb)
Single stepping until exit from function _sigbe,
which has no line number information.
0x6ce32ea3 in XS_threads_create () from /usr/lib/perl5/5.10/i686-cygwin/auto/threads/threads.dll
(gdb)
Single stepping until exit from function XS_threads_create,
which has no line number information.

Program exited with code 030000000005.
[/gdb]


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

