Dwarf unwind test failures on various arches

Kurt Roeckx kurt at roeckx.be
Mon Apr 21 21:40:15 UTC 2014


Hi,

I'm seeing various test suite failures in the 0.158 on various
arches.  I'm currently looing at powerpc since that's the only
Debian release architecture that's having the problem, but I see
it on various non-release arches too.

The test-suite.log file contains:
==========================================
   elfutils 0.158: tests/test-suite.log
==========================================

# TOTAL: 113
# PASS:  108
# SKIP:  3
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: run-backtrace-native.sh
=============================

0x100000        0x103000        [vdso: 14111]
0x20474000      0x20601000      /lib/powerpc-linux-gnu/libc-2.18.so
0x20614000      0x2063d000      /lib/powerpc-linux-gnu/libpthread-2.18.so
0x2064f000      0x20662000      /home/kroeckx/elfutils-0.158/tests/backtrace-child
0x40000000      0x40033000      /lib/powerpc-linux-gnu/ld-2.18.so
TID 14111:
# 0 0x20626810          raise
TID 14112:
# 0 0x20626810          raise
/home/kroeckx/elfutils-0.158/tests/backtrace: dwfl_thread_getframes: No DWARF information found
/home/kroeckx/elfutils-0.158/tests/backtrace: dwfl_thread_getframes: No DWARF information found
backtrace: backtrace.c:68: callback_verify: Assertion `seen_main' failed.
./test-subr.sh: line 84: 14110 Aborted                 (core dumped) LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" $VALGRIND_CMD "$@"
backtrace-child: no main

SKIP: run-backtrace-data.sh
===========================

/home/kroeckx/elfutils-0.158/tests/backtrace-data: Unwinding not supported for this architecture
data: arch not supported

FAIL: run-backtrace-dwarf.sh
============================

0xfdf8e08       raise
/home/kroeckx/elfutils-0.158/tests/backtrace-dwarf: dwfl_thread_getframes: No DWARF information found
dwarf: no main
rmdir: failed to remove 'test-14137': Directory not empty

SKIP: run-backtrace-native-biarch.sh
====================================


SKIP: run-backtrace-native-core-biarch.sh
=========================================


It seems that for --backtrace-exec it thinks it has support for
unwinding information even when it doesn't and then fails.


Kurt



More information about the elfutils-devel mailing list