linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: "Koehrer Mathias (ETAS/ESW5)" <mathias.koehrer@etas.com>,
	Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	"linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: Re: BUG: unable to handle kernel NULL pointer dereference on 3.18.13-rt10
Date: Mon, 13 Jul 2015 11:12:37 +0200	[thread overview]
Message-ID: <20150713091237.GA31747@linutronix.de> (raw)
In-Reply-To: <3c9ae4a1f9cb4ac3a96a28c3f65f9442@FE-MBX1012.de.bosch.com>

* Koehrer Mathias (ETAS/ESW5) | 2015-07-13 06:18:22 [+0000]:

>> if you managed to trigger it that reliably, could you revert
>> slub_delay_ctor_on_rt.patch in the queue and try again?
>> 
>Over the weekend I ran a test that rebooted the PC permanently.
>After about 400 reboots I got another NULL pointer dereference. 
>However the slub_delay_ctor_on_rt.patch has not been reverted yet.
>And: This looks somehow differently than the previous BUGs.
>
>
>[    3.299329] BUG: unable to handle kernel NULL pointer dereference at 0000008c
>[    3.299332] IP: [<c10df66c>] function_trace_call+0xc/0x190

This is 
| static void
| function_trace_call(unsigned long ip, unsigned long parent_ip,
|                     struct ftrace_ops *op, struct pt_regs *pt_regs)
| {
|         struct trace_array *tr = op->private;
|…
| 
|         if (unlikely(!tr->function_enabled))
|                 return;

and it looks like tr is null. BUG_ON(!tr) should prove this.
Steven, is it somehow possible that on module load we get "op" set
without its private member initialized?

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2015-07-13  9:12 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09 10:49 BUG: unable to handle kernel NULL pointer dereference on 3.18.13-rt10 Koehrer Mathias (ETAS/ESW5)
2015-07-09 14:11 ` Thomas Gleixner
2015-07-09 18:35   ` Josh Cartwright
2015-07-10 12:49   ` Koehrer Mathias (ETAS/ESW5)
2015-07-10 13:23     ` Sebastian Andrzej Siewior
2015-07-13  6:18       ` Koehrer Mathias (ETAS/ESW5)
2015-07-13  9:12         ` Sebastian Andrzej Siewior [this message]
2015-07-13 15:34           ` Steven Rostedt
2015-07-14  7:38             ` Koehrer Mathias (ETAS/ESW5)
2015-07-14 14:15               ` Steven Rostedt
2015-07-14 14:24                 ` Mathias Koehrer
2015-07-14 14:29                   ` Steven Rostedt
2015-07-14 14:33                     ` Koehrer Mathias (ETAS/ESW5)
2015-07-13  7:39       ` Koehrer Mathias (ETAS/ESW5)
2015-07-13  7:55         ` Sebastian Andrzej Siewior
2015-07-13  8:56           ` Koehrer Mathias (ETAS/ESW5)
2015-07-13  8:58             ` Sebastian Andrzej Siewior
2015-07-15  7:12               ` Mathias Koehrer
2015-07-20  7:38                 ` AW: " eg Engleder Gerhard
2015-07-20 14:56                   ` Sebastian Andrzej Siewior
2015-07-21  6:13                     ` AW: " eg Engleder Gerhard
2015-07-22  6:26                       ` Koehrer Mathias (ETAS/ESW5)
2015-07-22 13:26                         ` Steven Rostedt
2015-07-24 19:02                           ` Thomas Gleixner
2015-07-24 19:21                             ` Steven Rostedt
2015-07-24 20:21                               ` Gratian Crisan
2015-07-24 20:51                                 ` Steven Rostedt
2015-08-05  1:20                             ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150713091237.GA31747@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=mathias.koehrer@etas.com \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).