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]

stap core dump


After I install the latest systemtap via git from redhat, I got the following errors:

export PATH=/usr/local/bin/:$PATH

stap -kvvve 'probe begin { log("hello world") exit () }'

SystemTap translator/driver (version 0.7/0.133 non-git sources)
Copyright (C) 2005-2008 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Created temporary directory "/tmp/stapBQKF7S"
Searched '/usr/local/share/systemtap/tapset/i686/*.stp', found 1
Searched '/usr/local/share/systemtap/tapset/*.stp', found 38
Pass 1: parsed user script and 39 library script(s) in 260usr/0sys/303real ms.
Eliding unused function warn
Eliding unused function error
Eliding unused function stp_print_binary
Pass 2: analyzed script: 1 probe(s), 2 function(s), 0 embed(s), 0 global(s) in 10usr/0sys/5real ms.
Segmentation fault (core dumped)



And probing into the core:


GNU gdb Red Hat Linux (6.6-16.fc7rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".


warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libdw.so.1...Reading symbols from /usr/lib/debug/usr/lib/libdw-0.133.so.debug...done.
done.
Loaded symbols for /usr/lib/libdw.so.1
Reading symbols from /usr/lib/libsqlite3.so.0...done.
Loaded symbols for /usr/lib/libsqlite3.so.0
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libelf.so.1...Reading symbols from /usr/lib/debug/usr/lib/libelf-0.133.so.debug...done.
done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Core was generated by `/usr/local/bin/stap -kvvve probe begin { log("hello world") exit () }'.
Program terminated with signal 11, Segmentation fault.
#0 report_kernel (dwfl=0x85b3478, release=<value optimized out>, predicate=0x808ea10 <kernel_filter>) at linux-kernel-modules.c:197
197 mod->e_type = ET_DYN;
(gdb) bt
#0 report_kernel (dwfl=0x85b3478, release=<value optimized out>, predicate=0x808ea10 <kernel_filter>) at linux-kernel-modules.c:197
#1 0xb7edb431 in dwfl_linux_kernel_report_offline (dwfl=0x85b3478, release=0x812d184 "2.6.25-rc9", predicate=0x808ea10 <kernel_filter>) at linux-kernel-modules.c:270
#2 0x080916bd in emit_symbol_data_from_debuginfo (s=@0xbfc1b340, kallsyms_out=@0xbfc1a084) at translate.cxx:4421
#3 0x08096810 in emit_symbol_data (s=@0xbfc1b340) at translate.cxx:4454
#4 0x08097bfe in translate_pass (s=@0xbfc1b340) at translate.cxx:4656
#5 0x08050d6a in main (argc=3, argv=0xbfc1bc14) at main.cxx:842
Current language: auto; currently c



stap[5507]: segfault at 64 ip 00694776 sp bfdfb9a0 error 6 in libdw-0.131.so[680000+23000]
stap[5508]: segfault at 64 ip 00694776 sp bff6f310 error 6 in libdw-0.131.so[680000+23000]
stap[5509]: segfault at 64 ip 00694776 sp bfc96830 error 6 in libdw-0.131.so[680000+23000]
stap[12186]: segfault at 64 ip b7edae68 sp bfc19f60 error 6 in libdw-0.133.so[b7ec6000+23000]
stap[12193]: segfault at 64 ip b7fb5e68 sp bf8f7440 error 6 in libdw-0.133.so[b7fa1000+23000]
stap[12194]: segfault at 64 ip b7f5ce68 sp bff9eae0 error 6 in libdw-0.133.so[b7f48000+23000]
stap[12196]: segfault at 64 ip b7ef3e68 sp bfc35770 error 6 in libdw-0.133.so[b7edf000+23000]
stap[12257]: segfault at 64 ip b7f54e68 sp bfd96900 error 6 in libdw-0.133.so[b7f40000+23000]
stap[12258]: segfault at 64 ip b7ecee68 sp bff0ea70 error 6 in libdw-0.133.so[b7eba000+23000]


Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070925 (Red Hat 4.1.2-27)




Can anyone provide any help here?

Other info:

running on FC7, systemtap from git://sources.redhat.com/git/systemtap.git, elfutil* updated via yum.

THanks.


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