Public bug reported: [Impact] perf crashes when monitoring an application for non-system-wide uncore events.
[Test Case] Before fix: ubuntu@starbuck:~$ sudo perf stat -e l1d_cache_rd -- sleep 1 *** Error in `/usr/lib/linux-tools/4.13.0-31.34-generic/perf': free(): invalid next size (fast): 0x00000000315f6e80 *** Aborted After fix: ubuntu@starbuck:~$ sudo perf stat -e l1d_cache_rd -- sleep 1 Performance counter stats for 'sleep 1': 159,004 l1d_cache_rd 1.001223072 seconds time elapsed [Regression Risk] The fix involves 2 clean cherry picks from upstream to the perf utility, so any regressions introduced by them should have a straightforward support path w/ upstream. ** Affects: linux (Ubuntu) Importance: Medium Assignee: dann frazier (dannf) Status: Fix Released ** Affects: linux (Ubuntu Artful) Importance: Medium Assignee: dann frazier (dannf) Status: In Progress ** Also affects: linux (Ubuntu Artful) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Artful) Status: New => In Progress ** Changed in: linux (Ubuntu Artful) Importance: Undecided => Medium ** Changed in: linux (Ubuntu Artful) Assignee: (unassigned) => dann frazier (dannf) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1745246 Title: perf stat segfaults on uncore events w/o -a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1745246/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs