×

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

Bi-monthly release with minor bug fixes and improvements

fitsviewer: stretching image causes crash

  • Posts: 1009
  • Thank you received: 133
So if I interpret the crash happens during the display of the scaled-down preview in the upper left (cute feature BTW!), and within some QT GL-routine(?)...
Just to be sure - did you do a full clean build from scratch, or use some old(er) CMake cache?
4 years 2 months ago #48507

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

  • Posts: 1208
  • Thank you received: 559
FYI, I am also looking at it, and that "cute feature--upper left preview" is actually some kind of bug I'm chasing down, perhaps a clue to the crashes.
I never programmed that, and it didn't happen previously :/

Unfortunately, I'm having issues with my build environment on my mac, so it may be a bit until I can fix that and then start debugging.
4 years 2 months ago #48508

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

  • Posts: 969
  • Thank you received: 94
Full clean build from nothing. I deleted ~/Projects and started over: same crash with any .fits file. The bt suggests:
home/steve/Projects/kstars/kstars/fitsviewer/stretch.cpp:321
Had something to do with it,but I'm not a coder...
Thanks for your time everyone.
4 years 2 months ago #48511

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

  • Posts: 969
  • Thank you received: 94

To reproduce the crash:
1. Open a . fits file in fitsviewer
2. Move one of the three sliders at the bottom of the fitsviewer window.
result: kstars crashes

Thanks again,
Steve
Last edit: 4 years 2 months ago by alacant.
4 years 2 months ago #48513

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

  • Posts: 1009
  • Thank you received: 133

Oops :whistle:
So maybe some change in the QT libraries? What are you using? I had just updated to 5.14
4 years 2 months ago #48516

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

  • Posts: 1208
  • Thank you received: 559
I found a (my) bug the fitsview code, and submitted a change for Jasem's review. phabricator.kde.org/D26910
I'm not sure that this is causing the crashes, I wasn't able to reproduce them,
but I suppose it's possible. It does, however, clear up the "cute feature--upper left preview" ;)
Steve: once this is submitted (after Jasem's review), please retest. I'll post here when I see that it's in the latest kstars code.
Sorry about that,
Hy
4 years 2 months ago #48522

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

  • Posts: 1208
  • Thank you received: 559
It is now submitted, so if you git pull and compile, you'll have the fix.
Not sure when it gets to the nightly release? A day or so?
Please test and let me know.
Hy
The following user(s) said Thank You: alacant
4 years 2 months ago #48524

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

  • Posts: 969
  • Thank you received: 94

I can confirm that this fixes the fitsview sliders: Ubuntu 18.04
@hy, everyone... thanks for your time and effort:)

File Attachment:

File Name: log_09-08-14.txt
File Size:4 KB
4 years 2 months ago #48527
Attachments:

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

Time to create page: 0.410 seconds