Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XrdPss] Crash when initializing on 4.7.x #627

Closed
herver opened this issue Nov 21, 2017 · 0 comments
Closed

[XrdPss] Crash when initializing on 4.7.x #627

herver opened this issue Nov 21, 2017 · 0 comments

Comments

@herver
Copy link

herver commented Nov 21, 2017

Context

  • xrootd updated to 4.7.1 (also present in 4.7.0)
  • Simple PSS proxy

Issue

Daemon crashes during initialization:

#1  0x00007f7cc5a3193e in strdup () from /lib64/libc.so.6
#2  0x00007f7cc6bfa94d in XrdOucPsx::SetRoot (this=0x23f6eb0, lroot=0x23f7030 "/eos/cms/tier0", rroot=rroot@entry=0x0) at /usr/src/debug/xrootd/xrootd/src/XrdOuc/XrdOucPsx.cc:779
#3  0x00007f7cc34ae338 in XrdPssSys::Configure (this=this@entry=0x7f7cc36b2580 <XrdProxy::XrdProxySS>, cfn=cfn@entry=0x23bffb0 "/etc/xrootd/xrootd-cmstzero.cfg") at /usr/src/debug/xrootd/xrootd/src/XrdPss/XrdPssConfig.cc:236
#4  0x00007f7cc34aae0a in XrdPssSys::Init (this=this@entry=0x7f7cc36b2580 <XrdProxy::XrdProxySS>, lp=<optimized out>, configfn=0x23bffb0 "/etc/xrootd/xrootd-cmstzero.cfg") at /usr/src/debug/xrootd/xrootd/src/XrdPss/XrdPss.cc:158
#5  0x00007f7cc34ab190 in XrdOssGetStorageSystem (native_oss=<optimized out>, Logger=<optimized out>, config_fn=<optimized out>, parms=<optimized out>) at /usr/src/debug/xrootd/xrootd/src/XrdPss/XrdPss.cc:120
[...]

Cause

Unitialized parameter passed to XrdOucPsx::SetRoot (https://github.com/xrootd/xrootd/blob/master/src/XrdOuc/XrdOucPsx.cc#L769), it expects 2 parameters lroot and rroot but we only pass one as can be seen here: https://github.com/xrootd/xrootd/blob/master/src/XrdPss/XrdPssConfig.cc#L236

@abh3 abh3 closed this as completed in b6706eb Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant