X-Spam-Check-By: sourceware.org
Message-ID: <4479C643.5020908@kleckner.net>
Date: Sun, 28 May 2006 08:48:19 -0700
From: Jim Kleckner <jek-cygwin1@kleckner.net>
User-Agent: Thunderbird 1.5 (Windows/20051230)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Cygwin G++ bug? - Python Extension module #including <iostream>      dies  before initialization
References: <44775331.4070809@ukf.net> <44786EAA.9020002@kleckner.net> <44787848.1BD5F4CF@dessent.net> <447886F9.7000806@kleckner.net>
In-Reply-To: <447886F9.7000806@kleckner.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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

Jim Kleckner wrote:
> Brian Dessent wrote:
>> As you can see, this all is contingent upon a program like GDB using the
>> Windows debug API.  Without that, the entire issue is irrelevant, so I
>> can't see how this possibly would apply to Python.
>>   
>
> Thanks for explaining how the Windows debug API is the one
> actually catching the exception rather than GDB directly
> changing how exceptions are caught.  This is useful.
>
> I will be surprised if there doesn't turn out to be some
> commonality between the pthread_mutex_init issue
> and something Python is doing either directly or
> via the use of dlopen().

Indeed, cgf is a magician and his patch in snapshot
*2006-05-27 appears to fix the signal handler issue
for Python.  As mentioned in his patch message,
this may fix the signal handler issues for many DLLs.

Many many thanks.

Jim
*

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

