×

INDI Library v1.9.6 Released (21 May 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

[Solved (maybe)] Stellar solver crashing during guiding

  • Posts: 335
  • Thank you received: 48
Using the nightlies  Build: 2022-03-10T15:37:41Z   on  an Odroid  Release 20.04.4 LTS (Focal Fossa) 64-bit    Kernel Linux 4.9.277-122 aarch64

During a test of the Scheduler it appears that StellarSolver crashes during the beginning of guiding.

#7  0x0000007fb697574c in StellarSolver::~StellarSolver() (this=0x7f587c4100, __in_chrg=<optimized out>;) at /media/odroid/T5_1T_SSD/Projects/stellarsolver/stellarsolver/stellarsolver.cpp:45

The  ekosdebugger logs are hopefully attached.

Any suggestions?
Thanks
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2+PPBA
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04.4 2) StellarMate RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
3 months 2 weeks ago #81307
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2722
  • Thank you received: 760
Hi Jerry,

Can you update your stellarsolver?  I just recently added the ability to delete a stellarsolver without danger of it crashing when deleted due to running threads, but you might not have that version of StellarSovler.  I just released a 2.1 version.  Please try that. KStars now deletes the stellarsolver when doing Star Extraction.
The following user(s) said Thank You: Jerry Black
3 months 2 weeks ago #81309

Please Log in or Create an account to join the conversation.

  • Posts: 2722
  • Thank you received: 760
I just spoke to Jasem, He said he will rebuild for the PPA soon.  Then you will have a good version in there.
3 months 2 weeks ago #81310

Please Log in or Create an account to join the conversation.

  • Posts: 335
  • Thank you received: 48
OK! Great. I'll look for it.

Thanks!
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2+PPBA
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04.4 2) StellarMate RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
3 months 2 weeks ago #81311

Please Log in or Create an account to join the conversation.

  • Posts: 335
  • Thank you received: 48
Hi,

So I'm still having problems with KStars crashing from a Stellar Solver pointer? during guiding, I think.  This is with an updated StellarSolver installed after Rob suggestion, via the Software Updater on Ubuntu 20.0.4, and another git pull of the libraries and kstars
     echo ================================================================
    echo Part 2: Update the repositories
     echo ================================================================
    cd $p/Projects/indi
    echo $p/Projects/indi
    git pull origin
     echo ================================================================
    cd $p/Projects/indi-3rdparty
   echo $p/Projects/indi-3rdparty
    git pull origin
     echo ================================================================
    cd $p/Projects/kstars
    echo $p/Projects/kstars
    git pull origin
fi
 
# Clone and install Stellarsolver
if [ $run_stellarsolver ]; then
     echo ================================================================
     echo ================================================================
    echo Part 3: Stellarsolver
     echo ================================================================
    mkdir -p $p/Projects;
    cd $p/Projects
    rm -R ./stellarsolver/
    git clone https://github.com/rlancaste/stellarsolver.git
    ./stellarsolver/linux-scripts/installStellarSolverLibrary.sh
    echo Stellarsolver has been installed
fi
Not quite sure what is different in my situation versus the developers' environments.
 

File Attachment:

File Name: kstars_deb...0-15.txt
File Size:9 KB


Thanks
 
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2+PPBA
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04.4 2) StellarMate RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
3 months 2 weeks ago #81337
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2722
  • Thank you received: 760
Ok, we could change it back in kstars to the way it was before, using just QPointer instead of std::uniqueptr.  That would allow it to stick around a little longer and not get deleted while it is still running threads.
3 months 2 weeks ago #81344

Please Log in or Create an account to join the conversation.

  • Posts: 335
  • Thank you received: 48
With a compile about 1/2 hour ago, during a scheduler test using the simulators, it survived all steps of starting up (track, focus,align, guide setup), but after the 1st downloaded image, it crashed, so perhaps you've found the culprit in the std:uniqueptr, but of course this is conjecture.

Thanks
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2+PPBA
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04.4 2) StellarMate RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
3 months 2 weeks ago #81345

Please Log in or Create an account to join the conversation.

  • Posts: 335
  • Thank you received: 48
Perhaps coincident with Jasem's various memory leaks update invent.kde.org/education/kstars/-/commit...516ed40b3445bf43dbdd
my KStars Build: 2022-03-12T13:23:17Z 3.5.8 Beta on Ubuntu Release 20.04.4 LTS (Focal Fossa) 64-bit Kernel Linux 4.9.277-122 aarch64
Bleeding Edge build (the subject of this error report) appears to be running well now.
Only tested via running a scheduler job using the simulators.
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2+PPBA
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04.4 2) StellarMate RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
Last edit: 3 months 2 weeks ago by Jerry Black.
3 months 2 weeks ago #81369

Please Log in or Create an account to join the conversation.

  • Posts: 2722
  • Thank you received: 760
Yes, I had written a merge request for kstars yesterday, but in the middle of Jasem's commit that you mentioned, he did pretty much the same thing my merge request would have done.  So yes, that should be fixed I hope.
The following user(s) said Thank You: Jerry Black
3 months 1 week ago #81383

Please Log in or Create an account to join the conversation.

Time to create page: 0.284 seconds