×

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

Bi-monthly release with minor bug fixes and improvements

dslr crashes kstars: latest git

  • Posts: 969
  • Thank you received: 94
Hi everyone
Canon eos700d
Ubuntu 18.04 running the kstars binary from the build folder.

Making an exposure causes kstars to crash; disappears from the screen.
The frame dimensions are recorded as 0,0,0,0 and cannot be altered or stored. Tried clearing the dslr info and entering manually and directly by inserting the correct values 5208x3476 manually in indi. The values do not survive a restart. Permissions on .indi and .local/share/kstars/userdb.sqlite are all writeaable. Taking an exposure crashes kstars.
The stable kstars version works OK using the same indi_gphoto.
Any ideas anyone?
Cheers and clear skies,
Steve

logs:
drive.google.com/open?id=1rLHYg_DQyI3rToDyKzpJdUfCNpfKOnQw
Last edit: 4 years 3 months ago by alacant.
4 years 3 months ago #47927

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

Thanks for the report, I pushed a possible quick fix, can you please try again?
4 years 3 months ago #47946

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

  • Posts: 969
  • Thank you received: 94
Thanks Jasem
After the build, the first start set the coordinates to 4,4,5208,3476 Capturing a frame however set the values correctly to 0,0,5208,3476 and subsequent restarts were correct.
Looks like a good fix. Logs attached anyway.
Cheers, clear skies and thanks again.
Steve
4 years 3 months ago #47947
Attachments:

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

  • Posts: 969
  • Thank you received: 94

File Attachment:

File Name: log_19-31-...12-2.txt
File Size:279 KB

File Attachment:

File Name: log_19-33-...12-2.txt
File Size:279 KB

File Attachment:

File Name: log_19-34-...1-12.txt
File Size:825 KB
Sorry, still not right. the values are not populated upon kstars restart.
Workaround: capture an image twice.
I've tried options > save but the values fdo not stick
But hey, no crash:)

Could we have the values stick between restarts?
logs attached
TIA,
Steve
Last edit: 4 years 3 months ago by alacant.
4 years 3 months ago #47964
Attachments:

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

  • Posts: 969
  • Thank you received: 94
And then crashes upn alignment.
log attached
Thanks

File Attachment:

File Name: log_19-34-...12-2.txt
File Size:1,195 KB
4 years 3 months ago #47967
Attachments:

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

 Build: 2020-01-04T12:54:57Z

The latest nightly was just built 2 hours ago.. can you try that? The above is a week old.
4 years 3 months ago #47968

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

  • Posts: 969
  • Thank you received: 94
Hi
The build was from git this morning with your fitsviewer and align edits. Are you sure the git build date is correct?

The current git give me this:
git pull
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
From git://anongit.kde.org/kstars
49ce49de2..381cc57b7 master -> origin/master
Updating 49ce49de2..381cc57b7
Fast-forward
kstars/main.cpp | 2 --
1 file changed, 2 deletions(-)

