×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

kstars/ekos crashes when running indi v4l2 webcam

9 months 1 week ago
totoantibes
Fresh Boarder
Fresh Boarder
Posts: 14
More
Topic Author
kstars/ekos crashes when running indi v4l2 webcam #35616
I have the following setup all on a powered USB hub attached to a RPi3mb+ running the latest updates (just did an apt-get update and running the 1.7.6:
heq5 Serial to USB
canon 6dmII
logitech 905 webcam attached to the 9x50 finderscope.

RPi3 is attached to my local wifi network and i control it using VNC.

I consistently have issues with webcam. it either stops responding, cannot reconnect after i try to disconnect from the indi server dialog.
(I even tried to run KStars remotely and indi only on the RPi but even on my Wintel kstars is crashing after some seconds of looping in guide.)

At first boot i get the internal guider to loop for a while but then after few sec up to few minutes i have errors on the V4l2 input (stream or capture). it often ends up with Kstars crashing completely. I then need to restart ilocal indi server is still running.

i am attaching latest log file

PLease I need help!.

File Attachment:

File Name: log_16-15-16.txt
File Size:437 KB
Attachments:

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

9 months 1 week ago
Kaczorek
Moderator
Moderator
Posts: 684
Karma: 6
More
kstars/ekos crashes when running indi v4l2 webcam #35662
I see your indi_v4l2_ccd driver throws a lot of input/output errors e.g.
Driver indi_v4l2_ccd: VIDIOC_S_CTRL error 5, Input/output error
Driver indi_v4l2_ccd: VIDIOC_S_FMT error 5, Input/output error

Finally it crashes after:
Driver indi_v4l2_ccd: *** Error in `': double free or corruption (fasttop): 0x019d1988 ***

This issue must be looked into by the maintainer - Jasem aka @knro. I will not be able to help much.

--
Radek Kaczorek
Astroberry Server | NEQ6 | Atik 460EX | Atik EFW2 | ASI 120MM
The following user(s) said Thank You totoantibes

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

9 months 3 days ago
knro
Administrator
Administrator
Posts: 7405
Karma: 51
kstars/ekos crashes when running indi v4l2 webcam #35945
I encountered before some memory issues in the driver, but they were difficult to pin down. I will try later today to see if I can reproduce this issue and then valgrind it.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You Kaczorek

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

8 months 2 weeks ago
totoantibes
Fresh Boarder
Fresh Boarder
Posts: 14
More
Topic Author
kstars/ekos crashes when running indi v4l2 webcam #36883
after some thinkering i have a more stable situation:
- I guide with PHD2
-i changed added to the /usr/boot/conf.txt
dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3

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

8 months 2 weeks ago
knro
Administrator
Administrator
Posts: 7405
Karma: 51
kstars/ekos crashes when running indi v4l2 webcam #36917
Any idea why these settings would help?

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.

8 months 1 week ago
totoantibes
Fresh Boarder
Fresh Boarder
Posts: 14
More
Topic Author
kstars/ekos crashes when running indi v4l2 webcam #36933
Honestly i did not look into it much but found a post that mentioned it solved issues of connectivity with USB/Webcams.
which seems to match my own behaviour where it works fine to start with and then cannot find the device on the port.
www.raspberrypi.org/forums/viewtopic.php?t=197089

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

Moderators: Kaczorek
Time to create page: 0.785 seconds