Bug 2007882
| Summary: | [abrt] papi-testsuite: _papi_hwi_shutdown_global_internal(): stealtime_basic killed by SIGABRT | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Török Edwin <edwin+bugs> | ||||||||||||||||||||||
| Component: | papi | Assignee: | William Cohen <wcohen> | ||||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||
| Version: | 34 | CC: | lberk, wcohen | ||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/33e21d93c215fcd2ef9ee2da5a9e5772de619139 | ||||||||||||||||||||||||
| Whiteboard: | abrt_hash:1b5addfe3a0cc5ccf35a657cd49658129d0b4619;VARIANT_ID=workstation; | ||||||||||||||||||||||||
| Fixed In Version: | papi-6.0.0-10.fc34 | Doc Type: | If docs needed, set a value | ||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||
| Last Closed: | 2021-11-28 01:09:29 UTC | Type: | --- | ||||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||
| Embargoed: | |||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||
|
Description
Török Edwin
2021-09-25 22:21:42 UTC
Created attachment 1826239 [details]
File: backtrace
Created attachment 1826240 [details]
File: core_backtrace
Created attachment 1826241 [details]
File: cpuinfo
Created attachment 1826242 [details]
File: dso_list
Created attachment 1826243 [details]
File: environ
Created attachment 1826244 [details]
File: limits
Created attachment 1826245 [details]
File: maps
Created attachment 1826246 [details]
File: mountinfo
Created attachment 1826247 [details]
File: open_fds
Created attachment 1826248 [details]
File: proc_pid_status
I haven't been able to reproduce the crash locally. Could you rerun the reproducer with and report the results of: valgrind /usr/share/papi/components/stealtime/tests/stealtime_basic TESTS_QUIET ==64723== Memcheck, a memory error detector ==64723== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==64723== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info ==64723== Command: /usr/share/papi/components/stealtime/tests/stealtime_basic TESTS_QUIET ==64723== PAPI Error: Couldn't open hw_instructions in exclude_guest=0 test ==64723== Invalid write of size 8 ==64723== at 0x48A8ED5: read_stealtime.isra.0 (linux-stealtime.c:109) ==64723== by 0x48A8F71: _stealtime_start (linux-stealtime.c:345) ==64723== by 0x4880937: PAPI_start (papi.c:2782) ==64723== by 0x10A705: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== Address 0x4d58670 is 0 bytes after a block of size 0 alloc'd ==64723== at 0x4845464: calloc (vg_replace_malloc.c:1117) ==64723== by 0x48A8A70: _stealtime_init_thread (linux-stealtime.c:222) ==64723== by 0x4892F0B: _papi_hwi_initialize_thread (threads.c:297) ==64723== by 0x4893511: _papi_hwi_init_global_threads (threads.c:553) ==64723== by 0x4883630: PAPI_library_init.part.0 (papi.c:1156) ==64723== by 0x10A630: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== ==64723== Invalid write of size 8 ==64723== at 0x48A8EE5: read_stealtime.isra.0 (linux-stealtime.c:111) ==64723== by 0x48A8F71: _stealtime_start (linux-stealtime.c:345) ==64723== by 0x4880937: PAPI_start (papi.c:2782) ==64723== by 0x10A705: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== Address 0x4d586b0 is 0 bytes after a block of size 0 alloc'd ==64723== at 0x4845464: calloc (vg_replace_malloc.c:1117) ==64723== by 0x48A8A85: _stealtime_init_thread (linux-stealtime.c:225) ==64723== by 0x4892F0B: _papi_hwi_initialize_thread (threads.c:297) ==64723== by 0x4893511: _papi_hwi_init_global_threads (threads.c:553) ==64723== by 0x4883630: PAPI_library_init.part.0 (papi.c:1156) ==64723== by 0x10A630: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== ==64723== Invalid read of size 8 ==64723== at 0x48A8EE9: read_stealtime.isra.0 (linux-stealtime.c:114) ==64723== by 0x48A8F71: _stealtime_start (linux-stealtime.c:345) ==64723== by 0x4880937: PAPI_start (papi.c:2782) ==64723== by 0x10A705: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== Address 0x4d58670 is 0 bytes after a block of size 0 alloc'd ==64723== at 0x4845464: calloc (vg_replace_malloc.c:1117) ==64723== by 0x48A8A70: _stealtime_init_thread (linux-stealtime.c:222) ==64723== by 0x4892F0B: _papi_hwi_initialize_thread (threads.c:297) ==64723== by 0x4893511: _papi_hwi_init_global_threads (threads.c:553) ==64723== by 0x4883630: PAPI_library_init.part.0 (papi.c:1156) ==64723== by 0x10A630: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== ==64723== Invalid write of size 8 ==64723== at 0x48A8F09: read_stealtime.isra.0 (linux-stealtime.c:114) ==64723== by 0x48A8F71: _stealtime_start (linux-stealtime.c:345) ==64723== by 0x4880937: PAPI_start (papi.c:2782) ==64723== by 0x10A705: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== Address 0x4d586f0 is 0 bytes after a block of size 0 alloc'd ==64723== at 0x4845464: calloc (vg_replace_malloc.c:1117) ==64723== by 0x48A8A9B: _stealtime_init_thread (linux-stealtime.c:228) ==64723== by 0x4892F0B: _papi_hwi_initialize_thread (threads.c:297) ==64723== by 0x4893511: _papi_hwi_init_global_threads (threads.c:553) ==64723== by 0x4883630: PAPI_library_init.part.0 (papi.c:1156) ==64723== by 0x10A630: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== ==64723== Invalid write of size 8 ==64723== at 0x48A8EE5: read_stealtime.isra.0 (linux-stealtime.c:111) ==64723== by 0x48A8FB7: _stealtime_read (linux-stealtime.c:395) ==64723== by 0x48862D8: _papi_hwi_read (papi_internal.c:1710) ==64723== by 0x4880BB8: PAPI_stop (papi.c:2888) ==64723== by 0x10A719: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== Address 0x4d586b0 is 0 bytes after a block of size 0 alloc'd ==64723== at 0x4845464: calloc (vg_replace_malloc.c:1117) ==64723== by 0x48A8A85: _stealtime_init_thread (linux-stealtime.c:225) ==64723== by 0x4892F0B: _papi_hwi_initialize_thread (threads.c:297) ==64723== by 0x4893511: _papi_hwi_init_global_threads (threads.c:553) ==64723== by 0x4883630: PAPI_library_init.part.0 (papi.c:1156) ==64723== by 0x10A630: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== ==64723== Invalid read of size 8 ==64723== at 0x48A8EE9: read_stealtime.isra.0 (linux-stealtime.c:114) ==64723== by 0x48A8FB7: _stealtime_read (linux-stealtime.c:395) ==64723== by 0x48862D8: _papi_hwi_read (papi_internal.c:1710) ==64723== by 0x4880BB8: PAPI_stop (papi.c:2888) ==64723== by 0x10A719: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== Address 0x4d58670 is 0 bytes after a block of size 0 alloc'd ==64723== at 0x4845464: calloc (vg_replace_malloc.c:1117) ==64723== by 0x48A8A70: _stealtime_init_thread (linux-stealtime.c:222) ==64723== by 0x4892F0B: _papi_hwi_initialize_thread (threads.c:297) ==64723== by 0x4893511: _papi_hwi_init_global_threads (threads.c:553) ==64723== by 0x4883630: PAPI_library_init.part.0 (papi.c:1156) ==64723== by 0x10A630: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== ==64723== Invalid write of size 8 ==64723== at 0x48A8F09: read_stealtime.isra.0 (linux-stealtime.c:114) ==64723== by 0x48A8FB7: _stealtime_read (linux-stealtime.c:395) ==64723== by 0x48862D8: _papi_hwi_read (papi_internal.c:1710) ==64723== by 0x4880BB8: PAPI_stop (papi.c:2888) ==64723== by 0x10A719: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== Address 0x4d586f0 is 0 bytes after a block of size 0 alloc'd ==64723== at 0x4845464: calloc (vg_replace_malloc.c:1117) ==64723== by 0x48A8A9B: _stealtime_init_thread (linux-stealtime.c:228) ==64723== by 0x4892F0B: _papi_hwi_initialize_thread (threads.c:297) ==64723== by 0x4893511: _papi_hwi_init_global_threads (threads.c:553) ==64723== by 0x4883630: PAPI_library_init.part.0 (papi.c:1156) ==64723== by 0x10A630: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== ==64723== Invalid read of size 8 ==64723== at 0x48A8FD4: _stealtime_read (linux-stealtime.c:399) ==64723== by 0x48862D8: _papi_hwi_read (papi_internal.c:1710) ==64723== by 0x4880BB8: PAPI_stop (papi.c:2888) ==64723== by 0x10A719: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== Address 0x4d586f0 is 0 bytes after a block of size 0 alloc'd ==64723== at 0x4845464: calloc (vg_replace_malloc.c:1117) ==64723== by 0x48A8A9B: _stealtime_init_thread (linux-stealtime.c:228) ==64723== by 0x4892F0B: _papi_hwi_initialize_thread (threads.c:297) ==64723== by 0x4893511: _papi_hwi_init_global_threads (threads.c:553) ==64723== by 0x4883630: PAPI_library_init.part.0 (papi.c:1156) ==64723== by 0x10A630: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== ==64723== Invalid write of size 8 ==64723== at 0x48A8EE5: read_stealtime.isra.0 (linux-stealtime.c:111) ==64723== by 0x48A8F8E: _stealtime_stop (linux-stealtime.c:370) ==64723== by 0x4880BDB: PAPI_stop (papi.c:2893) ==64723== by 0x10A719: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== Address 0x4d586b0 is 0 bytes after a block of size 0 alloc'd ==64723== at 0x4845464: calloc (vg_replace_malloc.c:1117) ==64723== by 0x48A8A85: _stealtime_init_thread (linux-stealtime.c:225) ==64723== by 0x4892F0B: _papi_hwi_initialize_thread (threads.c:297) ==64723== by 0x4893511: _papi_hwi_init_global_threads (threads.c:553) ==64723== by 0x4883630: PAPI_library_init.part.0 (papi.c:1156) ==64723== by 0x10A630: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== ==64723== Invalid read of size 8 ==64723== at 0x48A8EE9: read_stealtime.isra.0 (linux-stealtime.c:114) ==64723== by 0x48A8F8E: _stealtime_stop (linux-stealtime.c:370) ==64723== by 0x4880BDB: PAPI_stop (papi.c:2893) ==64723== by 0x10A719: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== Address 0x4d58670 is 0 bytes after a block of size 0 alloc'd ==64723== at 0x4845464: calloc (vg_replace_malloc.c:1117) ==64723== by 0x48A8A70: _stealtime_init_thread (linux-stealtime.c:222) ==64723== by 0x4892F0B: _papi_hwi_initialize_thread (threads.c:297) ==64723== by 0x4893511: _papi_hwi_init_global_threads (threads.c:553) ==64723== by 0x4883630: PAPI_library_init.part.0 (papi.c:1156) ==64723== by 0x10A630: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== ==64723== Invalid write of size 8 ==64723== at 0x48A8F09: read_stealtime.isra.0 (linux-stealtime.c:114) ==64723== by 0x48A8F8E: _stealtime_stop (linux-stealtime.c:370) ==64723== by 0x4880BDB: PAPI_stop (papi.c:2893) ==64723== by 0x10A719: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== Address 0x4d586f0 is 0 bytes after a block of size 0 alloc'd ==64723== at 0x4845464: calloc (vg_replace_malloc.c:1117) ==64723== by 0x48A8A9B: _stealtime_init_thread (linux-stealtime.c:228) ==64723== by 0x4892F0B: _papi_hwi_initialize_thread (threads.c:297) ==64723== by 0x4893511: _papi_hwi_init_global_threads (threads.c:553) ==64723== by 0x4883630: PAPI_library_init.part.0 (papi.c:1156) ==64723== by 0x10A630: ??? (in /usr/share/papi/components/stealtime/tests/stealtime_basic) ==64723== by 0x491CB74: (below main) (libc-start.c:332) ==64723== ==64723== ==64723== HEAP SUMMARY: ==64723== in use at exit: 3,837 bytes in 41 blocks ==64723== total heap usage: 3,787 allocs, 3,746 frees, 3,566,311 bytes allocated ==64723== ==64723== LEAK SUMMARY: ==64723== definitely lost: 3,645 bytes in 40 blocks ==64723== indirectly lost: 0 bytes in 0 blocks ==64723== possibly lost: 0 bytes in 0 blocks ==64723== still reachable: 192 bytes in 1 blocks ==64723== suppressed: 0 bytes in 0 blocks ==64723== Rerun with --leak-check=full to see details of leaked memory ==64723== ==64723== For lists of detected and suppressed errors, rerun with: -s ==64723== ERROR SUMMARY: 6275 errors from 11 contexts (suppressed: 0 from 0) Backported following patch that addresses the problem
commit 3625bdbad9fd57d1cdb1e5615854545167d4adcb
Author: Anthony Castaldo <TonyCastaldo.edu>
Date: Wed Aug 26 17:18:29 2020 -0400
This modifies PAPI_library_init() to initialize components in two classes,
separated by the initialization of the papi thread structure. The first class
is those that need no thread structure, currently everything but perf_event and
perf_event_uncore. Following the init of the threading structure, we init the
second class (perf_event and perf_event_uncore) that DOES need the thread
structure to successfully init_component(). This required a change to
_papi_hwi_init_global(), to add an argument to distinguish which class it
should initialize.
FEDORA-2021-752e807fdd has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-752e807fdd` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-752e807fdd See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-752e807fdd has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. |