Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752473AbeAJFUW (ORCPT + 1 other); Wed, 10 Jan 2018 00:20:22 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:36007 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751579AbeAJFUU (ORCPT ); Wed, 10 Jan 2018 00:20:20 -0500 X-Google-Smtp-Source: ACJfBot2v/42u2ugGgaIvGMn+n42TfpjwXUet5R3hpWTfzGm0P20DbkiICGiaGY90CgO2/FgT68pdw== Date: Wed, 10 Jan 2018 08:20:17 +0300 From: Alexey Dobriyan To: gkohli@codeaurora.org Cc: linux-kernel@vger.kernel.org Subject: Re: Query: Crash is coming during /prod/PID/stat and do_exit of same task Message-ID: <20180110052017.GB2829@avx2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: > We are seeing crash in do_task_stat while accessing stack pointer, It > seems same task has already completed do_exit call. > So it seems a race between them: Please, post exact kernel version and struct task_struct::usage if you still have that kernel core (or even full task_struct)