Re: libbacktrace: walk the elf_syminfo_data chain in elf_syminfo

2013-07-22 Thread Ian Lance Taylor
On Mon, Jul 22, 2013 at 11:20 AM, Alexander Monakov wrote: > On Mon, 22 Jul 2013, Ian Lance Taylor wrote: >> Thanks for noticing the problem. This patch isn't enough by itself. >> The code has to protect itself against the list changing in >> mid-stream. See dwarf_fileline in dwarf.c. > > Thank

Re: libbacktrace: walk the elf_syminfo_data chain in elf_syminfo

2013-07-22 Thread Alexander Monakov
On Mon, 22 Jul 2013, Ian Lance Taylor wrote: > Thanks for noticing the problem. This patch isn't enough by itself. > The code has to protect itself against the list changing in > mid-stream. See dwarf_fileline in dwarf.c. Thank you. Here's the updated patch, however I have to admit it's not ent

Re: libbacktrace: walk the elf_syminfo_data chain in elf_syminfo

2013-07-22 Thread Ian Lance Taylor
On Mon, Jul 22, 2013 at 6:26 AM, Alexander Monakov wrote: > > this fixes a bug (found by inspection) that would prevent elf_syminfo from > looking up symbols defined in modules other than the executable. > > Bootstrapped and regtested together with the next patch on x86_64-linux > (excluding Java,