You are not logged in.

#1 2021-09-13 14:15:48

errolt
Member
Registered: 2020-07-22
Posts: 5

Segmentation Violation on Pi3

Hi Shahin

I have updated to the latest Beta, 4986, but I don't know if this is limited to this version.

I'm trying to slice a plate on the Pi, and I had hollowing enabled. The logs say that I don't have enough ram for this plate to enable hollowing and that it will be disabled. But I suspect that it isn't actually being disabled. The slicing crashes with a SIGSEGV error. If I change the resin profile to remove hollowing then it slices fine without crashing...

Thank you,
Errol

2021/09/13 13:49:36.969946 {"Layer":"0","module":"Slicer","level":"Notice","msg":"Start slicing plate 26"}
2021/09/13 13:49:36.985318 {"Layer":"0","module":"Slicer","level":"Warning","msg":"Start processing"}
2021/09/13 13:49:36.985800 {"Layer":"0","module":"Slicer","level":"Warning","msg":"Slicer using following resolutions X: 47.25 Y: 47.25 Z: 50"}
2021/09/13 13:49:36.986250 {"Layer":"0","module":"Slicer","level":"Error","msg":"You do not have enough memory to hatch/hollow the STL file. Hatching/Hollowing has been disabled."}
2021/09/13 13:49:36.986367 {"Layer":"0","module":"Slicer","level":"Warning","msg":"Local slicing has been started."}
2021/09/13 13:49:36.986681 {"Layer":"0","module":"STL","level":"Notice","msg":"Start Preparing Memory Structure"}
2021/09/13 13:49:37.093969 {"Layer":"0","module":"STL","level":"Notice","msg":"Start Reading Binary STL File"}
2021/09/13 13:49:41.598477 {"Layer":"0","module":"TRI","level":"Notice","msg":"Triangles arranged 1584274 Details 1584274 790971 1056182"}
2021/09/13 13:49:41.598712 {"Layer":"0","module":"TRI","level":"Notice","msg":"Arranging triangles"}
2021/09/13 13:49:45.761228 {"Layer":"0","module":"3D Preview","level":"Notice","msg":"Generating plate 3D preview"}
2021/09/13 13:49:45.761839 {"Layer":"0","module":"Infill","level":"Warning","msg":"Generating infill structure"}
2021/09/13 13:49:45.820380 {"Layer":"0","module":"STL","level":"Notice","msg":"Rendering Layers"}
2021/09/13 13:49:48.030104 {"Layer":"0","module":"Infill","level":"Warning","msg":"Infill structure generated"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x6bdf7c]

goroutine 793 [running]:
nanodlp/app/slicer/renderer/area.(*AreaStruct).LayerPath(...)
    /home/pi/printer/app/slicer/renderer/area/area.go:55
nanodlp/app/slicer/renderer/infill.(*Infill).Process(0x5d7006c, 0x0, 0x5a0, 0xa00, 0x1a, 0x943, 0x182c01, 0x28, 0xa, 0x1e, ...)
    /home/pi/printer/app/slicer/renderer/infill/hatching.go:62 +0x254
created by nanodlp/app/slicer.(*SliceStruct).LocalProcessing
    /home/pi/printer/app/slicer/slicer.go:118 +0x774

Offline

#2 2021-09-14 05:26:49

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

Re: Segmentation Violation on Pi3

Please, try the latest beta. I guess the issue has been fixed.

Offline

#3 2021-09-28 07:23:36

errolt
Member
Registered: 2020-07-22
Posts: 5

Re: Segmentation Violation on Pi3

Looks like it has been fixed. Thanks!

Offline

Board footer

Powered by FluxBB