Ronald Scotti created a new topic ' Solver crashing Kstars' in the forum. 3 years ago

I am running Kstars 3.5.0 Stable (build 2020-12-06T18:17:19Z) on an Rpi 4 with 8 Gb memory. I have logging turned on with a separate log for astrometry, but it has stopped writing any astrometry logs. I have renamed the log file to include the date and set it for _verb, but a few days ago it stopped writing these logs. I get the regular logs and all they show is that everything just stops when the internal StellarSolver starts. It does not do this all the time, some nights it works fine (but still no Astrometry log). Once Kstars crashes, restarting it does not help. I have to reboot the Rpi and even then it may crash unless I set the solver option to only use one thread in solving.

Tonight was an example of this 'unusual' behavior. Everything worked fine thru polar alignment, slewing to a target, imaging and slewing to another target. After about 2 hours of imaging I began a move to another target, the log ended like this:
" 2021-01-18T21:32:07.210 EST INFO ][ org.kde.kstars.ekos.align] - "Image received."
[2021-01-18T21:32:07.214 EST INFO ][ org.kde.kstars.ekos.align] - "Automatically downsampling the image by 1"
[2021-01-18T21:32:07.342 EST INFO ][ org.kde.kstars.ekos.align] - "Evaluating Installed RAM for inParallel Option. Total Size of Index files: 2.74134 GB, Installed RAM: 7.64054 GB, Free RAM: 5.27455 GB"
[2021-01-18T21:32:07.346 EST INFO ][ org.kde.kstars.ekos.align] - "There should be enough RAM to load the indexes in parallel."
[2021-01-18T21:32:07.349 EST INFO ][ org.kde.kstars.ekos.align] - "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
[2021-01-18T21:32:07.352 EST INFO ][ org.kde.kstars.ekos.align] - "Starting Internal StellarSolver Sextractor with the 4-SmallScaleSolving profile . . ."
[2021-01-18T21:32:07.484 EST INFO ][ org.kde.kstars.ekos.align] - "Stars Found before Filtering: 85"
[2021-01-18T21:32:07.487 EST INFO ][ org.kde.kstars.ekos.align] - "Removing the stars with a/b ratios greater than 1.5"
[2021-01-18T21:32:07.490 EST INFO ][ org.kde.kstars.ekos.align] - "Keeping just the 50 brightest stars"
[2021-01-18T21:32:07.493 EST INFO ][ org.kde.kstars.ekos.align] - "Stars Found after Filtering: 50"
[2021-01-18T21:32:07.497 EST INFO ][ org.kde.kstars.ekos.align] - "Starting 4 threads to solve on multiple depths"
[2021-01-18T21:32:07.500 EST INFO ][ org.kde.kstars.ekos.align] - "Child Solver # 1, Depth Low 1, Depth High 13"
[2021-01-18T21:32:07.503 EST INFO ][ org.kde.kstars.ekos.align] - "Child Solver # 2, Depth Low 13, Depth High 25"
[2021-01-18T21:32:07.506 EST INFO ][ org.kde.kstars.ekos.align] - "Child Solver # 3, Depth Low 25, Depth High 37"
[2021-01-18T21:32:07.509 EST INFO ][ org.kde.kstars.ekos.align] - "Child Solver # 4, Depth Low 37, Depth High 49"
[2021-01-18T21:32:07.512 EST INFO ][ org.kde.kstars.ekos.align] - "Child Solver # 5, Depth Low 49, Depth High 61"
[2021-01-18T21:32:07.515 EST DEBG ][ org.kde.kstars.ekos.capture] - setAlignStatus: 4
[2021-01-18T21:32:07.626 EST DEBG ][ default] - WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ).
[2021-01-18T21:32:08.028 EST DEBG ][ org.kde.kstars.ekos.guide] - PHD2: request: "{\"id\":13039,\"jsonrpc\":\"2.0\",\"method\":\"get_connected\"}"
[2021-01-18T21:32:08.029 EST DEBG ][ org.kde.kstars.ekos.guide] - PHD2: defer call "get_app_state"
[2021-01-18T21:32:08.032 EST DEBG ][ org.kde.kstars.ekos.guide] - PHD2: response: "{\"jsonrpc\":\"2.0\",\"result\":true,\"id\":13039}\r\n"
[2021-01-18T21:32:08.032 EST DEBG ][ org.kde.kstars.ekos.guide] - PHD2: request: "{\"id\":13040,\"jsonrpc\":\"2.0\",\"method\":\"get_app_state\"}"
[2021-01-18T21:32:08.034 EST DEBG ][ org.kde.kstars.ekos.guide] - PHD2: response: "{\"jsonrpc\":\"2.0\",\"result\":\"Stopped\",\"id\":13040}\r\n"
[2021-01-18T21:32:08.129 EST INFO ][ org.kde.kstars.ekos.align] - "Scale range: 56.1163 to 112.233 arcmin wide"
[2021-01-18T21:32:08.148 EST INFO ][ org.kde.kstars.ekos.align] - "Image width 1280 pixels; arcsec per pixel range: 2.63045 to 5.2609"
[2021-01-18T21:32:08.152 EST INFO ][ org.kde.kstars.ekos.align] - "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
[2021-01-18T21:32:08.156 EST INFO ][ org.kde.kstars.ekos.align] - "Starting Internal StellarSolver Astrometry.net based Engine with the 4-SmallScaleSolving profile. . ."
[2021-01-18T21:32:08.177 EST INFO ][ org.kde.kstars.ekos.align] - "Scale range: 56.1163 to 112.233 arcmin wide"
[2021-01-18T21:32:08.181 EST INFO ][ org.kde.kstars.ekos.align] - "Image width 1280 pixels; arcsec per pixel range: 2.63045 to 5.2609"
[2021-01-18T21:32:08.184 EST INFO ][ org.kde.kstars.ekos.align] - "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
[2021-01-18T21:32:08.188 EST INFO ][ org.kde.kstars.ekos.align] - "Starting Internal StellarSolver Astrometry.net based Engine with the 4-SmallScaleSolving profile. . ."
[2021-01-18T21:32:08.196 EST INFO ][ org.kde.kstars.ekos.align] - "Scale range: 56.1163 to 112.233 arcmin wide"
[2021-01-18T21:32:08.199 EST INFO ][ org.kde.kstars.ekos.align] - "Image width 1280 pixels; arcsec per pixel range: 2.63045 to 5.2609"
[2021-01-18T21:32:08.203 EST INFO ][ org.kde.kstars.ekos.align] - "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
[2021-01-18T21:32:08.206 EST INFO ][ org.kde.kstars.ekos.align] - "Starting Internal StellarSolver Astrometry.net based Engine with the 4-SmallScaleSolving profile. . ."
[2021-01-18T21:32:08.266 EST INFO ][ org.kde.kstars.ekos.align] - "Scale range: 56.1163 to 112.233 arcmin wide"
[2021-01-18T21:32:08.270 EST INFO ][ org.kde.kstars.ekos.align] - "Image width 1280 pixels; arcsec per pixel range: 2.63045 to 5.2609"
[2021-01-18T21:32:08.274 EST INFO ][ org.kde.kstars.ekos.align] - "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
[2021-01-18T21:32:08.281 EST INFO ][ org.kde.kstars.ekos.align] - "Starting Internal StellarSolver Astrometry.net based Engine with the 4-SmallScaleSolving profile. . ."
[2021-01-18T21:32:08.362 EST INFO ][ org.kde.kstars.ekos.align] - "Scale range: 56.1163 to 112.233 arcmin wide"
[2021-01-18T21:32:08.365 EST INFO ][ org.kde.kstars.ekos.align] - "Image width 1280 pixels; arcsec per pixel range: 2.63045 to 5.2609"
[2021-01-18T21:32:08.369 EST INFO ][ org.kde.kstars.ekos.align] - "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
"
At this point Kstars completely crashed and I had to restart it, but it would then crash on every solve even after a reboot. I finally tried turning off multiple thread solving and then it worked for awhile, but eventually
crashed on another solver later on. Again, there was no Astrometry log written for any of these sessions, even though I explicitly set it to write a separate log before starting my profile in Ekos.

I don't know what I can do to shed any more light on this, if anyone has any ideas please let me know.

thanks,
Ron

Read More...