mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* panic at rb_next when do pick_next_task_fair
@ 2016-11-08  9:52 蒋雄伟(蒋冲)
  2016-11-08 13:11 ` Peter Zijlstra
  0 siblings, 1 reply; 2+ messages in thread
From: 蒋雄伟(蒋冲) @ 2016-11-08  9:52 UTC (permalink / raw)
  To: mingo, peterz, linux-kernel

Hi,all

We encountered the following panic  in 2.6.32 and 3.10.0:

BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
IP: [] rb_next+0x1/0x50

Call Trace:
 ? pick_next_task_fair+0x129/0x1d0
  [] __schedule+0x12a/0x910
  [] schedule+0x29/0x70
  [] futex_wait_queue_me+0xc4/0x120
  [] futex_wait+0x179/0x280
  [] ? hrtimer_get_res+0x50/0x50
  [] ? futex_wait_queue_me+0xa2/0x120
  [] do_futex+0xfe/0x5b0
  [] ? blk_finish_plug+0x14/0x40
  [] ? SyS_madvise+0x3c5/0x820
  [] SyS_futex+0x80/0x180
  [] system_call_fastpath+0x16/0x1b


It seems that after passing the check "if (!cfs_rq->nr_running)" ,
__pick_first_entity sometimes still return NULL, then leads to panic. 

Would you please give any advise?
Thanks a lot.

Best regards.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: panic at rb_next when do pick_next_task_fair
  2016-11-08  9:52 panic at rb_next when do pick_next_task_fair 蒋雄伟(蒋冲)
@ 2016-11-08 13:11 ` Peter Zijlstra
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Zijlstra @ 2016-11-08 13:11 UTC (permalink / raw)
  To: 蒋雄伟(蒋冲); +Cc: mingo, linux-kernel

On Tue, Nov 08, 2016 at 05:52:03PM +0800, 蒋雄伟(蒋冲) wrote:
> Hi,all
> 
> We encountered the following panic  in 2.6.32 and 3.10.0:

Can you reproduce using anything recent? I've really no idea what any of
those kernels looked like. That's ancient software.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-08 13:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-08  9:52 panic at rb_next when do pick_next_task_fair 蒋雄伟(蒋冲)
2016-11-08 13:11 ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome