Re: post 3.5, phantom signals.

From: Linus Torvalds
Date: Tue Jul 31 2012 - 16:10:39 EST


On Tue, Jul 31, 2012 at 12:17 PM, Dave Jones <davej@xxxxxxxxxx> wrote:
> Since 3.5, I've started noticing weird things happening with signal delivery.
> Things I've seen so far..
>
> - long running tasks SIGINT, even though I wasn't even anywhere near the keyboard.
> - processes running inside screen/tmux disappearing (and taking the whole session with them).

I can't even *begin* to guess how something like that could happen due
to kernel issues.

The signals you see are TTY signals, but SIGINT/HUP really don't make
sense as a tty layer bug either. If it was *just* SIGHUP I'd think it
was some tty refcounting issue, but with different signals that sounds
very very unlikely.

Quite frankly, from those symptoms I'd suspect the terminal program
being confused over a kernel issue. Of course, it could be a kernel
change that in turn confuses a terminal program.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/