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: stap core dump


Peter Teoh wrote:
> 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:

Here's the first thing that caught my eye:

 > 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]

According to the above, you've got 2 different versions of libdw
installed on your system - 0.131.so and 0.133.so.  Is that just gdb
being confused or is that really the case?

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)


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