linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf report: null ptr dereference in utils/env.c
@ 2016-10-18 16:13 Odzioba, Lukasz
  2016-10-18 22:04 ` Jiri Olsa
  0 siblings, 1 reply; 4+ messages in thread
From: Odzioba, Lukasz @ 2016-10-18 16:13 UTC (permalink / raw)
  To: linux-perf-users@vger.kernel.org; +Cc: jolsa@kernel.org

Hi,
Am I the only one getting segfaults in perf report (4.8-rc8/4.9rc-1)?
It happens simply when I try to exit it.

Program received signal SIGSEGV, Segmentation fault.
perf_env__exit (env=env@entry=0x1fc4d00) at util/env.c:25
(...)
(gdb) list
(...)

24              for (i = 0; i < env->nr_numa_nodes; i++)
25                      cpu_map__put(env->numa_nodes[i].map);
26              zfree(&env->numa_nodes);
 
 (gdb) print env->nr_numa_nodes
$1 = 2
 (gdb) print env->numa_nodes
$2 = (struct numa_node *) 0x0    

This line was introduced in the following patch:
https://patchwork.kernel.org/patch/9213995/

Thanks,
Lukas

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-19 15:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-18 16:13 perf report: null ptr dereference in utils/env.c Odzioba, Lukasz
2016-10-18 22:04 ` Jiri Olsa
2016-10-19  8:29   ` Odzioba, Lukasz
2016-10-19  9:11     ` Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).