If I install the nightly, it will overwrite my working build:(
I'll build the source from a clean folder and try again.
Cheers
Last edit: 4 years 3 months ago by alacant.
4 years 3 months ago #47970

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

  • Posts: 969
  • Thank you received: 94
Hi
Here we are with the latest build. The same problem and comments as above.

Summary: DSLR sensor dimensions not populated. Crash on align. Sensor dimensions do not survive a restart.

log attached

Thanks,
Steve

File Attachment:

File Name: log_20-59-24.txt
File Size:549 KB
Last edit: 4 years 3 months ago by alacant.
4 years 3 months ago #47972
Attachments:

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

Thanks for the log. Can you please run KStars via gdb and share the backtrace? This would help us pin-point the issue exactly.
4 years 3 months ago #47973

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

  • Posts: 969
  • Thank you received: 94
Hi
Here's the bt:
(gdb)
#0 0x0000555555a021ba in (anonymous namespace)::<lambda()>::operator()(void) const (__closure=0x55555ca30280)
at /home/steve/Projects/kstars/kstars/fitsviewer/stretch.cpp:100
#1 0x0000555555a1a4b7 in QtConcurrent::StoredFunctorCall0<void, (anonymous namespace)::stretchOneChannel(T*, QImage*, const StretchParams&, int, int, int, int) [with T = short unsigned int]::<lambda()> >::runFunctor(void) (this=0x55555ca30260)
at /usr/include/x86_64-linux-gnu/qt5/QtConcurrent/qtconcurrentstoredfunctioncall.h:70
#2 0x00005555559fd247 in QtConcurrent::RunFunctionTask<void>::run() (this=0x55555ca30260)
at /usr/include/x86_64-linux-gnu/qt5/QtConcurrent/qtconcurrentrunbase.h:136
#3 0x00007ffff21dc2b2 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff21df17d in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff14ab6db in start_thread (arg=0x7fffbeffd700)
at pthread_create.c:463
#6 0x00007ffff026788f in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

File Attachment:

File Name: log_08-32-04.txt
File Size:1,028 KB


The DSLR frame dimensions are all set at zero after a restart.
Thanks for your time,
Steve
Last edit: 4 years 3 months ago by alacant.
4 years 3 months ago #47985
Attachments:

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

  • Posts: 969
  • Thank you received: 94
Tried again with this morning's source. The sensor dimensions still do not stick. Here is the indi output from the source and the stable versions:

stable ubuntu package:

2020-01-14T11:40:44: [INFO] World Coordinate System is enabled.
2020-01-14T11:40:44: [INFO] Device configuration applied.
2020-01-14T11:40:44: [INFO] Force BULB is enabled. All expsures shall be captured in BULB mode except for subsecond captures.
2020-01-14T11:40:44: [WARNING] All images and folders shall be saved in the camera SD card after capture if capture target is set to SD Card.
2020-01-14T11:40:44: [INFO] Capture target set to Internal RAM
2020-01-14T11:40:44: [INFO] Upload settings set to client only.
2020-01-14T11:40:44: [INFO] Loading device configuration...
2020-01-14T11:40:44: [INFO] Detected Canon Inc. Model Canon EOS 700D.
2020-01-14T11:40:44: [INFO] Canon DSLR EOS 700D is online.
2020-01-14T11:40:43: [INFO] Debug is enabled.

latest source:
2020-01-14T11:45:51: [INFO] World Coordinate System is enabled.
2020-01-14T11:45:50: [INFO] Device configuration applied.
2020-01-14T11:45:50: [INFO] Force BULB is enabled. All expsures shall be captured in BULB mode except for subsecond captures.
2020-01-14T11:45:50: [WARNING] All images and folders shall be saved in the camera SD card after capture if capture target is set to SD Card.
2020-01-14T11:45:50: [INFO] Capture target set to Internal RAM
2020-01-14T11:45:50: [ERROR] Invalid frame requested (0,0) (0 x 0)
2020-01-14T11:45:50: [INFO] Upload settings set to client only.
2020-01-14T11:45:50: [INFO] Loading device configuration...
2020-01-14T11:45:50: [INFO] Detected Canon Inc. Model Canon EOS 700D.
2020-01-14T11:45:50: [INFO] Canon DSLR EOS 700D is online.
2020-01-14T11:45:49: [INFO] Debug is enabled.

File Attachment:

File Name: log_12-45-07.txt
File Size:241 KB

File Attachment:

File Name: log_12-39-17.txt
File Size:238 KB
4 years 3 months ago #48006
Attachments:

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

1. Have you tried purging config?
2. Last restore is to delete ~/.local/share/kstars/userdb.sqlite

OR you can edit that file (in sqlitebrowser) and remove any rows in the dslr table then save and try again.
4 years 3 months ago #48007

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

Time to create page: 0.223 seconds