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

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  perf record crash: refcount_inc assertion  failed

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

Bug description:

  == SRU Justification ==
  This SRU request is for two commits, that are needed for two bug reports.  The
  first bug(1767204) is marked as a duplicate of the bug used for this SRU
  request.  The commit(3d8bba9535ac) required to fix the first bug introduced 
the second
  bug.  The second bug is then fixed buy commit cd8dd032f61a.

  The first issue is perf crashes due to swapped xyarray function signatures 
and is
  fixed by commit 3d8bba9535ac.

  The second issue is a crash due to "refcount_inc assertion failed".
  This second bug is introduced by picking commit 3d8bba9535ac without
  picking commit cd8dd032f61a first.

  == Fixes ==
  cd8dd032f61a ("perf cgroup: Fix refcount usage")
  3d8bba9535ac ("perf xyarray: Fix wrong processing when closing evsel fd")

  == Regression Potential ==
  Low.  Limited to perf tool.

  == Test Case ==
  A test kernel was built with these patches and tested by the original bug 
  The bug reporter states the test kernel resolved the bug.

  == Original Bug Description ==
  On linux-hwe-tools-4.13.0-39 in xenial:

  Trying to run perf record ... --cgroup=mycgroup causes an immediate assertion 
  refcount_inc: Assertion `!(!refcount_inc_not_zero(r))' failed.

  Confirmed fixed by patching my linux-tools package with this upstream
  commit (on top of the commit in bug #1767204):

To manage notifications about this bug go to:

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