This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 4/4 take 2] Improved linker-debugger interface
Gary Benson wrote:
> Jan Kratochvil wrote:
> > On Wed, 15 Aug 2012 19:23:46 +0200, Jan Kratochvil wrote:
> > > (3)
> > > There is some issue we already discussed off-list, in some cases
> > > (Fedora Rawhide x86_64 with Fedora patched GDB) it breaks on
> > > FAIL: gdb.base/break-dlmopen.exp: info sharedlibrary #5
> >
> > reproduced it also with FSF GDB HEAD with the patch below.
> >
> > Apparently the address 0x6020a0 is already freed/invalid that
> > time, I guess it is more clear to you:
> >
> > > namespace_update_full(lmid=0x1,debug_base=0x7ffff7ffd0f8,is_initial_ns=0
> > > svr4_read_so_list(lm=0x6020a0,prev_lm=0x0)
> > > lm=0x6020a0={next=0x602670,prev=0x0}
> > > lm=0x602670={next=0x0,prev=0x0}
> > > warning: Corrupted shared library list: 0x6020a0 != 0x0
>
> This is a glibc issue. I've mailed a patch to libc-alpha:
> http://sourceware.org/ml/libc-alpha/2012-08/msg00366.html
The fix has been accepted and committed:
http://sourceware.org/ml/libc-alpha/2012-08/msg00385.html
Cheers,
Gary
--
http://gbenson.net/