delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:subject:reply-to:references:to:cc:from | |
:message-id:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=Bd0xVK3/hBKyzjyP | |
gkLjOy74vsj+8eoeGvIjy9CypEHFEDfbkyTDy3/Rzma2t0MwZb67BnrGzcVntPpj | |
2ZzhkEYcm22dhMtn4SJ6zI5G5eGAdEZYOwZC+9g4ZKEEJhYvximwvBWZD/2VbL9K | |
Ub9kPCOMExn5EX0tfzuw+suaNF0= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:subject:reply-to:references:to:cc:from | |
:message-id:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=hmAbqzYdyhLUS0n1iiqV/u | |
Lkhho=; b=nY1HNcEEtmAzOZpPMGEyu/RaUx5Gkl+5pQTpUOXRG7DLmj2jeePSst | |
kF09VvOQTycLh3EhxFC5I4EFJXLEx+lnkU+AsHIA5wGoWsDVVD2F3g7N0Kh6lM+6 | |
XGj5N88lQ/TibSRNJLqHAZoUNPhMtTmZjQyhWgbPkTPRbMXEronQ8= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 |
X-HELO: | out1-smtp.messagingengine.com |
Subject: | Re: Analyzing a SEG FAULT that gdb doesn't help with |
Reply-To: | cygwin AT cygwin DOT com |
References: | <CAOC2fq_fahjLapKbgO8Xer8neEjv1Ohs4bM3JOWcka0ajjcbCg AT mail DOT gmail DOT com> <55BA373A DOT 4020909 AT dronecode DOT org DOT uk> |
To: | cygwin AT cygwin DOT com |
Cc: | mike AT kmcardiff DOT com |
From: | Jon TURNEY <jon DOT turney AT dronecode DOT org DOT uk> |
Message-ID: | <55BB6F47.1000906@dronecode.org.uk> |
Date: | Fri, 31 Jul 2015 13:51:19 +0100 |
User-Agent: | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <55BA373A.4020909@dronecode.org.uk> |
On 30/07/2015 15:39, Jon TURNEY wrote: > On 30/07/2015 00:16, Michael Enright wrote: >> 1) Why is it not the case that gdb handles this SEGV in the usual >> manner? It too just allows the stackdump to be made and lets me know >> that the inferior has run its course. > > This shouldn't happen. Are you sure the crashing process is the direct > inferior of gdb, and not some wrapper process which runs it? > (uninstalled libtool generated binaries do this, for e.g.) Oh, I just remembered something :) I think you need to use the gdb command 'set cygwin-exceptions on' to tell gdb to break on exceptions inside the cygwin DLL (by default they are ignored, as they may be generated during normal operation when checking a pointer is valid) I shall have to see if I can find a place for these last couple of answers in the FAQ or documentation somewhere. It's rather too obscure at the moment. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |