Re: Php-fpm will crash when perf runs with call graph option

2018-01-10 Thread Jiri Olsa
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 on

Re: Php-fpm will crash when perf runs with call graph option

2017-12-25 Thread Jiri Olsa
On Mon, Dec 25, 2017 at 07:56:43AM +0100, ufo19890607 wrote: > From: yuzhoujian > > #0 0x7f044ff447bd in re_compile_fastmap_iter (bufp=0x7f044ff447bd > , > fastmap=0x46 , > init_state=, init_state=) at regcomp.c:407 > 407 if (__wcrtomb (buf, towlo

Re: Php-fpm will crash when perf runs with call graph option

2017-12-24 Thread Wangnan (F)
Have you tried updating your kernel to a recent version? On 2017/12/25 14:58, ufo19890607 wrote: From: yuzhoujian I use perf to analyze the performance overhead for the server. There are several dockers in the server. The php-fpm in the docker will crash as long as the perf collects samples f

Php-fpm will crash when perf runs with call graph option

2017-12-24 Thread ufo19890607
From: yuzhoujian I use perf to analyze the performance overhead for the server. There are several dockers in the server. The php-fpm in the docker will crash as long as the perf collects samples for all the cpus with call graph option(perf record -ag). Below is the stack trace in the coredump.

Php-fpm will crash when perf runs with call graph option

2017-12-24 Thread ufo19890607
From: yuzhoujian #0 0x7f044ff447bd in re_compile_fastmap_iter (bufp=0x7f044ff447bd , fastmap=0x46 , init_state=, init_state=) at regcomp.c:407 407 if (__wcrtomb (buf, towlower (cset->mbchars[i]), &state) (gdb) bt #0 0x7f0