From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753336AbdBUXRb (ORCPT ); Tue, 21 Feb 2017 18:17:31 -0500 Received: from terminus.zytor.com ([65.50.211.136]:40268 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752873AbdBUXRZ (ORCPT ); Tue, 21 Feb 2017 18:17:25 -0500 Subject: Re: v4.10: kernel stack frame pointer .. has bad value (null) To: Josh Poimboeuf , Pavel Machek References: <20170221221418.GA6918@amd> <20170221231216.y56gb62vkn5ewgea@treble> Cc: kernel list , mingo@kernel.org, luto@kernel.org, bp@alien8.de, brgerst@gmail.com, dvlasenk@redhat.com, torvalds@linux-foundation.org, peterz@infradead.org, tglx@linutronix.de From: "H. Peter Anvin" Message-ID: Date: Tue, 21 Feb 2017 15:15:36 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170221231216.y56gb62vkn5ewgea@treble> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/21/17 15:12, Josh Poimboeuf wrote: >> >> commit 24d86f59093b0bcb3756cdf47f2db10ff4e90dbb >> Author: Josh Poimboeuf >> Date: Thu Oct 27 08:10:58 2016 -0500 >> >> x86/unwind: Ensure stack grows down >> >> Add a sanity check to ensure the stack only grows down, and print >> a >> warning if the check fails. >> >> Any ideas? > > Hi Pavel, > > I don't think I've seen this one. Any chance this came after resuming > from a hibernation or suspend? > > >> [ 1.047295] [drm] Memory usable by graphics device = 2048M >> [ 1.047356] [drm] Replacing VGA console driver >> [ 1.048029] Console: switching to colour dummy device 80x25 >> [ 1.048348] WARNING: kernel stack frame pointer at f50cdf98 in >> swapper/2:0 has bad value (null) >> [ 1.048349] unwind stack type:0 next_sp: (null) mask:a graph_idx:0 >> [ 1.048352] f50cdebc: 00000000f50cdec4 (0xf50cdec4) ^^^^^^^^^^^^^^^^ FWIW, it would be really darned nice to not have all those zeroes in a 32-bit stack frame dump. Is not a zero stack frame pointer value an end of stack token? -hpa