Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paper 1.12.2 crash and hangs #36

Open
jiongjionger opened this issue Dec 7, 2020 · 6 comments
Open

Paper 1.12.2 crash and hangs #36

jiongjionger opened this issue Dec 7, 2020 · 6 comments

Comments

@jiongjionger
Copy link

jiongjionger commented Dec 7, 2020

crash log: https://paste.ubuntu.com/p/zYd7cdRqQ8/
server version: paper 1.12.2 latest
bkcommonlib version: 1.16.4-v2
lightcleaner version: 1.16.4-v1

@Andre601
Copy link

Andre601 commented Dec 7, 2020

Please, do everyone a favour and use https://paste.traincats.net to share errors.
Also, prove additional info such as servrr version, bkcommonlib version and lightcleaner version.

@bergerkiller
Copy link
Member

Is auto cleaning enabled? Is it related to that or did you do a worldwide clean of sorts using commands?

@jiongjionger
Copy link
Author

autoCleanEnabled: false
autoCleanWorldEditEnabled: true

There is a probability that this problem will occur when I use FAWE or use API calls LightingAutoClean.schedule(world, chunkX, chunkZ, 20).

@bergerkiller
Copy link
Member

I think I know what this is. Give me a moment

@bergerkiller
Copy link
Member

bergerkiller commented Dec 7, 2020

The core issue is that in light cleaner it performs some logic in parallel, and some code in bkcommonlib wasn't written with parallel (multithread) in mind. Give this a try to see if problems go away, if they don't, I might need to get rid of parallel() in light cleaner and read chunk data one 16x16x16 area of blocks at a time instead.

https://ci.mg-dev.eu/job/BKCommonLib/968/

@jiongjionger
Copy link
Author

Thank you very much. I'll try it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants