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

Unhandled async exception #34

Closed
teracube opened this issue Jun 4, 2020 · 3 comments
Closed

Unhandled async exception #34

teracube opened this issue Jun 4, 2020 · 3 comments

Comments

@teracube
Copy link

teracube commented Jun 4, 2020

Issue description

crash server with defaut config.yml

  • Expected result: What were you expecting to happen?
  • Actual result: What actually happened?

Steps to reproduce the issue

  1. ...
  2. ...

OS and versions

  • BedcoreProtect:v0.6.2
  • PocketMine-MP: 3.12.5
  • PHP: 7.3.16
  • Server OS:
  • Game version: PE/Win10 (delete as appropriate)

Plugins

  • If you remove all plugins, does the issue still occur?
  • If the issue is not reproducible without plugins:
    • Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section

Crashdump, backtrace or other files

PocketMine-MP Crash Dump Thu Jun 4 20:47:52 WEST 2020

Error: Unhandled async exception
File: plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/SOFe/AwaitGenerator/Await
Line: 436
Type: matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\AwaitException

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: BedcoreProtect v0.6.2

Code:
[427] 		}
[428] 
[429] 		parent::reject($throwable);
[430] 		foreach($this->catches as $class => $onError){
[431] 			if($class === "" || is_a($throwable, $class)){
[432] 				$onError($throwable);
[433] 				return;
[434] 			}
[435] 		}
[436] 		throw new AwaitException("Unhandled async exception", 0, $throwable);
[437] 	}
[438] 
[439] 	public function isSleeping() : bool{
[440] 		return $this->sleeping;
[441] 	}
[442] 
[443] 	public function isUltimate() : bool{
[444] 		return $this->ultimate;
[445] 	}
[446] 

Backtrace:
#0 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/SOFe/AwaitGenerator/Await(202): matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\Await->reject(object matcracker\BedcoreProtect\libs\poggit\libasynql\SqlError)
#1 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/SOFe/AwaitGenerator/Await(176): matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\Await->wakeup(object Closure)
#2 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/SOFe/AwaitGenerator/Await(397): matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\Await->wakeupFlat(object Closure)
#3 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/SOFe/AwaitGenerator/AwaitChild(48): matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\Await->recheckPromiseQueue(object matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\AwaitChild)
#4 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/SOFe/AwaitGenerator/Await(432): matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\AwaitChild->reject(object matcracker\BedcoreProtect\libs\poggit\libasynql\SqlError)
#5 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/SOFe/AwaitGenerator/Await(202): matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\Await->reject(object matcracker\BedcoreProtect\libs\poggit\libasynql\SqlError)
#6 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/SOFe/AwaitGenerator/Await(176): matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\Await->wakeup(object Closure)
#7 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/SOFe/AwaitGenerator/Await(397): matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\Await->wakeupFlat(object Closure)
#8 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/SOFe/AwaitGenerator/AwaitChild(48): matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\Await->recheckPromiseQueue(object matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\AwaitChild)
#9 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/poggit/libasynql/base/DataConnectorImpl(240): matcracker\BedcoreProtect\libs\SOFe\AwaitGenerator\AwaitChild->reject(object matcracker\BedcoreProtect\libs\poggit\libasynql\SqlError, NULL )
#10 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/poggit/libasynql/base/DataConnectorImpl(186): matcracker\BedcoreProtect\libs\poggit\libasynql\base\DataConnectorImpl->reportError(array[2], object matcracker\BedcoreProtect\libs\poggit\libasynql\SqlError, NULL )
#11 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/poggit/libasynql/base/SqlThreadPool(112): matcracker\BedcoreProtect\libs\poggit\libasynql\base\DataConnectorImpl->matcracker\BedcoreProtect\libs\poggit\libasynql\base\{closure}(object matcracker\BedcoreProtect\libs\poggit\libasynql\SqlError)
#12 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/poggit/libasynql/base/DataConnectorImpl(268): matcracker\BedcoreProtect\libs\poggit\libasynql\base\SqlThreadPool->readResults(array[478115])
#13 plugins/BedcoreProtect_dev-327.phar/src/matcracker/BedcoreProtect/libs/poggit/libasynql/base/SqlThreadPool(65): matcracker\BedcoreProtect\libs\poggit\libasynql\base\DataConnectorImpl->checkResults()
#14 vendor/pocketmine/snooze/src/SleeperHandler(123): matcracker\BedcoreProtect\libs\poggit\libasynql\base\SqlThreadPool->matcracker\BedcoreProtect\libs\poggit\libasynql\base\{closure}()
#15 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#16 src/pocketmine/Server(2146): pocketmine\snooze\SleeperHandler->sleepUntil(double 1591300070.5792)
#17 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
#18 src/pocketmine/Server(1584): pocketmine\Server->start()
#19 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#20 src/pocketmine/PocketMine(295): pocketmine\server()
#21 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

PocketMine-MP version: 3.12.5 [Protocol 390]
Git commit: c32026333f8b86b99c7b1994a91f63a9687dd56e
uname -a: Linux 643340b8-28d5-4090-bb05-7e3ac9a12b14 4.19.0-0.bpo.6-amd64 #1 SMP Debian 4.19.67-2+deb10u2~bpo9+1 (2019-11-12) x86_64
PHP Version: 7.3.16
Zend version: 3.3.16
OS : Linux, linux
@matcracker
Copy link
Owner

Can you provide the console log?

@teracube
Copy link
Author

teracube commented Jun 4, 2020

sorry i have a problem server.log size is 0 Ko , no data ...

@matcracker
Copy link
Owner

I close it until more information are provided. Thanks.

@vkamz597 vkamz597 mentioned this issue Nov 15, 2023
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