CC: Tweaked

CC: Tweaked

57M Downloads

StackOverflowError with monitor generated in village

SamboyCoding opened this issue ยท 4 comments

commented

Minecraft Version

1.16.x

Version

1.98.2

Details

I was testing out a new pack I made up for a group of friends, and came across a village with a world-gen computercraft house in it. It had two advanced monitors in it but they weren't oriented correctly - one was facing the advanced computer, and the other was facing the first monitor. I broke the computer, and noticed that the front of the monitor wasn't rendering - it was transparent, not black, and I could see the world behind it. Then I placed another advanced monitor next to it (to the right), and the game crashed:
crash-2021-09-12_12.59.46-server.txt

Full log:
latest.log

commented

Not sure why this is stack overflowing, but I guess like mentioned in #913 we'll need to actually do a rewrite of monitor resizing.

commented

I believe that the world gen is from Advanced Peripherals, it may be worth reporting there and I think CC:T doesn't do world gen.

commented

Well, while the world gen may be buggy, the issue itself is in CC:T code - presumably there should be some sort of sanity check, as a StackOverflowError is not the sort of thing you want happening ever.

commented

As a workaround, you can disable the generation of the village structures in the config.