You are not logged in.

#1 2016-04-21 18:01:56

Xmike
Member
Registered: 2016-03-25
Posts: 97

nanodlp has crashed

I tested a plate with "Stop Layers", and after "Resume Printing" nanodlp crashed.
Have attached "printer.log".

nanoDLP_printer.zip

Offline

#2 2016-04-21 19:23:44

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,521

Re: nanodlp has crashed

Mike,

We have similar issue listed here.
http://www.nanodlp.com/forum/viewtopic.php?id=81

Do you see any similarity with this case?
What kind of hardware / firmware do you use?

Offline

#3 2016-04-21 20:44:25

Xmike
Member
Registered: 2016-03-25
Posts: 97

Re: nanodlp has crashed

My hardware is Arduino with Ramps and marlin firmware,
Raspberry worked after the crash but quite normal.
However, I have for test reasons also an HDMI-VGA adapter in use to which a monitor is operated.
I will make futher tests without the HDMI Adapter, what I have read could it be a problem.
Could it also be a problem, if the resolution of the monitor differ to the resolution of the layers in the plate ?

Last edited by Xmike (2016-04-22 07:41:10)

Offline

#4 2016-04-23 10:02:24

Xmike
Member
Registered: 2016-03-25
Posts: 97

Re: nanodlp has crashed

I have the hardware now changed to a true HDMI connection and a monitor with the same resolution as the Layer (1920x1080).
nanoDLP unfortunately crashed again.
In layer 97 I had executed "Stop Print"
after "Resume Print" immediately before the layer should appear,
nanoDLP has crashed.
Raspberry but continues function normally,
I could start nanodlp again with "sudo ./printer" without a restart of RPI
Log:
nanoDLP_2_printer.zip

Last edited by Xmike (2016-04-23 10:34:17)

Offline

#5 2016-04-23 10:31:07

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,521

Re: nanodlp has crashed

Current version is pretty stable, maybe it is a firmware issue. I will upgrade my raspbian to see if I could reproduce the issue.

Are you on raspbian lite or desktop? Which version are you using?

Could you share debug info? Setup page/tools tab/ debug button.

Offline

#6 2016-04-23 10:58:30

Xmike
Member
Registered: 2016-03-25
Posts: 97

Re: nanodlp has crashed

Im using "Raspberry Pi 2 Model B" with "Full desktop image based"
"Debian Linux 7.8"  "Linux 4.1.13-v7+ on armv7l".
In this print-job, I have executed more "Stop Print" and "Resume Print" on different Layers without issues (about 5 times)

Offline

#7 2016-04-23 11:04:28

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,521

Re: nanodlp has crashed

Are the crashes always happen after resume?

If you can use raspbian lite, use it. Raspbian jessie uses systemd which our current setup does not block x which could interrupt our image view backend.

Offline

#8 2016-04-23 11:19:00

Xmike
Member
Registered: 2016-03-25
Posts: 97

Re: nanodlp has crashed

It does not happen generally after each "Resume Print", but if it crashes,
then after "Resume Print" immediately before the layer should appear
Log:
nanodlp.debug.1153101349.zip

I will change to  raspbian lite

Last edited by Xmike (2016-04-23 11:25:26)

Offline

#9 2016-04-23 15:30:14

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,521

Re: nanodlp has crashed

Mike,

Before changing OS, do you have time to checkout patched version?

Offline

#10 2016-04-23 15:46:04

backXslash
Member
Registered: 2016-03-25
Posts: 151

Re: nanodlp has crashed

Shahin wrote:

Mike,

Before changing OS, do you have time to checkout patched version?

If he doesn't I will. That was my thread you linked to up there.

Offline

#11 2016-04-23 16:02:41

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,521

Re: nanodlp has crashed

Please, reinstall program again using command below. Let me know if it fixes the issue.

(wget http://www.nanodlp.com/nanodlp.debug.tar.gz -O - | tar -C /home/pi -xz);cd /home/pi/printer;sudo ./setup.sh

Offline

#12 2016-04-23 16:19:42

Xmike
Member
Registered: 2016-03-25
Posts: 97

Re: nanodlp has crashed

I already have a new installation of Raspbian light on a new
SD Card performed. Currently is running a test print and is
already at Layer 140
Although I already several times "Stop Print" and "Print Resum" have performed,
runs nanodlp without problems.
I have the previous installation on another SD card and can do further tests

Offline

#13 2016-04-23 16:43:14

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,521

Re: nanodlp has crashed

Mike,

I could reproduce the problem, but after couple of thousands of layers.
So it will be really helpful if you could test.

Offline

#14 2016-04-24 11:33:28

Xmike
Member
Registered: 2016-03-25
Posts: 97

Re: nanodlp has crashed

Hello Shahin,

The issue seems to be solved now.
I have run a testprint with my previous desktop version and "nanodlp Build 1144"
and often operated "Stop Print" and "Resume Print" without any problem.
I'm really glad now.

What I also want to say,
with nanodlp you created a realy outstanding and highly professional
printing software, many thanks for it.

Offline

#15 2016-04-24 11:49:56

mattcaron
Member
From: Galway, NY, USA
Registered: 2016-02-19
Posts: 21
Website

Re: nanodlp has crashed

I've been having the same issue since about build 1131. Currently on 1140. Printer stops printing, Pi doesn't respond to http, but ssh and network are running. This is readily reproduceable for me. Let me know if there is anything you'd like me to test, otherwise I'm going to install 1144 and try that because people are reporting success....

I should note that the same setup was very stable before, so I don't suspect power other anything.

Last edited by mattcaron (2016-04-24 11:51:21)

Offline

#16 2016-04-24 12:35:37

mattcaron
Member
From: Galway, NY, USA
Registered: 2016-02-19
Posts: 21
Website

Re: nanodlp has crashed

Here is the printer.log from when it crashed.

printer.log.zip

Of note:

runtime: free list of span 0x71e92ac0:
0x118da680 -> 0x118db380 -> 0x10fe2d20 (BAD)
fatal error: free list corrupted

I thought Go was supposed to have automatic memory management so things like this didn't happen...

Offline

#17 2016-04-24 15:04:59

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,521

Re: nanodlp has crashed

Matthew,

Yes, it is pretty annoying, I suspect data race condition. Hopefully it is not memory corruption due to gc.

I have patched above debug version. Could you checkout that? Unfortunately for some unknown reason I could not reproduce error.

Offline

#18 2016-04-24 15:17:44

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,521

Re: nanodlp has crashed

Mike,

Could you try beta version too? I have re-enabled modules which was disable on debug version but changed their data structure.

Matthew,
If you are sure about problem in build 1131, most probable culprit is hardware monitoring module.
Hopefully it's issue has been solved in beta version if not I think we could do better without it.

Offline

#19 2016-04-24 15:44:16

Xmike
Member
Registered: 2016-03-25
Posts: 97

Re: nanodlp has crashed

Just the same build version with above wget command reinstall ?
or how to install beta ?

Last edited by Xmike (2016-04-24 15:47:22)

Offline

#20 2016-04-24 15:46:59

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,521

Re: nanodlp has crashed

Mike

(wget http://www.nanodlp.com/nanodlp.beta.tar.gz -O - | tar -C /home/pi -xz);cd /home/pi/printer;sudo ./setup.sh

Offline

#21 2016-04-24 20:34:01

Xmike
Member
Registered: 2016-03-25
Posts: 97

Re: nanodlp has crashed

I repeated the test print with the beta (Build 1146) and could no more reproduce the issue. The issue is apparently really solved.

Offline

#22 2016-04-28 20:31:42

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,521

Re: nanodlp has crashed

Is it fixed for everyone?

Offline

#23 2016-05-03 12:58:44

mattcaron
Member
From: Galway, NY, USA
Registered: 2016-02-19
Posts: 21
Website

Re: nanodlp has crashed

Sorry, I've been busy. I have been using build 1144, and successfully ran 2 prints each approx 1100 layers and 4 hours of print time, no crashes. This is dramatically improved.

Offline

Board footer

Powered by FluxBB