Bperms crash #742

  • Defect
  • Accepted
Assigned to vladtobehere
  • _ForgeUser8340299 created this issue Nov 7, 2016

    Describe to us the issue that you're having:
    Bperms is throwing errors which are related to my server CPU spiking 100% and crashing.

    Which steps will reproduce this problem?:
    1) Have Virtual Players & Bperms
    2) Swap world/have a virtual player swap world. Seems to be random

    Do you have an error log of what happened?
    Error 1: http://pastebin.com/vaAxi7BV
    Error 2 thrown by magicspells plugin which may be related? http://pastebin.com/dVLG05Hp

    Which version of bPermissions are you using?: (Please don't say "latest"!!!)

    Which version of CraftBukkit?: (Please don't say "latest"!!!)
    MC 1.10.2-R0.1 Spigot

    Which OS?
    Cent OS

    Any other information we may need (plugins, configs, etc):

    Please fill out this form properly! Failing to do so may result in your ticket being marked invalid.

  • _ForgeUser8340299 added the tags New Defect Nov 7, 2016
  • _ForgeUser8340299 posted a comment Nov 7, 2016

    I think it may also be related to how I have global groups set up as the world the users are teleporting to/from uses different groups.

  • rymate1234 posted a comment Nov 8, 2016

    I'll take a look at this issue later today / this week if I have time, however I'm a bit busy with university at the moment. By the looks of it, as this issue is crashing the server once fixed it should resolve https://dev.bukkit.org/bukkit-plugins/bpermissions/tickets/743-bperms-opping-issue/ as this issue indirectly causes that issue.

  • rymate1234 removed a tag New Nov 8, 2016
  • rymate1234 added a tag Accepted Nov 8, 2016
  • rymate1234 posted a comment Nov 8, 2016

    Also, it might help if I have a couple of your world permissions files to help when reproducing the issue.

  • _ForgeUser8340299 posted a comment Nov 8, 2016

    @rymate1234: Go

    First off I'd like to once again thank you for taking the time to maintain this plugin so well.

    For a seemingly quick fix to this issue I disabled using global users and simply mirrored one world on them all. Obviously this is not ideal as it means I can't have changes between the groups in the worlds.

    This change however has seemed to fix the issue so it is likely related to the "use-global-users" option. I'd also like to make a note that errors were both thrown when users were swapping worlds and when virtual players were swapping worlds but not seemingly every time.

    As for the indirect cause to the other issue it would likely be a fix but I would like to say that this issue happened months ago too with a different crash type (you might recall my permissions nightmare back then). I just never reported it as I didn't confirm it was bperms.

  • rymate1234 posted a comment Nov 16, 2016

    OK, I think I have a solution in the form of http://rymatemc.co.uk/jenkins/job/bPermissions/172/

    Test it and see if it works for you!

  • _ForgeUser8340299 posted a comment Nov 27, 2016

    @rymate1234: Go

    Sorry for the very late response. Going to run this build from now on, thanks for the potential fix!

  • _ForgeUser8340299 posted a comment Nov 27, 2016

    @rymate1234: Go

    Seems to get this error? http://pastebin.com/ZpjcSfTX

  • rymate1234 posted a comment Nov 28, 2016

    @LaughNgamez: Go

    Did you download bPermissions-Bukkit-2.12-all.jar?

  • _ForgeUser8340299 posted a comment Nov 28, 2016

    @rymate1234: Go

    Yeah, should I not have?

  • rymate1234 posted a comment Nov 28, 2016

    @LaughNgamez: Go

    That's the right jar, but the error seems to imply you downloaded the 90kb bPermissions-Bukkit-2.12.jar, which is an incomplete build that gets published on jenkins for some reason.

  • _ForgeUser8340299 posted a comment Nov 28, 2016

    @rymate1234: Go

    Huh will look into (maybe I did by accident?)

    Edit: Upon checking I certainly didimg

    Edited Nov 28, 2016
  • rymate1234 posted a comment Nov 30, 2016

    @LaughNgamez: Go

    I've just downloaded the same build you downloaded and it seems to start fine on my test server. Not entirely sure what the issue might be then ._.

    Maybe a corrupt download? Accidently got two bPerms jars in the plugins folder? A ghost invaded your server? I've checked everything I can think off and the file "de/bananaco/bpermissions/util/loadmanager/MainThread" deffo exists.

To post a comment, please login or register a new account.