unit test failed when make check on CentOS 7

44 views
Skip to first unread message

Junaid Riaz

unread,
Jun 14, 2021, 6:24:23 AM6/14/21
to gperftools
gperftools source code: https://github.com/gperftools/gperftools (commit: f7c6fb6c8e99d6b1b725e5994373bcd19ffdf8fd)

OS: CentOS Linux release 7.9.2009
GCC: gcc version 4.8.5 20150623
Libunwindd-devel Installed


log file

========================================
   gperftools 2.9.1: ./test-suite.log
========================================

# TOTAL: 49
# PASS:  48
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: stacktrace_unittest
=========================

Obtained 10 stack frames.
./stacktrace_unittest() [0x40197a] 0x40197a
./stacktrace_unittest() [0x401a05] 0x401a05
./stacktrace_unittest() [0x401c09] 0x401c09
./stacktrace_unittest() [0x401ccb] 0x401ccb
./stacktrace_unittest() [0x401d8b] 0x401d8b
./stacktrace_unittest() [0x401e4b] 0x401e4b
./stacktrace_unittest() [0x401ebc] 0x401ebc
./stacktrace_unittest() [0x4014bb] 0x4014bb
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fd1590aa555] 0x7fd1590aa555
./stacktrace_unittest() [0x40167c] 0x40167c
CheckStackTrace() addr: 0x401e60
Backtrace 0: expected: 0x401971..0x40199d  actual: 0x40197a ... OK
Backtrace 1: expected: 0x401bfd..0x401c0e  actual: 0x401c09 ... OK
Backtrace 2: expected: 0x401cbd..0x401cd0  actual: 0x401ccb ... OK
Backtrace 3: expected: 0x401d7d..0x401d90  actual: 0x401d8b ... OK
Backtrace 4: expected: 0x401e3d..0x401e50  actual: 0x401e4b ... OK
Backtrace 5: expected: 0x401eac..0x401ec1  actual: 0x401ebc ... OK
PASS
Capturing stack trace from signal's ucontext
Obtained 10 stack frames.
./stacktrace_unittest() [0x40187b] 0x40187b
./stacktrace_unittest() [0x401a05] 0x401a05
./stacktrace_unittest() [0x401c09] 0x401c09
./stacktrace_unittest() [0x401ccb] 0x401ccb
./stacktrace_unittest() [0x401d8b] 0x401d8b
./stacktrace_unittest() [0x401e4b] 0x401e4b
./stacktrace_unittest() [0x401ebc] 0x401ebc
./stacktrace_unittest() [0x4014d7] 0x4014d7
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fd1590aa555] 0x7fd1590aa555
./stacktrace_unittest() [0x40167c] 0x40167c
CheckStackTrace() addr: 0x401e60
Backtrace 0: expected: 0x4017b0..0x40186f  actual: 0x40187b ... Check failed: ret_addr <= range.end

Tina Barbatsalou

unread,
Jun 17, 2021, 4:42:39 AM6/17/21
to gperftools
I am having the same problem while compiling in an Alpine 3.12 docker container. Unfortunately I am not able to access the test-log file because of the docker instance that breaks when make (check) fails.
Reply all
Reply to author
Forward
0 new messages