-
Notifications
You must be signed in to change notification settings - Fork 10
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
CARTA crashes when using beam tables with 64-bit floats #1166
Comments
@Jordatious would you be able to provide a test cube for investigation please? |
Perhaps @amirkazemim can (privately, assuming it's proprietary data)? |
a cutout (noisy sky) would be just useful if it is proprietary |
I created a random noise array, saved it once with a 32-bit beam table and another time with the astropy-default (I think 64-bit) beam table. There are two fits files in the zipped attachment, noise_cube_32.fits can be opened with CARTA. However, CARTA v3.0.1 stalls on noise_cube_64.fits because of its beam table. Hope this helps. |
Thank you for supplying the test images. |
@amirkazemim @Jordatious could you try the v4-beta release to see if the issue persists? I tried but both test images can be loaded just fine. |
Are you able to check v4-beta @amirkazemim? |
Unfortunately, I am not able to check with v4-beta, @Jordatious. |
I'm unable to load the 64-bit image provided above in either v3.0.1 or v4.0-beta.1 using the IDIA controller / server version. Whenever I try to open it, or click on it within the file browser, the backend disconnects. |
ok. with macOS Apple silicon chip, it works with v4-beta. However, with macOS intel chip, it crashes. Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 VM Region Info: 0xd00000000 is not in any region. Bytes after previous region: 51227545601 Bytes before following region: 123089651085312 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread |
An issue was discovered by @amirkazemim where certain FITS cubes he was producing with a custom script would not open on the IDIA CARTA server. CARTA would crash trying to read the FITS file in file browser, after which it would display a "Connection lost" error. Amir reduced the issue to the beam table being written as 64-bit floats (the astropy default), whereas when 32-bit beam tables were used, they opened just fine in CARTA. The cubes which have beam tables as 64-bit floats open fine in ds9, and were converted fine to IDIA's HDF5 schema. Therefore it seems like this might be a CARTA bug.
I was hoping one of the CARTA developers could reproduce the issue, but if not, please let us know and we can produce a cube.
The text was updated successfully, but these errors were encountered: