Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/openmp/openmp_sample: Segmentation fault #16

Open
zhijianli88 opened this issue Oct 19, 2018 · 0 comments
Open

tests/openmp/openmp_sample: Segmentation fault #16

zhijianli88 opened this issue Oct 19, 2018 · 0 comments

Comments

@zhijianli88
Copy link

zhijianli88 commented Oct 19, 2018

lkp caught a "Segmentation fault" when running tests/openmp/openmp_sample since kernel commit:
f812fdeee ("signal: Add calculate_sigpending()")

root@lkp-hsw-ep4 /lkp/benchmarks/perf_event_tests# tests/openmp/openmp_sample
Testing OpenMP sample behavior
Note!!! Inherit only works if the event is created
before the fork happens!  OpenMP creates thread pools
so if you create the event after the thread pools hae been
created it may be too late and you won't get child events!

NUM CPUS=72
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5602
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcfb
	PERF_SAMPLE_TID, pid: 5601  tid 5603
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5604
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5605
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
[snip]
	PERF_SAMPLE_TID, pid: 5601  tid 5653
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5652
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5628
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5650
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcfb
	PERF_SAMPLE_TID, pid: 5601  tid 5650
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5655
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5659
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5656
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5658
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcf9
	PERF_SAMPLE_TID, pid: 5601  tid 5656
PERF_RECORD_SAMPLE [3], MISC=2 (PERF_RECORD_MISC_USER), Size=24
	PERF_SAMPLE_IP, IP: 7f3455aadcfd
	PERF_SAMPLE_TID, pid: 5601  tid 5653
Segmentation fault

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant