This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: systemtap 2.2.1 installcheck => kernel BUG at .. kprobes.c:707


On Fri, 2013-05-17 at 21:02 +0300, Timo Juhani Lindfors wrote:
> Timo Juhani Lindfors <timo.lindfors@iki.fi> writes:
> > Thanks! After "echo 0 > /proc/sys/debug/kprobes-optimization" the kernel
> > does not crash anymore and the testsuite completes. I see however a few
> > stap segfaults and OOM killer hits.
> 
> Second segfault:
> 
> lindi3:~/tmp/systemtap-2.2.1/testsuite$ gdb --args stap -p2 ./systemtap.pass1-4/debugtypes.stp
> GNU gdb (GDB) 7.4.1-debian
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/bin/stap...(no debugging symbols found)...done.
> (gdb) r
> Starting program: /usr/bin/stap -p2 ./systemtap.pass1-4/debugtypes.stp
> warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
> warning: Could not load shared library symbols for linux-vdso.so.1.
> Do you need "set solib-search-path" or "set sysroot"?
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff7b9b4dd in dwarf_tag (die=0x0) at dwarf_tag.c:107
> 107	  if (die->abbrev == NULL)

Since this is elfutils < 0.154 then you might be hitting the bug that
this test was (partially) written for:

commit 581c3f60e2b1fc7ddaf4260bb5a9cb59f8e3f0d0
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Mar 21 08:54:32 2012 -0600

    Fix bug using dwarf_next_unit to iterate over .debug_types

Could you upgrade to 0.154 (or the latest 0.155) version of elfutils and
retest?

Thanks,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]