×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

dslr crashes kstars: latest git

7 months 2 days ago 7 months 2 days ago by alacant.
alacant
Platinum Boarder
Platinum Boarder
Posts: 582
More
Topic Author
dslr crashes kstars: latest git #47927
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

ubuntu 18.04
700d, eq6, t7m

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

7 months 1 day ago
knro
Administrator
Administrator
Posts: 8213
Karma: 51
dslr crashes kstars: latest git #47946
Thanks for the report, I pushed a possible quick fix, can you please try again?

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

7 months 1 day ago
alacant
Platinum Boarder
Platinum Boarder
Posts: 582
More
Topic Author
dslr crashes kstars: latest git #47947
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

ubuntu 18.04
700d, eq6, t7m
Attachments:

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

7 months 1 day ago 7 months 1 day ago by alacant.
alacant
Platinum Boarder
Platinum Boarder
Posts: 582
More
Topic Author
dslr crashes kstars: latest git #47964

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

ubuntu 18.04
700d, eq6, t7m
Attachments:

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

7 months 1 day ago
alacant
Platinum Boarder
Platinum Boarder
Posts: 582
More
Topic Author
dslr crashes kstars: latest git #47967
And then crashes upn alignment.
log attached
Thanks

File Attachment:

File Name: log_19-34-...12-2.txt
File Size:1,195 KB

ubuntu 18.04
700d, eq6, t7m
Attachments:

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

7 months 1 day ago
knro
Administrator
Administrator
Posts: 8213
Karma: 51
dslr crashes kstars: latest git #47968
 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.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

7 months 1 day ago 7 months 1 day ago by alacant.
alacant
Platinum Boarder
Platinum Boarder
Posts: 582
More
Topic Author
dslr crashes kstars: latest git #47970
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

ubuntu 18.04
700d, eq6, t7m

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

7 months 1 day ago 7 months 1 day ago by alacant.
alacant
Platinum Boarder
Platinum Boarder
Posts: 582
More
Topic Author
dslr crashes kstars: latest git #47972
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

ubuntu 18.04
700d, eq6, t7m
Attachments:

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

7 months 1 day ago
knro
Administrator
Administrator
Posts: 8213
Karma: 51
dslr crashes kstars: latest git #47973
Thanks for the log. Can you please run KStars via gdb and share the backtrace? This would help us pin-point the issue exactly.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

7 months 16 hours ago 7 months 6 hours ago by alacant.
alacant
Platinum Boarder
Platinum Boarder
Posts: 582
More
Topic Author
dslr crashes kstars: latest git #47985
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

ubuntu 18.04
700d, eq6, t7m
Attachments:

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

6 months 4 weeks ago
alacant
Platinum Boarder
Platinum Boarder
Posts: 582
More
Topic Author
dslr crashes kstars: latest git #48006
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

ubuntu 18.04
700d, eq6, t7m
Attachments:

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

6 months 4 weeks ago
knro
Administrator
Administrator
Posts: 8213
Karma: 51
dslr crashes kstars: latest git #48007
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.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

Time to create page: 0.566 seconds