delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/01/07:26:58

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT 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
In-Reply-To: <1138796080.43e0a6300684e@portal.unileoben.ac.at>
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 01 February 2006 12:15, vita AT 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/

- Raw text -


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