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]

[Bug server/15101] [PATCH] Stap sefaults when calling NSS_shutdown() which was not previously initialized


http://sourceware.org/bugzilla/show_bug.cgi?id=15101

--- Comment #8 from Jiri Horky <jiri.horky at gmail dot com> 2013-02-07 08:19:20 UTC ---
Hi all,

I confirm that the latest git version fixes the problem  for us. As of
authorship, I would prefer if Lukas was listed as he was the one who found the
cause of segfault and fixed it.

Just to complete the picture, here are the requested information (without -vvvv
output of stap - I would have to downgrade stap and I understood it is no
longer necessary):

root@fe6.du1 ~/systemtap # rpm -qa | grep nss
nss_ldap-262-11.32.31.1
php5-openssl-5.2.14-0.7.30.42.1
libopenssl1_0_0-1.0.0c-18.21.1
insserv-1.12.0-25.3.20
libnsssharedhelper0-1.0.6-1.6
openssl-certs-0.9.8h-27.5.1
openssl-0.9.8j-0.44.1
libopenssl0_9_8-0.9.8j-0.44.1
libnsssharedhelper0-32bit-1.0.6-1.6
libopenssl0_9_8-32bit-0.9.8j-0.44.1
openssh-5.1p1-41.55.1.hpn4
mozilla-nss-32bit-3.13.5-0.4.2
openssh-askpass-5.1p1-41.55.1.hpn4
mozilla-nss-3.13.5-0.4.2

root@fe6.du1 ~/systemtap # rpm -qa | grep nspr
mozilla-nspr-32bit-4.9.1-0.5.1
mozilla-nspr-4.9.1-0.5.1

The stap was invoked normally just as:
stap -v -g /cxfs/clusterbase/admin/accounting/nfsdacc-fullpath.stp

One needs to have a patched nfsd tapset script to be able to use the
"nfsdacc-fullpath.stp" script:


--- tapset/linux/nfsd.stp       2013-01-04 21:22:00.718422707 +0100
+++ tapset/linux/nfsd.stp-lh    2013-01-04 21:10:50.328889987 +0100
@@ -536,6 +536,8 @@
        vec = $rqstp->rq_vec
        vlen = $write->wr_vlen
        stable = $write->wr_stable_how
+       uid = $rqstp->rq_cred->cr_uid;
+       gid = $rqstp->rq_cred->cr_gid;

        name = "nfsd.proc4.write"
        argstr = sprintf("%d,%d",count,offset)

Thank you
Jiri Horky

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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