https://bugs.kde.org/show_bug.cgi?id=466172

--- Comment #8 from Mike J <do.not.spam.me.kde.bugzi...@gmail.com> ---
Hi.

This bug can be closed. It is not caused by valgrind.

In case it is of use in future to anyone, further checks have shown that
TaniumClient version 7.4.9.1046 was running on the system and caused the
problem. valgrind was working on the system with an earlier TaniumClient
release, but stopped working when the TaniumClient package was upgraded late
last year, affecting valgrind runs.

As indirectly noted in the earlier comments, the C library getaddrinfo()
function is dynamically loaded when first called by an application. I took
valgrind out of the picture and ran "/usr/bin/hostname -d" under the control of
the gdb debugger.
- With TaniumClient running, on entry to getaddrinfo(), the int3 instruction is
seen instead of the expected push %rbp instruction, corrupting the call stack
and raising a SIGTRAP. If run with valgrind, valgrind catches the raised
SIGTRAP signal in this case and exits with a core dump, showing a corrupt call
stack.
- When TaniumClient is stopped, the expected push %rbp instruction is instead
seen. If run with valgrind, it runs correctly and completes normally.

Thanks to Paul Floyd and Mark Wielaard for checking the problem and debugging
advice which pointed me in the right direction for problem diagnosis.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to