You are not logged in.
Bug report filled by me!! Actually I have removed nice -20 from nanodlp.
Maybe the issue is this one https://github.com/golang/go/issues/20878 , but very difficult to create regular crashes.
Offline
Yes, it's because I said "the bug you get here" ;D
Do you have a way to remove the bug? Because my printer is just unusable and I was near to release my printer ;D
Offline
I remember go 1.5 was very stable but it was much slower than current 1.8.
I try changing nanodlp pulse generation internal maybe we get lucky like last time and it get fixed by some change in logic. I have updated beta version.
I am not sure when we could get stable, but if you are in hurry RAMPS is good alternative.
Offline
I tested the Build 1566 and still get an crash : "image: memory exhausted" on a raspberry pi 3. Is there a way to get previous version of nanoDLP to test?
No problem to continue in beta version! I can't go to a RAMPS because I use an home made PCB shield for raspberry pi to get direct control, fans, light,... so I wanted to continue on these setup because it's really better than a RAMPS (no firmware to update, less place, less expensive,...)
Edit : really a strange bug : I tested on a pi-zero, no crash, on a pi 3, it crash, I take the pi-zero SD card that did work and put on the pi 3, it crash. I take the SD card that crashed on a pi 3 and put it on a pi-zero, and no crash at all. I think there is a problem with arm7? (it also crash on pi 2)
Last edited by juliendelnatte (2017-07-13 18:10:33)
Offline
So you receive "image: memory exhausted" error and not "runtime/cgo: pthread_create failed: Resource temporarily unavailable" anymore, right?
Do you use official image?
Offline
I received the two messages on arm7 (pi 2 and pi 3), I made a lot of test and never receive any message and crash on arm6 (pi B+, pizero, pizeroW,...).
Offline
I only got "runtime/cgo: pthread_create failed: Resource temporarily unavailable" so far, will try some long prints with the new version and see what happens
Offline
unfortunately it crashed again after 675 layers:
2017/07/21 00:57:07.739106 {"Layer":"674","module":"Image","level":"Warning","msg":"Display layer public/plates/2/674.png"}
2017/07/21 00:57:20.856009 {"Layer":"675","module":"Image","level":"Warning","msg":"Display layer public/plates/2/675.png"}
runtime/cgo: pthread_create failed: Resource temporarily unavailable
SIGABRT: abort
PC=0x76c40f70 m=73 sigcode=4294967290
Build 1566
Last edited by adam (2017-07-21 07:11:52)
Offline
Strange I could not reproduce it. Could you share your debug file so I could try same settings as you.
Offline
Adam,
Run command below on pi terminal and let me know the number it displays.
ulimit -u
Offline
sure, i will send you as soon as i'm back home and the pi is running and try the command
Offline
many weeks later, here it is:
pi@adam-dlp:~ $ ulimit -u
6829
Offline
Try increase it see if it makes any difference.
Offline
Hi!
I did some more tests. Changed my Pi and installed image from NanoDLP Website. Now it finally works!!
For comparison, this is the statistics now:
layer 1 - 56 threads
...
layer 2376 - 93 threads
this was the stats before:
layer 1 - 24 threads
...
layer 592 - 152 threads - CRASH
So it's much better! No crashes so far.
Nevertheless the thread count is climbing, so i imagine if i left the printer on and printed 10k layer prints, it might still crash.
Although at this time it's only speculation, if the crashes were due to high thread count..152 is not much..
Anyways, all good now
Offline
Adam,
Do you think ulimit was culprit?
Offline
Don't think so, i set it to unlimited before and as you see at 152 htreads the printer crashed.
It crashed with the clean distribution too.
The two things i changed before it worked were:
- Try a different Raspi 3 Board
- Install image fron NanoDLP website.
the default ulimit that i have now is at around 7000 without problems.
Offline