Debugging would be interesting here. The unicast problem sounds very
specific to the setup as it's happening on all devices.

Do you have a chance to build and run a debug build?
https://github.com/machinekit/QtQuickVcp#building-and-installing

Does the crash happen during startup/service discovery or when the UI is
loading?


Marius Alksnys writes:

> My machinekit machine is BeagleBone Black with Debian Stretch, installed 
> following instructions 
> here: https://machinekoder.com/machinekit-debian-stretch-beaglebone-black/
> latest kernel, updates, Cetus and Machineface
>
> I am trying Machinekit Client on Debian Stretch amd64, Windows 10 64bit and 
> Android phone.
> Linux 64bit, latest:
> In Multicast works perfectly when client is connected through cable.
> Crashes in Unicast through cable with output:
> $ ./MachinekitClient_Development-201802191036-master-dc92443-x64.AppImage  
> qml: Starting to load the main application. 
> qrc:///main.qml:51:5: QML ConnectionWindow: Binding loop detected for 
> property "state" 
> qml: Main application loaded. 
> /tmp/.mount_ch0WoX/AppRun: line 13: 15055 Segmentation fault 
>      /lib64/ld-linux-x86-64.so.2 "$CWD"/bin/machinekit-client $@
>
> Does not work through WiFi - can't find any instances in Multicast and 
> crashes in Unicast.
> But at some rare cases when MachinekitClient crashes (maybe while in live 
> session the server disconnects) and I try to forcibly kill it, the whole 
> system crashes, only reset button works.
>
> Windows tried multiple versions, including older ones - both x86 and 64bit:
> In Multicast finds server instance, interfaces, starts them, but can't find 
> any service. Crashes in Unicast.
> In Multicast can't find any instances through WiFi, crashes in Unicast.
>
> Android, latest official version:
> Does not work through WiFi - can't find any servers in Multicast and 
> crashes in Unicast.
> Can't test cable connection on this android device.
>
>
>
> I think my router is not IPv6 capable.
>
> it's run.py contents are:
> #!/usr/bin/python 
>
> import sys 
> import os 
> import subprocess 
> import time 
> from machinekit import launcher 
> from machinekit import config 
>
> launcher.register_exit_handler() 
> #launcher.set_debug_level(5) 
> os.chdir(os.path.dirname(os.path.realpath(__file__))) 
>
> mkconfig = config.Config() 
> if 'MACHINEKIT_INI' not in os.environ:  # export for package installs 
>    os.environ['MACHINEKIT_INI'] = mkconfig.MACHINEKIT_INI 
>
> if 'HAL_RTMOD_DIR' not in os.environ:  # export for package installs 
>    os.environ['HAL_RTMOD_DIR'] = '/usr/lib/linuxcnc' 
>
> #if 'DISPLAY' not in os.environ:  # export for connecting to display 
> #    os.environ['DISPLAY'] = ':0.0' 
>
> try: 
>    launcher.check_installation() 
>    launcher.cleanup_session() 
>    launcher.load_bbio_file('furaday_stepgen.bbio') 
>    launcher.install_comp('fur.comp') 
>    launcher.register_exit_handler()  # enable on ctrl-C, needs to executed 
> after HAL files 
>    launcher.start_process('machinekit main.ini') 
>    launcher.ensure_mklauncher()  # ensure mklauncher is started 
>    launcher.start_process("configserver -n laser ../Cetus ../Machineface") 
>    while True: 
>        launcher.check_processes() 
>        time.sleep(1) 
> except subprocess.CalledProcessError: 
>    launcher.end_session() 
>    sys.exit(1) 
>
> sys.exit(0)


-- 
Alexander Rössler

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to