×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Kstars crash

  • Posts: 220
  • Thank you received: 14

Kstars crash was created by Teseo

@knro
Kstars stops abnormally without error in the kstars log, segmentation error.

For now workaround is delete:
/home/pcxz/.local/share/kstars/asteroids.bin
/home/pcxz/.local/share/kstars/asteroids.dat
/home/pcxz/.local/share/kstars/comets.dat

Attach gdb log, where is reported:
...
Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
0x00005555556c3b25 in SkyObject::translatedLongName (this=0x555558d615e0)
    at /opt/Astronomia/indi_ekos_build/Projects/kstars/kstars/skyobjects/skyobject.h:171
171	    QString translatedLongName() const { return i18n(longname().toUtf8()); }
...
4 years 9 months ago #40074
Attachments:

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

Replied by Jasem Mutlaq on topic Kstars crash

Do you have more backtrace info? If you run KStars via gdb, you can type in bt to get more backtrace. I can't reproduce this crash.
4 years 9 months ago #40084

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

  • Posts: 220
  • Thank you received: 14

Replied by Teseo on topic Kstars crash

Sorry for delay reply, not have more much time.
Thanks.
4 years 9 months ago #40137
Attachments:

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

Replied by Jasem Mutlaq on topic Kstars crash

Ok so it looks like memory access error since one SkyObject (which was focused) no longer exists or was not initialized or some stray pointer. Do you get this crash after you reinstall the comets again?
4 years 9 months ago #40138

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

  • Posts: 220
  • Thank you received: 14

Replied by Teseo on topic Kstars crash

Now I have deleted the files:
/home/pcxz/.local/share/kstars/asteroids.bin
/home/pcxz/.local/share/kstars/asteroids.dat
/home/pcxz/.local/share/kstars/comets.dat
and restarted the program, No problem.

I updated the data on asteroids and comets, from menu: Data->Updates
No problem.
4 years 9 months ago #40139

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

Time to create page: 0.576 seconds