Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1406518

Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c

From Al Viro <viro@ZenIV.linux.org.uk>
Newsgroups linux.kernel
Subject Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c
Date 2016-05-25 01:50 +0200
Message-ID <rCuff-1yS-3@gated-at.bofh.it> (permalink)
References (3 earlier) <rCq1X-7jq-5@gated-at.bofh.it> <rCq1X-7jq-15@gated-at.bofh.it> <rCqbE-7np-27@gated-at.bofh.it> <rCqlk-7rJ-13@gated-at.bofh.it> <rCt9w-R2-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, May 24, 2016 at 05:31:51PM -0500, Matthew McClintock wrote:
> 
> > On May 24, 2016, at 2:36 PM, Larry Finger <Larry.Finger@lwfinger.net> wrote:
> > 
> > On 05/24/2016 02:25 PM, Matthew McClintock wrote:
> >> On May 24, 2016, at 2:16 PM, Larry Finger <Larry.Finger@lwfinger.net> wrote:
> >>> 
> >>> On 05/24/2016 02:13 PM, Matthew McClintock wrote:
> >>>> I’m seeing this too, same commit if you want another person to test/reproduce.
> >>> 
> >>> If you do a pull today, does that fix your problem?
> >> 
> >> Hmm, no. Which commit am I looking for? I’m on a56f489502e28caac56c8a0735549740f0ae0711
> > 
> > Commit 84787c572d402644dca4874aba73324d9f8e3948 is working for me. I have a fixup in lib/iov_iter.c with a dump_stack() call if the fixup was needed. That dump is not triggered. I do not seem to have a56f489502e yet.
> 
> Still seeing the issue on top of tree and the above commit. Re-ran bisection just to be sure.

Guys, the bug is real and definitely still there.
	char c;
	struct iovec v[2] = {{&c, 0}, {&c, 1}};
	readv(0, v, 2);
will trigger it just fine with stdin on e.g. tty.  It needs fixing and I'll
post a fix as soon as it gets through the local testing.  In the meanwhile,
I would like to know what in userland is doing that kind of call - kernel
certainly shouldn't end up in an infinite loop on that, but it's bloody odd
and I wonder what's going on in userland code to result in that call.

Again, I understand what's going on kernel-side; the only tricky part is how
to fix it without bringing the nasal daemons back.  I think I have a solution
and I'm going to post it tonight if it survives the local beating.  In any
case, the testcase above deserves being added to LTP - it's a real regression.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Regression in 4.6.0-git - bisected to commit dd254f5a382c Larry Finger <Larry.Finger@lwfinger.net> - 2016-05-23 23:40 +0200
  Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Al Viro <viro@ZenIV.linux.org.uk> - 2016-05-24 02:20 +0200
    Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Larry Finger <Larry.Finger@lwfinger.net> - 2016-05-24 05:00 +0200
    Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Larry Finger <Larry.Finger@lwfinger.net> - 2016-05-24 18:20 +0200
      Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Al Viro <viro@ZenIV.linux.org.uk> - 2016-05-24 18:30 +0200
        Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Larry Finger <Larry.Finger@lwfinger.net> - 2016-05-24 20:40 +0200
      Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Matthew McClintock <mmcclint@codeaurora.org> - 2016-05-24 21:20 +0200
        Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Larry Finger <Larry.Finger@lwfinger.net> - 2016-05-24 21:20 +0200
          Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Matthew McClintock <mmcclint@codeaurora.org> - 2016-05-24 21:30 +0200
            Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Larry Finger <Larry.Finger@lwfinger.net> - 2016-05-24 21:40 +0200
              Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Matthew McClintock <mmcclint@codeaurora.org> - 2016-05-25 00:40 +0200
                Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Al Viro <viro@ZenIV.linux.org.uk> - 2016-05-25 01:50 +0200
                Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Matthew McClintock <mmcclint@codeaurora.org> - 2016-05-25 03:00 +0200
                Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Al Viro <viro@ZenIV.linux.org.uk> - 2016-05-25 03:20 +0200
                Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Matthew McClintock <mmcclint@codeaurora.org> - 2016-05-25 03:30 +0200
                Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Al Viro <viro@ZenIV.linux.org.uk> - 2016-05-25 03:30 +0200
                Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Matthew McClintock <mmcclint@codeaurora.org> - 2016-05-25 04:10 +0200
                Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Al Viro <viro@ZenIV.linux.org.uk> - 2016-05-25 05:30 +0200
                Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Al Viro <viro@ZenIV.linux.org.uk> - 2016-05-25 08:30 +0200
                Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Larry Finger <Larry.Finger@lwfinger.net> - 2016-05-25 16:30 +0200
                Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Matthew McClintock <mmcclint@codeaurora.org> - 2016-05-25 17:30 +0200

csiph-web