X-Spam-Check-By: sourceware.org From: "Dave Korn" To: 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 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/