From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965697AbeAJPW3 (ORCPT + 1 other); Wed, 10 Jan 2018 10:22:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40137 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965682AbeAJPWZ (ORCPT ); Wed, 10 Jan 2018 10:22:25 -0500 Date: Wed, 10 Jan 2018 16:21:49 +0100 From: Jiri Olsa To: =?utf-8?B?56a56Iif6ZSu?= Cc: Peter Zijlstra , mingo@redhat.com, Alexander Shishkin , Jiri Olsa , David Ahern , Namhyung Kim , Milian Wolff , Arnaldo Carvalho de Melo , Wind Yu , Adrian Hunter , Wang Nan , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, acme@redhat.com Subject: Re: Php-fpm will crash when perf runs with call graph option Message-ID: <20180110152149.GA6316@krava> References: <1514185003-17428-1-git-send-email-ufo19890607@gmail.com> <20171225213846.GA25478@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 10 Jan 2018 15:22:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, Dec 26, 2017 at 10:29:34AM +0800, 禹舟键 wrote: > Hi, Jirka > This issue happens always. The perf is running on the host machine and the > command line is as follow: > > $perf record -ag -F 100 > > But I do not find anything about race condition from the call stack in gdb. > The only thing I find is that some functions' rbp is really strange(0x1, > 0x31). > > There is a simple method to reproduce this issue. Just run a docker in a > server(OS : centos7.3), and run php-fpm(php-7.0.6) in the docker, then run > some shell scripts from another server to send data package to the php-fpm > in the docker. When perf runs on the server which contains the docker, the > php-fpm will crash in just several seconds. could you provide exact steps/commands for this? thanks, jirka