X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Blake Subject: Re: perl threads on 2008 R2 64bit = crash ( was: perl 5.10 threads on 1.5.25 = instant crash ) Date: Fri, 17 Jul 2009 16:22:01 +0000 (UTC) Lines: 23 Message-ID: References: <4A5E3F1F DOT 9040103 AT gmail DOT com> <20090716161219 DOT GP27613 AT calimero DOT vinschen DOT de> <4A5F59A1 DOT 1060902 AT gmail DOT com> <20090716195552 DOT GU27613 AT calimero DOT vinschen DOT de> <20090716211823 DOT GC22617 AT ednor DOT casa DOT cgf DOT cx> <20090717085727 DOT GW27613 AT calimero DOT vinschen DOT de> <4A607EE5 DOT 5050306 AT gmail DOT com> <20090717134114 DOT GX27613 AT calimero DOT vinschen DOT de> <4A608954 DOT 4040301 AT gmail DOT com> <20090717152920 DOT GY27613 AT calimero DOT vinschen DOT de> <20090717154431 DOT GA31572 AT ednor DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) 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 Christopher Faylor cygwin.com> writes: > Right, and I don't know how you could make the claim that Cygwin apps > don't install SEH handlers. We can't possibly know how every Cygwin app > does this. Obviously there's at least one app out there which has > decided that it needs to use Windows-specific methods to accomplish a > goal. I'm not exactly thrilled to see code which has decided to dig > deep into Windows internals. That's what Cygwin is supposed to prevent. If cygwin were to provide a working sigaltstack, then libsigsegv would be able to use that instead of digging into Windows internals (because that's the interface that libsigsegv expects to be able to use on Linux). Until that point, at least all clients of libsigsegv are messing with Windows handlers; but at least libsigsegv is small and self-contained enough to track potential portability problems if cygwin makes changes in this area. On the other hand, even patching things to allow libsigsegv to use standardized interfaces won't help apps like perl if they are doing SEH manipulations without the use of libsigsegv. -- Eric Blake -- 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