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

[Question] gfal-copy failed with Segmentation fault #4

Closed
a6350202 opened this issue Mar 9, 2018 · 7 comments
Closed

[Question] gfal-copy failed with Segmentation fault #4

a6350202 opened this issue Mar 9, 2018 · 7 comments
Assignees
Labels

Comments

@a6350202
Copy link

a6350202 commented Mar 9, 2018

Hello again,
due to this question is not related to my pervious one, I create a new issue.

I need to use gfal2 to run Rucio command (download/upload),
but after running to this line leads to Segmentation fault: 11.

> /opt/rucio/lib/rucio/rse/protocols/gfal.py(369)__gfal2_copy()
-> ret = ctx.filecopy(params, str(src), str(dest))
(Pdb)
Segmentation fault: 11

So I try to initial a virtualenv (follow README of this project),
and run gfal-copy command also get error: Segmentation fault: 11.

(.venv) Mandyde-MacBook-Pro:rucio root# gfal-copy README.rst xroot://<our_storage>//eos/tmp/README.rst
180309 17:23:21 9735 secgsi_InitProxy: cannot access private key file: /var/root/.globus/userkey.pem
Segmentation fault: 11

My MacBook OS version: 10.12.6
Python version: 2.7.10

@andrea-manzi
Copy link
Contributor

Hi,
from the logs looks like you cannot access the local certificate.
do you have one and with the correct permission?
thanks
Andrea

@a6350202
Copy link
Author

Yes, I have one.
But there is no permission on my certificate to access storage.
I try to copy our root proxy as /tmp/x509up_u0 and execute gfal-copy again.

The error of secgsi_InitProxy: cannot access private key file: /var/root/.globus/userkey.pem didn't occur.
and it still show Segmentation fault: 11:

(.venv) Mandyde-MacBook-Pro:dicos-rucio root# gfal-copy README.rst xroot://<our_storage>//eos/tmp/README.rst
Segmentation fault: 11

@andrea-manzi
Copy link
Contributor

are you running as root? cause otherwise the proxy should be the one of the user ( /tmp/x509up_u

you should also use the file:/// protocol if you want to copy from local file:

gfal-copy file:///README.rst xroot://<our_storage>//eos/tmp/README.rst

@a6350202
Copy link
Author

Sorry for the late reply...
Yes, I am running as root and the proxy file name is also right...

I try your command gfal-copy file:///opt/dicos-rucio/README.rst xroot://<our_storage>//eos/tmp/README.rst

still shows Segmentation fault: 11

@andrea-manzi
Copy link
Contributor

sorry i was not able to test it so far as my Mac was being repaired.
i have the same problem on gfal-copy, ( other commands are working though)
i'm going to investigate

@andrea-manzi andrea-manzi self-assigned this Mar 19, 2018
@chrisburr
Copy link

This should be fixed now: https://its.cern.ch/jira/browse/DMC-1026

@andrea-manzi
Copy link
Contributor

i can confirm that the segmentation fault is gone, thanks @chrisburr for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants