View Issue Details

IDProjectCategoryView StatusLast Update
0001745IndiStarterGeneralpublic17-07-17 13:24
ReporterGary Anderson Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Summary0001745: device(s) started do not appear in Client window
DescriptionDevice(s) started do not appear in the INDI Client window and appear as device-name <defunct> in a terminal window using the ps -eH | grep indi command.
Steps To ReproduceClick the INDIstarter icon, add device(s) if necessary, click Start.

If indiserver with device(s) is started from a terminal command line everything works as expected.
Additional InformationI'm running 64 bit Fedora 26, fully updated as of Jul 13, 2017. I'm also running indistarter-0.9.1-65 from Sourceforge and indiserver 1.4.1 from GitHub.

Five screenshots are attached as a combined.png,

img-1 INDI starter before Start.png
img-2 process info before start.png
img-3 INDI starter after Start.png
img-4 INDI Client after Start.png
img-5 process info after start.png
TagsNo tags attached.

Activities

Gary Anderson

17-07-14 02:39

reporter  

combined.png (133,769 bytes)   
combined.png (133,769 bytes)   

Patrick Chevalley

17-07-14 09:28

administrator   ~0003915

I try in a Fedora 26 VM but I cannot reproduce the problem, everything work fine.

To get more information do the following:
- start indistarter from a terminal window so you can see the messages.
- remove gphoto and add "CCD Simulator" to be sure this is not a specific problem for this driver.
- in Setup menu, for "Additional server options" add -v
- click the Start button.

When the driver start you can see the following messages:
FIFO: start indi_simulator_ccd -n "CCD Simulator"
With name: CCD Simulator

Wait a few second and Stop. Copy the terminal output here.

If no error, you can repeat the operation with gphoto to see if it look different.

Gary Anderson

17-07-14 16:03

reporter   ~0003916

This is really odd...
I have put -v in the Setup tab, Additional server options field.

IF I initiate INDIstarter using the desktop icon I get the same <defunct> problem with any device I choose, both simulated and real.

[gary@bigboote ~]$ ps -eH | grep indi
 5242 ? 00:00:00 indistarter
 5267 ? 00:00:00 indiserver
 5269 ? 00:00:00 indi_simulator_ <defunct>
 5271 ? 00:00:00 indi_simulator_ <defunct>
 5272 ? 00:00:00 indi_simulator_ <defunct>
[gary@bigboote ~]$

[gary@bigboote ~]$ ps -eH | grep indi
 5635 ? 00:00:00 indistarter
 5660 ? 00:00:00 indiserver
 5662 ? 00:00:00 indi_gphoto_ccd <defunct>
 5664 ? 00:00:00 indi_gphoto_ccd <defunct>
 5665 ? 00:00:00 indi_gphoto_ccd <defunct>
[gary@bigboote ~]$


IF I initiate INDIstarter from a terminal command line everything works as expected, both simulated and real.

[gary@bigboote ~]$ indistarter
WARNING: obsolete call to RecreateWnd for Tf_devlist
Warning: TWinControl.DestroyHandle f_devlist:Tf_devlist Handle not Allocated
WARNING: obsolete call to RecreateWnd for Tf_setup
Warning: TWinControl.DestroyHandle f_setup:Tf_setup Handle not Allocated
2017-07-14T13:06:43: startup: indiserver -v -f /tmp/IndiStarter.fifo
2017-07-14T13:06:43: listening to port 7624 on fd 3
FIFO: start indi_simulator_ccd -n "CCD Simulator"
With name: CCD Simulator
FIFO: Starting driver indi_simulator_ccd
2017-07-14T13:06:44: Driver indi_simulator_ccd: pid=3129 rfd=4 wfd=10 efd=11
2017-07-14T13:06:44: Client 5: new arrival from 127.0.0.1:54854 - welcome!
2017-07-14T13:06:44: Driver indi_simulator_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2017-07-14T13:06:44: Driver indi_simulator_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2017-07-14T13:06:44: Driver indi_simulator_ccd: snooping on CCD Simulator.FILTER_SLOT
2017-07-14T13:06:44: Driver indi_simulator_ccd: snooping on CCD Simulator.FILTER_NAME
2017-07-14T13:06:44: Driver indi_simulator_ccd: snooping on SQM.SKY_QUALITY
2017-07-14T13:06:44: Driver indi_simulator_ccd: snooping on Telescope Simulator.EQUATORIAL_PE
2017-07-14T13:06:44: Driver indi_simulator_ccd: snooping on Focuser Simulator.FWHM
2017-07-14T13:06:49: Client 5: read EOF
2017-07-14T13:06:49: Client 5: shut down complete - bye!
2017-07-14T13:06:54: Client 5: new arrival from 127.0.0.1:54856 - welcome!
2017-07-14T13:06:59: Client 5: read EOF
2017-07-14T13:06:59: Client 5: shut down complete - bye!
2017-07-14T13:07:04: Client 5: new arrival from 127.0.0.1:54858 - welcome!
2017-07-14T13:07:09: Client 5: read EOF
2017-07-14T13:07:09: Client 5: shut down complete - bye!
[gary@bigboote ~]$

