CARTAvis / carta-backend

Source code repository for the backend component of CARTA, a new visualization tool designed for the ALMA, the VLA and the SKA pathfinders.
https://cartavis.github.io/
GNU General Public License v3.0
22 stars 11 forks source link

Segmentation fault backend crash with two cubes and high resolution region #1384

Open AstroAaron opened 4 months ago

AstroAaron commented 4 months ago

Describe the bug Segmentation fault: /usr/bin/carta: line 20: 227108 Segmentation fault (core dumped) carta_backend "$@" Having loaded in a cube (size \~2.6GB) and another cube (size \~2.6GB)), and having a region file loaded in with many points (~>300) crashes the backend when setting the active region in the z-profile to the imported region.

To Reproduce Steps to reproduce the behavior:

  1. Load in your cube produced with tclean in fits format.
  2. Load in a secondary cube produced with tclean in fits format.
  3. Import region with high number of points (both pixel and sky coordinates will crash CARTA).
  4. Select the region in the z-profile window.
  5. See error.

Expected behavior Using the region, CARTA should show the spectrum of the active cube.

Screenshots or videos image

Platform info (please complete the following information):

kswang1029 commented 4 months ago

likely to have the same root cause as #1383