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

Segmentation fault using spectral line query #835

Closed
keflavich opened this issue Jun 10, 2021 · 7 comments
Closed

Segmentation fault using spectral line query #835

keflavich opened this issue Jun 10, 2021 · 7 comments
Labels
bug Something isn't working

Comments

@keflavich
Copy link

I tried running a spectral line query for the first time since upgrading to 2.0. It immediately segmentation faulted:

/scratch/local/2762493/.mount_CARTA-DdZrZq/AppRun: line 18: 25445 Segmentation fault (core dumped) $DIR/bin/carta_backend "$@"

I was simply querying between 87.8 and 87.95 GHz with a couple modest-sized cubes open.

@veggiesaurus
Copy link
Collaborator

What distro is this? Could you try using the packaged version instead of the appimage?

@duidae
Copy link
Contributor

duidae commented Jun 11, 2021

This works for AppImage on RedHat/CentOS 7 platform(found by @ajm-asiaa):
$ sudo yum install nss

@veggiesaurus
Copy link
Collaborator

@keflavich what distro are you running this on? Did the above suggestion fix the issue?

@keflavich
Copy link
Author

I was running on redhat 7. I don't have rights to install software globally on the machine. I haven't retried yet

@ajm-ska
Copy link
Collaborator

ajm-ska commented Jul 15, 2021

I don't think this is a CARTA issue as such.
CARTA uses the system's 'curl' command to query the spectral line database.
The segmentation fault is due to curl failing. It is failing because the Network Security Services (nss) certificates are outdated. You are likely using an older RedHat 7 release such as RedHat 7.3 or 7.4 (cat /etc/redhat-release)
I bet 'curl' on that system is unable to connect to any HTTPS service.
It can be fixed by updating the certificates with sudo yum install nss, but I understand you don't have root access.

@veggiesaurus
Copy link
Collaborator

I don't think this is a CARTA issue as such.
CARTA uses the system's 'curl' command to query the spectral line database.
The segmentation fault is due to curl failing. It is failing because the Network Security Services (nss) certificates are outdated. You are likely using an older RedHat 7 release such as RedHat 7.3 or 7.4 (cat /etc/redhat-release)
I bet 'curl' on that system is unable to connect to any HTTPS service.
It can be fixed by updating the certificates with sudo yum install nss, but I understand you don't have root access.

the workaround for CARTA would be to not enforce HTTPS checking, as far as I know 🤔 Or to attept HTTP connection and fall back on HTTP if it fails. A segfault isn't an ideal situation.

@veggiesaurus veggiesaurus added the bug Something isn't working label Aug 24, 2021
@kswang1029
Copy link
Contributor

This issue will not be addressed as we are going to migrate the query from the backend to the frontend. Please refer to #994 and CARTAvis/carta-frontend#1755

Close this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants