2018-05-04 04:17:54 |
Cam Cope |
bug |
|
|
added bug |
2018-05-04 04:18:58 |
Cam Cope |
bug |
|
|
added subscriber Joseph Salisbury |
2018-05-04 04:30:09 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2018-05-04 06:28:16 |
Cam Cope |
description |
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 |
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 |
|
2018-05-04 06:28:27 |
Cam Cope |
linux (Ubuntu): status |
Incomplete |
Confirmed |
|
2018-05-04 17:37:35 |
Joseph Salisbury |
tags |
patch patch-accepted-upstream |
kernel-da-key patch patch-accepted-upstream |
|
2018-05-04 17:37:39 |
Joseph Salisbury |
linux (Ubuntu): importance |
Undecided |
Medium |
|
2018-05-04 17:37:54 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Artful |
|
2018-05-04 17:37:54 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Artful) |
|
2018-05-04 17:38:01 |
Joseph Salisbury |
linux (Ubuntu Artful): importance |
Undecided |
Medium |
|
2018-05-04 17:38:04 |
Joseph Salisbury |
linux (Ubuntu Artful): status |
New |
Confirmed |
|
2018-05-04 17:38:24 |
Joseph Salisbury |
linux (Ubuntu): assignee |
|
Joseph Salisbury (jsalisbury) |
|
2018-05-04 17:38:27 |
Joseph Salisbury |
linux (Ubuntu Artful): assignee |
|
Joseph Salisbury (jsalisbury) |
|
2018-05-04 17:38:29 |
Joseph Salisbury |
linux (Ubuntu Artful): status |
Confirmed |
Triaged |
|
2018-05-04 17:38:32 |
Joseph Salisbury |
linux (Ubuntu): status |
Confirmed |
Triaged |
|
2018-05-07 16:50:18 |
Joseph Salisbury |
linux (Ubuntu Artful): status |
Triaged |
In Progress |
|
2018-05-07 16:50:21 |
Joseph Salisbury |
linux (Ubuntu): status |
Triaged |
In Progress |
|
2018-05-11 18:20:23 |
Joseph Salisbury |
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 |
== 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 |
|
2018-05-17 07:58:38 |
Kleber Sacilotto de Souza |
linux (Ubuntu Artful): status |
In Progress |
Fix Committed |
|
2018-05-25 01:03:03 |
Brad Figg |
tags |
kernel-da-key patch patch-accepted-upstream |
kernel-da-key patch patch-accepted-upstream verification-needed-artful |
|
2018-06-11 15:10:16 |
Launchpad Janitor |
linux (Ubuntu Artful): status |
Fix Committed |
Fix Released |
|
2018-06-11 15:10:16 |
Launchpad Janitor |
cve linked |
|
2018-1068 |
|
2018-06-11 15:10:16 |
Launchpad Janitor |
cve linked |
|
2018-1092 |
|
2018-06-11 15:10:16 |
Launchpad Janitor |
cve linked |
|
2018-3639 |
|
2018-06-11 15:10:16 |
Launchpad Janitor |
cve linked |
|
2018-7492 |
|
2018-06-11 15:10:16 |
Launchpad Janitor |
cve linked |
|
2018-8087 |
|
2018-06-11 15:10:16 |
Launchpad Janitor |
cve linked |
|
2018-8781 |
|
2019-01-23 01:10:30 |
Joseph Salisbury |
linux (Ubuntu): status |
In Progress |
Fix Released |
|
2019-07-24 21:09:04 |
Brad Figg |
tags |
kernel-da-key patch patch-accepted-upstream verification-needed-artful |
cscc kernel-da-key patch patch-accepted-upstream verification-needed-artful |
|