Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp6190772imd; Wed, 31 Oct 2018 08:08:00 -0700 (PDT) X-Google-Smtp-Source: AJdET5fVwicg5W9ZME1gTlWDz1xVnF2EL+nIqr+R1tNwFLVPIvxEMVc9zSAsonU7YRx9KUPKuCjX X-Received: by 2002:a62:2741:: with SMTP id n62-v6mr3878731pfn.138.1540998479877; Wed, 31 Oct 2018 08:07:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540998479; cv=none; d=google.com; s=arc-20160816; b=uaFSKj8VD/WInpdKFEkFO6HJ1Sngw2Kodp9UkXOItiBeuiu4pa1sGjR9NFH0rdH45x wuOxq9KPiWYJPkCsO2Cq3KpRYw0rRtJJyQh9KM/vWi5NCwRPPcojTBK5Z9a2c+mVvuei 98bnjZU2xTL7e80c8soueZ7jh/zCrcmhdmg1YGu3t+ZrEL4cY7nNa7ey9B7spmpacBjF hMHivaoMH9NNA6z8Garj3wAMu7Q35s6etE7o5JslktZlsBIvKloyq2Pazg3TFwsHCfnP TGvwi9++K3hE+8S44z28KCvwr33pBeIBt4jKwY6tBM/6cYEa+EahlGtQd8bSJA/hgTms uzDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=b4crfMsl3Wc2J4jxKAjIepRxTDy5s9OpjesFvpaqHOY=; b=wspUXJW/UnspD1qSgy+0NenmMDj9DpTD9oqla0z3driVj4pcXRUvDbfNpnmp4lS/VV p7EldswyOoEiXOTiM5L26KwWS1NYFpLofiIIQRLYTBifV1pbW8u+aPEXFtk1C73BtAhp sCP2Ga9QTPjKDwYglBNhaeKGHlekMlTy8HH2tKZ08Ek9A+dH+ndw01JZ+K1uJizfOwJ5 uE0DH2rUiQw5tokGHML9X6dsACdq0WK+5fJDEF9fSK9MmU9GSQee1VOUo/Qh0h0SBa95 X2a9dVcXJoSWLlcTMMjeXe4bCspNb+IhcVFvunVQlSdyXCpPZFz9oNjOTrFPElHZrT8m qZzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UETGPHMh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m17-v6si28840185pgj.155.2018.10.31.08.07.42; Wed, 31 Oct 2018 08:07:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UETGPHMh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729344AbeKAAEg (ORCPT + 99 others); Wed, 31 Oct 2018 20:04:36 -0400 Received: from mail-vs1-f66.google.com ([209.85.217.66]:42742 "EHLO mail-vs1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729315AbeKAAEf (ORCPT ); Wed, 31 Oct 2018 20:04:35 -0400 Received: by mail-vs1-f66.google.com with SMTP id e126so10189907vsc.9 for ; Wed, 31 Oct 2018 08:06:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b4crfMsl3Wc2J4jxKAjIepRxTDy5s9OpjesFvpaqHOY=; b=UETGPHMhKbXe4GowD+lrhsOxcw5tFA/a+jILfhjdCwRR+7I7fCEN0pkp+gwOKVDcN6 8bV9ifPmEfKAkTOoOTl5G329ll5PqnV7rD8g3SNSxUQk9sZEQco9ymfRQ7kwVmC/qirA 3YfRPavg1vsHSmaPOzOtu6Udc27uVTZuMz34c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b4crfMsl3Wc2J4jxKAjIepRxTDy5s9OpjesFvpaqHOY=; b=bdCj55cFDMp22U7iIOJuve2rA5E4gpvmIHZN9kU4gbr4ZtnifjLpahwIwASxrqeB4O 5bZ45eoXKFcJv7mbjAL99cvCeg3gSGCwofihrmfGglR+Gw9oRcKSMpyt5dcSJBRuUkEz aax/UF4SIcT6byf056By2SFaX3U/sZfVOPOhIkznx0Zt9gfViKX0PhMGQG4Km6+edG5e C/OHaaf7+kmPox5FP4i7/qMJM+I05UYzrZIyLSZopkrme++bFVr0/mLzB3GPJgpcpgX5 k10CtsJ2tRODUsb4h1ZsVLed6VXgPtUadIlqS7SOdP4/JGw1MFSAWhEJ9gEkKITg8jiC VLWQ== X-Gm-Message-State: AGRZ1gLbHczCnVagPfW+57KUFHgFVIuRsdhP6PwEXAVE52eMO/CsFeO8 8HfISDgrxyrKh4pcHtVPCjpcUEp2/AA= X-Received: by 2002:a67:7b83:: with SMTP id w125mr1436439vsc.5.1540998370683; Wed, 31 Oct 2018 08:06:10 -0700 (PDT) Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com. [209.85.222.52]) by smtp.gmail.com with ESMTPSA id k22-v6sm8011765vkk.29.2018.10.31.08.06.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 08:06:09 -0700 (PDT) Received: by mail-ua1-f52.google.com with SMTP id g10so6019077uak.5 for ; Wed, 31 Oct 2018 08:06:09 -0700 (PDT) X-Received: by 2002:a9f:3743:: with SMTP id a3mr1583335uae.86.1540998367995; Wed, 31 Oct 2018 08:06:07 -0700 (PDT) MIME-Version: 1.0 References: <20181030205334.148162-1-dianders@chromium.org> <20181031115910.5bqgtnzf2zujnp5b@holly.lan> In-Reply-To: <20181031115910.5bqgtnzf2zujnp5b@holly.lan> From: Doug Anderson Date: Wed, 31 Oct 2018 08:05:54 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kdb: Fix btc (backtrace on each cpu) crash To: Daniel Thompson Cc: Jason Wessel , me@tobin.cc, Joe Perches , stable@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Oct 31, 2018 at 4:59 AM Daniel Thompson wrote: > > On Tue, Oct 30, 2018 at 01:53:34PM -0700, Douglas Anderson wrote: > > Typing 'btc' on kdb doing all sorts of fail. Sometimes it would > > crash, sometimes display nothing, and sometimes hang. > > > > Bisect tracked this down to the commit ad67b74d2469 ("printk: hash > > addresses printed with %p"), suggesting an obvious fix. The pointer > > used internally in kdb shouldn't be hashed, so switch it to %px. > > > > Fixes: ad67b74d2469 ("printk: hash addresses printed with %p") > > Cc: stable@vger.kernel.org > > Signed-off-by: Douglas Anderson > > I think we've already got a fix for this: > https://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb.git/commit/?h=kgdb-next&id=a0ca72c2d1ac83d0853a23ffde8f3624648b1ee8 Ah ha. Nice! Sorry for not noticing this. The newest I tested was 4.19. -Doug