linuxcnc -d -v /home/cnc/linuxcnc/configs/router/router.ini Debug mode on + getopts dvlhkrH:t:m: opt + case "$opt" in + tty -s + PRINT_FILE=/dev/fd/1 + echo 'Verbose mode on' Verbose mode on + getopts dvlhkrH:t:m: opt + shift 2 + case "5.4.258-rtai-amd64" in ++ uname -r + '[' 5.4.258-rtai-amd64 '!=' 5.4.258-rtai-amd64 ']' + '[' -z ']' + tty -s + trap ErrorCheck EXIT + '[' '!' -z /home/cnc/linuxcnc/configs/router/router.ini ']' + case "$1" in + INIFILE=/home/cnc/linuxcnc/configs/router/router.ini + shift + EXTRA_ARGS= + RUN_IN_PLACE=no + echo RUN_IN_PLACE=no RUN_IN_PLACE=no + LINUXCNCVERSION=2.9.2 + export LINUXCNCVERSION + INIVAR=inivar + HALCMD='halcmd ' + PICKCONFIG='/usr/bin/wish8.6 /usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl' + LINUXCNC_EMCSH=/usr/bin/wish8.6 + echo LINUXCNC_DIR= LINUXCNC_DIR= + echo LINUXCNC_BIN_DIR=/usr/bin LINUXCNC_BIN_DIR=/usr/bin + echo LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc + echo LINUXCNC_SCRIPT_DIR= LINUXCNC_SCRIPT_DIR= + echo LINUXCNC_RTLIB_DIR=/usr/realtime-5.4.258-rtai-amd64/modules/linuxcnc LINUXCNC_RTLIB_DIR=/usr/realtime-5.4.258-rtai-amd64/modules/linuxcnc + echo LINUXCNC_CONFIG_DIR= LINUXCNC_CONFIG_DIR= + echo LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs + echo INIVAR=inivar INIVAR=inivar + echo HALCMD=halcmd HALCMD=halcmd + echo LINUXCNC_EMCSH=/usr/bin/wish8.6 LINUXCNC_EMCSH=/usr/bin/wish8.6 + export LINUXCNC_TCL_DIR + export LINUXCNC_EMCSH + export LINUXCNC_HELP_DIR + export LINUXCNC_LANG_DIR + export REALTIME + export HALCMD + export LINUXCNC_NCFILES_DIR + '[' -z ']' + echo 'LINUXCNC - 2.9.2' LINUXCNC - 2.9.2 + '[' '!' -z '' ']' + '[' '!' -n /home/cnc/linuxcnc/configs/router/router.ini ']' + '[' '!' -n /home/cnc/linuxcnc/configs/router/router.ini ']' ++ handle_includes /home/cnc/linuxcnc/configs/router/router.ini ++ hdr='# handle_includes():' ++ inifile=/home/cnc/linuxcnc/configs/router/router.ini +++ dirname /home/cnc/linuxcnc/configs/router/router.ini ++ cd /home/cnc/linuxcnc/configs/router ++ /usr/bin/grep '^#INCLUDE' /home/cnc/linuxcnc/configs/router/router.ini ++ status=1 ++ '[' 1 -ne 0 ']' ++ echo /home/cnc/linuxcnc/configs/router/router.ini ++ return 0 + INIFILE=/home/cnc/linuxcnc/configs/router/router.ini + INI_NAME=router.ini + INI_DIR=/home/cnc/linuxcnc/configs/router + CONFIG_DIR=/home/cnc/linuxcnc/configs/router + export CONFIG_DIR + export PATH=/home/cnc/linuxcnc/configs/router/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + PATH=/home/cnc/linuxcnc/configs/router/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + '[' -z ']' + echo 'Machine configuration directory is '\''/home/cnc/linuxcnc/configs/router'\''' Machine configuration directory is '/home/cnc/linuxcnc/configs/router' + echo 'Machine configuration file is '\''router.ini'\''' Machine configuration file is 'router.ini' + '[' '!' -f /home/cnc/linuxcnc/configs/router/router.ini ']' + echo INIFILE=/home/cnc/linuxcnc/configs/router/router.ini INIFILE=/home/cnc/linuxcnc/configs/router/router.ini + retval= + GetFromIni VERSION EMC + name=VERSION ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var VERSION -sec EMC + retval=1.1 + '[' '!' -n VERSION ']' + echo VERSION=1.1 VERSION=1.1 + '[' 1.1 '!=' 1.1 ']' ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var MODE -sec PLASMAC + '[' ']' + /usr/bin/tclsh8.6 /usr/share/linuxcnc/hallib/check_config.tcl /home/cnc/linuxcnc/configs/router/router.ini + exitval=0 + case "$exitval" in + GetFromIni PARAMETER_FILE RS274NGC + name=PARAMETER_FILE ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var PARAMETER_FILE -sec RS274NGC + retval=linuxcnc.var + '[' '!' -n PARAMETER_FILE ']' + echo PARAMETER_FILE=linuxcnc.var PARAMETER_FILE=linuxcnc.var + RS274NGC_PARAMFILE=linuxcnc.var + GetFromIniEx MOT MOT EMCMOT EMCMOT motmod + original_var='[MOT]MOT' + '[' 5 -ge 2 ']' ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var MOT -sec MOT + retval= + shift 2 + '[' 3 -ge 2 ']' ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var EMCMOT -sec EMCMOT + retval=motmod + return + EMCMOT=motmod.ko + '[' -z '' ']' + GetFromIniQuiet TPMOD TRAJ + name=TPMOD ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var TPMOD -sec TRAJ + retval= + '[' '!' -n TPMOD ']' + echo TPMOD= TPMOD= + TPMOD=tpmod + '[' -z '' ']' + GetFromIniQuiet HOMEMOD EMCMOT + name=HOMEMOD ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var HOMEMOD -sec EMCMOT + retval= + '[' '!' -n HOMEMOD ']' + echo HOMEMOD= HOMEMOD= + HOMEMOD=homemod + GetFromIniEx IO IO EMCIO EMCIO io + original_var='[IO]IO' + '[' 5 -ge 2 ']' ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var IO -sec IO + retval= + shift 2 + '[' 3 -ge 2 ']' ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var EMCIO -sec EMCIO + retval=io + return + EMCIO=io + GetFromIni TASK TASK + name=TASK ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var TASK -sec TASK + retval=milltask + '[' '!' -n TASK ']' + echo TASK=milltask TASK=milltask + EMCTASK=milltask + '[' milltask = emctask ']' + EMCSERVER=linuxcncsvr + GetFromIniQuiet HALUI HAL + name=HALUI ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var HALUI -sec HAL + retval= + '[' '!' -n HALUI ']' + echo HALUI= HALUI= + HALUI= + GetFromIni DISPLAY DISPLAY + name=DISPLAY ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var DISPLAY -sec DISPLAY + retval='qtvcp qtdragon' + '[' '!' -n DISPLAY ']' + echo 'DISPLAY=qtvcp qtdragon' DISPLAY=qtvcp qtdragon ++ set -- qtvcp qtdragon ++ echo qtvcp + EMCDISPLAY=qtvcp ++ set -- qtvcp qtdragon ++ shift ++ echo qtdragon + EMCDISPLAYARGS=qtdragon + case $EMCDISPLAY in + GetFromIniEx NML_FILE LINUXCNC NML_FILE EMC /usr/share/linuxcnc/linuxcnc.nml + original_var='[LINUXCNC]NML_FILE' + '[' 5 -ge 2 ']' ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var NML_FILE -sec LINUXCNC + retval= + shift 2 + '[' 3 -ge 2 ']' ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var NML_FILE -sec EMC + retval= + shift 2 + '[' 1 -ge 2 ']' + '[' 1 -eq 0 ']' + retval=/usr/share/linuxcnc/linuxcnc.nml + NMLFILE=/usr/share/linuxcnc/linuxcnc.nml + export NMLFILE + GetFromIni COORDINATES TRAJ + name=COORDINATES ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var COORDINATES -sec TRAJ + retval='X Y Y Z' + '[' '!' -n COORDINATES ']' + echo 'COORDINATES=X Y Y Z' COORDINATES=X Y Y Z + TRAJ_COORDINATES='X Y Y Z' + export TRAJ_COORDINATES + GetFromIni KINEMATICS KINS + name=KINEMATICS ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var KINEMATICS -sec KINS + retval='trivkins coordinates=XYYZ kinstype=BOTH' + '[' '!' -n KINEMATICS ']' + echo 'KINEMATICS=trivkins coordinates=XYYZ kinstype=BOTH' KINEMATICS=trivkins coordinates=XYYZ kinstype=BOTH + KINS_KINEMATICS='trivkins coordinates=XYYZ kinstype=BOTH' + export KINS_KINEMATICS + KILL_TASK= + KILL_TIMEOUT=20 + LOCKFILE=/tmp/linuxcnc.lock + '[' -f /tmp/linuxcnc.lock ']' + echo Starting LinuxCNC... Starting LinuxCNC... + trap 'Cleanup ; exit 0' SIGINT SIGTERM + cd /home/cnc/linuxcnc/configs/router + touch /tmp/linuxcnc.lock ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var INTRO_GRAPHIC -sec DISPLAY + img=linuxcnc.gif ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var INTRO_TIME -sec DISPLAY + imgtime=5 + '[' 5 = '' ']' + '[' linuxcnc.gif '!=' '' ']' + '[' -e linuxcnc.gif ']' + '[' -e /home/cnc/linuxcnc/configs/router/linuxcnc.gif ']' + '[' -e /usr/share/linuxcnc/linuxcnc.gif ']' + img=/usr/share/linuxcnc/linuxcnc.gif + '[' /usr/share/linuxcnc/linuxcnc.gif '!=' '' ']' + '[' -x /usr/lib/tcltk/linuxcnc/bin/popimage ']' + echo 'Starting LinuxCNC server program: linuxcncsvr' Starting LinuxCNC server program: linuxcncsvr + program_available linuxcncsvr + type -path linuxcncsvr + export INI_FILE_NAME=/home/cnc/linuxcnc/configs/router/router.ini + INI_FILE_NAME=/home/cnc/linuxcnc/configs/router/router.ini + linuxcncsvr -ini /home/cnc/linuxcnc/configs/router/router.ini + /usr/lib/tcltk/linuxcnc/bin/popimage /usr/share/linuxcnc/linuxcnc.gif 5 + echo 'Loading Real Time OS, RTAPI, and HAL_LIB modules' Loading Real Time OS, RTAPI, and HAL_LIB modules + /usr/lib/linuxcnc/realtime start + export HAL_RTMOD_DIR=/usr/realtime-5.4.258-rtai-amd64/modules/linuxcnc + HAL_RTMOD_DIR=/usr/realtime-5.4.258-rtai-amd64/modules/linuxcnc + '[' io '!=' '' ']' + echo 'Starting LinuxCNC IO program: io' Starting LinuxCNC IO program: io + program_available io + type -path io + halcmd loadusr -Wn iocontrol io -ini /home/cnc/linuxcnc/configs/router/router.ini + '[' -n '' ']' ++ basename /usr/bin/linuxcnc + echo 'linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod' linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod + eval halcmd loadrt tpmod ++ halcmd loadrt tpmod + eval halcmd loadrt homemod ++ halcmd loadrt homemod ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var TWOPASS -sec HAL -num 1 + TWOPASS= + '[' -n '' ']' + NUM=1 ++ inivar -tildeexpand -ini /home/cnc/linuxcnc/configs/router/router.ini -var HALFILE -sec HAL -num 1 + CFGFILE=router.hal + '[' -n router.hal ']' + IFS='\ ' + read CFGFILE CFGFILE_ARGS + foundmsg= + saveIFS=' ' + IFS=: + explicit_file_in_hallib=router.hal + '[' -z router.hal ']' + '[' router.hal '!=' router.hal ']' + '[' r = / ']' + for pathdir in $HALLIB_PATH + foundfile=./router.hal + '[' -r ./router.hal ']' + '[' . = . ']' + foundmsg='Found file(REL): ./router.hal' + break + '[' -d ./router.hal ']' + IFS=' ' + '[' -z 'Found file(REL): ./router.hal' ']' + echo 'Found file(REL): ./router.hal' Found file(REL): ./router.hal + CFGFILE=./router.hal + case $CFGFILE in + halcmd -i /home/cnc/linuxcnc/configs/router/router.ini -f ./router.hal + NUM=2 ++ inivar -tildeexpand -ini /home/cnc/linuxcnc/configs/router/router.ini -var HALFILE -sec HAL -num 2 + CFGFILE=custom.hal + '[' -n custom.hal ']' + IFS='\ ' + read CFGFILE CFGFILE_ARGS + foundmsg= + saveIFS=' ' + IFS=: + explicit_file_in_hallib=custom.hal + '[' -z custom.hal ']' + '[' custom.hal '!=' custom.hal ']' + '[' c = / ']' + for pathdir in $HALLIB_PATH + foundfile=./custom.hal + '[' -r ./custom.hal ']' + '[' . = . ']' + foundmsg='Found file(REL): ./custom.hal' + break + '[' -d ./custom.hal ']' + IFS=' ' + '[' -z 'Found file(REL): ./custom.hal' ']' + echo 'Found file(REL): ./custom.hal' Found file(REL): ./custom.hal + CFGFILE=./custom.hal + case $CFGFILE in + halcmd -i /home/cnc/linuxcnc/configs/router/router.ini -f ./custom.hal + NUM=3 ++ inivar -tildeexpand -ini /home/cnc/linuxcnc/configs/router/router.ini -var HALFILE -sec HAL -num 3 + CFGFILE= + '[' -n '' ']' + echo 'Starting TASK program: milltask' Starting TASK program: milltask + program_available milltask + type -path milltask + NUM=1 + halcmd loadusr -Wn inihal milltask -ini /home/cnc/linuxcnc/configs/router/router.ini ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var HALCMD -sec HAL -num 1 + HALCOMMAND= + '[' -n '' ']' + halcmd start + run_applications + NUM=1 ++ inivar -tildeexpand -ini /home/cnc/linuxcnc/configs/router/router.ini -var APP -sec APPLICATIONS -num 1 + APPFILE= + '[' -z '' ']' + return + echo 'Starting DISPLAY program: qtvcp' Starting DISPLAY program: qtvcp + result=0 + case $EMCDISPLAY in + program_available qtvcp + type -path qtvcp + qtvcp -ini /home/cnc/linuxcnc/configs/router/router.ini qtdragon munmap_chunk(): invalid pointer /usr/bin/linuxcnc: line 977: 3740 Aborted $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS + result=134 + Cleanup + echo 'Shutting down and cleaning up LinuxCNC...' Shutting down and cleaning up LinuxCNC... + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /usr/bin/pidof -x linuxcncpanel /usr/bin/linuxcnc: line 665: 3741 Segmentation fault $PIDOF $KILL_TASK >> $DEBUG_FILE + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /usr/bin/pidof -x iosh + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /usr/bin/pidof -x linuxcncsh + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /usr/bin/pidof -x linuxcncrsh + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /usr/bin/pidof -x linuxcnctop + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /usr/bin/pidof -x mdi + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /usr/bin/pidof -x debuglevel + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /usr/bin/pidof -x gmoccapy + for KILL_TASK in linuxcncpanel iosh linuxcncsh linuxcncrsh linuxcnctop mdi debuglevel gmoccapy gscreen + /usr/bin/pidof -x gscreen + program_available axis-remote + type -path axis-remote + '[' '!' -z :1 ']' + axis-remote --ping /usr/bin/linuxcnc: line 660: 3750 Segmentation fault axis-remote --ping + '[' '' = other ']' ++ inivar -ini /home/cnc/linuxcnc/configs/router/router.ini -var SHUTDOWN -sec HAL + SHUTDOWN= + '[' -n '' ']' + for KILL_TASK in linuxcncsvr motion-logger milltask + /usr/bin/pidof -x linuxcncsvr 3678 + KillTaskWithTimeout + '[' '!' -n '' ']' ++ /usr/bin/pidof -x linuxcncsvr pidof: can't read sid from 2065/stat + KILL_PIDS=3678 + '[' '!' -n 3678 ']' + local NPROCS + for KILL_PID in $KILL_PIDS + /usr/bin/ps -o stat= -o comm= 3678 + /usr/bin/grep -q '^Z' + /usr/bin/kill 3678 + WAIT=20 + '[' 20 -gt 1 ']' + NPROCS= + '[' -gt 0 ']' /usr/bin/linuxcnc: line 620: [: -gt: unary operator expected + WAIT=0 + '[' 0 -gt 1 ']' + '[' 0 -gt 0 ']' + '[' 0 -gt 0 ']' + KILL_PIDS= + KILL_TASK= + for KILL_TASK in linuxcncsvr motion-logger milltask + /usr/bin/pidof -x motion-logger + for KILL_TASK in linuxcncsvr motion-logger milltask + /usr/bin/pidof -x milltask 3736 + KillTaskWithTimeout + '[' '!' -n '' ']' ++ /usr/bin/pidof -x milltask + KILL_PIDS=3736 + '[' '!' -n 3736 ']' + local NPROCS + for KILL_PID in $KILL_PIDS + /usr/bin/ps -o stat= -o comm= 3736 + /usr/bin/grep -q '^Z' + /usr/bin/kill 3736 + WAIT=20 + '[' 20 -gt 1 ']' ++ /usr/bin/ps -o stat= -o comm= 3736 ++ wc -l task: 1 cycles, min=179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000000, max=0.000000, avg=0.000000, 0 latency excursions (> 10x expec++ /usr/bin/grep -v '^Z' + NPROCS=0 + '[' 0 -gt 0 ']' + WAIT=0 + '[' 0 -gt 1 ']' + '[' 0 -gt 0 ']' + '[' 0 -gt 0 ']' + KILL_PIDS= + KILL_TASK= + echo 'Stopping realtime threads' Stopping realtime threads + halcmd stop + echo 'Unloading hal components' Unloading hal components + halcmd unload all ++ seq 10 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 3 = 1 ']' + sleep .2 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 3 = 1 ']' + sleep .2 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 3 = 1 ']' + sleep .2 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 3 = 1 ']' + sleep .2 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 3 = 1 ']' + sleep .2 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 3 = 1 ']' + sleep .2 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 3 = 1 ']' + sleep .2 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 3 = 1 ']' + sleep .2 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 3 = 1 ']' + sleep .2 + for i in `seq 10` ++ halcmd list comp ++ wc -w + '[' 3 = 1 ']' + sleep .2 + echo 'Removing HAL_LIB, RTAPI, and Real Time OS modules' Removing HAL_LIB, RTAPI, and Real Time OS modules + /usr/lib/linuxcnc/realtime stop + echo 'Removing NML shared memory segments' Removing NML shared memory segments + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + ipcrm -M 1001 + read b x t x x x x x x m x + case $b$t in + ipcrm -M 1003 + read b x t x x x x x x m x + case $b$t in + ipcrm -M 1002 + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + ipcrm -M 1004 + read b x t x x x x x x m x + case $b$t in + ipcrm -M 1005 + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + case $b$t in + read b x t x x x x x x m x + '[' -f /tmp/linuxcnc.lock ']' + rm /tmp/linuxcnc.lock + exit 134 + ErrorCheck + result=134 + '[' '!' -z :1 ']' + echo 'catch {send -async popimage destroy .}; destroy .' + /usr/bin/wish8.6 + '[' 134 -ne 0 ']' + tty -s + '[' -f /dev/fd/2 ']' + echo '(debug information was sent to stderr)' + '[' -f /dev/fd/1 ']' + echo '(print information was sent to stdout)' + echo 'LinuxCNC terminated with an error. You can find more information in the log: /home/cnc/linuxcnc_debug.txt and /home/cnc/linuxcnc_print.txt as well as in the output of the shell command '\''dmesg'\'' and in the terminal' LinuxCNC terminated with an error. You can find more information in the log: /home/cnc/linuxcnc_debug.txt and /home/cnc/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal + rm -f /dev/fd/2 /dev/fd/1 + exit 134