1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Server is crashing constantly

Discussion in 'Development' started by Akuroma, Nov 3, 2018.

  1. Akuroma

    Akuroma Silverfish

    Messages:
    20
    GitHub:
    Akuroma
    Hey everyone,
    sometimes the server is crashing. It only happens when some players are online. I don't think. that this is relevant for the GitHub-Issues. So I'm posting it here.

    Here is the crashdump:

    PocketMine-MP Crash Dump Sat Nov 3 21:07:34 CET 2018

    Error: Undefined offset: 8
    File: src/pocketmine/block/Torch
    Line: 58
    Type: ErrorException

    Code:
    [49] $faces = [
    [50] 0 => Vector3::SIDE_DOWN,
    [51] 1 => Vector3::SIDE_WEST,
    [52] 2 => Vector3::SIDE_EAST,
    [53] 3 => Vector3::SIDE_NORTH,
    [54] 4 => Vector3::SIDE_SOUTH,
    [55] 5 => Vector3::SIDE_DOWN
    [56] ];
    [57]
    [58] if($this->getSide($faces[$side])->isTransparent() and !($faces[$side] === Vector3::SIDE_DOWN and ($below->getId() === self::FENCE or $below->getId() === self::COBBLESTONE_WALL))){
    [59] $this->getLevel()->useBreakOn($this);
    [60] }
    [61] }
    [62]
    [63] public function place(Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, Player $player = \null) : bool{
    [64] $below = $this->getSide(Vector3::SIDE_DOWN);
    [65]
    [66] if(!$blockClicked->isTransparent() and $face !== Vector3::SIDE_DOWN){
    [67] $faces = [
    [68] Vector3::SIDE_UP => 5,

    Backtrace:
    #0 src/pocketmine/block/Torch(58): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Undefined offset: 8, string phar:///home/Dreambuild/PocketMine-MP.phar/src/pocketmine/block/Torch.php, integer 58, array Array())
    #1 src/pocketmine/level/Level(732): pocketmine\block\Torch->onNearbyBlockChange()
    #2 src/pocketmine/Server(2370): pocketmine\level\Level->doTick(integer 21000)
    #3 src/pocketmine/Server(2519): pocketmine\Server->checkTickUpdates(integer 21000, double 1541275654.4666)
    #4 src/pocketmine/Server(2265): pocketmine\Server->tick()
    #5 src/pocketmine/Server(2135): pocketmine\Server->tickProcessor()
    #6 src/pocketmine/Server(1701): pocketmine\Server->start()
    #7 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/Dreambuild/, string /home/Dreambuild/plugins/)
    #8 /home/Dreambuild/PocketMine-MP.phar(1): require(string phar:///home/Dreambuild/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

    PocketMine-MP version: 3.3.1 [Protocol 291]
    Git commit: 0000000000000000000000000000000000000000
    uname -a: Linux h2803189.stratoserver.net 4.4.0-042stab134.3 #1 SMP Sun Oct 14 12:26:01 MSK 2018 x86_64
    PHP Version: 7.2.9
    Zend version: 3.2.0
    OS : Linux, linux

    Loaded plugins:
    SlapperRotation 1.2.1 by jojoe77777 for API(s) 3.0.0, 4.0.0
    CustomSetting 1.0.1 by LeNick for API(s) 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11
    InvSee 0.0.1 by BlockHorizons for API(s) 3.0.0, 4.0.0
    ManyWorlds 2.1.0 by aliuly for API(s) 3.0.0, 3.0.0-ALPHA12, 4.0.0
    SaveMoney-cfg 1 by LookItsAku for API(s) 3.0.0, 4.0.0
    DevTools 1.13.0 by PocketMine Team for API(s) 3.0.0, 4.0.0
    MagicWE2 5.7.2 by XenialDan for API(s) 3.0.0
    RestrictedSkins 1.5.0 by SalmonDE for API(s) 4.0.0
    Alias 1.2.0 by ZacHack for API(s) 3.0.0, 4.0.0
    MapImageEngine 1.1.1 by FaigerSYS for API(s) 3.0.0, 4.0.0
    Slapper 1.4.0 by jojoe77777 for API(s) 4.0.0
    TeaSpoon 1.0.1 by CortexPE for API(s) 3.2.3
    PlayerVaults 2.0.0 by for API(s) 4.0.0
    Friends 1 by Bluplayz for API(s) 3.0.0
    NameCorrector 1.0.0#build011 by PEMapModder for API(s) 3.0.0-ALPHA12
    VanillaEnchantments 3.1.0_ALPHA by TheAz928 for API(s) 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11, 3.0.0-ALPHA12
    FakeSlots 1.0.0 by CzechPMDevs, GamakCZ for API(s) 3.0.0-ALPHA8
    NoTPA 1.0.6-4 by awzaw for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11
    BoostPad 1.0.0 by HuntedLegit for API(s) 3.0.0
    BuilderTools 1.1.0-beta1 by CzechPMDevs, VixikCZ for API(s) 3.0.0
    InventoryMonitor 1.3.3 by PresentKim for API(s) 3.0.0, 3.0.0-ALPHA12, 4.0.0
    CustomAlerts 2 by EvolSoft for API(s) 3.0.0
    EconomyAPI 1.0.0 by onebone for API(s) 3.0.0, 3.0.0-ALPHA12, 4.0.0
    ItemRename 1.0.0 by FreeGamingHere for API(s) 3.0.0-ALPHA12
    NoTell 1.1.2-4 by awzaw for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11
    MysteryCrate 6.4.2 by JackMD, DaPigGuy for API(s) 3.0.0
    MineReset 3.1.0 by DreamBuild for API(s) 3.0.0-ALPHA12
    EconomyShop 2.0.8-5 by onebone for API(s) 3.0.0-ALPHA12
    EconomyJob 2.0.4 by onebone for API(s) 3.0.0
    WorldProtect 2.3.8 by aliuly for API(s) 4.0.0
    Anti_Goldapfel_Spam 1.0.0 by DreamBuild for API(s) 3.0.0
    EconomySell 2.0.7-6 by onebone for API(s) 3.0.0-ALPHA12
    SlapperCooldown 1.0.0 by jojoe77777 for API(s) 3.0.0-ALPHA11, 3.0.0-ALPHA12
    TimeReward 1 by LeNick for API(s) 3.0.0-ALPHA8
    AntiWerbung 1.0.0 by Legitpool for API(s) 3.0.0
    OneTimeReward 1 by LeNick for API(s) 3.0.0-ALPHA12, 3.0.0
    ScoreboardsPE 1.0.1 by for API(s) 3.0.0
    Size 2.1.0-beta by LeNick for API(s) 3.0.0-ALPHA8, 3.0.0-ALPHA9
    AutoClearLagg 2.0.0 by Potatoe for API(s) 3.0.0
    Wachstum 1 by LeNick for API(s) 3.0.0-ALPHA8, 3.0.0-ALPHA9
    Heiraten 1.0.6 by Mineboy210 for API(s) 3.0.0-ALPHA12
    Core-DB 1.2-PATCH3 by LookItsAku for API(s) 3.0.0, 3.0.1, 4.0.0
    PremiumBereich 1 by DreamBuild for API(s) 3.0.0
    NoTP 1.0.6-4 by awzaw for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11
    BuycraftPM 0.5.1 by Tebex Limited for API(s) 3.0.0
    TapToDo 3.3# by Falk, iStrafeNubzHDyt for API(s) 3.0.0-ALPHA12, 3.0.0, 4.0.0
    EconomyPShop 2.0.2 by onebone for API(s) 3.0.0
    BanSystem 2.0.9 by LordHippo for API(s) 3.0.0
    ServerMail 0.0.2 by tschrock ([email protected]) for API(s) 1.0.0, 2.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA8
    MIE_Protector 1.0.4 by FaigerSYS for API(s) 3.0.0, 4.0.0
    Broadcaster 1.5 by EvolSoft for API(s) 3.0.0
    PmChair 2.0 by maru for API(s) 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11, 3.0.0-ALPHA12, 3.0.0-ALPHA13, 3.0.0-ALPHA14, 3.0.0-ALPHA15
    SlapperCache 1.0.2 by jojoe77777 for API(s) 3.0.0-ALPHA12
    BlockSniffer 1.0.0 by DRedDogPE for API(s) 3.0.0
    VoteReward 3.0.2 by LDX for API(s) 1.12.0, 2.0.0, 3.0.0, 3.0.1, 3.0.0-ALPHA10, 3.0.0-ALPHA11, 3.0.0-ALPHA12
    EssentialsPE 2.1.0 by LegendsOfMCPE Team for API(s) 3.0.0
    MentionsPM 1.0.2 by kingnickxd for API(s) 3.0.0-ALPHA8, 3.0.0-ALPHA9
    PurePerms 1.4.2 by 64FF00 & ProjectInfinity for API(s) 4.0.0
    CombatLogger 0.0.5 by Jack Noordhuis for API(s) 3.0.0, 4.0.0
    BadWordBlocker 1.2.6 by survanetwork for API(s) 3.0.0
    ChatScrambler 1.0.0 by ArceusMatt for API(s) 3.0.0
    FormAPI 1.3.0 by jojoe77777 for API(s) 3.2.0
    iProtector 3.1.0-10 by LDX for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11
    EconomyLand 2.1.2 by onebone for API(s) 3.0.0
    ShopCloud 1.3.1 by onebone for API(s) 3.0.0
    BanWarn 1.2.2 by robske_110 for API(s) 3.0.0
    Discord-MCPE 1.0.3 by Niekert for API(s) 3.0.0
    TimeRanks 2.1.1 by luca28pet for API(s) 3.0.0
    Capes 1.1.0 by Unickorn for API(s) 3.0.0, 3.0.0-ALPHA12, 4.0.0
    SimpleWarp 4.0.1 by Falkirks for API(s) 3.0.0, 4.0.0
    Kits 5.2.3 by luca28pet for API(s) 3.0.0
    GrabBag 2.4.0-1-dev by aliuly for API(s) 3.0.0
    PureChat 1.4.11 by 64FF00 for API(s) 4.0.0
    MyPlot2 1.3.6 by Wiez, Exxarion, jasonwynn10 for API(s) 3.0.0

    Maybe someone could help me. :)
     
  2. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
  3. Akuroma

    Akuroma Silverfish

    Messages:
    20
    GitHub:
    Akuroma
    "You got an error! I'm a teapot." -> if I try sending my crashdump.
     
  4. Akuroma

    Akuroma Silverfish

    Messages:
    20
    GitHub:
    Akuroma
    Tried again, but the same error occurs while uploading the file.
     
  5. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    What I think: The world is corrupted. The meta of a block is wrong.
     
    Akuroma likes this.
  6. Akuroma

    Akuroma Silverfish

    Messages:
    20
    GitHub:
    Akuroma
    Same as I thought before. :/ Is there some kind of way to fix it, without generating a new world and deleting the "old one"?
     
  7. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    I will say something but I do not know if it will work. Backup the world first. Convert it to anvil using a converter (search on google). If it is already an anvil world do not do that. Then put the new world (if you did not convert, put the old one) to your PC. Put it to the saves folder in .minecraft and open Minecraft Java. Hop into the world and break the torch. Then save and quit Minecraft java and put the new world in the pe server. Hope you understand.

    Good luck!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.