[gary@bigboote ~]$ indistarter
WARNING: obsolete call to RecreateWnd for Tf_devlist
Warning: TWinControl.DestroyHandle f_devlist:Tf_devlist Handle not Allocated
WARNING: obsolete call to RecreateWnd for Tf_setup
Warning: TWinControl.DestroyHandle f_setup:Tf_setup Handle not Allocated
2017-07-14T13:08:55: startup: indiserver -v -f /tmp/IndiStarter.fifo
2017-07-14T13:08:55: listening to port 7624 on fd 3
FIFO: start indi_gphoto_ccd -n "GPhoto CCD"
With name: GPhoto CCD
FIFO: Starting driver indi_gphoto_ccd
2017-07-14T13:08:56: Driver indi_gphoto_ccd: pid=3258 rfd=4 wfd=10 efd=11
2017-07-14T13:08:56: Client 5: new arrival from 127.0.0.1:54860 - welcome!
2017-07-14T13:08:56: Driver indi_gphoto_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2017-07-14T13:08:56: Driver indi_gphoto_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2017-07-14T13:08:56: Driver indi_gphoto_ccd: snooping on CCD Simulator.FILTER_SLOT
2017-07-14T13:08:56: Driver indi_gphoto_ccd: snooping on CCD Simulator.FILTER_NAME
2017-07-14T13:08:56: Driver indi_gphoto_ccd: snooping on SQM.SKY_QUALITY
2017-07-14T13:09:01: Client 5: read EOF
2017-07-14T13:09:01: Client 5: shut down complete - bye!
2017-07-14T13:09:06: Client 5: new arrival from 127.0.0.1:54862 - welcome!
2017-07-14T13:09:11: Client 5: read EOF
2017-07-14T13:09:11: Client 5: shut down complete - bye!
2017-07-14T13:09:16: Client 5: new arrival from 127.0.0.1:54864 - welcome!
2017-07-14T13:09:21: Client 5: read EOF
2017-07-14T13:09:21: Client 5: shut down complete - bye!
2017-07-14T13:09:26: Client 5: new arrival from 127.0.0.1:54866 - welcome!
2017-07-14T13:09:31: Client 5: read EOF
2017-07-14T13:09:31: Client 5: shut down complete - bye!
[gary@bigboote ~]$

Gary Anderson

17-07-15 21:16

reporter   ~0003917

This is even odder (and less (understandable) ...

I have been running the Xfce Desktop for years ... today I installed the MATE Desktop so I could compare its effect, if any, upon an application's behavior. Much to my surprise (and delight), INDIstarter behaves as expected. :-)

Sigh ...

You may close this if desired. The "problem" apparently IS NOT with your program but rather with the Xfce Desktop.

Thanks,
-gary-

Patrick Chevalley

17-07-16 10:17

administrator   ~0003918

I was testing with the default Gnome3. Now I have installed Xfce4 for testing but it also work.
So there is something specific to your Xfce installation.

I also tested I get the same defunct process if I kill the driver. At each kill the Indi server try to restart the driver and this is why you see more than one defunct.
If you want to do more search on the problem look for missing libraries path or permission in the Xfce environment.

I close the issue now as I can probably not change anything in the program to help with this problem.

Patrick Chevalley

17-07-17 13:24

administrator   ~0003921

More information from Gary Anderson:

Thank you for your thoughts and suggestions. Although MATE and GNOME would apparently look in /usr/local/lib64 for and needed libraries, Xfce would not. I fixed the problem by adding an entry (for /usr/local/lib64) to the ldconfig search path. Sigh ...

Issue History

Date Modified Username Field Change
17-07-14 02:39 Gary Anderson New Issue
17-07-14 02:39 Gary Anderson File Added: combined.png
17-07-14 09:28 Patrick Chevalley Status new => feedback
17-07-14 09:28 Patrick Chevalley Note Added: 0003915
17-07-14 16:03 Gary Anderson Note Added: 0003916
17-07-14 16:03 Gary Anderson Status feedback => new
17-07-15 21:16 Gary Anderson Note Added: 0003917
17-07-16 10:17 Patrick Chevalley Assigned To => Patrick Chevalley
17-07-16 10:17 Patrick Chevalley Status new => resolved
17-07-16 10:17 Patrick Chevalley Resolution open => no change required
17-07-16 10:17 Patrick Chevalley Note Added: 0003918
17-07-17 13:24 Patrick Chevalley Note Added: 0003921