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 when exporting region file including polyline #891

Closed
kswang1029 opened this issue Aug 5, 2021 · 3 comments · Fixed by #898
Closed

backend crash when exporting region file including polyline #891

kswang1029 opened this issue Aug 5, 2021 · 3 comments · Fixed by #898
Assignees
Labels
bug Something isn't working critical bug critical bug which is a showstopper for release

Comments

@kswang1029
Copy link
Contributor

kswang1029 commented Aug 5, 2021

@YuHsuan-Hwang found this while implementing the frontend support of polyline (CARTAvis/carta-frontend#1592). After some investigations, it appears that exporting a polyline with specific numbers of points would cause the backend crash. They are 4, 8, 12 and so on.

@kswang1029 kswang1029 added bug Something isn't working critical bug critical bug which is a showstopper for release labels Aug 5, 2021
@pford pford self-assigned this Aug 5, 2021
@pford
Copy link
Collaborator

pford commented Aug 6, 2021

I need more information @YuHsuan-Hwang @kswang1029 . Using frontend commit origin/yuhsuan/1149_polyline_region 5e4870d and backend dev, I opened set_QA/set_QA_regionTest/M17_SWex.image and created a 4-point polyline region and an 8-point polyline region then exported them in CRTF pixel and world and DS9 pixel and world coordinates without a backend crash. Backend was running in Docker with Ubuntu 20.04.

@pford
Copy link
Collaborator

pford commented Aug 6, 2021

I did the same as above on Mix 'n Match with a 4-pt polyline, exported testpolyline4pt.crtf (pixel) and testpolyline4pt_world.crtf (world).

@pford pford added the question Further information is requested label Aug 6, 2021
@kswang1029
Copy link
Contributor Author

@pford hmmm, have you tried the native mac build? It appears that this only happens on mac...

@pford pford removed the question Further information is requested label Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical bug critical bug which is a showstopper for release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants