lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200424085149.GK26573@shao2-debian>
Date:   Fri, 24 Apr 2020 16:51:49 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Ian Rogers <irogers@...gle.com>
Cc:     Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Jiri Olsa <jolsa@...hat.com>,
        Namhyung Kim <namhyung@...nel.org>,
        Kan Liang <kan.liang@...ux.intel.com>,
        linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org,
        Stephane Eranian <eranian@...gle.com>,
        Ian Rogers <irogers@...gle.com>, lkp@...ts.01.org
Subject: [perf record] dbfc8ef0b9:
 perf-sanity-tests.Setup_struct_perf_event_attr.fail

Greeting,

FYI, we noticed the following commit (built with gcc-7):

commit: dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e ("[PATCH] perf record: add dummy event during system wide synthesis")
url: https://github.com/0day-ci/linux/commits/Ian-Rogers/perf-record-add-dummy-event-during-system-wide-synthesis/20200416-085010


in testcase: perf-sanity-tests
with following parameters:

	perf_compiler: gcc
	ucode: 0x27



on test machine: 8 threads Intel(R) Core(TM) i7-4790 v3 @ 3.60GHz with 6G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>


kern  :warn  : [   71.718769] WARNING: stack recursion on stack type 4
kern  :warn  : [   71.718772] WARNING: can't dereference registers at 00000000626840bc for ip swapgs_restore_regs_and_return_to_usermode+0x79/0x87
user  :notice: [   75.435992] 16: Setup struct perf_event_attr                          : FAILED!

user  :notice: [   75.449054] 2020-04-24 02:42:42 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 17

user  :notice: [   75.466329] 17: Match and link multiple hists                         : Ok

user  :notice: [   75.478749] 2020-04-24 02:42:42 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 18

user  :notice: [   75.495595] 18: 'import perf' in python                               : Ok

user  :notice: [   75.507839] 2020-04-24 02:42:42 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 19

user  :notice: [   75.524779] 19: Breakpoint overflow signal handler                    : Ok

user  :notice: [   75.537439] 2020-04-24 02:42:42 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 20

user  :notice: [   75.554424] 20: Breakpoint overflow sampling                          : Ok

user  :notice: [   75.566832] 2020-04-24 02:42:42 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 21

user  :notice: [   75.583615] 21: Breakpoint accounting                                 : Ok

user  :notice: [   75.595757] 2020-04-24 02:42:42 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 22

user  :notice: [   75.612590] 22: Watchpoint                                            :

user  :notice: [   75.623364] 22.1: Read Only Watchpoint                                : Skip

user  :notice: [   75.634482] 22.2: Write Only Watchpoint                               : Ok

user  :notice: [   75.645389] 22.3: Read / Write Watchpoint                             : Ok

user  :notice: [   75.656253] 22.4: Modify Watchpoint                                   : Ok

user  :notice: [   75.668245] 2020-04-24 02:42:42 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 23

user  :notice: [   75.684867] 23: Number of exit events of a simple workload            : Ok

user  :notice: [   75.696859] 2020-04-24 02:42:42 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 24

user  :notice: [   75.713501] 24: Software clock events period values                   : Ok

user  :notice: [   75.725468] 2020-04-24 02:42:42 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 25

user  :notice: [   76.007284] 25: Object code reading                                   : Ok

user  :notice: [   76.020762] 2020-04-24 02:42:43 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 26

user  :notice: [   76.037712] 26: Sample parsing                                        : Ok

user  :notice: [   76.049830] 2020-04-24 02:42:43 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 27

user  :notice: [   76.067870] 27: Use a dummy software event to keep tracking           : Ok

user  :notice: [   76.080104] 2020-04-24 02:42:43 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 28

user  :notice: [   76.096995] 28: Parse with no sample_id_all bit set                   : Ok

user  :notice: [   76.109528] 2020-04-24 02:42:43 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 29

user  :notice: [   76.126485] 29: Filter hist entries                                   : Ok

user  :notice: [   76.138886] 2020-04-24 02:42:43 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 30

user  :notice: [   76.294770] 30: Lookup mmap thread                                    : Ok

user  :notice: [   76.307185] 2020-04-24 02:42:43 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 31

user  :notice: [   76.323993] 31: Share thread maps                                     : Ok

user  :notice: [   76.336139] 2020-04-24 02:42:43 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 32

user  :notice: [   76.352853] 32: Sort output of hist entries                           : Ok

user  :notice: [   76.364843] 2020-04-24 02:42:43 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 33

user  :notice: [   76.381425] 33: Cumulate child hist entries                           : Ok

user  :notice: [   76.393565] 2020-04-24 02:42:43 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 34

user  :notice: [   76.727426] 34: Track with sched_switch                               : Ok

user  :notice: [   76.740533] 2020-04-24 02:42:44 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 35

user  :notice: [   76.757374] 35: Filter fds with revents mask in a fdarray             : Ok

user  :notice: [   76.769860] 2020-04-24 02:42:44 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 36

user  :notice: [   76.786709] 36: Add fd to a fdarray, making it autogrow               : Ok

user  :notice: [   76.798952] 2020-04-24 02:42:44 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 37

user  :notice: [   76.815762] 37: kmod_path__parse                                      : Ok

user  :notice: [   76.827874] 2020-04-24 02:42:44 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 38

user  :notice: [   76.844603] 38: Thread map                                            : Ok

user  :notice: [   76.856657] 2020-04-24 02:42:44 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dbfc8ef0b9b503e026f78aaa5bc52d9fdc21c51e/tools/perf/perf test 40



To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Rong Chen


View attachment "config-5.6.0-rc6-00112-gdbfc8ef0b9b50" of type "text/plain" (204871 bytes)

View attachment "job-script" of type "text/plain" (5409 bytes)

Download attachment "kmsg.xz" of type "application/x-xz" (33000 bytes)

View attachment "perf-sanity-tests" of type "text/plain" (29037 bytes)

View attachment "job.yaml" of type "text/plain" (4519 bytes)

View attachment "reproduce" of type "text/plain" (7514 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