bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13535: timeout command not working when SIGALRM blocked


From: Stephan Krempel
Subject: bug#13535: timeout command not working when SIGALRM blocked
Date: Wed, 23 Jan 2013 18:44:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

Hi there,

If the calling process has SIGALRM blocked, timeout simply never times out.

Find attached a small program to demonstrate the problem and a patch to
fix it by unblocking the necessary signal (at least on x86/linux).

If this is intended behavior, I would suggest to document it explicitly
to prevent people from tapping into the same pitfall that I hit.

Greetings
Stephan

Attachment: blocksigalrm.pl
Description: Perl program

Attachment: unblock_sigalrm.patch
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]