X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: 1.5.19-4: Problem to debug dll-mechanism on Cygwin
Date: Wed, 1 Feb 2006 12:26:38 -0000
Message-ID: <000e01c6272a$bfeb5ae0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <1138796080.43e0a6300684e@portal.unileoben.ac.at>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On 01 February 2006 12:15, vita@unileoben... wrote:

> Greetings!
> 
> I run into some strange problems while trying to debug a simple
> application in order to test dll-mechanism with Cygwin 1.5.19-4 on
> Windows 2000 Professional.  
> The whole minimalistic application, made of "a.cpp", "a.h" and
> "main.cpp", is attached and was compiled using "compile.sh" script. If I
> try to debug this program with gdb, I am running to some strange
> problems, however applications alone seems to work properly. I tested it
> under Linux and found no problems.    

> Program received signal SIGSEGV, Segmentation fault.
> 0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll

This looks just like
  http://www.cygwin.com/ml/cygwin/2006-01/msg00464.html

> Can somebody try it and tell me what I am doing wrong or what happens
> here? 

  The only thing you are doing wrong is not just ignoring the (handled) exception and continuing straight on!


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

