From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7282869697940020813==" MIME-Version: 1.0 From: Mark Wielaard To: elfutils-devel@lists.fedorahosted.org Subject: Re: [patch] Fix resolving ELF symbols for live PIDs with deleted files Date: Fri, 29 Aug 2014 22:44:58 +0200 Message-ID: <20140829204458.GA31660@blokker.redhat.com> In-Reply-To: 20140829201550.GA1979@host2.jankratochvil.net --===============7282869697940020813== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 --===============7282869697940020813==--