https://sourceware.org/bugzilla/show_bug.cgi?id=29176

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Evgeny Vereshchagin from comment #0)
> I tried to switch to Ubuntu Jammy in
> https://github.com/evverx/elfutils/pull/83 and the test started failing
> there with
> ```
> FAIL: run-backtrace-native-biarch.sh
> ====================================
> 
> case 0: expected symname 'raise' got '(null)'
> ./test-subr.sh: line 84: 23451 Aborted                 (core dumped)
> LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
> $VALGRIND_CMD "$@"
> backtrace-child-biarch: no main
> FAIL run-backtrace-native-biarch.sh (exit status: 1)
> 
> ```
> It still passes on Ubuntu Focal.
> 
> FWIW switching to Ubuntu Jammy somehow "fixed"
> run-debuginfod-fd-prefetch-caches.sh (which appears to be flaky on Ubuntu
> Focal and fails more or less consistently when elfutils is built with
> --enable-gcov: https://github.com/evverx/elfutils/runs/6577995202)

Note that github makes log non-public by default, so it is hard to see what is
going on.

Do you have any more information on what changed between "Focal" and "Jammy",
glibc upgrade? some system settings, gcc upgrade? That might explain what you
are seeing?

Basically the testcase says it cannot find the name associated with the frame.
It is NULL while it is expecting the symbol name "raise".

This is a somewhat gnarly test. Best might be to add some extra printfs to
tests/backtrace.c (callback_verify) printing the frameno and framename found to
see what is going on.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to