From: Jiri Olsa <jolsa@redhat.com>
To: Stephane Eranian <eranian@google.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
"mingo@elte.hu" <mingo@elte.hu>,
Namhyung Kim <namhyung@kernel.org>,
Adrian Hunter <adrian.hunter@intel.com>
Subject: Re: [BUG] perf/script: segfault on simple command
Date: Thu, 6 Aug 2015 07:41:20 +0200 [thread overview]
Message-ID: <20150806054120.GA22038@krava.redhat.com> (raw)
In-Reply-To: <CABPqkBTur8JDh86ep-1Et0ygrS_1v5nqwi207sL6p1U9pcCcKQ@mail.gmail.com>
On Wed, Aug 05, 2015 at 03:40:32PM -0700, Stephane Eranian wrote:
> Hi Arnaldo, Jiri
>
> Running this simple command from tip.git tree, I get:
>
>
> $ perf record ls
>
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 0.011 MB perf.data (9 samples) ]
>
> $ perf script
> Segmentation fault (core dumped)
>
> $ gdb perf
> (gdb) r script
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x000000000050f98b in pevent_set_function_resolver (pevent=0x0,
> func=0x4b2f50 <machine__resolve_kernel_addr>, priv=0x180bf98) at
> event-parse.c:464
> 464 free(pevent->func_resolver);
> (gdb) bt
> #0 0x000000000050f98b in pevent_set_function_resolver (pevent=0x0,
> func=0x4b2f50 <machine__resolve_kernel_addr>, priv=0x180bf98) at
> event-parse.c:464
> #1 0x000000000043cf2a in cmd_script (argc=0, argv=0x7fffffffe320,
> prefix=<optimized out>) at builtin-script.c:1864
> #2 0x0000000000474025 in run_builtin (p=p@entry=0x77a810
> <commands+336>, argc=argc@entry=1, argv=argv@entry=0x7fffffffe320) at
> perf.c:370
> #3 0x000000000041cb50 in handle_internal_command
> (argv=0x7fffffffe320, argc=1) at perf.c:429
> #4 run_argv (argv=0x7fffffffe0a0, argcp=0x7fffffffe0ac) at perf.c:473
> #5 main (argc=1, argv=0x7fffffffe320) at perf.c:588
>
> Looks like something is fundamentally broken here.
> Do you know what?
hi,
yep, it should be already taken care of:
http://marc.info/?l=linux-kernel&m=143863009413104&w=2
jirka
next prev parent reply other threads:[~2015-08-06 5:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-05 22:40 [BUG] perf/script: segfault on simple command Stephane Eranian
2015-08-06 5:41 ` Jiri Olsa [this message]
2015-08-06 14:28 ` Arnaldo Carvalho de Melo
2015-08-06 14:38 ` Arnaldo Carvalho de Melo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150806054120.GA22038@krava.redhat.com \
--to=jolsa@redhat.com \
--cc=acme@redhat.com \
--cc=adrian.hunter@intel.com \
--cc=eranian@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox