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.

It seems to be easy to reproduce using:
$ eu-readelf -a debug/snd.ko
eu-readelf[15535]: segfault at 0000000000000005 rip 00002ae15279cd27 rsp 
00007fff58bead00 error 6
Segmentation fault (core dumped)


Core was generated by `eu-readelf -a debug/snd.ko'.
Program terminated with signal 11, Segmentation fault.
#0  0x00002ae15279cd27 in *__GI_memmove (dest=0x5,
src=0x7fff58beae50, len=10)
    at memmove.c:79
79      memmove.c: No such file or directory.
        in memmove.c
(gdb) bt
#0  0x00002ae15279cd27 in *__GI_memmove (dest=0x5, src=0x7fff58beae50, len=10)
    at memmove.c:79
#1  0x00002ae15230ef04 in elf64_xlatetof () from /usr/lib/libelf.so.1
#2  0x00002ae1520ef89e in ?? () from /usr/lib/libdw.so.1
#3  0x00002ae1520effc8 in ?? () from /usr/lib/libdw.so.1
#4  0x00002ae1520f0618 in ?? () from /usr/lib/libdw.so.1
#5  0x00002ae1520f3674 in dwfl_module_getelf () from /usr/lib/libdw.so.1
#6  0x0000000000411965 in ?? ()
#7  0x0000000000413269 in ?? ()
#8  0x00002ae1520f2352 in dwfl_getmodules () from /usr/lib/libdw.so.1
#9  0x0000000000404405 in ?? ()
#10 0x00002ae152740a8d in __libc_start_main (main=<value optimized out>,
    argc=<value optimized out>, ubp_av=<value optimized out>,
    init=<value optimized out>, fini=<value optimized out>,
    rtld_fini=<value optimized out>, stack_end=0x7fff58beb838)
    at libc-start.c:222

Reading it with readelf (from binutils) works perfectly.


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