This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
stap is getting a segentation fault
- From: David Wilder <dwilder at us dot ibm dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Wed, 26 Sep 2007 16:44:03 -0700
- Subject: stap is getting a segentation fault
Hi, I am seeing a problem with systemtap on RHEL 5.1 beta on s390.
Before I dig into it any ideas?
The problem is that stap is getting a SIGSEGV whenever I attempt place a
probe in a module.
Here is a stack trace.
(gdb) run -vv dw.stp
Starting program: /usr/src/redhat/BUILD/systemtap-0.5.14/test/stap -vv
dw.stp
[Thread debugging using libthread_db enabled]
[New Thread 2199023370768 (LWP 1725)]
SystemTap translator/driver (version 0.5.14/0.128 built 2007-09-25)
Copyright (C) 2005-2007 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Created temporary directory "/tmp/stapXNCAti"
Searched '/usr/share/systemtap/tapset/s390x/*.stp', found 1
Searched '/usr/share/systemtap/tapset/*.stp', found 35
Searched '/usr/share/systemtap/tapset/LKET/*.stp', found 19
Pass 1: parsed user script and 55 library script(s) in
620usr/10sys/645real ms.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2199023370768 (LWP 1725)]
0x0000004a05120a3a in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string () from /usr/lib64/libstdc++.so.6
(gdb) bt
#0 0x0000004a05120a3a in std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::basic_string () from
/usr/lib64/libstdc++.so.6
#1 0x000000008007d806 in query_cu (cudie=<value optimized out>,
arg=<value optimized out>) at tapsets.cxx:457
#2 0x000000008007e948 in dwarf_query::handle_query_module
(this=0x3ffffa05648)
at tapsets.cxx:819
#3 0x000000008007048a in query_module (mod=<value optimized out>,
name=0x80c1a480 "qdio", arg=<value optimized out>) at tapsets.cxx:3003
#4 0x00000000800765d6 in dwarf_builder::build (this=0x80bbd860,
sess=@0x3ffffa06a38, base=0x800dc1f0, location=0x800d96f0,
parameters=<value optimized out>, finished_results=<value optimized
out>)
at tapsets.cxx:778
#5 0x0000000080031c40 in match_node::find_and_build (this=0x80bbdf80,
s=@0x3ffffa06a38, p=0x800dc1f0, loc=0x800d96f0, pos=2159798832,
results=@0x3ffffa06798) at elaborate.cxx:318
#6 0x0000000080031a7e in match_node::find_and_build (this=0x80bbdf00,
s=@0x3ffffa06a38, p=0x800dc1f0, loc=0x800d96f0, pos=2,
results=@0x3ffffa06798) at elaborate.cxx:377
#7 0x0000000080031a7e in match_node::find_and_build (this=0x800d91f0,
s=@0x3ffffa06a38, p=0x800dc1f0, loc=0x800d96f0, pos=1,
results=@0x3ffffa06798) at elaborate.cxx:377
#8 0x0000000080035c38 in derive_probes (s=@0x3ffffa06a38, p=0x800dc1f0,
dps=@0x3ffffa06798, optional=<value optimized out>) at
elaborate.cxx:567
#9 0x0000000080036424 in semantic_pass_symbols (s=@0x3ffffa06a38)
at elaborate.cxx:958
#10 0x000000008003a6f2 in semantic_pass (s=@0x3ffffa06a38) at
elaborate.cxx:999
#11 0x000000008000a96e in main (argc=<value optimized out>,
argv=0x3ffffa0734e)
at main.cxx:667
(gdb)