On Fri, Nov 13, 2009 at 10:53:05PM +0100, Eugeniy Meshcheryakov wrote:
> 13 ????????? 2009 ? 22:36 +0100 Kurt Roeckx ???????(-??):
> > > and when snd.ko is a module that has debuginfo produced by make-kpkg and
> > > also contains .gnu_debuglink section that points to the debuginfo,
> > > systemtap segfaults:
> > 
> > Can you please attach both files?
> Here they are.

My understanding of the problem is that the .text section has
NOBITS, and __libelf_set_rawdata_wrlock() then doesn't read
it, but then other code assume it was read, and gets bogus
data.

In relocate_section(), tdata->d_buf ends up being NULL, and
from there on everything goes bad.

I wonder why it keeps .text (and others) in the section
headers and sets NOBITS instead of just removing the section
from the file.

I wonder if we need to add a NOBITS check at some higher level.


Kurt




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to