I just got the FITS viewer to kill KStars 3.1.1 (build 2019-03-09). It's on Kubuntu 18.04 Dell laptop and up to date OS and KStars/INDI from PPA. Now simply start KStars and open a FITS file. Then click the histogram tool and then the Statistics tool, histrogram, stats, historgram, stats. After more or less switches I get a segfault. See the bebugger output in attachment.