You are not logged in.

#26 2017-07-12 22:44:05

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Printer crashed just shy of finishing an 8h print

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

#27 2017-07-12 23:22:22

juliendelnatte
Member
Registered: 2017-06-07
Posts: 80

Re: Printer crashed just shy of finishing an 8h print

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

#28 2017-07-13 00:33:05

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Printer crashed just shy of finishing an 8h print

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

#29 2017-07-13 08:48:26

juliendelnatte
Member
Registered: 2017-06-07
Posts: 80

Re: Printer crashed just shy of finishing an 8h print

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

#30 2017-07-14 20:29:31

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Printer crashed just shy of finishing an 8h print

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

#31 2017-07-16 12:28:45

juliendelnatte
Member
Registered: 2017-06-07
Posts: 80

Re: Printer crashed just shy of finishing an 8h print

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

#32 2017-07-20 07:21:12

adam
Member
Registered: 2016-02-18
Posts: 79

Re: Printer crashed just shy of finishing an 8h print

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

#33 2017-07-21 07:11:29

adam
Member
Registered: 2016-02-18
Posts: 79

Re: Printer crashed just shy of finishing an 8h print

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

#34 2017-07-21 07:30:02

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Printer crashed just shy of finishing an 8h print

Strange I could not reproduce it. Could you share your debug file so I could try same settings as you.

Offline

#35 2017-07-21 07:34:53

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Printer crashed just shy of finishing an 8h print

Adam,

Run command below on pi terminal and let me know the number it displays.
ulimit -u

Offline

#36 2017-07-21 09:37:29

adam
Member
Registered: 2016-02-18
Posts: 79

Re: Printer crashed just shy of finishing an 8h print

sure, i will send you as soon as i'm back home and the pi is running and try the command

Offline

#37 2017-09-13 15:48:50

adam
Member
Registered: 2016-02-18
Posts: 79

Re: Printer crashed just shy of finishing an 8h print

many weeks later, here it is:

pi@adam-dlp:~ $  ulimit -u
6829

Offline

#38 2017-09-13 19:21:08

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Printer crashed just shy of finishing an 8h print

Try increase it see if it makes any difference.

Offline

#39 2017-09-16 20:37:04

adam
Member
Registered: 2016-02-18
Posts: 79

Re: Printer crashed just shy of finishing an 8h print

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

#40 2017-09-17 04:56:42

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Printer crashed just shy of finishing an 8h print

Adam,

Do you think ulimit was culprit?

Offline

#41 2017-09-17 10:12:15

adam
Member
Registered: 2016-02-18
Posts: 79

Re: Printer crashed just shy of finishing an 8h print

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

Board footer

Powered by FluxBB