×

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

Bi-monthly release with minor bug fixes and improvements

Strange dispatch errors [Solved]

  • Posts: 314
  • Thank you received: 34
Hi
I get some strange dispatch errors while doing a EQmod->Track a star command and then the server gets killed.
The mount moves to the star but the chrosshair does not move. Once the mount finishes the movement I can hear periodic short stepper movements and those dispatch errors appear in the server console as I clicked on Track.

Video of the session:


indiserver local console:
2016-12-17T15:52:39: Driver indi_gphoto_ccd: indi_gphoto_ccd dispatch error: Property EQUATORIAL_EOD_COORD is not defined.
2016-12-17T15:53:00: Driver V4L2 CCD@rp: stdin Connection reset by peer
2016-12-17T15:53:00: Driver V4L2 CCD@rp: restart #1
connect(rp,7624): Connection refused
2016-12-17T15:53:00: good bye
indiserver Raspberry:
Child process 1928 died
Child process 1930 died
Child process 1929 died
2016-12-17T15:52:52: Driver indi_eqmod_telescope: write: Broken pipe
2016-12-17T15:52:55: Driver indi_eqmod_telescope: restart #1
2016-12-17T15:52:55: fork: Cannot allocate memory
2016-12-17T15:52:57: good bye

the log files:

File Attachment:

File Name: indi_eqmod...9:23.txt
File Size:428 KB


File Attachment:

File Name: log_16:49:50.txt
File Size:116 KB



Ps.: would it be possible to add *.log extension to the allowed attachments formats?
--= human, without Windows™ =--
pls excuse my bad english! :)
Last edit: 7 years 3 months ago by pauledd.
7 years 3 months ago #13163
Attachments:

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

  • Posts: 314
  • Thank you received: 34

Replied by pauledd on topic Strange dispatch errors

I found something out.
1. The indiserver always crashes if I started the indiservers and if I press connect in ekos (that connects all devices immediately).

2. The indiserver does NOT crash if I do NOT press connect but instead I only connect EQMod and then I connect GPhoto CCD and the others one by another.
If I use the CCD Simulator instead of GPhoto CCD the same happens.

I recorded a video that shows a new pair of indiservers and starting kstars with the "connect" button, then again if I press track a star the cursor does not move but the indiserver shows this "dispatch errors" and finaly dies.
Then I restarted the indiservers and kstars but now I did not use the "connect" button, instead I connected first EQMod and then one after another and kstars and tracking works as expected.


Some background information: I start my indiserver on the RaspberryPi with:
indiserver -v indi_eqmod_telescope indi_rpifocus indi_v4l2_ccd &
then on my kstars client I start another indiserver that connects to the RaspberryPi and adds a local Canon EOS:
indiserver -v "Astroberry Focuser"@rp "EQMod Mount"@rp "V4L2 CCD"@rp indi_gphoto_ccd &

indilib & kstars are from git pulled yesterday
--= human, without Windows™ =--
pls excuse my bad english! :)
7 years 3 months ago #13171

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

I can't replicate it here (all in one server) but will try it later with chained servers. Are you also running indiserver as root? This can lead to issues and is not recommended.
7 years 3 months ago #13177

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

  • Posts: 314
  • Thank you received: 34

Replied by pauledd on topic Strange dispatch errors

Yes, running as root on both machines. I will try as normal user later and I will take apart by astrobox to connect all devices locally and test as one server again.
--= human, without Windows™ =--
pls excuse my bad english! :)
7 years 3 months ago #13180

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

  • Posts: 314
  • Thank you received: 34

Replied by pauledd on topic Strange dispatch errors

I tried to run both indiservers as normal user. For that test I just used the EQMOD and the CCD Simulator. Same behavior! Dispatch Error and death if I use the "connect" button and track a star.

I will now try to connect the DSLR and the synscan locally with just one server.
--= human, without Windows™ =--
pls excuse my bad english! :)
7 years 3 months ago #13183

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

  • Posts: 314
  • Thank you received: 34

Replied by pauledd on topic Strange dispatch errors

I tried it locally with eqmod and ccd simulator. With a signle indiserver everything works.

With two chained indiservers locally it does not crash but becomes unresponsive.
Two indiserver on localhost.
Steps to reproduce:
1. start indiserver 1:
indiserver -p 6666 -v indi_eqmod_telescope indi_simulator_ccd
2. start indiserver 2:
indiserver -v "EQMod Mount"@127.0.0.1:6666 "CCD Simulator"@127.0.0.1:6666
3. start kstars with profile "remote" set to localhost and mount eqmod and ccd simulator
4. click Start Indi and Click connect to connect both at once
5. unpark and rightclick a star and eqmod track
6. mount moves to star, cursor stays at polaris, controls become unresponsive and indiserver starts to use 25% cpu
--= human, without Windows™ =--
pls excuse my bad english! :)
7 years 3 months ago #13184

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

  • Posts: 314
  • Thank you received: 34

Replied by pauledd on topic Strange dispatch errors

You can also exchange EQMod Mount with Telescope Simulator. It gets unresponsive too with chained indiservers.
--= human, without Windows™ =--
pls excuse my bad english! :)
7 years 3 months ago #13185

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

  • Posts: 314
  • Thank you received: 34

Replied by pauledd on topic Strange dispatch errors

I just tried the latest EkosVM 1.5.1 image and that version seems to run without any problems.

I recorded another video without any pysical devices, just with the two simulators in the local machine and two chained indiservers. I do not run as root and kstars/indilib was cloned clean and freshly and I wiped all prior configs.
Again after track a star the curser moves a bit and jumps, ekos becomes unresponsive and both indiservers are slowly eating my memory.


Sorry,I dont know how to debug further because nothing crashes and I dont know how to find the point in code where it happens. Do I have to gdb kstars and both indiservers?
--= human, without Windows™ =--
pls excuse my bad english! :)
Last edit: 7 years 3 months ago by pauledd.
7 years 3 months ago #13227

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

So there was a "feedback loop" that was making it unresponsive. Try in the next PPA update.
The following user(s) said Thank You: pauledd
7 years 3 months ago #13228

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

  • Posts: 314
  • Thank you received: 34

Replied by pauledd on topic Strange dispatch errors

all errors gone! thank you.
File Attachment:
--= human, without Windows™ =--
pls excuse my bad english! :)
7 years 3 months ago #13231

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

Time to create page: 0.391 seconds