Zrips / CMI

114 stars 97 forks source link

Crashing Server when a player joins #805

Closed AshiroKun closed 5 years ago

AshiroKun commented 6 years ago

Description of issue: CMI is causing my minecraft server to crash everytime a player logs on. This causes an endless loop where the server is never stable.

List of plugins:

DELETE IF YOU ARE SUBMITTING A FEATURE REQUEST

ERROR (DELETE IF YOU HAVE NO ERROR):

https://pastebin.com/UW8S69Gg

Cmi Version (using/cmi version): 8.0.8.1 (tried all versions)

Server Type (Spigot/Paperspigot/etc): Spigot

Server Version (using /ver): 1.12.2

PryPurity commented 6 years ago

I actually have this problem as well on 1.13. This plugin corrupts some player's profiles, causing them to crash the server when they join. ;c

mercurialmusic commented 5 years ago

Not sure if it's related, but my eventCommands for player joins were creating a good amount of lag every time someone joined, on 1.13.1, but I chalked it up to 1.13.1, not CMI. I disabled the join commands and it helped quite a bit (it was just a cmi sound command).

Zrips commented 5 years ago

@AshiroKun Full crash log would be nice to have as provided one doesn't really inform what exactly happen. Would recommend to default out all of your config file (make copy first) and then retest if that helps out. If it does, then some configuration causes this crash. Try to determine which one exactly.

AshiroKun commented 5 years ago

No worries. I have found the reason it was like that. There was no indication in the plugin that says it "must" use MySQL or SQLite to work. I just setup a MySQL and used that to store the CMI information and it worked.

Would be great if you add that in the spigot for anyone who doesn't know

Thanks.

Malachiel87 commented 5 years ago

i got the same issue, using clean spigot 1.13 and cmi, it crash, i think is related with profiles since it crash when loading profiles (it look more a sqlite issue) A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x000000000000a866, pid=64, tid=0x00007f3ebf88fae8 JRE version: OpenJDK Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11) Java VM: OpenJDK 64-Bit Server VM (25.171-b11 mixed mode linux-amd64 compressed oops) Derivative: IcedTea 3.8.0 Distribution: Custom build (Wed Jun 13 18:28:11 UTC 2018) Problematic frame: C 0x000000000000a866 Core dump written. Default location: /home/container/core or core.64 An error report file with more information is saved as: /home/container/hs_err_pid64.log If you would like to submit a bug report, please include instructions on how to reproduce the bug and visit: http://icedtea.classpath.org/bugzilla /entrypoint.sh: line 15: 64 Segmentation fault (core dumped) java -Xmx10142M -jar spigot.jar

Zrips commented 5 years ago

Updating java version to 8 build 181 or higher should resolve this issue