linuxcnc.error: emcStatusBuffer invalid err=3 ???

More
10 Apr 2014 05:30 #45775 by JZHA1985
I am not sure what this error means but if you could give me an idea I'd greatly appreciate it.


Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.0
Machine configuration directory is '/home/josh/linuxcnc/configs/tb'
Machine configuration file is 'tb.ini'
INIFILE=/home/josh/linuxcnc/configs/tb/tb.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
Traceback (most recent call last):
File "/usr/bin/hal_manualtoolchange", line 57, in <module>
nf.start(app); nf.makecommand(app, "_", _)
File "/usr/lib/pymodules/python2.6/nf.py", line 126, in start
r.tk.call("package", "require", "BWidget", "1.7")
KeyboardInterrupt
Traceback (most recent call last):
File "/usr/bin/axis", line 2862, in <module>
s.poll()
linuxcnc.error: emcStatusBuffer invalid err=3
Stopping realtime threads
RTAPI: ERROR: could not open shared memory (errno=2)
/usr/bin/linuxcnc: line 428: 1628 Segmentation fault $HALCMD stop
Unloading hal components
RTAPI: ERROR: could not open shared memory (errno=2)
/usr/bin/linuxcnc: line 428: 1629 Segmentation fault $HALCMD unload all
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
ERROR: Module hal_lib does not exist in /proc/modules
ERROR: Module rtapi does not exist in /proc/modules
ERROR: Module rtai_math does not exist in /proc/modules
ERROR: Module rtai_sem does not exist in /proc/modules
ERROR: Module rtai_fifos does not exist in /proc/modules
ERROR: Module rtai_sched does not exist in /proc/modules
ERROR: Module rtai_hal does not exist in /proc/modules

Kernel message information:
[ 101.046496] I-pipe: Domain RTAI registered.
[ 101.046518] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 101.046524] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 101.046623] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 101.046629] PIPELINE layers:
[ 101.046635] f8605e20 9ac15d93 RTAI 200
[ 101.046641] c085cb20 0 Linux 100
[ 101.110039] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 101.110512] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 101.110525] RTAI[sched]: hard timer type/freq = APIC/8313070(Hz); default timing: periodic; linear timed lists.
[ 101.110533] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1596146000 hz.
[ 101.110540] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 101.110720] RTAI[usi]: enabled.
[ 101.262868] RTAI[math]: loaded.
[ 101.522250] config string '0x378 out '
[ 103.029617] RTAI[math]: unloaded.
[ 103.083449] SCHED releases registered named ALIEN RTGLBH
[ 103.112567] RTAI[malloc]: unloaded.
[ 103.212038] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 103.216722] I-pipe: Domain RTAI unregistered.
[ 103.216846] RTAI[hal]: unmounted.
[ 104.506172] halcmd[1628]: segfault at 8 ip 00fdc6bc sp bfb03490 error 6 in liblinuxcnchal.so.0[fd7000+8000]
[ 104.512447] halcmd[1629]: segfault at 8 ip 00ccb6bc sp bfb1e0f0 error 6 in liblinuxcnchal.so.0[cc6000+8000]
[ 104.523683] halcmd[1632]: segfault at 8 ip 00c866bc sp bfac0540 error 6 in liblinuxcnchal.so.0[c81000+8000]
[ 104.735958] halcmd[1636]: segfault at 8 ip 004986bc sp bfa8a980 error 6 in liblinuxcnchal.so.0[493000+8000]
[ 104.947343] halcmd[1640]: segfault at 8 ip 002bb6bc sp bfc6cd50 error 6 in liblinuxcnchal.so.0[2b6000+8000]
[ 105.158601] halcmd[1644]: segfault at 8 ip 005906bc sp bff119b0 error 6 in liblinuxcnchal.so.0[58b000+8000]
[ 105.370387] halcmd[1648]: segfault at 8 ip 0044f6bc sp bf935c40 error 6 in liblinuxcnchal.so.0[44a000+8000]
[ 105.581667] halcmd[1652]: segfault at 8 ip 00f976bc sp bfa436b0 error 6 in liblinuxcnchal.so.0[f92000+8000]
[ 105.795083] halcmd[1656]: segfault at 8 ip 0094d6bc sp bfc032e0 error 6 in liblinuxcnchal.so.0[948000+8000]

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

More
10 Apr 2014 13:29 #45778 by ArcEye
Hi

The error message you highlight looks to be resultant rather than causal.

r.tk.call("package", "require", "BWidget", "1.7")


The first thing I would look at is checking that the package bwidget is installed and is the correct version.

regards

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

More
10 Apr 2014 15:10 - 10 Apr 2014 15:12 #45781 by JZHA1985
The computer has never been online before so I'll do that and report back.
Everything seems to work inspite of the error if you only start LinuxCNC once and don't restart it.
Last edit: 10 Apr 2014 15:12 by JZHA1985.

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

Time to create page: 0.135 seconds
Powered by Kunena Forum