Bug 2076978
Summary: | 'perf top' segfaults | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dr. David Alan Gilbert <dgilbert> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 36 | CC: | acaringi, adscvr, airlied, alciregi, bskeggs, geraldo.simiao.kutz, hdegoede, hpa, jarodwilson, jglisse, jonathan, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, omosnace, ptalbert, rjones, rob, steved, ykaul |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | kernel-5.17.11-300.fc36 kernel-5.17.11-200.fc35 kernel-5.17.11-100.fc34 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-28 01:15:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dr. David Alan Gilbert
2022-04-20 10:56:03 UTC
I am able to reproduce this with the unusual combination of: perf-5.17.0-300.fc36.x86_64 running on kernel 5.14.0-0.rc4.20210804gitd5ad8ec3cfb5.36.fc35.x86_64 (I cannot reboot this machine because it's running large fuzzing jobs) Stack trace: #0 0x000055e11bb43895 in btf__load_from_kernel_by_id (id=37) at util/bpf-event.c:26 #1 0x00007fb25400bd8d in btf__get_from_id (id=<optimized out>, btf=btf@entry=0x7ffccb43c040) at btf.c:1411 #2 0x000055e11bb438a4 in btf__load_from_kernel_by_id (id=<optimized out>) at util/bpf-event.c:30 #3 0x00007fb25400bd8d in btf__get_from_id (id=<optimized out>, btf=btf@entry=0x7ffccb43c090) at btf.c:1411 #4 0x000055e11bb438a4 in btf__load_from_kernel_by_id (id=<optimized out>) at util/bpf-event.c:30 #5 0x00007fb25400bd8d in btf__get_from_id (id=<optimized out>, btf=btf@entry=0x7ffccb43c0e0) at btf.c:1411 #6 0x000055e11bb438a4 in btf__load_from_kernel_by_id (id=<optimized out>) at util/bpf-event.c:30 repeating for at least 200,000(!) frames before I killed gdb. I was able to reproduce (same back trace) the issue with the versions in Fedora 36 of perf and the kernel. Upgrading to the Rawhide versions resolve the issue: kernel-5.18.0-0.rc3.20220422gitd569e86915b7f2f.31.fc37.x86_64 perf-5.18.0-0.rc3.git0.1.fc37.x86_64 When running on F36 the issues is not limited to perf top, but perf record too. *** Bug 2078409 has been marked as a duplicate of this bug. *** *** Bug 2086870 has been marked as a duplicate of this bug. *** FEDORA-2022-b2cde267d9 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-b2cde267d9 FEDORA-2022-014c3a24d9 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-014c3a24d9 FEDORA-2022-8095b23575 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8095b23575 FEDORA-2022-8095b23575 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-8095b23575` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8095b23575 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-b2cde267d9 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-b2cde267d9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-b2cde267d9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-014c3a24d9 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-014c3a24d9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-014c3a24d9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. This update fixed the bug, no more perf crashes. perf-5.17.11-300.fc36.x86_64 FEDORA-2022-8095b23575 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2022-b2cde267d9 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2022-014c3a24d9 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. |