need help, gmoccapy freezes

More
07 Dec 2023 17:24 #287463 by mimag
Hello, i use gmoccapy since 2-3 years without any problem. today i want to start like every day but if i click on the button to load a file the whole linuxcnc freezes and theres nothing i can do except kill the process. any hint where to look?
i didnt do any changes on linux or linux cnc the last weeks so i have no idea whats the problem.

if i start with another config with axis everything works.
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

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/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.4
Machine configuration directory is '/home/cnc/linuxcnc/configs/ps4018_wzl'
Machine configuration file is 'ps4018neu.ini'
INIFILE=/home/cnc/linuxcnc/configs/ps4018_wzl/ps4018neu.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
COORDINATES=XXYZ
KINEMATICS=trivkins coordinates=XXYZ kinstype=BOTH
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
Found file(REL): ./ps4018neu.hal
Found file(REL): ./whb.hal
Starting TASK program: milltask
Starting DISPLAY program: gmoccapy
Usage: gladevcp [options] myfile.ui

Options:
  -h, --help      show this help message and exit
  -c NAME         Set component name to NAME. Default is basename of UI file
  -d              Enable debug output
  -g GEOMETRY     Set geometry WIDTHxHEIGHT+XOFFSET+YOFFSET. Values are in
                  pixel units, XOFFSET/YOFFSET is referenced from top left of
                  screen use -g WIDTHxHEIGHT for just setting size or -g
                  +XOFFSET+YOFFSET for just position
  -H FILE         execute hal statements from FILE with halcmd after the
                  component is set up and ready
  -m MAXIMUM      Force panel window to maxumize
  -r GTK_RC       read custom GTK rc file to set widget style
  -R              disable workaround for GTK bug to properly read ~/.gtkrc-2.0
                  gtkrc files
  -t THEME        Set gtk theme. Default is system theme
  -x XID          Reparent gladevcp into an existing window XID instead of
                  creating a new top level window
  --xid           reparent window into a plug add push the plug xid number to
                  standardout
  -u FILE         Use FILEs as additional user defined modules with handlers
  -U USEROPT      pass USEROPTs to Python modules
  --always_above  Request the window To always be above other windows
(0, ' = ', '/usr/bin/gmoccapy')
(1, ' = ', '-ini')
(2, ' = ', '/home/cnc/linuxcnc/configs/ps4018_wzl/ps4018neu.ini')
Entry = trivkins
Entry = coordinates=XXYZ
found the following coordinates xxyz
Entry = kinstype=BOTH

**** GMOCCAPY GETINIINFO **** 
Number of joints = 4
4 COORDINATES found = xxyz
('Fount double letter ', ['x'])
joint 0 = axis x0
joint 1 = axis x1
joint 2 = axis y
joint 3 = axis z
{0: 'x0', 1: 'x1', 2: 'y', 3: 'z'}

**** GMOCCAPY GETINIINFO **** 

[KINS] KINESTYPE is trivkins
Found kinstype=BOTH but using trivkins
It is not recommended to do so!
Will use mode to switch between Joints and World mode
hopefully supported by the used <<trivkins>> module

**** GMOCCAPY GETINIINFO **** 
No MAX_ANGULAR_VELOCITY entry found in [DISPLAY] of INI file
Using default value of 3600 degree / min
**** GMOCCAPY GETINIINFO **** 
No MAX_RAPID_OVERRIDE entry found in [DISPLAY] of INI file 
 Default settings 100 % applied!
**** GMOCCAPY GETINIINFO **** 
Preference file path: gmoccapy_preferences
**** GMOCCAPY GETINIINFO **** 
 No DEFAULT_SPINDLE_SPEED entry found in [DISPLAY] of INI file
