PocketMine crashed by DevTools #4307

Open
tjespe opened this Issue Dec 12, 2016 · 1 comment

Projects

None yet

1 participant

@tjespe
tjespe commented Dec 12, 2016 edited
PocketMine-MP Crash Dump Sun Dec 11 23:28:37 CET 2016

Error: mkdir(): File exists
File: /DevTools_v1.11.0.phar/src/DevTools/DevTools
Line: 41
Type: E_WARNING

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: DevTools v1.11.0

Code:
[32] use pocketmine\utils\TextFormat;
[33] 
[34] class DevTools extends PluginBase implements CommandExecutor{
[35] 
[36] 	public function onLoad(){
[37] 		$this->getServer()->getCommandMap()->register("devtools", new ExtractPluginCommand($this));
[38] 	}
[39] 
[40] 	public function onEnable(){
[41] 		@mkdir($this->getDataFolder());
[42] 
[43] 		if(!class_exists("FolderPluginLoader\\FolderPluginLoader", false)){
[44] 			$this->getServer()->getPluginManager()->registerInterface("FolderPluginLoader\\FolderPluginLoader");
[45] 			$this->getServer()->getPluginManager()->loadPlugins($this->getServer()->getPluginPath(), ["FolderPluginLoader\\FolderPluginLoader"]);
[46] 			$this->getLogger()->info("Registered folder plugin loader");
[47] 			$this->getServer()->enablePlugins(PluginLoadOrder::STARTUP);
[48] 		}
[49] 	}
[50] 
[51] 	public function onCommand(CommandSender $sender, Command $command, $label, array $args){

Backtrace:
#0 (): pocketmine\Server->crashDump(boolean)

PocketMine-MP version: 1.6.1dev #0 [Protocol 91; API 2.1.0]
Git commit: 0000000000000000000000000000000000000000
uname -a: Darwin tord.local 16.1.0 Darwin Kernel Version 16.1.0: Thu Oct 13 21:26:57 PDT 2016; root:xnu-3789.21.3~60/RELEASE_X86_64 x86_64
PHP Version: 7.0.3
Zend version: 3.0.0
OS : Darwin, mac

Loaded plugins:
DevTools 1.11.0 by PocketMine Team for API(s) 2.0.0
iProtector 3.1b by LDX for API(s) 1.9.0, 2.0.0
EntityManager 2.7 by milk0417 for API(s) 2.0.0, 1.14.0
PureEntities 1.0 by milk0417 for API(s) 2.0.0, 1.14.0

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

===BEGIN CRASH DUMP===
eNrNWg1vG8cR/Stb2kCkgkfxSIqUaCioYsmpUTlmLbkOkAuE5d0eedF95XZPFBO4v71vZveOR1lO
66QoahQVbz9m38zOvJndza89k2SqN/cnJ/7k9Hjsz/o9VVVF1Zv/2jPbEl29y9sP5+++e/3dt71+
L1NayxW1ZndRUh0czsWrJFVCPSTaaAyI8YXeowt1f1MUqb699we+PxgOyrWsjnQVtj3tD8xKkxyz
Jv7Hfq9M61WSQ0SnOywiRYDGI7TXWomyCO+UyTArCGqTpDoIbtSDeVVUmTQvMGM8xkj6O8HfMJVa
i0YesBqVR1oseKVvJOQlWZmqTOVGi5dFlsk8unxQYW2K6lcScuyETfE3MGW9TJNQxHUemqTIRZFf
FTI6OOShMx4SmOdmnWjv65Uy16q6V7AUfzjpb2RJDZVawWzoDHqRujeELuj1Ra424vLBVDI0FqOb
dcBCDw9ZwRNe6CP9PLXwJsPPwLvM5TJVFuDEdwD/Yjdwh/NCGvmqSCPCyktMRk7u2E1J4oM/sS1v
7XYDtp1gUZIVVBXg3xOtUCuWqVaHFsXEifysoezkNzKHt1VdW73O8X+xDNUXrW4VOv7iVVPMt436
4DfnLKRZHxz2xQ9fgupHC2v6BKyrYuUgJHlcQNd3Tn8ViZhFCRspIt1TcfabKir2hEahHZi3FUTM
59c35+9u3i+spBMniVxsctp62/HQesWx/xlva5zV/b1GrAHsc81/+018ieeh/dEXz1O5VGlfyKqS
W/FcVisNJwEVUAQg7n/oPRsKYppu1FudvK/DSur1RZ2VB0uEj5L5Ye/Hfm+lclXJlDgDozSAAaw/
mA58xBnAL+skjXrzIeimKkwRFhh66vd7skwwcDQAYWHUKjH4Gv6H/zChkndpsqQ5gxOWUOeS2LV3
IasNtgp8Eg3SIpSp8Ke0iHAdf1NVrlLxD4vVdc7FzboWb0Mj/LEY+fPRdH48E4uLGzEa+tMXoioK
M3/Ia288OzkdjPzB+J/T4dG7y6vL8+vL2+9P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tjespe commented Dec 12, 2016

I found out which line was causing the bug:
if($ent instanceof Living) { $living++; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment