Bug 827151
| Summary: | perf diff ends with segfault | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Camilo Bernal <cabernal> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mbenitez |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-09-06 14:24:38 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: | |||
I can't recreate this on a 3.4 or 3.5 version of perf. F16 is on 3.4 at the moment, so it appears it was fixed upstream. If you can recreate it with 3.4.9 or 3.5.3, please reopen. |
Description of problem: perf code dumps when displaying the performance difference amongst two perf.data files. Version-Release number of selected component (if applicable): Linux version 3.3.5-2.fc16.x86_64 perf version 3.3.7-1.fc16.x86_64 How reproducible: Always. Steps to Reproduce: 1. compile simple C/C++ program to executable a.out, 2. Build perf.data files: perf record ./a.out; perf record ./a.out 3. perf diff perf.data perf.data.old Actual results: [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.015 MB perf.data (~650 samples) ] [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.015 MB perf.data (~650 samples) ] Segmentation fault (core dumped) # echo $? 139 Expected results: Should display display the performance difference amongst two perf.data files, without the core dump. Additional info: Above test also fails on Fedora 17. Linux version 3.3.4-5.fc17.x86_64 perf version 3.3.7-1.fc17.x86_64