delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/20/08:56:57

X-Spam-Check-By: sourceware.org
Date: Mon, 20 Mar 2006 08:56:44 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: signal is not delivered to the handler
Message-ID: <20060320135644.GD24528@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BAY102-F1419989AED32B053AE39DABD0E0 AT phx DOT gbl> <20060206050928 DOT GA15260 AT trixie DOT casa DOT cgf DOT cx> <441E135B DOT 8020900 AT infodev DOT ca>
Mime-Version: 1.0
In-Reply-To: <441E135B.8020900@infodev.ca>
User-Agent: Mutt/1.5.11
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 Sun, Mar 19, 2006 at 09:28:43PM -0500, D.Pageau wrote:
>I have an issue with lrzsz-0.12.20.tar.gz compiled on cygwin 1.5.19-4
>where lrx never timeout when xmodem error occured (hangs forever).
>
>It look related to what Michael as reported.  I have compiled test.c
>from Michael:  Same result where second signal is not delivered.  So I
>have checkout cygwin from cvs and build cygwin1.dll 1.5.20(0.155/4/2)
>wich solved Michael issue but infortunatly lrzsz still hangs.
>
>It look like read() should exit on SIGALRM but it's not the case.
>
>zreadline.c
>(...)
>
> signal(SIGALRM, zreadline_alarm_handler);
> alarm(n);
>}
>else if (Verbose > 5)
> vstringf("Calling read: Readnum=%d ",readline_readnum);
>
>readline_ptr=readline_buffer;
>readline_left=read(readline_fd, readline_ptr, readline_readnum);
>
>(...)
>
>lrzsz available here:
>
>http://www.ohse.de/uwe/software/lrzsz.html

If you have a simple test case which illustrates the problem, we'll
certainly investigate.  Otherwise, I doubt that anyone is going to debug
lzrz for you.

cgf

--
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