SRU request submitted:
https://lists.ubuntu.com/archives/kernel-team/2018-May/092330.html
** Description changed:
+
+
+ == 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
reporter.
+ 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
failure:
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):
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-
stable.git/commit/tools/perf/util/cgroup.c?id=cd8dd032f61abeb08d2c03bab4968a9de231a1be
--
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/1769027
Title:
perf record crash: refcount_inc assertion failed
Status in linux package in Ubuntu:
In Progress
Status in linux source package in Artful:
In Progress
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
reporter.
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
failure:
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):
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-
stable.git/commit/tools/perf/util/cgroup.c?id=cd8dd032f61abeb08d2c03bab4968a9de231a1be
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1769027/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp