Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Getting a segfault on "lin 687" of linuxcnc.
- This seems to be the 'error' that happens:
- [ 1032.808801] axis[2150]: segfault at eeadb46b ip 00f5dbbd sp bf86235c error 7 in swrast_dri.so[f40000+216000]
- [ 1033.791118] probe_parport 00:0d: disabled
- These are the lines near that one
- 684 # 4.3.10. Run display in foreground
- 685 echo "Starting DISPLAY program: $EMCDISPLAY" >>$PRINT_FILE
- 686 result=0
- 687 case $EMCDISPLAY in
- 688 tklinuxcnc|mini)
- 689 # tklinuxcnc and mini are in the tcl directory, not the bin directory
- 690 if [ ! -x $LINUXCNC_TCL_DIR/$EMCDISPLAY.tcl ] ; then
- 691 echo "Can't execute DISPLAY program $LINUXCNC_TCL_DIR/$EMCDISPLAY.tcl $EMCDISPLAYARGS"
- 692 Cleanup
- 693 exit 1
- 694 fi
- 695 $LINUXCNC_TCL_DIR/$EMCDISPLAY.tcl -ini "$INIFILE" $EMCDISPLAYARGS
- 696 result=$?
- 697 ;;
- 698 dummy)
- 699 # dummy display just waits for <ENTER>
- Error as reported by Linuxcnc:
- 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.2
- Machine configuration directory is '/home/printer/linuxcnc/configs/3dprinter'
- Machine configuration file is '3dprinter.ini'
- INIFILE=/home/printer/linuxcnc/configs/3dprinter/3dprinter.ini
- PARAMETER_FILE=linuxcnc.var
- TASK=milltask
- HALUI=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 HAL User Interface program: halui
- Starting TASK program: milltask
- Starting DISPLAY program: axis
- Shutting down and cleaning up LinuxCNC...
- Killing task linuxcncsvr, PID=2094
- Killing task milltask, PID=2149
- 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
- /usr/bin/linuxcnc: line 687: 2150 Segmentation fault $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
- 2094
- PID TTY STAT TIME COMMAND
- 2149
- PID TTY STAT TIME COMMAND
- Stopping realtime threads
- Unloading hal components
- Kernel message information:
- [ 213.395034] I-pipe: Domain RTAI registered.
- [ 213.395046] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
- [ 213.395049] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
- [ 213.395056] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
- [ 213.395058] PIPELINE layers:
- [ 213.395062] f9d2ce20 9ac15d93 RTAI 200
- [ 213.395065] c085cb20 0 Linux 100
- [ 213.426409] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
- [ 213.426640] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
- [ 213.426645] RTAI[sched]: hard timer type/freq = APIC/20830838(Hz); default timing: periodic; linear timed lists.
- [ 213.426649] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2083032000 hz.
- [ 213.426652] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
- [ 213.426828] RTAI[usi]: enabled.
- [ 213.551846] RTAI[math]: loaded.
- [ 213.821098] config string '0x378 out '
- [ 300.064930] Disabling lock debugging due to kernel taint
- [ 300.064940] Machine check events logged
- [ 450.077004] Machine check events logged
- [ 525.082986] Machine check events logged
- [ 721.926982] __ratelimit: 2 callbacks suppressed
- [ 721.926988] Machine check events logged
- [ 759.417984] Machine check events logged
- [ 822.643039] __ratelimit: 5 callbacks suppressed
- [ 822.643044] Machine check events logged
- [ 827.323456] Machine check events logged
- [ 900.917347] __ratelimit: 4 callbacks suppressed
- [ 900.917352] Machine check events logged
- [ 966.330687] Machine check events logged
- [ 1027.071485] __ratelimit: 3 callbacks suppressed
- [ 1027.071491] Machine check events logged
- [ 1032.808801] axis[2150]: segfault at eeadb46b ip 00f5dbbd sp bf86235c error 7 in swrast_dri.so[f40000+216000]
- [ 1033.791118] probe_parport 00:0d: disabled
- [ 1034.080149] Machine check events logged
- [ 1036.022194] RTAI[math]: unloaded.
- [ 1036.100157] SCHED releases registered named ALIEN RTGLBH
- [ 1036.116076] RTAI[malloc]: unloaded.
- [ 1036.214736] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
- [ 1036.220288] I-pipe: Domain RTAI unregistered.
- [ 1036.220335] RTAI[hal]: unmounted.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement