-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
upstreamFixing this issue requires changes to Astrometry.netFixing this issue requires changes to Astrometry.net
Description
EDIT: Apologizes, I misread the code. The area of code I pointed to before I think is fine. Sorry about that! Though, there is a memory issue somewhere in the C code, I think.
99% of the time solving has no issues, but occasionally there is a malloc error (overflow maybe). This seems to be related to the more crowded fields.
Length = 1686 rows #len of star sources
INFO:root:loaded 48 index files
5200 scale: 5
INFO:root:solve 1: start
...
INFO:root:solve 1: slice=[900, 925[ (37 / 67), index="5200/index-5205-13.fits" (1 / 1)
INFO:root:solve 1: slice=[925, 950[ (38 / 67), index="5200/index-5205-13.fits" (1 / 1)
INFO:root:solve 1: slice=[950, 975[ (39 / 67), index="5200/index-5205-13.fits" (1 / 1)
INFO:root:solve 1: slice=[975, 1000[ (40 / 67), index="5200/index-5205-13.fits" (1 / 1)
INFO:root:solve 1: slice=[1000, 1025[ (41 / 67), index="5200/index-5205-13.fits" (1 / 1)
INFO:root:solve 1: slice=[1025, 1050[ (42 / 67), index="5200/index-5205-13.fits" (1 / 1)
malloc(): invalid size (unsorted)
Aborted (core dumped)
sometimes the error is different:
python3: malloc.c:4302: _int_malloc: Assertion `(unsigned long) (size) >= (unsigned long) (nb)' failed.
or
malloc(): unaligned tcache chunk detected
I am able to get around this by providing a smaller sample of star positions at different scales.
Thank you for creating this python module! It is very useful.
Metadata
Metadata
Assignees
Labels
upstreamFixing this issue requires changes to Astrometry.netFixing this issue requires changes to Astrometry.net