This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug lket/4420] systemtap.samples/lket.exp test crashing RHEL4U4 machine
- From: "wcohen at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 30 Apr 2007 20:51:21 -0000
- Subject: [Bug lket/4420] systemtap.samples/lket.exp test crashing RHEL4U4 machine
- References: <20070424200707.4420.wcohen@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From wcohen at redhat dot com 2007-04-30 21:51 -------
Noticed that when running the scripts with "-DASCII_TRACE" that the machine did
not crash but there were messages like the following in the trace:
3|1|1177961852|944213|4318|4317|4318|0|4330|4330|3|systemtap/0ERROR: pointer
dereference fault near identifier '$ppos' at
/home/wcohen/stap_snap_200704301701/install/share/systemtap/tapset/vfs.stp:477:17
I commented out the _stp_printf calls in _lket_trace() in lket_trace.stp and
reran. When doing this the machine did not crash. Ended up getting something
error messge like the following:
ERROR: pointer dereference fault near identifier '$ppos' at
/home/wcohen/stap_snap_200704301701/install/share/systemtap/tapset/vfs.stp:477:17
WARNING: Number of errors: 1, skipped probes: 1
Pass 5: run completed in 20usr/1690sys/1753real ms.
Keeping temporary directory "/tmp/stapcIgg9D"
put the code in the following loop with the _stp_printf commented out and things
worked:
while (true); do sudo
/home/wcohen/stap_snap_200704301701/install/bin/staprun
/tmp/stapNbc2MJ/stap_7c521505a03e921392ee3ab981f37877_161620.ko; done
when the _stp_printf operating in _lket_trace() it crashes. looks like there is
some issue with _stp_printf or the arguments being passed to _stp_printf when
binary format involved. Things worked with "-DASCII_TRACE"
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4420
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.