This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 0.161 elfutils test are failing on Linux Arch


On Wed, 2015-01-14 at 11:19 -0800, Anatol Pomozov wrote:
> I am trying to build elfutils 0.161 on Linux Arch and 2 tests are failing.
> Building 0.160 on the same machine is fine.
> [...]
> FAIL: vdsosyms
> FAIL: run-deleted.sh
> 
> 
> [anatol(a)arch tests]$ cat vdsosyms.log
> module name: /usr/bin/bash
> module name: /usr/lib/libc-2.20.so
> module name: /usr/lib/libdl-2.20.so
> module name: /usr/lib/libncursesw.so.5.9
> module name: /usr/lib/libreadline.so.6.3
> module name: /usr/lib/ld-2.20.so
> module name: [vdso: 22118]
> vdso syms: -1
> ./vdsosyms: dwfl_module_getsymtab: Callback returned failure
> 
> 
> [anatol(a)arch tests]$ cat run-deleted.sh.log
> PID 22079 - process
> TID 22079:
> /home/anatol/sources/core-arch/elfutils/trunk/src/elfutils-0.161/src/stack:
> dwfl_thread_getframes tid 22079: Operation not permitted
> /home/anatol/sources/core-arch/elfutils/trunk/src/elfutils-0.161/src/stack:
> Couldn't show any frames.
> 
> 
> Is it a known issue with 0.161?

Not a know issue.

The first error message isn't very helpful. But the second might
indicate some ptrace operation or reading /proc/pid/mem is not
permitted. Both tests rely on being able to attach to and read from the
process memory to get the ELF image (the first for the vdso, the second
for the deleted.so).

There have been selinux setting that prevented any such operation. Maybe
Arch linux enables something like that?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]