Error when opening sim configuration gmoccapy 3.4.8
- Sekai
- Away
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 0
18 Dec 2025 07:39 - 18 Dec 2025 07:41 #340269
by Sekai
Error when opening sim configuration gmoccapy 3.4.8 was created by Sekai
Hi i'm trying to open a sim config on 12 inch monitor with 1024x768 at 4:3 but gmoccapy gives and error with every sim config.
I tried even the 800x600 but the same error.
I tried axis and it works but the windows is bigger than the display.
The system is debian 12 si linux cnc 2.9.3 and rtai kernel 5.4.258
btw why the forum gives me and error when i try to put the code ?(You have too many links in your message, please decrease them! )
I uploaded the error code.
I tried even the 800x600 but the same error.
I tried axis and it works but the windows is bigger than the display.
The system is debian 12 si linux cnc 2.9.3 and rtai kernel 5.4.258
btw why the forum gives me and error when i try to put the code ?(You have too many links in your message, please decrease them! )
I uploaded the error code.
Attachments:
Last edit: 18 Dec 2025 07:41 by Sekai.
Please Log in or Create an account to join the conversation.
- zz912
-
- Offline
- Platinum Member
-
Less
More
- Posts: 584
- Thank you received: 95
18 Dec 2025 07:59 #340270
by zz912
Replied by zz912 on topic Error when opening sim configuration gmoccapy 3.4.8
Mayby some GTK, GDK, Python3 package is missing.
Please Log in or Create an account to join the conversation.
- Sekai
- Away
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 0
18 Dec 2025 08:31 - 18 Dec 2025 10:36 #340271
by Sekai
Replied by Sekai on topic Error when opening sim configuration gmoccapy 3.4.8
I configured a step configuration with the wizard
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-5.4.258-rtai-amd64/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.3
Machine configuration directory is '/home/cnc/linuxcnc/configs/my-mill'
Machine configuration file is 'my-mill.ini'
INIFILE=/home/cnc/linuxcnc/configs/my-mill/my-mill.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=
DISPLAY=gmoccapy
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
libnml/buffer/shmem.cc 320: Shared memory buffers toolCmd and toolCmd may conflict. (key=1004(0x3EC))
libnml/buffer/shmem.cc 320: Shared memory buffers toolSts and toolSts may conflict. (key=1005(0x3ED))
libnml/buffer/shmem.cc 320: Shared memory buffers emcError and emcError may conflict. (key=1003(0x3EB))
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./my-mill.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: gmoccapy
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
ERROR: Can't remove RTAI modules, kill the following process(es) first
1563Removing NML shared memory segments
Debug file information:
Exception ignored error evaluating path:
Traceback (most recent call last):
File "<frozen getpath>", line 575, in <module>
File "<frozen getpath>", line 210, in search_up
File "<frozen getpath>", line 210, in <genexpr>
ValueError: embedded null character
Fatal Python error: error evaluating path
Python runtime state: core initialized
Current thread 0x00007fb818429040 (most recent call first):
<no Python frame>
/usr/bin/linuxcnc: line 665: 1572 Segmentation fault $PIDOF $KILL_TASK >> $DEBUG_FILE
Traceback (most recent call last):
File "/usr/bin/axis-remote", line 26, in <module>
import sys, getopt, os
import sys, getopt, os
File "/usr/lib/python3.11/getopt.py", line 38, in <module>
from gettext import gettext as _
File "/usr/lib/python3.11/gettext.py", line 50, in <module>
import re
File "/usr/lib/python3.11/re/__init__.py", line 124, in <module>
import enum
File "/usr/lib/python3.11/enum.py", line 3, in <module>
from types import MappingProxyType, DynamicClassAttribute
SystemError: error return without exception set
1511
/usr/bin/linuxcnc: line 620: [: -gt: unary operator expected
1567
malloc(): unsorted double linked list corrupted
Stopping realtime threads
Unloading hal components
Waiting for component 'inihal' to become ready...................... USER PID ACCESS COMMAND
/dev/rtai_shm: cnc ....m halcmd
................
Kernel message information:
[ 511.133992] I-pipe: head domain RTAI registered.
[ 511.133998] RTAI[hal]: mounted. ISOL_CPUS_MASK: 0.
[ 511.134006] SYSINFO - # CPUs: 1, TIMER NAME: 'lapic', TIMER IRQ: 4355, TIMER FREQ: 10390249, CLOCK NAME: 'tsc', CLOCK FREQ: 1662499000, CPU FREQ: 1662499000, LINUX TIMER IRQ: 4355.
[ 511.186056] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 511.186122] kstacks pool size = 524288 bytes
[ 511.186133] RTAI[sched]: hard timer type/freq = lapic/10390249(Hz)
[ 511.186136] linear timed lists.
[ 511.186139] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1662499000 hz.
[ 511.186142] RTAI[sched]: timer setup = 96 ns, resched latency = 0 ns.
[ 511.222685] USERMODE CHECK: OK.
[ 511.222690] USERMODE CHECK PROVIDED (ns): KernelLatency 4491, UserLatency 1954.
[ 511.222694] FINAL CALIBRATION SUMMARY (ns): KernelLatency 4491, UserLatency 1954.
[ 511.361573] RTAI[math]: loaded integrated musl libm version 1.2.3.
[ 511.767184] config string '0 out'
[ 512.090484] hal_manualtoolc[1557]: segfault at ab ip 0000000000561d90 sp 00007ffc12846810 error 4 in python3.11[41f000+2b3000]
[ 512.090506] Code: 40 08 48 85 c0 0f 85 7f 00 00 00 49 81 ff c0 9c 95 00 74 09 4d 85 ff 0f 85 9c 00 00 00 48 85 db 0f 84 1c 02 00 00 48 8b 43 08 <f6> 80 ab 00 00 00 40 0f 85 83 01 00 00 4d 85 ed 74 05 49 83 45 00
[ 512.189738] pidof[1572]: segfault at 18 ip 00007f6219198087 sp 00007ffe7fc3ec70 error 4 in libc.so.6[7f6219129000+156000]
[ 512.189756] Code: 1f 40 00 48 83 ec 08 48 8b 4f 08 48 89 c8 48 83 e0 f8 48 3b 04 07 0f 85 a9 00 00 00 f3 0f 6f 47 10 48 8b 57 18 66 48 0f 7e c0 <48> 3b 78 18 75 7b 48 3b 7a 10 75 75 48 8b 77 10 48 89 50 18 66 0f
Edit: i ran the command halrun -U
I think the rtapi module is not loaded
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-5.4.258-rtai-amd64/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.3
Machine configuration directory is '/home/cnc/linuxcnc/configs/my-mill'
Machine configuration file is 'my-mill.ini'
INIFILE=/home/cnc/linuxcnc/configs/my-mill/my-mill.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=
DISPLAY=gmoccapy
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
libnml/buffer/shmem.cc 320: Shared memory buffers toolCmd and toolCmd may conflict. (key=1004(0x3EC))
libnml/buffer/shmem.cc 320: Shared memory buffers toolSts and toolSts may conflict. (key=1005(0x3ED))
libnml/buffer/shmem.cc 320: Shared memory buffers emcError and emcError may conflict. (key=1003(0x3EB))
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./my-mill.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: gmoccapy
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
ERROR: Can't remove RTAI modules, kill the following process(es) first
1563Removing NML shared memory segments
Debug file information:
Exception ignored error evaluating path:
Traceback (most recent call last):
File "<frozen getpath>", line 575, in <module>
File "<frozen getpath>", line 210, in search_up
File "<frozen getpath>", line 210, in <genexpr>
ValueError: embedded null character
Fatal Python error: error evaluating path
Python runtime state: core initialized
Current thread 0x00007fb818429040 (most recent call first):
<no Python frame>
/usr/bin/linuxcnc: line 665: 1572 Segmentation fault $PIDOF $KILL_TASK >> $DEBUG_FILE
Traceback (most recent call last):
File "/usr/bin/axis-remote", line 26, in <module>
import sys, getopt, os
import sys, getopt, os
File "/usr/lib/python3.11/getopt.py", line 38, in <module>
from gettext import gettext as _
File "/usr/lib/python3.11/gettext.py", line 50, in <module>
import re
File "/usr/lib/python3.11/re/__init__.py", line 124, in <module>
import enum
File "/usr/lib/python3.11/enum.py", line 3, in <module>
from types import MappingProxyType, DynamicClassAttribute
SystemError: error return without exception set
1511
/usr/bin/linuxcnc: line 620: [: -gt: unary operator expected
1567
malloc(): unsorted double linked list corrupted
Stopping realtime threads
Unloading hal components
Waiting for component 'inihal' to become ready...................... USER PID ACCESS COMMAND
/dev/rtai_shm: cnc ....m halcmd
................
Kernel message information:
[ 511.133992] I-pipe: head domain RTAI registered.
[ 511.133998] RTAI[hal]: mounted. ISOL_CPUS_MASK: 0.
[ 511.134006] SYSINFO - # CPUs: 1, TIMER NAME: 'lapic', TIMER IRQ: 4355, TIMER FREQ: 10390249, CLOCK NAME: 'tsc', CLOCK FREQ: 1662499000, CPU FREQ: 1662499000, LINUX TIMER IRQ: 4355.
[ 511.186056] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 511.186122] kstacks pool size = 524288 bytes
[ 511.186133] RTAI[sched]: hard timer type/freq = lapic/10390249(Hz)
[ 511.186136] linear timed lists.
[ 511.186139] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1662499000 hz.
[ 511.186142] RTAI[sched]: timer setup = 96 ns, resched latency = 0 ns.
[ 511.222685] USERMODE CHECK: OK.
[ 511.222690] USERMODE CHECK PROVIDED (ns): KernelLatency 4491, UserLatency 1954.
[ 511.222694] FINAL CALIBRATION SUMMARY (ns): KernelLatency 4491, UserLatency 1954.
[ 511.361573] RTAI[math]: loaded integrated musl libm version 1.2.3.
[ 511.767184] config string '0 out'
[ 512.090484] hal_manualtoolc[1557]: segfault at ab ip 0000000000561d90 sp 00007ffc12846810 error 4 in python3.11[41f000+2b3000]
[ 512.090506] Code: 40 08 48 85 c0 0f 85 7f 00 00 00 49 81 ff c0 9c 95 00 74 09 4d 85 ff 0f 85 9c 00 00 00 48 85 db 0f 84 1c 02 00 00 48 8b 43 08 <f6> 80 ab 00 00 00 40 0f 85 83 01 00 00 4d 85 ed 74 05 49 83 45 00
[ 512.189738] pidof[1572]: segfault at 18 ip 00007f6219198087 sp 00007ffe7fc3ec70 error 4 in libc.so.6[7f6219129000+156000]
[ 512.189756] Code: 1f 40 00 48 83 ec 08 48 8b 4f 08 48 89 c8 48 83 e0 f8 48 3b 04 07 0f 85 a9 00 00 00 f3 0f 6f 47 10 48 8b 57 18 66 48 0f 7e c0 <48> 3b 78 18 75 7b 48 3b 7a 10 75 75 48 8b 77 10 48 89 50 18 66 0f
Edit: i ran the command halrun -U
I think the rtapi module is not loaded
Attachments:
Last edit: 18 Dec 2025 10:36 by Sekai.
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.127 seconds