Re: [BUG] perf test 29 crashing

From: Jiri Olsa
Date: Thu Jun 30 2016 - 11:10:24 EST


On Wed, Jun 29, 2016 at 11:20:06AM +0900, Namhyung Kim wrote:

SNIP

> >
> > If this helps break the tie:
> >
> > dsa@kenny:~/kernel.git$ /tmp/perf/perf test 29
> > 29: Test cumulation of child hist entries : Ok
> >
> > dsa@kenny:~/kernel.git$ /tmp/perf/perf --version
> > perf version 4.7.rc5.g02184c
> >
> > But running on net-next kernel from a few days ago + 1 local patch:
> > dsa@kenny:~/kernel.git$ uname -r
> > 4.7.0-rc2-00862-g23854048c919
> >
> > (I do get a few other failures)
>
> Running latest acme/perf/core:
>
> $ perf test hist
> 15: Test matching and linking multiple hists : Ok
> 25: Test filtering hist entries : Ok
> 28: Test output sorting of hist entries : Ok
> 29: Test cumulation of child hist entries : Ok
> $ perf --version
> perf version 4.6.g6d9c67
>

hum.. I still see it:
(latest acme's perf/core)

[jolsa@krava perf]$ ./perf --version
perf version 4.7.rc5.ga059d59
[jolsa@krava perf]$ ./perf test hist
15: Test matching and linking multiple hists : Ok
25: Test filtering hist entries : Ok
28: Test output sorting of hist entries : Ok
29: Test cumulation of child hist entries : FAILED!

[jolsa@krava perf]$ ./perf test 29 -v
29: Test cumulation of child hist entries :
--- start ---
test child forked, pid 11925
perf: Segmentation fault
Obtained 11 stack frames.
./perf(sighandler_dump_stack+0x41) [0x4f57f1]
/lib64/libc.so.6(+0x34a50) [0x7f5e22695a50]
./perf() [0x47b2cc]
./perf(test__hists_cumulate+0x10c) [0x47c79c]
./perf() [0x4698b6]
./perf(cmd_test+0x5be) [0x469eae]
./perf() [0x487561]
./perf(main+0x6f6) [0x424cb6]
/lib64/libc.so.6(__libc_start_main+0xf0) [0x7f5e22681700]
./perf(_start+0x29) [0x424da9]
[(nil)]
test child interrupted
---- end ----
Test cumulation of child hist entries: FAILED!


hate to be the only one with this.. now I need to dive in ;-)

jirka