SCAMP 2.7.2 seg fault on Mac when calculating colour shifts
mrkite92 opened this issue · 4 comments
mrkite92 commented
With ATLAS from fink, see attached crash report
scamp_2018-08-23-162304_macprojb.crash.zip
mrkite92 commented
Found: line 149 of proper.c
xi = samp->msamp->colour;
should be
xi = samp->msamp ? samp->msamp->colour : 0.0;
ebertin commented
Yes that would do it but detections with samp->msamp at NULL are not reliable at all and their colors make no sense. I will have a look at it as soon as I find the time.
mrkite92 commented
Hello Emmanuel,
Yes that would do it but detections with samp->msamp at NULL are not reliable at all and their colors make no sense. I will have a look at it as soon as I find the time.
C’est corrigé chez moi, j’ai ajouté un commentaire sur Github avec la correction (adaptée de la version du trunk AstrOmatic…), je viens d’en parler à Sébastien.
Cheers,
JB