- Posts: 648
- Thank you received: 0
[solved] Linuxcnc crashes when opening files
6 years 1 month ago #181660
by anfänger
[solved] Linuxcnc crashes when opening files was created by anfänger
Hi,
I updates to linuxcnc 2.8 and the latest qtpyvcp and probe basic.
wie I open some files linuxcnc is shutting down with following error:
and when powering up I get a lot of error messages:
and some more which I don't get in the terminal because it is ti fast and are not in the log files
the is just following:
Has anyone some ideas?
Thanks Patrick
I updates to linuxcnc 2.8 and the latest qtpyvcp and probe basic.
wie I open some files linuxcnc is shutting down with following error:
Code:
/usr/bin/linuxcnc: Zeile 896: 4065 Speicherzugriffsfehler $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Shutting down and cleaning up LinuxCNC...
and when powering up I get a lot of error messages:
Code:
ERROR: In /work/standalone-x64-build/VTK-source/Rendering/OpenGL2/vtkShaderProgram.cxx, line 431
vtkShaderProgram (0x564f846c6500): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
ERROR: In /work/standalone-x64-build/VTK-source/Rendering/OpenGL2/vtkShaderProgram.cxx, line 430
vtkShaderProgram (0x564f846c6500): 1: #version 150
2: #ifdef GL_ES
3: #if __VERSION__ == 300
4: #define attribute in
5: #define varying out
6: #endif // 300
7: #else // GL_ES
8: #define highp
9: #define mediump
10: #define lowp
11: #if __VERSION__ == 150
12: #define attribute in
13: #define varying out
14: #endif
15: #endif // GL_ES
16:
17:
18: /*=========================================================================
19:
20: Program: Visualization Toolkit
21: Module: vtkPolyDataVS.glsl
22:
23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
24: All rights reserved.
25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
26:
27: This software is distributed WITHOUT ANY WARRANTY; without even
28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
29: PURPOSE. See the above copyright notice for more information.
30:
31: =========================================================================*/
32:
33: attribute vec4 vertexMC;
34:
35: // frag position in VC
36: //VTK::PositionVC::Dec
37:
38: // optional normal declaration
39: //VTK::Normal::Dec
40:
41: // extra lighting parameters
42: //VTK::Light::Dec
43:
44: // Texture coordinates
45: //VTK::TCoord::Dec
46:
47: // material property values
48: //VTK::Color::Dec
49:
50: // clipping plane vars
51: //VTK::Clip::Dec
52:
53: // camera and actor matrix values
54: uniform mat4 MCDCMatrix;
55:
56: // Apple Bug
57: //VTK::PrimID::Dec
58:
59: // Value raster
60: //VTK::ValuePass::Dec
61:
62: void main()
63: {
64: //VTK::Color::Impl
65:
66: //VTK::Normal::Impl
67:
68: //VTK::TCoord::Impl
69:
70: //VTK::Clip::Impl
71:
72: //VTK::PrimID::Impl
73:
74: gl_Position = MCDCMatrix * vertexMC;
75:
76:
77: //VTK::ValuePass::Impl
78:
79: //VTK::Light::Impl
80: }
81:
and some more which I don't get in the terminal because it is ti fast and are not in the log files
the is just following:
Code:
cat igor.log
2020-09-10 19:26:34,914 - qtpyvcp - INFO - Logging to /home/igor/linuxcnc/configs/IgorProbe/igor.log
2020-09-10 19:26:34,915 - qtpyvcp - INFO - QtPyVCP Version: v0.3.8
2020-09-10 19:26:35,379 - qtpyvcp.utilities.info - INFO - The machine has 3 axes and 3 joints
2020-09-10 19:26:35,379 - qtpyvcp.utilities.info - INFO - The Axis/Joint mapping is:
2020-09-10 19:26:35,379 - qtpyvcp.utilities.info - INFO - Axis X --> Joint 0
2020-09-10 19:26:35,379 - qtpyvcp.utilities.info - INFO - Axis Y --> Joint 1
2020-09-10 19:26:35,379 - qtpyvcp.utilities.info - INFO - Axis Z --> Joint 2
2020-09-10 19:26:35,575 - qtpyvcp - INFO - Loading global stylesheet: /home/igor/probe_basic/probe_basic/probe_basic.qss
2020-09-10 19:26:38,385 - qtpyvcp.widgets.form_widgets.main_window - ERROR - Error binding menu action settings.virtual-input.enable
Traceback (most recent call last):
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 134, in getMenuAction
actions.bindWidget(menu_action, action_name)
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/actions/__init__.py", line 66, in bindWidget
raise InvalidAction("Could not get action method: %s" % item)
InvalidAction: Could not get action method: settings
2020-09-10 19:26:38,386 - qtpyvcp.widgets.form_widgets.main_window - ERROR - Error binding menu action settings.backplot.show-grid
Traceback (most recent call last):
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 134, in getMenuAction
actions.bindWidget(menu_action, action_name)
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/actions/__init__.py", line 66, in bindWidget
raise InvalidAction("Could not get action method: %s" % item)
InvalidAction: Could not get action method: settings
2020-09-10 19:26:38,387 - qtpyvcp.widgets.form_widgets.main_window - ERROR - Error binding menu action settings.backplot.show-machine-bounds
Traceback (most recent call last):
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 134, in getMenuAction
actions.bindWidget(menu_action, action_name)
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/actions/__init__.py", line 66, in bindWidget
raise InvalidAction("Could not get action method: %s" % item)
InvalidAction: Could not get action method: settings
2020-09-10 19:26:38,387 - qtpyvcp.widgets.form_widgets.main_window - ERROR - Error binding menu action settings.backplot.show-machine-labels
Traceback (most recent call last):
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 134, in getMenuAction
actions.bindWidget(menu_action, action_name)
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/actions/__init__.py", line 66, in bindWidget
raise InvalidAction("Could not get action method: %s" % item)
InvalidAction: Could not get action method: settings
2020-09-10 19:26:38,388 - qtpyvcp.widgets.form_widgets.main_window - ERROR - Error binding menu action settings.backplot.show-machine-ticks
Traceback (most recent call last):
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 134, in getMenuAction
actions.bindWidget(menu_action, action_name)
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/actions/__init__.py", line 66, in bindWidget
raise InvalidAction("Could not get action method: %s" % item)
InvalidAction: Could not get action method: settings
2020-09-10 19:26:38,388 - qtpyvcp.widgets.form_widgets.main_window - ERROR - Error binding menu action settings.backplot.show-program-bounds
Traceback (most recent call last):
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 134, in getMenuAction
actions.bindWidget(menu_action, action_name)
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/actions/__init__.py", line 66, in bindWidget
raise InvalidAction("Could not get action method: %s" % item)
InvalidAction: Could not get action method: settings
2020-09-10 19:26:38,389 - qtpyvcp.widgets.form_widgets.main_window - ERROR - Error binding menu action settings.backplot.show-program-labels
Traceback (most recent call last):
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 134, in getMenuAction
actions.bindWidget(menu_action, action_name)
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/actions/__init__.py", line 66, in bindWidget
raise InvalidAction("Could not get action method: %s" % item)
InvalidAction: Could not get action method: settings
2020-09-10 19:26:38,389 - qtpyvcp.widgets.form_widgets.main_window - ERROR - Error binding menu action settings.backplot.show-program-ticks
Traceback (most recent call last):
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 134, in getMenuAction
actions.bindWidget(menu_action, action_name)
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/actions/__init__.py", line 66, in bindWidget
raise InvalidAction("Could not get action method: %s" % item)
InvalidAction: Could not get action method: settings
2020-09-10 19:26:38,647 - qtpyvcp.app.launcher - INFO - Loading POSTGUI_HALFILE: /home/igor/linuxcnc/configs/IgorProbe/hallib/postgui.hal
Has anyone some ideas?
Thanks Patrick
Attachment not found
Please Log in to join the conversation.
6 years 1 month ago #181664
by anfänger
Replied by anfänger on topic Linuxcnc crashes when opening files
some of the errors in the beginning of power up come from filling the tool changer widget and and are a little odd cause the atc widget is filled as usual. But the VTK-Plot widget seems to miss
Code:
[qtpyvcp.app.launcher][CRITICAL] Unhandled exception in machine_actions.py line 425 (launcher.py:37)
Traceback (most recent call last):
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/actions/machine_actions.py", line 425, in set
CMD.rapidrate(float(value) / 100)
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/hal/hal_qlib.py", line 112, in signal_handler
self.exit()
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/hal/hal_qlib.py", line 109, in exit
return self._comp.exit(*a, **kw)
RuntimeError: Invalid operation on closed HAL component
[qtpyvcp.plugins.notifications][ERROR] Error evaluating DEBUG expression: 'vcp.getWidget("dynatc").store_tool(1.000000, 1060.000000)' (notifications.py:146)
Traceback (most recent call last):
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/plugins/notifications.py", line 144, in timerEvent
eval(exp, {"vcp": app})
File "<string>", line 1, in <module>
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/app/application.py", line 213, in getWidget
raise AttributeError("Could not find widget with name: %s" % name)
AttributeError: Could not find widget with name: dynatc
[qtpyvcp.plugins.notifications][ERROR] Error evaluating DEBUG expression: 'vcp.getWidget("dynatc").store_tool(11.000000, 2001.000000)' (notifications.py:146)
Traceback (most recent call last):
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/plugins/notifications.py", line 144, in timerEvent
eval(exp, {"vcp": app})
File "<string>", line 1, in <module>
File "/home/igor/.local/lib/python2.7/site-packages/qtpyvcp/app/application.py", line 213, in getWidget
raise AttributeError("Could not find widget with name: %s" % name)
AttributeError: Could not find widget with name: dynatc
Please Log in to join the conversation.
6 years 1 month ago #181705
by KCJ
Replied by KCJ on topic Linuxcnc crashes when opening files
Hello Patrick,
Those are really strange errors.
The VTK error looks to be a GL shading language version mismatch, I'm not sure how to fix that. It could be that installing the latest version of VTK will work. I will try to set up a test environment and experiment with that.
The raise InvalidAction("Could not get action method: %s" % item) are likely due to menu items defined in the GUI that are not set up in the YAML setting definitions. This is not a big deal, probably caused my mismatched QtPyVCP and ProbeBasic versions. This only affects the window menu items, some of which might not function correctly.
The other errors are really strange. Again I think caused by miss matched versions. Are you possibly running a really old version of ProbeBasic??
What is the output of qtpyvcp --info and probe_basic -v?
Cheers,
Kurt
Those are really strange errors.
The VTK error looks to be a GL shading language version mismatch, I'm not sure how to fix that. It could be that installing the latest version of VTK will work. I will try to set up a test environment and experiment with that.
The raise InvalidAction("Could not get action method: %s" % item) are likely due to menu items defined in the GUI that are not set up in the YAML setting definitions. This is not a big deal, probably caused my mismatched QtPyVCP and ProbeBasic versions. This only affects the window menu items, some of which might not function correctly.
The other errors are really strange. Again I think caused by miss matched versions. Are you possibly running a really old version of ProbeBasic??
What is the output of qtpyvcp --info and probe_basic -v?
Cheers,
Kurt
Please Log in to join the conversation.
6 years 1 month ago #181717
by anfänger
Replied by anfänger on topic Linuxcnc crashes when opening files
Thats a bit odd I think I use the git versions of both but I get this:
in git I get for qtpyvcp:
I usually update by
But I recycle my UI file cause I made a lot of changes to suite my machine.
Tanks for your help
Code:
qtpyvcp -v
QtPyVCP v0.3.8
igor@igor:~$ probe_basic -v
QtPyVCP v0.3.8, Probe Basic vv0.2.8+158.gdfd576e.dirty
in git I get for qtpyvcp:
Code:
v0.3.8-100-gc57bb925
I usually update by
Code:
git fetch --all
git reset --hard origin/master
pip install -e .
But I recycle my UI file cause I made a lot of changes to suite my machine.
Tanks for your help
Please Log in to join the conversation.
6 years 1 month ago #181726
by TurBoss
Replied by TurBoss on topic Linuxcnc crashes when opening files
Hello,
thanks for the report
could you please issue this command?
It will show the system GLSL version 1.50
from the error I can read
is the VTK from the repos or built from sources?
thanks for the report
could you please issue this command?
Code:
glxinfo | grep OpenGL
It will show the system GLSL version 1.50
from the error I can read
Code:
error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
is the VTK from the repos or built from sources?
Please Log in to join the conversation.
6 years 1 month ago #181727
by TurBoss
Replied by TurBoss on topic Linuxcnc crashes when opening files
have you changed your graphics card ?
Please Log in to join the conversation.
6 years 1 month ago #181823
by anfänger
Replied by anfänger on topic Linuxcnc crashes when opening files
I changed only the apt repo to 2.8 linuxcnc and ran an update (all packages including the Debian ones maybe this was a mistake). No hardware changes
kernel: 4.9.0-13-rt-amd64
my apt sources
everything comes from the precompiled except some pythons modules I installed by pip and qtpyvcp, probe_basic and the hand wheel module
clx resulsts:
kernel: 4.9.0-13-rt-amd64
my apt sources
Attachment not found
everything comes from the precompiled except some pythons modules I installed by pip and qtpyvcp, probe_basic and the hand wheel module
clx resulsts:
Code:
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.9, 256 bits)
OpenGL version string: 3.0 Mesa 13.0.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
Please Log in to join the conversation.
6 years 1 month ago #181824
by TurBoss
Replied by TurBoss on topic Linuxcnc crashes when opening files
hello,
is curious how
reports system using GLSL 1.30 wich is shown as compatible on the first error
can you pleas show distribution field when you click on the linuxcnc build bot repo ?
and I'm not sure if is correct to have both repositories active
can some one confirm?
deb linuxcnc.org/
deb buildbot.linuxcnc.org
Thanks
edit: maybe try
is curious how
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.9, 256 bits)
OpenGL version string: 3.0 Mesa 13.0.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
reports system using GLSL 1.30 wich is shown as compatible on the first error
Code:
ERROR: In /work/standalone-x64-build/VTK-source/Rendering/OpenGL2/vtkShaderProgram.cxx, line 431
vtkShaderProgram (0x564f846c6500): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
can you pleas show distribution field when you click on the linuxcnc build bot repo ?
and I'm not sure if is correct to have both repositories active
can some one confirm?deb linuxcnc.org/
deb buildbot.linuxcnc.org
Thanks
edit: maybe try
Code:
pip install --upgrade vtk
Please Log in to join the conversation.
6 years 1 month ago #181830
by anfänger
Replied by anfänger on topic Linuxcnc crashes when opening files
pip install --upgrade vtk
seems to have solved the problem
many thanks!
seems to have solved the problem
many thanks!
Please Log in to join the conversation.
Time to create page: 0.093 seconds
