Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return code -6 when running script in Stellarium #3391

Closed
andrey-nakin opened this issue Sep 5, 2023 · 7 comments
Closed

Return code -6 when running script in Stellarium #3391

andrey-nakin opened this issue Sep 5, 2023 · 7 comments
Labels
bug Something likely wrong in the code
Milestone

Comments

@andrey-nakin
Copy link

Stellarium fails with error -6 when running my script.
Here are the last lines of Stellarium console log:

...
getPauseScript() is deprecated and will no longer be available in future versions of Stellarium.
Unloaded plugin "SolarSystemEditor"
Unloaded plugin "Satellites"
Unloaded plugin "Oculars"
Unloaded plugin "Novae"
Unloaded plugin "MeteorShowers"
Unloaded plugin "Exoplanets"
Downloaded 0 files (0 kbytes) in a session of 1492.97 sec (average of 0 kB/s + 0 files from cache (0 kB)).
LandscapeMgr: Clearing cache of 0 landscapes totalling about  0 MB.
malloc(): unsorted double linked list corrupted
Stellarium return code -6
@alex-w alex-w added the bug Something likely wrong in the code label Sep 5, 2023
@alex-w
Copy link
Member

alex-w commented Sep 5, 2023

Please attach the script and full log

@alex-w alex-w added the need more info Read the guidelines how to report properly, or we have new questions/suggestions to try label Sep 13, 2023
@github-actions
Copy link

Hello @andrey-nakin, we need more info and feedback!

The hardware info, steps of reproduction and log file are really important and help us resolve over 90% issues fast. Of course, in some specific cases we need more data, but we ask the required data separately...

@gzotti
Copy link
Member

gzotti commented Sep 13, 2023

I see you are using the deprecated pauseScript() call. After that, at some later point, you exit Stellarium, and during exiting, there is this malloc error.
Does your script initialize the exit from Stellarium?

Do we have to guess all this? https://github.com/Stellarium/stellarium/wiki/FAQ#reporting-a-crash

@alex-w
Copy link
Member

alex-w commented Sep 20, 2023

@andrey-nakin any feedback please

@andrey-nakin
Copy link
Author

@alex-w sorry for the delay. I'm trying to reproduce the issue and I can't. I can provide a bit more info about the circumstances the error occurred in.

  • The app is working in Linux Mint.
  • The script a quite big, about 200k.
  • The script makes a lot of screeshots and writes them to the disk.
  • The script is working for tens of minutes.
  • The error occurs in a random manner: the same script may cause it and may finish with zero code.

I'll provide more info when I am able to reproduce the bug.

@alex-w
Copy link
Member

alex-w commented Dec 11, 2023

Hi @andrey-nakin

Please check the fresh version (development snapshot) of Stellarium:
https://github.com/Stellarium/stellarium-data/releases/tag/weekly-snapshot

@andrey-nakin
Copy link
Author

Hi @alex-w

Tried it several times with no errors. Will notify if the issue reappears.

Thanks a lot

@alex-w alex-w added this to the 23.4 milestone Dec 19, 2023
@alex-w alex-w removed the need more info Read the guidelines how to report properly, or we have new questions/suggestions to try label Dec 19, 2023
@alex-w alex-w closed this as completed Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something likely wrong in the code
Development

No branches or pull requests

3 participants