public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Read fault when running example network/nfsd-trace.stp stap
@ 2017-05-26 14:59 Yun-Chih Chen
  2017-05-27 19:34 ` Daniel Doron
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Yun-Chih Chen @ 2017-05-26 14:59 UTC (permalink / raw)
  To: systemtap

I am running the example NFS stap file network/nfsd-trace.stp[1] on a
NFS server.
The stap file fails with the following message when a new NFS read
request comes in:

# sudo stap -v nfsd-trace.stp
Pass 1: parsed user script and 467 library scripts using
138276virt/44988res/7568shr/37488data kb, in 130usr/20sys/154real ms.
Pass 2: analyzed script: 22 probes, 66 functions, 9 embeds, 1 global
using 342304virt/246608res/9036shr/241516data kb, in
6020usr/730sys/6779real ms.
Pass 3: translated to C into
"/tmp/stapoyPncz/stap_b12e64c3fc1fc31297eb3b8c93c2dacf_107403_src.c"
using 342304virt/246856res/9228shr/241516data kb, in
200usr/70sys/265real ms.
Pass 4: compiled C into
"stap_b12e64c3fc1fc31297eb3b8c93c2dacf_107403.ko" in
4230usr/880sys/5113real ms.
Pass 5: starting run.
ERROR: read fault [man error::fault] at 0x0000000000000040 (addr) near
operator '->' at nfsd-trace.stp:18:31

It says "fh->fh_export->ex_path->mnt" is probably a reference on null
pointer ....

The test is conducted on both Linux 4.10 on Fedora 25 and Linux 3.10
on CentOS 7.  Both fails at the same place.
Does anyone know what's going on here?

Thanks,


Yunchih

[1] https://sourceware.org/systemtap/examples/network/nfsd-trace.stp

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-30 23:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-26 14:59 Read fault when running example network/nfsd-trace.stp stap Yun-Chih Chen
2017-05-27 19:34 ` Daniel Doron
2017-05-30 18:44 ` David Smith
     [not found] ` <0574e90c6ac44b1e8f4fb44029b69e7f@EXCHCAS07.ntu.internal>
2017-05-30 22:35   ` Yun-Chih Chen
2017-05-30 23:01     ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).