On Fri, Aug 29, 2014 at 10:15:50PM +0200, Jan Kratochvil wrote: > On Fri, 29 Aug 2014 11:55:32 +0200, Mark Wielaard wrote: > > I don't think this check is needed. eu-stack needs to be attached to get > > the register values and dwfl_linux_proc_find_elf makes sure the process > > is attached before calling elf_from_remote_memory. > > When I remove the check on 2.6.32 (tested on kernel-2.6.32-431.el6.x86_64) the > testcase really FAILs: > .../elfutils/src/stack: dwfl_thread_getframes tid 26376 at 0x4006c8 in > .../elfutils/tests/deleted: no matching address range > > I can debug it further but I guess at least this patch could go in as is (with > the kernel check).
O, interesting. Thanks for checking. Yes, please check it in with the check then. And please file a bug so we won't forget to investigate. Thanks, Mark