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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=ayGj+5eCbaNZLdwMFQb9QioYyMiBcJP5ArHZvHTuAH/dwUTqdIQ3c | |
YzJZXgO63vm18pgyucwcXvab9Wn2bCGoqfNssEOyyw8HTthnaw3Jd4+2G71pH4jM | |
PGwRhViEDhBQ4eVcvmEj5d+gxTZFg1nbnJzlDVFc+HkeCxSqZRMBVA= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=Nf64JW5uD7iBC063z08u7riZph4=; b=W9dCc+7qpuUxIurli2XgO6R5kwDN | |
4hVvyYsm1CuFjoRR0U+2uywiVRJzF1FN9F+76+l7D0Iwa4+CQ+KhTL6QAOoToKf0 | |
YlwpfZviiB8uh1FCs+0jK7uGjeuW8EflNGqPriWhHcdK3UIip6/ubOiDpf0PVZj/ | |
dN1w4TkgfuV+iJg= | |
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 |
X-Spam-SWARE-Status: | No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 |
X-Mail-Handler: | Dyn Standard SMTP by Dyn |
X-Report-Abuse-To: | abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) |
X-MHO-User: | U2FsdGVkX19xOFYLuDD59VFjkZdy1v0p |
Date: | Thu, 27 Jun 2013 13:46:04 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: gdb hangs when it calls tcsetpgrp. |
Message-ID: | <20130627174604.GC7709@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <kqhsru$s8k$1 AT ger DOT gmane DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <kqhsru$s8k$1@ger.gmane.org> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
On Fri, Jun 28, 2013 at 02:30:42AM +0900, jojelino wrote: >I was using gdb for debugging ffmpeg raising SIGFPE. but gdb hangs after >entering command among of s,n,si,ni. >gdb has same pgrp over pgrp of debuggee. when tcsetpgrp is called in >gdb, you already know it sends __SIGSETPGRP signal to suspended >debuggee. but the debugger already suspended all thread of debuggee >without distinguishing whether the victim thread is wait_sig or not. so >the suspend process doesn't wake up until debugger handles debug event. >which is the cause of hang. >Although it seems that cygwin developers have already aware of sort of >this issue according to fhandler_termios.cc:85, so, it would be good if >cygwin can defer sending signal that would block for sure. Yep. I've mentioned this issue here several times. You should use mintty for debugging. It does not have this problem. cgf -- 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 |