PocketMine Crash Archive

#29715826 Unknown error

Submitted by PocketMine-MP 1.4.1-980

General information

Version: 1.4.1-980
API version: 1.11.0
Caused by a Plugin: Not directly
Report date: Saturday 28/12/2019 23:26:52
Attached Issue: None

System Information

PHP version: 5.6.6
Operating system: win
System banner: Windows NT CIBA_NB 6.2 build 9200 (Windows 8) i586

Error information

mt_rand(): max(-1) is smaller than min(0)
File: /src/pocketmine/scheduler/AsyncPool
Line: #61
Error level: warning

[52] 	}
[53] 
[54] 	public function submitTask(AsyncTask $task){
[55] 		if(isset($this->tasks[$task->getTaskId()]) or $task->isGarbage()){
[56] 			return;
[57] 		}
[58] 
[59] 		$this->tasks[$task->getTaskId()] = $task;
[60] 
[61] 		$selectedWorker = \mt_rand(0, $this->size - 1);
[62] 		$selectedTasks = $this->workerUsage[$selectedWorker];
[63] 		for($i = 0; $i < $this->size; ++$i){
[64] 			if($this->workerUsage[$i] < $selectedTasks){
[65] 				$selectedWorker = $i;
[66] 				$selectedTasks = $this->workerUsage[$i];
[67] 			}
[68] 		}
[69] 
[70] 		$this->workers[$selectedWorker]->stack($task);
[71] 		$this->workerUsage[$selectedWorker]++;
#0 /src/pocketmine/scheduler/AsyncPool(61): mt_rand(integer 0, integer -1)
#1 /src/pocketmine/scheduler/ServerScheduler(78): pocketmine\scheduler\AsyncPool->submitTask(pocketmine\scheduler\SendUsageTask object)
#2 /src/pocketmine/Server(2189): pocketmine\scheduler\ServerScheduler->scheduleAsyncTask(pocketmine\scheduler\SendUsageTask object)
#3 /src/pocketmine/Server(1961): pocketmine\Server->sendUsage()
#4 /src/pocketmine/Server(1703): pocketmine\Server->start()
#5 /src/pocketmine/PocketMine(442): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar://C:/Users/Ciba NB/Desktop/PocketMine-MP/PocketMine-MP.phar/, string C:\Users\Ciba NB\Desktop\PocketMine-MP\, string C:\Users\Ciba NB\Desktop\PocketMine-MP\plugins\)
#6 (1): require(string phar://C:/Users/Ciba NB/Desktop/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

NameVersionStateAuthor(s)

Server Settings [toggle]

NameValue
server-nameCiba server
server-port19132
memory-limit256M
gamemode1
max-players5
spawn-protection16
white-listoff
enable-queryon
enable-rconoff
motdMinecraft: PE Server
announce-player-achievementson
allow-flightoff
spawn-animalson
spawn-mobson
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
rcon.password******
view-distance8
auto-saveon
Xbox-authon
settings.shutdown-messageServer closed
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.advanced-cachefalse
settings.upnp-forwardingfalse
settings.send-usagetrue
settings.async-workersauto
debug.level1
debug.commandsfalse
level-settings.default-formatmcregion
level-settings.convert-formatfalse
chunk-sending.per-tick4
chunk-sending.compression-level8
chunk-sending.max-chunks256
chunk-ticking.per-tick260
chunk-ticking.tick-radius4
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listfalse
chunk-generation.use-asynctrue
chunk-generation.per-tick1
chunk-gc.period-in-ticks600
ticks-per.animal-spawns400
ticks-per.monster-spawns1
ticks-per.autosave6000
ticks-per.cache-cleanup900
spawn-limits.monsters70
spawn-limits.animals15
spawn-limits.water-animals5
spawn-limits.ambient15
auto-report.enabledtrue
auto-report.send-codetrue
auto-report.send-settingstrue
auto-report.send-phpinfotrue
auto-report.hostcrash.pocketmine.net
auto-updater.enabledtrue
auto-updater.on-update.warn-consoletrue
auto-updater.on-update.warn-opstrue
auto-updater.preferred-channelstable
auto-updater.suggest-channelstrue
auto-updater.hostwww.pocketmine.net
aliases
worlds
Find duplicates  |   Download