**** GMOCCAPY INFO ****
**** Gültige Tasterkonfiguration in der INI Datei gefunden****
**** Werkzeugvermessung wird verwendet ****
**** GMOCCAPY INFO ****
**** Entering make_DRO
axis_list = ['x', 'y', 'z']
**** GMOCCAPY INFO ****
**** Entering make ref axis button
('Filepath = ', '/usr/share/gmoccapy/images/ref_all.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_0.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_1.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_2.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_3.png')
('Filepath = ', '/usr/share/gmoccapy/images/unhome.png')
**** GMOCCAPY INFO ****
**** Entering make touch button
**** GMOCCAPY INFO ****
**** Entering make jog increments
**** GMOCCAPY build_GUI INFO ****
**** Es wurden zu viele Jog Incremente in der INI Datei angegeben ****
**** Nur die ersten 10 werden erreichbar sein. ****
**** GMOCCAPY INFO ****
**** Entering make jog button
**** GMOCCAPY INFO ****
**** Entering make joints button
**** GMOCCAPY INFO ****
**** arrange JOINTS button
Found 8 Joints Button
**** GMOCCAPY INFO ****
**** Entering make macro button
found 1 Macros
**** GMOCCAPY INFO ****
**** arrange DRO
3
**** GMOCCAPY INFO ****
**** Place in table
**** GMOCCAPY INFO ****
**** get DRO order
**** GMOCCAPY INFO ****
**** arrange JOG button
less than 6 axis
**** GMOCCAPY INFO ****
**** Keine Audio Meldung möglich **** 
**** PYGST libray nicht installiert? ****
**** PYGST libray nicht installiert? ****
**** GMOCCAPY INFO ****
**** Gremlin Einrichtung gestartet ****
Kinematics type changed
('_set_enable_tooltips = ', True)
**** GMOCCAPY INFO ****
**** Keine virtuelle Tastatur installiert, geprüft wurde nach <onboard> und <matchbox-keyboard>.
**** GMOCCAPY INFO: Gcode.lang found ****
**** GMOCCAPY GETINIINFO **** 
Wrong entry [DISPLAY] CYCLE_TIME in INI File!
Will use gmoccapy default 150
**** GMOCCAPY INFO : inifile = /home/cnc/linuxcnc/configs/ps4018_wzl/ps4018neu.ini ****:
**** GMOCCAPY INFO : postgui halfile = None ****:
Jog Pin Changed
x+
Jog Button released = x+
Jog Pin Changed
x-
Jog Button released = x-
Jog Pin Changed
y+
Jog Button released = y+
Jog Pin Changed
y-
Jog Button released = y-
Jog Pin Changed
z+
Jog Button released = z+
Jog Pin Changed
z-
Jog Button released = z-
Jog Pin Changed
0+
Jog Button released = 0+
Jog Pin Changed
0+
Jog Button released = 0+
Jog Pin Changed
1+
Jog Button released = 1+
Jog Pin Changed
1+
Jog Button released = 1+
Jog Pin Changed
2+
Jog Button released = 2+
Jog Pin Changed
2+
Jog Button released = 2+
Jog Pin Changed
3+
Jog Button released = 3+
Jog Pin Changed
3+
Jog Button released = 3+
1 2
MANUAL Mode
RUN
IDLE
ntb_button_switch_page
('on button home clicked = ', 'ref_all')
('Hal Status not all homed', '012')
('Hal Status not all homed', '01')
Combi DRO all homed
Combi DRO all homed
Combi DRO all homed
hal status motion mode changed
Hal Status all homed
ntb_button_switch_page
IDLE
AUTO Mode
ntb_button_switch_page
hal status motion mode changed
ntb_buttonShutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 2338 cycles, min=0.000033, max=0.027174, avg=0.009937, 0 latency excursions (> 10x expected cycle time of 0.010000s)
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 192.168.1.121: INFO: Hardware address (MAC): 00:60:1b:10:49:98
hm2_eth: discovered 7I76E-16
hm2/hm2_7i76e.0: Low Level init 0.15
hm2/hm2_7i76e.0: Smart Serial Firmware Version 43
Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_7i76e.0: 51 I/O Pins used:
hm2/hm2_7i76e.0:     IO Pin 000 (P1-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 001 (P1-14): StepGen #0, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 002 (P1-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 003 (P1-15): StepGen #1, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 004 (P1-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 005 (P1-16): StepGen #2, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 006 (P1-04): StepGen #3, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 007 (P1-17): StepGen #3, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 008 (P1-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 009 (P1-06): StepGen #4, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 010 (P1-07): Smart Serial Interface #0, pin tx0 (Output)
hm2/hm2_7i76e.0:     IO Pin 011 (P1-08): Smart Serial Interface #0, pin rx0 (Input)
hm2/hm2_7i76e.0:     IO Pin 012 (P1-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 013 (P1-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 014 (P1-11): Encoder #0, pin Index (Input)
hm2/hm2_7i76e.0:     IO Pin 015 (P1-12): Encoder #0, pin B (Input)
hm2/hm2_7i76e.0:     IO Pin 016 (P1-13): Encoder #0, pin A (Input)
hm2/hm2_7i76e.0:     IO Pin 017 (P2-01): IOPort
hm2/hm2_7i76e.0:     IO Pin 018 (P2-14): IOPort
hm2/hm2_7i76e.0:     IO Pin 019 (P2-02): IOPort
hm2/hm2_7i76e.0:     IO Pin 020 (P2-15): IOPort
hm2/hm2_7i76e.0:     IO Pin 021 (P2-03): IOPort
hm2/hm2_7i76e.0:     IO Pin 022 (P2-16): IOPort
hm2/hm2_7i76e.0:     IO Pin 023 (P2-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 024 (P2-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_7i76e.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_7i76e.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_7i76e.0:     IO Pin 034 (P3-01): IOPort
hm2/hm2_7i76e.0:     IO Pin 035 (P3-14): IOPort
hm2/hm2_7i76e.0:     IO Pin 036 (P3-02): IOPort
hm2/hm2_7i76e.0:     IO Pin 037 (P3-15): IOPort
hm2/hm2_7i76e.0:     IO Pin 038 (P3-03): IOPort
hm2/hm2_7i76e.0:     IO Pin 039 (P3-16): IOPort
hm2/hm2_7i76e.0:     IO Pin 040 (P3-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 041 (P3-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 042 (P3-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 043 (P3-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 044 (P3-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 045 (P3-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 046 (P3-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 047 (P3-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 048 (P3-11): IOPort
hm2/hm2_7i76e.0:     IO Pin 049 (P3-12): IOPort
hm2/hm2_7i76e.0:     IO Pin 050 (P3-13): IOPort
hm2/hm2_7i76e.0: registered
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime

/usr/bin/gmoccapy:312: GtkWarning: Invalid icon size 48

  self.widgets.window1.show()

(gmoccapy:4449): GtkSourceView-CRITICAL **: 16:10:37.272: gtk_source_language_manager_set_search_path: assertion 'lm->priv->ids == NULL' failed
/usr/bin/gmoccapy:5248: GtkWarning: Invalid icon size 48

  gtk.main()
/usr/bin/linuxcnc: Zeile 896:  4449 Getötet                $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
4399
4447
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime



-----------------------------------------------------------------------
Info report created by linuxcnc_info:
The file:    /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
     http://pastebin.com
in order to provide information about the linuxcnc
system and configuration.

                Date: Do 7. Dez 16:19:41 CET 2023
            UTC Date: Do 7. Dez 15:19:41 UTC 2023
        this program: /usr/bin/linuxcnc_info
              uptime: 16:19:41 up 46 min, 1 user, load average: 1,32, 1,88, 1,71
     lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
      which linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/cnc/linuxcnc/configs/ps4018_wzl
                USER: cnc
             LOGNAME: cnc
                HOME: /home/cnc
              EDITOR: 
              VISUAL: 
            LANGUAGE: 
                TERM: dumb
           COLORTERM: 
             DISPLAY: :0.0
             DESKTOP: lightdm-xsession
        display size: 1920x1080 pixels (508x285 millimeters)
                PATH: /usr/bin:/home/cnc/linuxcnc/configs/ps4018_wzl/bin:/usr/bin:/home/cnc/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: cnc
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.289-2 (2023-08-08)
          machine -m: x86_64
        processor -p: unknown
         platform -i: unknown
      oper system -o: GNU/Linux

/proc items:
             cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.0-25-rt-amd64 root=UUID=0a9a4750-be4a-4a09-b79a-28fa29ad5449 ro quiet
          model name: Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz
               cores: 2
             cpu MHz: 3401.420
             parport: 
              serial: 

Versions:
                 gcc: gcc (Debian 8.3.0-6) 8.3.0
              python: Python 2.7.16
                 git: git version 2.20.1
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: not_in_PATH
          glade-gtk2: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.8.4
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
            REALTIME: /etc/init.d/realtime
                 RTS: uspace
          HALLIB_DIR: /usr/share/linuxcnc/hallib

dpkg -l '*linuxcnc*':
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name                Version      Architektur  Beschreibung
+++-===================-============-============-=====================================================================
un  linuxcnc            <keine>      <keine>      (keine Beschreibung vorhanden)
un  linuxcnc-dev        <keine>      <keine>      (keine Beschreibung vorhanden)
un  linuxcnc-doc        <keine>      <keine>      (keine Beschreibung vorhanden)
ii  linuxcnc-doc-en     1:2.8.4      all          motion controller for CNC machines and robots (English documentation)
ii  linuxcnc-doc-es     1:2.8.4      all          controlador de movimiento para máquinas CNC y robots (Español).
ii  linuxcnc-doc-fr     1:2.8.4      all          motion controller for CNC machines and robots (French documentation)
un  linuxcnc-sim        <keine>      <keine>      (keine Beschreibung vorhanden)
un  linuxcnc-sim-dev    <keine>      <keine>      (keine Beschreibung vorhanden)
ii  linuxcnc-uspace     1:2.8.4      amd64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.8.4      amd64        PC based motion controller for real-time Linux
 

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

More
07 Dec 2023 17:36 - 07 Dec 2023 17:40 #287465 by zz912
Replied by zz912 on topic need help, gmoccapy freezes
Try:sudo apt-get install memtest86+

then:sudo badblock -sv /dev/sda
Last edit: 07 Dec 2023 17:40 by zz912.

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

More
07 Dec 2023 17:39 #287467 by mimag
Replied by mimag on topic need help, gmoccapy freezes
ok good idea try this tomorrow, machine is not reachable at the moment

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

More
07 Dec 2023 17:41 #287468 by zz912
Replied by zz912 on topic need help, gmoccapy freezes
It is a long test. Idealy run it over night.

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

More
07 Dec 2023 17:54 #287470 by mimag
Replied by mimag on topic need help, gmoccapy freezes
yesteerday i had some powerfailures so this could be the problem.

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

More
08 Dec 2023 13:27 #287530 by mimag
Replied by mimag on topic need help, gmoccapy freezes
i do some tests, HD is ok, mem is OK
tried to deinstall linux cnc and re install
but alwasy the same. if i change to axis it works but i need gmoccapy
any more hints?

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

More
08 Dec 2023 16:55 #287554 by tommylight
While LinuxCNC is running, open a terminal and type
sensors
notice the CPU temperature, if it is over 65C open the PC and repaste the CPU cooler.
-
Assuming this is an Intel CPU, hence the low temp value as Intel is all over the place for thermal throttling, i have Xeons that throttle at 63C and also have laptops that can do 104-109C sustained without issues.

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

More
08 Dec 2023 17:24 #287559 by mimag
Replied by mimag on topic need help, gmoccapy freezes
its 78° but thats for this machine normal
and what i say with axis it works.

i have found the problem, but i dont know why its a problem now.
i have a folder for my ngc files and sync this folder via dropbox. the folder i have set in PROGRAMM_PREFIX. if i change this to another folder everything works, but if i try to access this folder via Gmoccapy the programm freezes again.

now i have a solution, is there any restriction about the file quantity for this folder? i have many folders and files inside but if i delete some it works like befor.
The following user(s) said Thank You: tommylight

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

More
08 Dec 2023 23:20 #287594 by tommylight
Thank you for reporting back with findings.

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

Moderators: newbynobiHansU
Time to create page: 0.125 seconds
Powered by Kunena Forum