perf_event_tests icon indicating copy to clipboard operation
perf_event_tests copied to clipboard

tests/openmp/openmp_sample: Segmentation fault

Open zhijianli88 opened this issue 6 years ago • 0 comments

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

zhijianli88 avatar Oct 19 '18 02:10 zhijianli88