×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

kstars crash on short exposure (with ASI camera)

  • Posts: 1009
  • Thank you received: 133
Just compiled the latest indi and kstars (3.3.6-787_gcefa36d91).
Trying to run a short exposure (0.01s) reproducibly crashes kstars (though I was able to take one exposure before).

I restarted in gdb and made a backtrace, seems FITS/histogram related?
4 years 7 months ago #43558
Attachments:

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

  • Posts: 1009
  • Thank you received: 133
Hmm, that must be something different. I downgraded both kstars and indi, but it still crashes. Could that be kernel related? Or some other lib? Just also had done a system update....
4 years 7 months ago #43559

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

  • Posts: 1009
  • Thank you received: 133
I think I can really nail it down on the FITS viewer. I can do basically anything - align, focus, stream video, capture sequences (with FITS viewer disabled). Click on Preview and - BOOOM.

The crazy thing is, I've reverted to older (working) RPMs. I've even booted into (previously working) snapshots, both on the laptop and on the mount computer. Sometimes it works for a few images, but sooner or later (rather sooner) it crashes.

Is there anything in the kstars config related to the viewer? Because my config/home directory is the only thing that was always the same.

(This really sucks, seeing is absolutely great, the mount tracks at <0.3" - and the camera crashes permanently :((( )
4 years 7 months ago #43572

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

Unfortunately, I cannot reproduce this even with latest builds.
4 years 7 months ago #43584

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

  • Posts: 1009
  • Thank you received: 133
Yes, I was afraid so :(
Would you have any guides how to further investigate? gdb tricks? It must be something secondary that triggers the crash, else it wouldn't do so with versions that ran fine before. At least it seems I can run as long as I don't use the FITS Viewer itself. The inline versions in the overview, focus and align tabs are not triggering a crash, only the 'standalone/external' one.
4 years 7 months ago #43591

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

  • Posts: 257
  • Thank you received: 22
Just a quick hit and run thought here. Try removing your XML files and replacing with defaults. When you downgrade the XML's keep you old settings. Hope it helps. That sucks bad on a good night. Been there...cried on Jasem's shoulder more than once. :P
The following user(s) said Thank You: Peter Sütterlin
4 years 6 months ago #43665

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

  • Posts: 1009
  • Thank you received: 133
Thanks for the comforting. Yes, I'd been thinking of moving the config etc. away, but doing that in the middle of the night also has a good chance forgetting some setting when coming from scratch, and messing up things there :ohmy: So I rather went on without using the FITS viewer.
I'll surely keep it in mind for the next time!
(But of course, next day at daylight it would just run again, without any crash.....)
4 years 6 months ago #43677

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

  • Posts: 1009
  • Thank you received: 133
So, after it had been running without problems for a while, today it permanently starts crashing again.

But I got one step further, I can nail it down to the FITS file. The last entry in the kstars logfile always is that it is loading a FITS file from /tmp.
And I checked, that file stays there when kstars crashes.

And guess what, If I just start kstars, select 'Open FITS' and try to load this file - crash.
So I've now made that file available here (32MB).

Would be nice to know if that file also crashes other peoples FITS viewer, and/or maybe some knowledgeable person can use it to debug the issue?
4 years 6 months ago #43735

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

  • Posts: 257
  • Thank you received: 22
I tried it with my working edition of Kstars (from 080819) and it opened okay. It was all white though. Hitting it with autostretch in the viewer showed some banding and stuff.

Then I tried to open it in my VM that has nearly the latest compile and it crashed to desktop with this error reported to dmesg:
``` kstars[2233] trap divide error ip:55de0d2813b3 sp:7ffdcc62a590 error:0 in kstars[55de0c771000+ff7000]```
Then I opened one of my fits files with Kstars fit viewer and it was fine.

You should file an issue at Kstars and be sure to include that file. I suspect it could have something to do with it being saturated and for some reason quite large.
Also, try opening kstars and loading an another file you know will open in another app.
4 years 6 months ago #43748

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

This is was fixed in KStars yesterday. The nightly should have the fix and if you compile from GIT it should work as well. The histogram was crashing in some over saturated files.
The following user(s) said Thank You: Ray Wells
4 years 6 months ago #43752

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

  • Posts: 1009
  • Thank you received: 133
Yes, I had seen the other message/thread, but only after posting the file here :ohmy:
It indeed used to crash mostly when reducing exposure time to counter overexposure (daylight/skyflats).
Interestingly, completely saturated files seemed not a problem.
4 years 6 months ago #43758

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

  • Posts: 257
  • Thank you received: 22
Time well spent. :side:
4 years 6 months ago #43780

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

Time to create page: 0.918 seconds