iTXTech / Genisys

Feature-rich server software for Minecraft: Pocket Edition & Windows 10 Edition Beta
https://itxtech.org/genisys/
GNU General Public License v3.0
435 stars 243 forks source link

getChunk on null crash #1466

Closed legoboy0215 closed 8 years ago

legoboy0215 commented 8 years ago

Issue description

Some how, this crash happens 5-6 times per day.

Steps to reproduce the issue

I don't really know, but just wait. Maybe a plugin? IDK.

OS and versions

Genisys Crash Dump Fri Jul 15 15:24:32 EDT 2016

Error: Call to a member function getChunk() on null
File: /src/pocketmine/level/Level
Line: 2773
Type: notice

Code:

Backtrace:
#0 /src/pocketmine/Player(4212): pocketmine\level\Level->getChunk(integer -2, integer 0, boolean 1)
#1 /src/pocketmine/entity/Entity(1362): pocketmine\Player->checkChunks(boolean)
#2 /src/pocketmine/Player(1671): pocketmine\entity\Entity->move(double 3.9825859069824, double -136.30054206289, double -20.457855224609)
#3 /src/pocketmine/Player(1918): pocketmine\Player->processMovement(integer 1)
#4 /src/pocketmine/Server(2776): pocketmine\Player->onUpdate(integer 41433)
#5 /src/pocketmine/Server(2987): pocketmine\Server->checkTickUpdates(integer 41433, double 1468610672.0542)
#6 /src/pocketmine/Server(2681): pocketmine\Server->tick(boolean)
#7 /src/pocketmine/Server(2559): pocketmine\Server->tickProcessor(boolean)
#8 /src/pocketmine/Server(2124): pocketmine\Server->start(boolean)
#9 /src/pocketmine/PocketMine(467): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar:///root/pm/PocketMine-MP.phar/, string /root/pm/, string /root/pm/plugins/, string unknown)
#10 (1): require_once(string phar:///root/pm/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Genisys version: 1.2dev #0 [Protocol 81; API 2.0.0]
uname -a: Linux legoboy0215 2.6.32-042stab116.1 #1 SMP Wed May 4 16:21:02 MSK 2016 x86_64
PHP version: 7.0.2
Zend version: 3.0.0
OS : Linux, linux

Server uptime: 35 minutes 40 seconds
Number of loaded worlds: 6
Players online: 12/40

Loaded plugins:
HereAuth 1.0-Dev_#001 by PEMapModder for API(s) 2.0.0
BuyCraft 1.2.2 by Falkirks for API(s) 1.0.0
PurePerms 1.3.7 by 64FF00 & ProjectInfinity for API(s) 1.13.0, 2.0.0
RestartMe 1.2.0 by Gamecrafter for API(s) 2.0.0
LegoCore 3.0.0 by Legoboy for API(s) 2.0.0
EconomyAPI 2.0.9 by onebone for API(s) 2.0.0
BrickBattle 1.0.0 by Legoboy for API(s) 2.0.0
Lobby 1.0.0 by Legoboy for API(s) 2.0.0
ClearLagg 1.1.0 by LegendOfMCPE for API(s) 2.0.0
Vote 1.0.0 by Legoboy for API(s) 2.0.0
LegoHG 5.0.0dev by Legoboy for API(s) 2.0.0
Friends 1.0.0 by Legoboy for API(s) 2.0.0
SkyWars 1.0.2 by Legoboy for API(s) 2.0.0
PureChat 1.4.0 by 64FF00 for API(s) 1.13.0, 2.0.0
PeratX commented 8 years ago

Player moved into an invalid chunk

legoboy0215 commented 8 years ago

And what is an invalid chunk?

dktapps commented 8 years ago

Outdated version

legoboy0215 commented 8 years ago

A few commits are called outdated? How do you expect me to update every commit that comes out?