View difference between Paste ID: myURPLyA and eRGjygEP
SHOW: | | - or go back to the newest paste.
1
Getting a segfault on "lin 687" of linuxcnc.
2
3
This seems to be the 'error' that happens:
4
[ 1032.808801] axis[2150]: segfault at eeadb46b ip 00f5dbbd sp bf86235c error 7 in swrast_dri.so[f40000+216000]
5
[ 1033.791118] probe_parport 00:0d: disabled
6
7
These are the lines near that one
8
9
   684	# 4.3.10. Run display in foreground
10
   685	echo "Starting DISPLAY program: $EMCDISPLAY" >>$PRINT_FILE
11
   686	result=0
12
   687	case $EMCDISPLAY in
13
   688	  tklinuxcnc|mini)
14
   689	    # tklinuxcnc and mini are in the tcl directory, not the bin directory
15
   690	    if [ ! -x $LINUXCNC_TCL_DIR/$EMCDISPLAY.tcl ] ; then
16
   691		echo "Can't execute DISPLAY program $LINUXCNC_TCL_DIR/$EMCDISPLAY.tcl $EMCDISPLAYARGS"
17
   692		Cleanup
18
   693		exit 1
19
   694	    fi
20
   695	    $LINUXCNC_TCL_DIR/$EMCDISPLAY.tcl -ini "$INIFILE" $EMCDISPLAYARGS
21
   696	    result=$?
22
   697	  ;;
23
   698	  dummy)
24
   699	    # dummy display just waits for <ENTER>
25
26
27
Error as reported by Linuxcnc:
28
29
Print file information:
30
RUN_IN_PLACE=no
31
LINUXCNC_DIR=
32
LINUXCNC_BIN_DIR=/usr/bin
33
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
34
LINUXCNC_SCRIPT_DIR=
35
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
36
LINUXCNC_CONFIG_DIR=
37
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
38
INIVAR=inivar
39
HALCMD=halcmd
40
LINUXCNC_EMCSH=/usr/bin/wish8.5
41
LINUXCNC - 2.5.2
42
Machine configuration directory is '/home/printer/linuxcnc/configs/3dprinter'
43
Machine configuration file is '3dprinter.ini'
44
INIFILE=/home/printer/linuxcnc/configs/3dprinter/3dprinter.ini
45
PARAMETER_FILE=linuxcnc.var
46
TASK=milltask
47
HALUI=halui
48
DISPLAY=axis
49
Starting LinuxCNC...
50
Starting LinuxCNC server program: linuxcncsvr
51
Loading Real Time OS, RTAPI, and HAL_LIB modules
52
Starting LinuxCNC IO program: io
53
Starting HAL User Interface program: halui
54
Starting TASK program: milltask
55
Starting DISPLAY program: axis
56
Shutting down and cleaning up LinuxCNC...
57
Killing task linuxcncsvr, PID=2094
58
Killing task milltask, PID=2149
59
Removing HAL_LIB, RTAPI, and Real Time OS modules
60
Removing NML shared memory segments
61
Cleanup done
62
63
Debug file information:
64
Can not find -sec MOT -var MOT -num 1 
65
Can not find -sec IO -var IO -num 1 
66
Can not find -sec LINUXCNC -var NML_FILE -num 1 
67
Can not find -sec EMC -var NML_FILE -num 1 
68
/usr/bin/linuxcnc: line 687:  2150 Segmentation fault      $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
69
2094
70
  PID TTY      STAT   TIME COMMAND
71
2149
72
  PID TTY      STAT   TIME COMMAND
73
Stopping realtime threads
74
Unloading hal components
75
76
Kernel message information:
77
[  213.395034] I-pipe: Domain RTAI registered.
78
[  213.395046] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
79
[  213.395049] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
80
[  213.395056] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
81
[  213.395058] PIPELINE layers:
82
[  213.395062] f9d2ce20 9ac15d93 RTAI 200
83
[  213.395065] c085cb20 0 Linux 100
84
[  213.426409] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
85
[  213.426640] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
86
[  213.426645] RTAI[sched]: hard timer type/freq = APIC/20830838(Hz); default timing: periodic; linear timed lists.
87
[  213.426649] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2083032000 hz.
88
[  213.426652] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
89
[  213.426828] RTAI[usi]: enabled.
90
[  213.551846] RTAI[math]: loaded.
91
[  213.821098] config string '0x378 out  '
92
[  300.064930] Disabling lock debugging due to kernel taint
93
[  300.064940] Machine check events logged
94
[  450.077004] Machine check events logged
95
[  525.082986] Machine check events logged
96
[  721.926982] __ratelimit: 2 callbacks suppressed
97
[  721.926988] Machine check events logged
98
[  759.417984] Machine check events logged
99
[  822.643039] __ratelimit: 5 callbacks suppressed
100
[  822.643044] Machine check events logged
101
[  827.323456] Machine check events logged
102
[  900.917347] __ratelimit: 4 callbacks suppressed
103
[  900.917352] Machine check events logged
104
[  966.330687] Machine check events logged
105
[ 1027.071485] __ratelimit: 3 callbacks suppressed
106
[ 1027.071491] Machine check events logged
107
[ 1032.808801] axis[2150]: segfault at eeadb46b ip 00f5dbbd sp bf86235c error 7 in swrast_dri.so[f40000+216000]
108
[ 1033.791118] probe_parport 00:0d: disabled
109
[ 1034.080149] Machine check events logged
110
[ 1036.022194] RTAI[math]: unloaded.
111
[ 1036.100157] SCHED releases registered named ALIEN RTGLBH
112
[ 1036.116076] RTAI[malloc]: unloaded.
113
[ 1036.214736] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
114
[ 1036.220288] I-pipe: Domain RTAI unregistered.
115
[ 1036.220335] RTAI[hal]: unmounted.