Skip to content
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

Certain Players crash my server here's the crash dump #90

Closed
TacosYum opened this issue Jul 29, 2017 · 2 comments · Fixed by #93
Closed

Certain Players crash my server here's the crash dump #90

TacosYum opened this issue Jul 29, 2017 · 2 comments · Fixed by #93

Comments

@TacosYum
Copy link

TacosYum commented Jul 29, 2017

Leveryl Crash Dump Sat Jul 29 11:42:10 CDT 2017

Error: Argument 1 passed to pocketmine\utils\BinaryStream::putUUID() must be an instance of pocketmine\utils\UUID, null given, called in /home/customer/NormalFac/src/pocketmine/network/mcpe/protocol/AddPlayerPacket.php on line 70
File: /src/pocketmine/utils/BinaryStream
Line: 285
Type: notice

Code:
[276] 		//This is actually two little-endian longs: UUID Most followed by UUID Least
[277] 		$part1 = $this->getLInt();
[278] 		$part0 = $this->getLInt();
[279] 		$part3 = $this->getLInt();
[280] 		$part2 = $this->getLInt();
[281] 
[282] 		return new UUID($part0, $part1, $part2, $part3);
[283] 	}
[284] 
[285] 	public function putUUID(UUID $uuid)
[286] 	{
[287] 		$this->putLInt($uuid->getPart(1));
[288] 		$this->putLInt($uuid->getPart(0));
[289] 		$this->putLInt($uuid->getPart(3));
[290] 		$this->putLInt($uuid->getPart(2));
[291] 	}
[292] 
[293] 	public function getSlot(): Item
[294] 	{
[295] 		$id = $this->getVarInt();

Backtrace:
#0 /src/pocketmine/network/mcpe/protocol/AddPlayerPacket(70): pocketmine\utils\BinaryStream->putUUID(NULL )
#1 /src/pocketmine/network/mcpe/RakLibInterface(219): pocketmine\network\mcpe\protocol\AddPlayerPacket->encode()
#2 /src/pocketmine/Player(1206): pocketmine\network\mcpe\RakLibInterface->putPacket(pocketmine\Player object, pocketmine\network\mcpe\protocol\AddPlayerPacket object, boolean , boolean )
#3 /src/pocketmine/entity/Wolf(56): pocketmine\Player->dataPacket(pocketmine\network\mcpe\protocol\AddPlayerPacket object)
#4 /src/pocketmine/Player(942): pocketmine\entity\Wolf->spawnTo(pocketmine\Player object)
#5 /src/pocketmine/level/Level(1496): pocketmine\Player->sendChunk(integer -44, integer -78, pocketmine\network\mcpe\protocol\BatchPacket object)
#6 /src/pocketmine/level/Level(2921): pocketmine\level\Level->sendChunkFromCache(integer -44, integer -78)
#7 /src/pocketmine/level/format/io/ChunkRequestTask(96): pocketmine\level\Level->chunkRequestCallback(integer -44, integer -78, pocketmine\network\mcpe\protocol\BatchPacket object)
#8 /src/pocketmine/scheduler/AsyncPool(170): pocketmine\level\format\io\ChunkRequestTask->onCompletion(pocketmine\Server object)
#9 /src/pocketmine/scheduler/ServerScheduler(367): pocketmine\scheduler\AsyncPool->collectTasks()
#10 /src/pocketmine/Server(2683): pocketmine\scheduler\ServerScheduler->mainThreadHeartbeat(integer 26685)
#11 /src/pocketmine/Server(2434): pocketmine\Server->tick()
#12 /src/pocketmine/Server(2310): pocketmine\Server->tickProcessor()
#13 /src/pocketmine/Server(1846): pocketmine\Server->start()
#14 /src/pocketmine/PocketMine(510): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/customer/NormalFac/, string /home/customer/NormalFac/, string /home/customer/NormalFac/plugins/)

Leveryl version: 1.0 #0 [Protocol 113; API 3.0.0-ALPHA5]
Git commit: 0000000000000000000000000000000000000000
uname -a: Linux s107071 3.13.0-116-generic #163-Ubuntu SMP Fri Mar 31 14:13:22 UTC 2017 x86_64
PHP Version: 7.0.3
Zend version: 3.0.0
OS : Linux, linux
@TacosYum
Copy link
Author

TacosYum commented Aug 1, 2017

For some odd reason the problem isn't persisting in the latest update just incase it does keep it up

@TacosYum
Copy link
Author

TacosYum commented Aug 1, 2017

it started doing it again but not as often

@ghost ghost reopened this Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants