[minicom-Bugs][314618] SIGALRM is broken on some Linux systems. Workaround patch attached.
minicom-bugs at alioth.debian.org
minicom-bugs at alioth.debian.org
Sat Mar 1 12:54:07 UTC 2014
minicom-Bugs item #314618 was changed at 2014-03-01 13:54 by Adam Lackorzynski
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=100031&aid=314618&group_id=30018
>Status: Closed
Priority: 3
Submitted By: David Dominguez Bonini (ddoming73-guest)
Assigned to: Nobody (None)
Summary: SIGALRM is broken on some Linux systems. Workaround patch attached.
Category: None
Group: None
>Resolution: Fixed
Initial Comment:
This bug has been reproduced on Ubuntu 12.04.4 LTS and minicom 2.7
The problem is that when Minicom and/or runscript are called on such a system, the SIGALRM signal is on an undefined state. It is not actually blocked, but it cannot be used correctly (the signal handler is not called).
As a result, timeouts do not work on runscript (global and expect timeouts). Some other things that depend on SIGALRM may also be broken.
There is a simple solution. Just call sigrelse(SIGALRM) on program entry and the signal will start working correctly.
More info on the possible cause of this bug here:
http://www.vttoth.com/CMS/technical-notes/14-broken-sigalrm-on-linux
A patch for minicom and runscript is attached. This patch fixes the bug on affected systems and should harmless on all others. Please apply
----------------------------------------------------------------------
>Comment By: Adam Lackorzynski (al-guest)
Date: 2014-03-01 13:54
Message:
Thanks, committed.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=100031&aid=314618&group_id=30018
More information about the minicom-devel
mailing list