SquidDev-CC / CCTweaks

Random additions to ComputerCraft (somewhat deprecated, use CC-Tweaked if you're on Minecraft 1.12).
MIT License
12 stars 2 forks source link

Server crash #120

Closed inklit closed 7 years ago

inklit commented 7 years ago

This server crash happens on server boot for some reason, but only once every so 3 boots or so.

[16:28:57] [Thread-611/INFO] [STDOUT]: [dan200.computercraft.core.computer.ComputerThread$1$1:run:109]: ComputerCraft: Error running task.
[16:28:57] [Thread-611/INFO] [STDERR]: [dan200.computercraft.core.computer.ComputerThread$1$1:run:110]: java.lang.NullPointerException
[16:28:57] [Thread-611/INFO] [STDERR]: [dan200.computercraft.core.computer.ComputerThread$1$1:run:110]:         at dan200.computercraft.core.filesystem.FileSystem.mountWritable(FileSystem.java:343)
[16:28:57] [Thread-611/INFO] [STDERR]: [dan200.computercraft.core.computer.ComputerThread$1$1:run:110]:         at dan200.computercraft.core.filesystem.FileSystem.<init>(FileSystem.java:303)
[16:28:57] [Thread-611/INFO] [STDERR]: [dan200.computercraft.core.computer.ComputerThread$1$1:run:110]:         at dan200.computercraft.core.computer.Computer.initFileSystem(Computer.java:461)
[16:28:57] [Thread-611/INFO] [STDERR]: [dan200.computercraft.core.computer.ComputerThread$1$1:run:110]:         at dan200.computercraft.core.computer.Computer.access$1100(Computer.java:27)
[16:28:57] [Thread-611/INFO] [STDERR]: [dan200.computercraft.core.computer.ComputerThread$1$1:run:110]:         at dan200.computercraft.core.computer.Computer$1.execute(Computer.java:725)
[16:28:57] [Thread-611/INFO] [STDERR]: [dan200.computercraft.core.computer.ComputerThread$1$1:run:110]:         at dan200.computercraft.core.computer.ComputerThread$1$1.run(ComputerThread.java:107)
[16:28:57] [Thread-611/INFO] [STDERR]: [dan200.computercraft.core.computer.ComputerThread$1$1:run:110]:         at java.lang.Thread.run(Thread.java:745)
SquidDev commented 7 years ago

Which version of CCTweaks are you running: do you have the file handle limit patches?

inklit commented 7 years ago

I do not, I am awaiting a release to install that on my server. I'm running CCTweaks-1.8.9-1.0.1-patched-02

This doesn't show the same symptoms as a file descriptor exhaustion, so I don't think that is what this is. After all, this happens on server boot not during server run time.

SquidDev commented 7 years ago

This is really weird: it appears that the mount for the computer is null. This can only happen if there is an error constructing FileMount but I'm not even sure how that can happen. Whilst I don't think this is a CCTweaks bug it is really odd: do you think you could upload your logs?

inklit commented 7 years ago

hmm I have way too much logs to figure out which logs to send you.

SquidDev commented 7 years ago

Has this happened again? Could you also bump to CCTweaks 1.2.0 and see if anything changes? Thanks!

inklit commented 7 years ago

I don't think it has happened again since I updated to 1.2.0.