Random exception in Tkinter callback, out of memory
- NotAllThere
- 
				 Topic Author Topic Author
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 6
- Thank you received: 1
			
	
						30 Apr 2022 22:42		 -  30 Apr 2022 22:47		#241744
		by NotAllThere
	
	
		
			
	
	
	
			 		
													
	
				Random exception in Tkinter callback, out of memory was created by NotAllThere			
			
				Newbie with a PC with LinuxCNC 2.8.2 with 6GB RAM and a Mesa 7i76e board connected to a Chinese 6040.  It worked great for several months, but now after say 20-30 minutes, LinuxCNC crashes with the error:
			
					Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1550, in __call__  
    return self.func(*args)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 599, in callit
    func(*args)
  File "/usr/bin/axis", line 560, in actual_tkRedraw
    self.tkRedraw_perspective()
  File "/usr/bin/axis", line 520, in tkRedraw_perspective
    self.redraw_perspective()
  File "/usr/lib/python2.7/dist-packages/rs274/glcanon.py", line 352, in inner
    return f(self, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/rs274/glcanon.py", line 599, in redraw_perspective
    glFlush()                               # Tidy up
error: (1285, 'out of memory')When I run "top" in a terminal window, there is about 4GB free when it crashes.  Error report, ini and hal files attached.  Like I said, I'm new at this so feel free to point out if I've made poor choices in the configurations.
Thank you for any assistance you can provide.  I can't wait to get this running reliably and start configuring the rotary axis.
Ted
		Last edit: 30 Apr 2022 22:47  by NotAllThere.		Reason: Cleaned up error text formatting again	
			Please Log in or Create an account to join the conversation.
- tommylight
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 20843
- Thank you received: 7106
			
	
						01 May 2022 00:43				#241755
		by tommylight
	
	
		
			
	
			
			 		
													
	
				Replied by tommylight on topic Random exception in Tkinter callback, out of memory			
			
				Seems like something with the OpenGL subsystem is wrong, or maybe Python as the calls are from it.
Did you upgrade or install anything?
Do you have add on graphic card? or if the PC has one, try removing it and using the on board graphics.
					Did you upgrade or install anything?
Do you have add on graphic card? or if the PC has one, try removing it and using the on board graphics.
Please Log in or Create an account to join the conversation.
- NotAllThere
- 
				 Topic Author Topic Author
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 6
- Thank you received: 1
			
	
						02 May 2022 18:25				#241863
		by NotAllThere
	
	
		
			
	
	
			 		
													
	
				Replied by NotAllThere on topic Random exception in Tkinter callback, out of memory			
			
				Thank you for taking the time to point me in the right direction.  No upgades or add-on cards, just an old stock HP.  But, it did have an integrated GeForce video chipset and once I found the correct drivers, it seems to have fixed the problem.  I'm not sure what triggered the problem since it has been running for some time, but so far, so good.
Thanks again. Now off to figure out my 4th axis...
Ted
					Thanks again. Now off to figure out my 4th axis...
Ted
		The following user(s) said Thank You: tommylight 	
			Please Log in or Create an account to join the conversation.
		Time to create page: 0.092 seconds	
