FS#65117 - [perf] Segmentation fault running 'perf report'

Attached to Project: Arch Linux
Opened by Kevin (fazjaxton) - Saturday, 11 January 2020, 21:01 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 02 November 2021, 17:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Trying to profile my program with perf. 'perf record ./myprog' generates perf.data. 'perf report perf.data' brings up a screen with just the header (no events listed). Pressing enter on this screen causes a segmentation fault:

perf: Segmentation fault
-------- backtrace --------
perf(+0x37fe24)[0x55854b61fe24]
/usr/lib/libc.so.6(+0x3bfaf)[0x7fc852fc7faf]
perf(+0x37d32e)[0x55854b61d32e]
perf(+0x37e2c8)[0x55854b61e2c8]
perf(+0x21ea7d)[0x55854b4bea7d]
perf(+0x288162)[0x55854b528162]
perf(+0x20332b)[0x55854b4a332b]
/usr/lib/libc.so.6(__libc_start_main+0xf2)[0x7fc852fb3152]
perf(+0x20358d)[0x55854b4a358d]


perf version 5.4.g219d54332a09
perf.data attached


Steps to reproduce:
$ perf report perf.data
then press enter
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Tuesday, 02 November 2021, 17:34 GMT
Reason for closing:  No response
Comment by Sébastien Luttringer (seblu) - Monday, 12 April 2021, 16:55 GMT
Is this still relevant with a recent version of perf?

Loading...