0.161 elfutils test are failing on Linux Arch

Anatol Pomozov anatol.pomozov at gmail.com
Wed Jan 14 19:51:58 UTC 2015


Hi

On Wed, Jan 14, 2015 at 11:41 AM, Mark Wielaard <mjw at redhat.com> wrote:

> 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 at 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 at 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?
>

No, my kernel (3.18.2)  does not have SELinux enabled. Here is kernel
config file https://gist.github.com/anatol/d4da6afda94d479ca142

How to run a single test?

[anatol at arch tests]$ ./run-deleted.sh
./run-deleted.sh: line 18: /backtrace-subr.sh: No such file or directory
./run-deleted.sh: line 20: tempfiles: command not found
cp: cannot stat ‘/deleted’: No such file or directory
cp: cannot stat ‘/deleted-lib.so’: No such file or directory
./run-deleted.sh: line 28: testrun: command not found
./run-deleted.sh: line 31: tempfiles: command not found
./run-deleted.sh: line 36: testrun: command not found
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or
kill -l [sigspec]
./run-deleted.sh: line 40: check_native_unsupported: command not found

does not look right. I would like like to run/gdb the command that fails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/elfutils-devel/attachments/20150114/efe48c38/attachment-0001.html>


More information about the elfutils-devel mailing list