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

The server crashes when clicking on inventory boxes as Java player #174

Closed
Benjamaxo opened this issue Dec 16, 2020 · 2 comments
Closed

Comments

@Benjamaxo
Copy link

Issue description

When the Java player left clicks on any inventory slot, regardless of whether an item is in it or not, the server will crash

Prerequisite

DevTools

I tried this on both PocketMine 3.17.0 (by changing protocol to 422 and running with DevTools) and PocketMine 3.16.0 with the normal Java 1.12 download, with the same crash occurring both times. The crash dump below is from 3.17.0

How to reproduce

Open up inventory
Click any square

Unlisted Video Demonstrating Crash:
https://youtu.be/V_qNJLiCjHw

Server log(crash dump)

PocketMine-MP Crash Dump Wed Dec 16 15:45:07 GMT 2020

Error: Undefined property: pocketmine\network\mcpe\protocol\InventoryTransactionPacket::$isCraftingPart
File: src/pocketmine/network/mcpe/protocol/DataPacket
Line: 205
Type: Error

A PLUGIN WAS INVOLVED IN THIS CRASH
BAD PLUGIN: BigBrother v1.6.0-beta

Code:
[196] }
[197]
[198] /**
[199] * @param string $name
[200] * @param mixed $value
[201] *
[202] * @return void
[203] */
[204] public function __set($name, $value){
[205] throw new \Error("Undefined property: " . get_class($this) . "::$" . $name);
[206] }
[207] }

Backtrace:
#0 plugins/BigBrother-master/src/shoghicp/BigBrother/utils/InventoryUtils(852): pocketmine\network\mcpe\protocol\DataPacket->__set(string[14] isCraftingPart, boolean )
#1 plugins/BigBrother-master/src/shoghicp/BigBrother/network/Translator(264): shoghicp\BigBrother\utils\InventoryUtils->onWindowClick(object shoghicp\BigBrother\network\protocol\Play\Client\ClickWindowPacket)
#2 plugins/BigBrother-master/src/shoghicp/BigBrother/network/ProtocolInterface(256): shoghicp\BigBrother\network\Translator->interfaceToServer(object shoghicp\BigBrother\DesktopPlayer, object shoghicp\BigBrother\network\protocol\Play\Client\ClickWindowPacket)
#3 plugins/BigBrother-master/src/shoghicp/BigBrother/network/ProtocolInterface(379): shoghicp\BigBrother\network\ProtocolInterface->receivePacket(object shoghicp\BigBrother\DesktopPlayer, object shoghicp\BigBrother\network\protocol\Play\Client\ClickWindowPacket)
#4 plugins/BigBrother-master/src/shoghicp/BigBrother/network/ProtocolInterface(409): shoghicp\BigBrother\network\ProtocolInterface->handlePacket(object shoghicp\BigBrother\DesktopPlayer, string[10] ..........)
#5 src/pocketmine/network/Network(109): shoghicp\BigBrother\network\ProtocolInterface->process()
#6 src/pocketmine/Server(2387): pocketmine\network\Network->processInterfaces()
#7 src/pocketmine/Server(2154): pocketmine\Server->tick()
#8 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1588): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[46] C:\Users\user\Documents\PocketMine-MP-3.17.0, string[54] C:\Users\user\Documents\PocketMine-MP-3.17.0\plugins)
#11 src/pocketmine/PocketMine(304): pocketmine\server()
#12 (11): require(string[101] phar://C:/Users/user/Documents/PocketMine-MP-3.17.0/PocketMine-MP.phar/src/pock)

PocketMine-MP version: 3.17.0 [Protocol 422]
Git commit: 3903b70ef5747ca8365ccda91d3e4ff0ba45816d
uname -a: Windows NT DESKTOP-VEU7HVV 10.0 build 19042 (Windows 10) AMD64
PHP Version: 7.3.23
Zend version: 3.3.23
OS : WINNT, win
Composer libraries:

  • bigbrotherteam/bigbrother 1.0.0+no-version-set@unknown
  • phpseclib/phpseclib 2.0.17@3ca5b88d582c69178c8d01fd9d02b94e15042bb8

Loaded plugins:
DevTools 1.13.0 by PocketMine Team for API(s) 3.0.0
BigBrother 1.6.0-beta by BigBrotherTeam for API(s) 3.7.0

----------------------REPORT THE DATA BELOW THIS LINE-----------------------

===BEGIN CRASH DUMP===
eNrtWgtv28aW/isDJUDtriiJeli2CgdNbefGuEmsGyvNYqvAGJEjiTVf5ZCW1SL/fb9zZviQ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2g5wxqCOwINNmDLqfBY73GWUFy4oQoDoEMXfylIHKLtvkONCzKbKsbDIMpLYQ
HqhLRmlYPhEIAI/WVpPSaGYOfkvXPRPxC1dv1M823/98IqKMzusy2XxXwGIQksoC33bY5csXbp0f
q1hc0LlCawaT3JnBPgF4teW2yb45l3kwPwW9rqGqYKpXfeJEvHrzcjbp/zBuj07u3fbgftDu/+D+
4CsvMTn2IM8UHpBcT497JhWbp+Ho0MAecx/fbGxNhFNtgY7tvRNDD744gtW8rTBfTxRZmZRLNJ9V
N/mccUAHpcrjFya6VJhTvgWALxh89+wVpxo+itfvECkYKdgPLxsjDoOtTn1FlqTcC6p7JD5tGyHv
lvCyZtAPjSwCINWt6Zl5HckLVgDTTRkxMWOkZPoAI1mVq1vtlrrPVUx+xO++z4AQmm/6Fx4w0bo5
Qi9iYl9mO2NJdOMnOZLhzqj9QLYeKLKw+Uwpovm8DMJc7RBeRTvfHaxRPprPAaLsrjnwq7Yvrc23
FdHCvFVqLiEkBvb95ljq7Ur9Xi1tI76zk9O+3h0CQImaI9fTN83HaKt/C/ljCftLjOhDhT7dwwvg
iR59kNAb4+fzS4TE2PPw/+RIHY1HyyN/3Fcjb9lb9o/Gy+Gxco/GXl8uFv2BeA7aeXKrYsCDHY1t
Jb+U7Hdc1sDvQWq+Whh16DuO383HEtVqPN5HuzZJSJx+rzdw3f4JBqbnVzuq8pMbFmV/EEPBrjmR
LmKtdxZeB5QQ/vPtjo72OMAjtaS7YmFwkwV73pHaizn+FAUS06czYHi965x1tb5hMMafPWFBz6oo
WC2CWGZb81EOq4lJuiBJCuCE5i94Bw4hP862aZ7wwIAHVv4Dmwc7bsK6GTSHMoVooLBbFcYZS3b+
izDb1ZSvUuoNnz//N1Lpa8A=
===END CRASH DUMP===

@Benjamaxo
Copy link
Author

Benjamaxo commented Dec 16, 2020

I should have added that this crash only seems to happen when the Java player is on survival mode*

@hmy2001
Copy link

hmy2001 commented Jan 3, 2021

Fixed lastest commit.

@hmy2001 hmy2001 closed this as completed Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants