-
Notifications
You must be signed in to change notification settings - Fork 3
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
Crashes and didn't know where to put the error #1
Comments
Hello 2spoopy4meh, thank you for reporting this crash. This crash happened during a PlayerQuitEvent when the server was processing the player connections. The plugin MassiveCore handled the quit event and tried to check the date of the last modification of a file on the disk (probably a player data file within it's plugin folder). While checking if that file handle is actually a file, the error occurred. The thrown exception does not exactly tell what went wrong, as it happened in the native implementation of the method UnixFileSystem.getBooleanAttributes0, and I do not have a source code available of it. Top of the stacktrace:
The location of the isFile() call in MassiveCore: com.massivecraft.massivecore.store.DriverFlatfile.getMtime(DriverFlatfile.java:82) As all this happened during the processing of the player connections, the threaded worlds feature can be ruled out, as connection processing is done between world ticks. All the other threads of MinetickMod (MinetickMod_NBTFileSaver, MinetickMod_PacketBuilder, MinetickMod_PathFinder, MinetickMod_TimerService) were according of the crash report in the waiting state at the time of the crash, meaning that they could not have done something that caused the crash. While checking the details of the other active threads I noticed two things:
At line 23739 in the crash report:
|
On MassiveCraft's help page for MassiveCore I'm reading that some effort has been done to allow multiple servers to access the same data store (mstore) files. Quote from http://www.massivecraft.com/massivecore#the-data-store-system-mstore
If you run multiple servers, do you have such a case in your server landscape? |
I do not have multiple servers running on the system, so no. I'm actually fairly new to all of this, and don't exactly know how to do anything that you have told me to do. If you want to look into this further, then you could probably guide me through it step by step. If this is just an error with massivecore though, then I don't think it would be worth it. I can send the crash report over to them. Sorry for not being very knowledgeable about all of this. :( |
That's what it currently looks like. Report it to them and let's see what they come up with. My suspicion is that the file accesses, that the MStore ExamineThread does, collide with the regular ones of the event handlers. I.e. reading/writing from/to the same file at the same time. |
A few more questions: |
Sorry for the delay. It has happened probably more than 10 times. I am unable to reproduce it. It doesn't always happen when someone logs out. |
Oh well. I just noticed that it is the watchdog thread
that assumes that your server has crashed, as one server tick took longer than the defined maximum tick time (setting In your normal server log you should see this entry at the time of the supposed "crash":
Assuming that you haven't set this setting too low, then there was a serious lag spike. Meaning the main thread was busy on something for at least one minute and wasn't able to start the next tick in time. Check the last two minutes in the log before that for anything unusual, like someone running an worldedit command. |
I looked at the end of a few logs, and I did not see that what you told me to look for. I also didn't see any huge worldedits in the logs right before the crashes. If you would like me to give you a few of the logs, then I can do so. I will also increase the max tick time a little bit to see if the frequency of the crashes decreases. |
It has to be in there, the mentioned time in the crash report file name matches exactly the time in the log file.
Please do so, along with the other crash report files. If there's confidential data in the log files, like passwords, make sure to remove it first. You can email me directly, the address is on the main page of my github account |
Log File: http://www.mediafire.com/download/nzkp1m98u93jxq7/latest.log The most recent crash produced one last error in the logs before crashing, and it produced 2 crash reports. I've also noticed that over the course of all these crashes, only 3 crash reports were created. The server crashed a lot more than 3 times for sure, so this may be strange. |
There are several things going wrong here. Before I get to them, some questions: What server software did you previously use (CraftBukkit / Spigot / something other)? And for which Minecraft version? |
I used spigot 1.8.7, and changing that did not do anything. |
I still fail to identify the causes for all this. I wouldn't be surprised if these are actually compatibilty issues, as MinetickMod is an alternative to CraftBukkit and not to Spigot. Note that Spigot extends the API and several of your plugins are compiled against it, and therefore are meant to be run with Spigot. Sooner or later you will run into trouble again, when one of these plugins is using a new feature that didn't exist in the Bukkit-API yet. I'm going create another project, that applies the changes of MinetickMod to Spigot instead of CraftBukkit. I dub it Migot, which is obviously a combination of both project names. It will have its own build tools, too. |
http://www.mediafire.com/view/tfombcfrkdrre4e/crash-2015-07-25_11.02.43-server.txt
Couldn't find another way to share the crash report. I don't exactly know why I'm crashing, but it started happening when I switched over to minetick.
The text was updated successfully, but these errors were encountered: