Re: post 3.5, phantom signals.

From: Dave Jones
Date: Wed Aug 01 2012 - 11:50:27 EST


On Wed, Aug 01, 2012 at 05:11:34PM +0200, Oleg Nesterov wrote:
> On 07/31, Dave Jones 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).
> >
> > And now, while waiting for a kernel to build I just saw..
> >
> > /bin/sh: line 1: 3274 Hangup gcc
>
> Currently I have no idea where this change could come from...
>
> Well, not sure this will help... but if you can reproduce this,
> may be you can identify the sender of the wrong SIGHUP at least.
>
> cd /sys/kernel/debug/tracing/
> echo "sig==1" >> events/signal/signal_generate/filter
> echo 1 >> options/stacktrace
> echo 1 >> events/signal/signal_generate/enable
> cat trace_pipe > SIGHUP_TRACE
>
> and then rebuild the kernel.

I'll give that a shot when I'm back on running kernel of the day.
Right now, I'm bisecting something that requires an hour or so of testing
between each step, so that's pretty much written off this week.

Dave

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