eddy_em: (Костерок)
[personal profile] eddy_em
fitsread: malloc.c:2369: sysmalloc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Аварийный останов (core dumped)


Это жесть! Что интересно: когда вызываю данную функцию, создавая таблицу из данных, все ОК; как только пытаюсь прочитать сохраненную FITS-таблицу — фигвам!

Пойду-ка я домой, а завтра попробую разобраться в косяке. Все-таки, код дикий...

UPD: оказывается, это была бага cfitsio. Нельзя считать сразу массив, надо поштучно.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

October 2025

S M T W T F S
   1234
567 89 1011
121314 15161718
19202122232425
2627 28293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 25th, 2026 09:32 am
Powered by Dreamwidth Studios