** Changed in: linux (Ubuntu Artful)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1745246

Title:
  perf stat segfaults on uncore events w/o -a

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Artful:
  Fix Committed

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1745246/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to