Closed adamboutcher closed 9 years ago
The error it's showing is simply what you get if you cancel a receive partway through, so it's not telling us much about what's going wrong, unfortunately.
Does the daemon crash if it's not being instructed to do anything? Do you have any way to debug USB bus transactions?
not any hardware but I can install any FOSS software on the pi, I'm not great at debugging code though.
I'll have a go at it on my own RPi when I get a chance. Anything you can do to narrow down the circumstances that cause it to crash would be hugely useful, though.
Literally just calling up the web server and running it, it eventually crashes...
Even if you don't send any requests to it?
I can't tell, I send one request and it tends to die
typically text=test interval=0.05
Can you try it and see if it locks up without any requests? Also, if it locks up with a non-scrolling request, and if it locks up with a scrolling request with a longer message (Eg, longer than the display).
It locks up with any size length request and it doesn't have to be scrolling although scrolling seems to make the issue more noticable; once I'm back tinkering I'll try without any requests
This works on a Raspberry Pi 2 on top of NOOBS 1.4.0:
2 apt-get update 3 apt-get upgrade 4 apt-get install python-dev 5 pip install cython 6 wget https://bootstrap.pypa.io/get-pip.py 7 python get-pip.py 8 pip install cython 9 apt-get install libusb-1.0-0-dev 10 apt-get install libudev-dev libudev0 11 pip install hidapi 12 git clone https://github.com/arachnidlabs/minishift-python.git 13 cd minishift-python 14 python setup.py install 15 cd 16 pip install mcp2210
Closing as fixed. Thanks for the help!
The minishiftd web server crashes after a period of time (between 15 seconds and 1 minute) without any error on stdout or stderr. (Nothing in any logs either). More noticeable with scrolling.
The daemon hangs the whole terminal unless the device is unplugged and then you can kill the daemon with CTRL+C which causes the error below:
This doesn't seem to happen on a traditional x86/64 CPU based system.