Python Forum
Python Thread stops execution - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Python Thread stops execution (/thread-16133.html)



Python Thread stops execution - neethuvp - Feb-15-2019

i'm running a python program with threads and one thread stops its execution after some time with this error..


Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()

gpio.init()
IOError: [Errno 12] Cannot allocate memory




why it's happen?


RE: Python Thread stops execution - micseydel - Feb-18-2019

You haven't provided enough context to get an answer to your question. Ideally you would reproduce the issue with 5-10 lines of runnable code.