This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:
apport-collect 1948542
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.
** Changed in: linux (Ubuntu)
Status: New => Incomplete
** Tags added: impish
--
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/1948542
Title:
Impish: perf probe crashes
Status in linux package in Ubuntu:
Incomplete
Bug description:
Perf crashes when attempting to add probes at certain locations. I
submitted a bug via apport, but I have additional details to share
(and I couldn't figure out how to find that report).
- I was unable to reproduce on the upstream kernel (torvalds/master).
- perf probe crashed with the following command:
holmanb@arc:~/workspace/Stockfish/src > sudo perf probe -x ./stockfish --add
stage_7=next_move:77
zsh: segmentation fault sudo perf probe -x ./stockfish --add
stage_7=next_move:77
listing lines that a probe can be attached to (see following) showed that
perf probe thinks this line _could_ be added
perf probe -L next_move -x ./stockfish
....
case BAD_CAPTURE:
77 return select<Next>([](){ return true; });
Using torvalds/master, (and stockfish built with the same
compiler/arguments), this issue did not occur, and `perf probe -x ./stockfish
-L next_move` did not list that address as one available to attach a probe to.
Upstream:
root@arc-kvm:~/Stockfish/src# perf probe -x ./stockfish --add
next_move=next_move:77
This line is sharing the address with other lines.
Please try to probe at next_move:73 instead.
Error: Failed to add events.
This symptom appeared was reproducible when attempting to add a probe
at other lines that attempted to return the output of a template
function with a lambda argument".
holmanb@arc:~ > lsb_release -rd
Description: Ubuntu 21.10
Release: 21.10
holmanb@arc:~ > apt-cache policy linux-tools-common
linux-tools-common:
Installed: 5.13.0-19.19
Candidate: 5.13.0-19.19
Version table:
*** 5.13.0-19.19 500
500 http://us.archive.ubuntu.com/ubuntu impish/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu impish/main i386 Packages
100 /var/lib/dpkg/status
What I expected to happen: Not a segfault.
What happened: segfault
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1948542/+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