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

Backend crash if file attached to is removed #188

Open
kgolap opened this issue Jun 6, 2023 · 1 comment
Open

Backend crash if file attached to is removed #188

kgolap opened this issue Jun 6, 2023 · 1 comment
Labels
question Further information is requested

Comments

@kgolap
Copy link

kgolap commented Jun 6, 2023

Describe the bug
If the image being viewed gets removed from disk the back end crash

This is what the backend messages before crashing

terminate called after throwing an instance of 'casacore::AipsError'
what(): File::getstat error on /lustre/kgolap/BUGS/CAS-13814/hpg_v100_basic_cube.pb: No such file or directory
/tmp/.mount_cartaknIhjk/AppRun: line 26: 104879 Aborted (core dumped) $DIR/bin/carta_backend "$@"

To Reproduce
Steps to reproduce the behavior:

  1. View an image in the frontend
  2. delete the image on disk while the frontend is displaying it

Expected behavior
After receiving the signal that the image is no longer there it should just remove the image from the display (i.e
forcefully close it) rather than the backend quitting

Platform info (please complete the following information):

  • OS: Linux RHEL 7
  • Browser Firefox
  • Version 102.10 esr
@kswang1029
Copy link

@veggiesaurus @confluence @YuHsuan-Hwang I guess in this case, we need a mechanism to let backend trigger. CLOSE_FILE. Currently, the close file action is only triggered by the frontend (ie user).

@kswang1029 kswang1029 added the question Further information is requested label Nov 28, 2023
@kswang1029 kswang1029 added this to CARTA Dec 6, 2023
@kswang1029 kswang1029 moved this to New issue in CARTA Dec 6, 2023
@kswang1029 kswang1029 removed this from CARTA Dec 6, 2023
@kswang1029 kswang1029 added this to CARTA Dec 6, 2023
@kswang1029 kswang1029 moved this to New issue in CARTA Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
No open projects
Status: New issues
Development

No branches or pull requests

2 participants