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


Groups > linux.kernel > #1732452

Re: BUG: Sporadic crashes with current Linus tree

From Andy Lutomirski <luto@kernel.org>
Newsgroups linux.kernel
Subject Re: BUG: Sporadic crashes with current Linus tree
Date 2017-09-14 18:50 +0200
Message-ID <upFuV-7wa-5@gated-at.bofh.it> (permalink)
References <upwUG-25C-15@gated-at.bofh.it> <upEfw-6KR-19@gated-at.bofh.it> <upESf-7ea-49@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Sep 14, 2017 at 9:00 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
> On Thu, 14 Sep 2017, Andy Lutomirski wrote:
>> On Thu, Sep 14, 2017 at 12:38 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
>> > Hi!
>> >
>> > I've seen the following crash sporadically with commit 46c1e79fee:
>> >
>> > Have not seen that with 3882a734c19b, though I saw the PCID warnings on
>> > that machine.
>> >
>> > I have no idea how to reproduce so bisecting is pretty much pointless. Any
>> > idea what to do?
>>
>> Does tools/testing/selftests/x86/sigreturn_64 reproduce it?
>
> Will try tomorrow once I figured out how to compile that stuff. Invoking a
> simple make in that directory fails.

What's the error?  It works for me.

>
> Built it manually and when I run it tells: stack16 is too high
>
>> Ugh, weird.  It kind of looks like current->thread.sp0 == NULL.  I
>> have a patch series that changes a bunch of that code in my git tree,
>> but that's definitely not in Linus' tree.
>
> Right. The stupid thing is that the machine did not throw up all day
> neither idle nor loaded. Still the same kernel which barfed tonight several
> times.

This is weird.  The crashing process is rsyslogd, which should have
been running for a long time and shouldn't have any strange state.  I
wonder if this is some kind of memory corruption.  There would have to
be corruption of thread_struct *and* some kind of issue causing IRET
to fail, though.

The attached patch could plausibly give some useful hint.

>
> Thanks,
>
>         tglx
>
>
>
>

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


Thread

BUG: Sporadic crashes with current Linus tree Thomas Gleixner <tglx@linutronix.de> - 2017-09-14 09:40 +0200
  Re: BUG: Sporadic crashes with current Linus tree Andy Lutomirski <luto@kernel.org> - 2017-09-14 17:30 +0200
    Re: BUG: Sporadic crashes with current Linus tree Thomas Gleixner <tglx@linutronix.de> - 2017-09-14 18:10 +0200
      Re: BUG: Sporadic crashes with current Linus tree Andy Lutomirski <luto@kernel.org> - 2017-09-14 18:50 +0200
        Re: BUG: Sporadic crashes with current Linus tree Thomas Gleixner <tglx@linutronix.de> - 2017-09-15 09:10 +0200

csiph-web