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

dbg option in http.secxtractor causes stuck of HTTP protocol initialization #1245

Closed
riccardodimaria opened this issue Jul 8, 2020 · 2 comments

Comments

@riccardodimaria
Copy link

riccardodimaria commented Jul 8, 2020

Hi,
while testing XRootD HEAD I noticed that one of the options I was using before for http.secxtractor directive causes now stuck of the HTTP protocol initialization.

In particular, setting:
http.secxtractor libXrdSecgsiVOMS.so vos=atlas,cms,escape,dteam|grpopt=02|dbg
results in an unfinished log in the cache as:

Plugin unreleased XrdHttpProtocolTest v20200708-9364927 is using unreleased XrdVomsHttp v20200708-9364927 version in secxtractorlib libXrdSecgsiVOMS-5.so
200708 17:24:10 21406  XrdVomsInit: ++++++++++++++++++ VOMS plug-in +++++++++++++++++++++++++++++++
200708 17:24:10 21406  XrdVomsInit: +++ proxy fmt:    raw
200708 17:24:10 21406  XrdVomsInit: +++ group option: all of all groups
200708 17:24:10 21406  XrdVomsInit: +++ group(s):      <not specified>
200708 17:24:10 21406  XrdVomsInit: +++ VO(s):        atlas,cms,escape,dteam
200708 17:24:10 21406  XrdVomsInit: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

The removal of option |dbg results in the success of the HTTP protocol initialization, and hence of the cache, otherwise stuck.

@xrootd-dev
Copy link

xrootd-dev commented Jul 8, 2020 via email

@riccardodimaria
Copy link
Author

To be honest, I am quite new to GDB. So not sure what I did is correct. Please tell me otherwise.

  • start xrootd and get PID process
  • (gdb) attach PID
  • (gdb) thread apply all bt

The file attached contains the output of these 2 actions.
gdb.log

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

2 participants