delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/28/12:01:10

X-Spam-Check-By: sourceware.org
Date: Sun, 28 May 2006 11:58:49 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin G++ bug? - Python Extension module #including <iostream> dies before initialization
Message-ID: <20060528155849.GC17542@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <44775331 DOT 4070809 AT ukf DOT net> <44786EAA DOT 9020002 AT kleckner DOT net> <44787848 DOT 1BD5F4CF AT dessent DOT net> <447886F9 DOT 7000806 AT kleckner DOT net> <4479C643 DOT 5020908 AT kleckner DOT net>
Mime-Version: 1.0
In-Reply-To: <4479C643.5020908@kleckner.net>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sun, May 28, 2006 at 08:48:19AM -0700, Jim Kleckner wrote:
>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.

I think the majority of the thanks should go to Gary Zablackis for
tracking down the problem and offering a preliminary patch.

Of course, it also helps that I just figured out how to easily look at
the exception handling table in gdb.

"info w32 selector" is your friend...

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019