delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/07/02/06:36:47

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 562AalFC3770826
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 562AalFC3770826
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=kF1DNhBv
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 47F55385DDC0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1751452606;
bh=lTmePmSy7w3tTJQzzCX+xpBckD2hiDWVl59fC0txOuk=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=kF1DNhBvU1Y0zPDlETrbvYG6dkAZ9V88FB9hU1XOABSjEfG/qRT6GtmMVJlbKKfwu
OOuu9cs5CSuSKz3NmVjLxJb5stDWdk45tNZANPq8dVKpNzFC+rufQB0tm5bsGvhkPg
mwWpPhSUH/6XNf+lv0fPvje65Q53H2wGvKkI7pW0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B05A13853834
Date: Wed, 2 Jul 2025 12:35:45 +0200
To: cygwin AT cygwin DOT com
Subject: Re: issues debugging crash in cygwin dll with gdb
Message-ID: <aGULgR1RsU2g57Go@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <7a97c9a4-43bd-37ef-bde2-5f8e5abd29b4 AT jdrake DOT com>
MIME-Version: 1.0
In-Reply-To: <7a97c9a4-43bd-37ef-bde2-5f8e5abd29b4@jdrake.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On Jul  1 16:14, Jeremy Drake via Cygwin wrote:
> I had an issue in some code I was working on in Cygwin, which resulted in
> a segfault in the Cygwin dll.  It did not work out well though, the
> process exited with code 0.  Attempting to debug with gdb gave
> [Thread 25728.0x6e60 exited with code 3221225477]
> [Thread 25728.0x33c0 exited with code 3221225477]
> [Thread 25728.0x6b44 exited with code 3221225477]
> [Thread 25728.0x5508 exited with code 3221225477]
> 
> Program terminated with signal SIGTRAP, Trace/breakpoint trap.
> The program no longer exists.
> 
> 
> The fact that it said SIGTRAP led me to think about the recent single step
> change.

Perhaps the singlestep code shouldn't run when under debugger control?


Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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