NEWS
LinuxCNC 2.5.2 Release
LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Using LinuxCNC AXIS Cannot start EMC with axis on a 10.04/2.4 system

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Cannot start EMC with axis on a 10.04/2.4 system

Cannot start EMC with axis on a 10.04/2.4 system 03 Oct 2010 10:37 #4500

  • step4linux
  • step4linux's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Karma: 5
hello,

I have persisting problems to use EMC 2.4.4 (Ub 10.04) with axis.
Other GUIs work perfect, including mocca, as well as the stepconf wizzard.

EMC with axis crashes with seg fault, whatever config I use. Could be old proven configs (yes removed NML...) or new created by stepconf. The same configs work with tkemc, mini, mocca (not touchy).

when I start emc -d I see this:
+ axis -ini /home/gerd/emc2/configs/NewStepper/NewStepperAxis.ini
/usr/bin/emc: Zeile 654:  1216 Segmentation fault      $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
+ result=139
+ Cleanup
+ echo 'Shutting down and cleaning up EMC2...'
Shutting down and cleaning up EMC2...

dmesg tells:
[  311.280644] RTAI[usi]: enabled.
[  311.744712] RTAI[math]: loaded.
[  312.545142] config string '0x378 out  '
[  318.797623] axis[1216]: segfault at 0 ip (null) sp bf95737c error 4 in libXext.so.6.4.0[110000+e000]
[  324.250886] RTAI[math]: unloaded.

Anybody has a hint how to proceed ? what to check ?

thanks for help, Gerd
The administrator has disabled public write access.

Re:Cannot start EMC with axis on a 10.04/2.4 system 07 Jul 2011 10:51 #11232

I noticed there were no replies to this post. Has anyone figured out Gerd's problem? I have the same issue with two desktops and a laptop at home using either the Live CD or full install, but the same Live CD works fine on Dell desktops and laptops at work.

Thanks,
Randy
The administrator has disabled public write access.

Re:Cannot start EMC with axis on a 10.04/2.4 system 07 Jul 2011 12:33 #11235

  • cncbasher
  • cncbasher's Avatar
  • OFFLINE
  • Moderator
  • Posts: 689
  • Thank you received: 30
  • Karma: 53
i'm taking a stab at this , as i have had something similar , use apt-get and update or reinstall using package manager LibXext.so.6.4.0
The administrator has disabled public write access.

Re:Cannot start EMC with axis on a 10.04/2.4 system 07 Jul 2011 19:55 #11244

CNCBasher,
Thanks, that didn't help. I rerun it over and over and over. Any interface except axis works. Axis and axis based interfaces crash. I notice the segmentation fault randomly occurs in other libraries. Below is my last run attempt and below that is other segfaultt from previous runs.

Thanks,
Randy

Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.4.6
Machine configuration directory is '/home/cnc/emc2/configs/sim'
Machine configuration file is 'axis.ini'
INIFILE=/home/cnc/emc2/configs/sim/axis.ini
PARAMETER_FILE=sim.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting HAL User Interface program: halui
Starting EMC2 TASK program: milltask
Starting EMC2 DISPLAY program: axis
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=6790
Killing task milltask, PID=6840
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
/usr/bin/emc: line 654: 6841 Segmentation fault $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
6790
PID TTY STAT TIME COMMAND
6840
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 2701.182656] I-pipe: Domain RTAI registered.
[ 2701.182693] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 2701.182699] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 2701.182717] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 2701.182723] PIPELINE layers:
[ 2701.182732] da619e20 9ac15d93 RTAI 200
[ 2701.182737] c085cb20 0 Linux 100
[ 2701.263519] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 2701.265081] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 2701.265102] RTAI[sched]: hard timer type/freq = APIC/6264148(Hz); default timing: periodic; linear timed lists.
[ 2701.265110] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1202687000 hz.
[ 2701.265117] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 2701.270064] RTAI[usi]: enabled.
[ 2701.566727] RTAI[math]: loaded.
[ 2707.081389] axis[6841]: segfault at 0 ip (null) sp bf9b0bfc error 4 in _tkinter.so[110000+a000]
[ 2711.407587] RTAI[math]: unloaded.
[ 2711.627738] SCHED releases registered named ALIEN RTGLBH
[ 2711.644650] RTAI[malloc]: unloaded.
[ 2711.744070] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 2711.760128] I-pipe: Domain RTAI unregistered.
[ 2711.760159] RTAI[hal]: unmounted.




[ 1913.792715] axis[4464]: segfault at 0 ip (null) sp bf9e06dc error 4 in libcrypto.so.0.9.8[110000+138000]

[ 1979.355086] axis[4685]: segfault at 0 ip (null) sp bfa4589c error 4 in libutil-2.11.1.so[110000+2000]

[ 2068.324668] axis[4905]: segfault at 0 ip (null) sp bfebd1cc error 4 in libz.so.1.2.3.3[110000+13000]

[ 2281.412599] axis[5724]: segfault at 0 ip (null) sp bfaf453c error 4 in libpthread-2.11.1.so[113000+15000]
The administrator has disabled public write access.

Re:Cannot start EMC with axis on a 10.04/2.4 system 08 Jul 2011 00:25 #11245

  • cncbasher
  • cncbasher's Avatar
  • OFFLINE
  • Moderator
  • Posts: 689
  • Thank you received: 30
  • Karma: 53
this usualy happens when some librarys are updated and some dependancys are missed or lost , is this with a clean installation of the live cd , or have you updated from an older release at some stage , try update manager if you happen to have the update manager turned off .

the problem you are seeing is an interoperability between librarys or library versions , and possibly an old incompatabilty with a library recently installed
form any newly installed application , using an old library .

it may be a better solution if this persists , to backup your emc config , and do a clean install of the live cd

look in the package manager for any conflicts or multiple versions of the same library , this may point you to a solution
The administrator has disabled public write access.

Re:Cannot start EMC with axis on a 10.04/2.4 system 08 Jul 2011 04:57 #11256

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4140
  • Thank you received: 141
  • Karma: 130
step4linux wrote:
I have persisting problems to use EMC 2.4.4 (Ub 10.04) with axis.
Other GUIs work perfect, including mocca, as well as the stepconf wizzard.
This might point at an OpenGL issue. The other UI's don't use OpenGL (well, I am not sure about Mocca).
You could try software-only OpenGL:
wiki.linuxcnc.org/emcinfo.pl?TroubleShoo...oftware_based_OpenGL
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 1.473 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.