X-Recipient: archive-cygwin AT delorie DOT 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 AT multiplay DOT co DOT uk X-Envelope-From: killing AT multiplay DOT co DOT uk X-MDaemon-Deliver-To: cygwin AT cygwin DOT com Message-ID: <39B3B148DA514671BB2E1AE46946169C@multiplay.co.uk> From: "Steven Hartland" To: References: <4A5CCB8E DOT 3050105 AT gmail DOT com> <894CDBC00A124EF386FE3A334A73DFB8 AT multiplay DOT co DOT uk> <20090714185506 DOT GB12236 AT ednor DOT casa DOT cgf DOT cx> <20090714190436 DOT GO27613 AT calimero DOT vinschen DOT de> <20090714200631 DOT GP27613 AT calimero DOT vinschen DOT de> <20090714205617 DOT GA12534 AT ednor DOT casa DOT cgf DOT cx> <8541BCA91FF64580AA7A8065FBF9C938 AT multiplay DOT co DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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