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


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)
(gdb) bt
#0  0x00007ffff7b9b4dd in dwarf_tag (die=0x0) at dwarf_tag.c:107
#1  0x0000000000546b2a in ?? ()
#2  0x00000000005491e6 in ?? ()
#3  0x00000000004d27eb in ?? ()
#4  0x00000000004b246d in ?? ()
#5  0x00007ffff7bb6ab5 in dwfl_getmodules (dwfl=0x1e03c90, callback=0x4b2310, arg=0x7fffffffcb90, offset=0) at dwfl_getmodules.c:103
#6  0x00000000004c5ffc in ?? ()
#7  0x000000000044c2ff in ?? ()
#8  0x0000000000452fa3 in ?? ()
#9  0x000000000044a8e7 in ?? ()
#10 0x000000000044bebf in ?? ()
#11 0x000000000045e3c3 in ?? ()
#12 0x000000000046af1c in ?? ()
#13 0x0000000000414892 in ?? ()
#14 0x000000000040ff1a in ?? ()
#15 0x00007ffff54c2a55 in __libc_start_main (main=0x40f650, argc=3, ubp_av=0x7fffffffe9a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe998)
    at libc-start.c:260
#16 0x0000000000412895 in ?? ()
(gdb) x/4i $rip
=> 0x7ffff7b9b4dd <dwarf_tag+16>:	mov    0x10(%rax),%rax
   0x7ffff7b9b4e1 <dwarf_tag+20>:	test   %rax,%rax
   0x7ffff7b9b4e4 <dwarf_tag+23>:	jne    0x7ffff7b9b559 <dwarf_tag+140>
   0x7ffff7b9b4e6 <dwarf_tag+25>:	mov    -0x18(%rbp),%rax
(gdb) info register
rax            0x0	0
rbx            0x1e07dc0	31489472
rcx            0x1e05d88	31481224
rdx            0x7fffffffc700	140737488340736
rsi            0x7ffff7fdf050	140737354002512
rdi            0x0	0
rbp            0x7fffffffc680	0x7fffffffc680
rsp            0x7fffffffc660	0x7fffffffc660
r8             0x20	32
r9             0x101010101010101	72340172838076673
r10            0x7fffffffc430	140737488340016
r11            0x7ffff553267e	140737309255294
r12            0x1e03630	31471152
r13            0x7fffffffc6e8	140737488340712
r14            0x7fffffffc6e0	140737488340704
r15            0x0	0
rip            0x7ffff7b9b4dd	0x7ffff7b9b4dd <dwarf_tag+16>
eflags         0x10206	[ PF IF RF ]
cs             0xe033	57395
ss             0xe02b	57387
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0


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