We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PocketMine-MP Crash Dump Wed Jan 29 08:43:30 -05 2025 PocketMine-MP version: 5.24.0 [Protocol 766] Git commit: 393d7f7 PHP version: 8.2.27 OS: Linux, linux Thread: Main Error: Cannot cancel a resolved promise File: pmsrc/src/network/mcpe/compression/CompressBatchPromise Line: 92 Type: LogicException Backtrace: #0 pmsrc/src/network/mcpe/cache/ChunkCache(164): pocketmine\network\mcpe\compression\CompressBatchPromise->cancel() #1 pmsrc/src/network/mcpe/cache/ChunkCache(186): pocketmine\network\mcpe\cache\ChunkCache->destroyOrRestart(int 3, int -33) #2 pmsrc/src/world/World(2619): pocketmine\network\mcpe\cache\ChunkCache->onChunkChanged(int 3, int -33, object pocketmine\world\format\Chunk#43743) #3 pmsrc/src/world/World(3468): pocketmine\world\World->setChunk(int 3, int -33, object pocketmine\world\format\Chunk#43743) #4 pmsrc/src/world/World(3414): pocketmine\world\World->generateChunkCallback(object pocketmine\world\ChunkLockId#48539, int 3, int -34, object pocketmine\world\format\Chunk#148015, array[2], object anonymous@pmsrc/src/world/World#L3392#48505) #5 pmsrc/src/world/generator/PopulationTask(156): pocketmine\world\World->pocketmine\world{closure}(object pocketmine\world\format\Chunk#148015, array[2]) #6 pmsrc/src/scheduler/AsyncPool(280): pocketmine\world\generator\PopulationTask->onCompletion() #7 pmsrc/src/timings/TimingsHandler(321): pocketmine\scheduler\AsyncPool->pocketmine\scheduler{closure}() #8 pmsrc/src/scheduler/AsyncPool(279): pocketmine\timings\TimingsHandler->time(object Closure#162799) #9 pmsrc/src/scheduler/AsyncPool(127): pocketmine\scheduler\AsyncPool->collectTasksFromWorker(int 4) #10 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\scheduler\AsyncPool->pocketmine\scheduler{closure}() #11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\TimeTrackingSleeperHandler->pocketmine{closure}() #12 pmsrc/src/TimeTrackingSleeperHandler(77): pocketmine\snooze\SleeperHandler->processNotifications() #13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications() #14 pmsrc/src/Server(1739): pocketmine\snooze\SleeperHandler->sleepUntil(float 1738158210.8114) #15 pmsrc/src/Server(1103): pocketmine\Server->tickProcessor() #16 pmsrc/src/PocketMine(360): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#2, object pocketmine\utils\MainLogger#6, string[16] /home/container/, string[24] /home/container/plugins/) #17 pmsrc/src/PocketMine(383): pocketmine\server() #18 pmsrc(170): require(string[72] phar:///tmp/PocketMine-MP-phar-cache.0/PMMP7lW4Us.tar/src/PocketMine.php) Code: [83] return $this->result !== null; [84] } [85] [86] public function isCancelled() : bool{ [87] return $this->cancelled; [88] } [89] [90] public function cancel() : void{ [91] if($this->hasResult()){ [92] throw new \LogicException("Cannot cancel a resolved promise"); [93] } [94] $this->cancelled = true; [95] } [96] [97] private function checkCancelled() : void{ [98] if($this->cancelled){ [99] throw new \InvalidArgumentException("Promise has been cancelled"); [100] } [101] }
PocketMine-MP Crash Dump Wed Jan 29 08:43:30 -05 2025
PocketMine-MP version: 5.24.0 [Protocol 766] Git commit: 393d7f7 PHP version: 8.2.27 OS: Linux, linux
Thread: Main Error: Cannot cancel a resolved promise File: pmsrc/src/network/mcpe/compression/CompressBatchPromise Line: 92 Type: LogicException Backtrace: #0 pmsrc/src/network/mcpe/cache/ChunkCache(164): pocketmine\network\mcpe\compression\CompressBatchPromise->cancel() #1 pmsrc/src/network/mcpe/cache/ChunkCache(186): pocketmine\network\mcpe\cache\ChunkCache->destroyOrRestart(int 3, int -33) #2 pmsrc/src/world/World(2619): pocketmine\network\mcpe\cache\ChunkCache->onChunkChanged(int 3, int -33, object pocketmine\world\format\Chunk#43743) #3 pmsrc/src/world/World(3468): pocketmine\world\World->setChunk(int 3, int -33, object pocketmine\world\format\Chunk#43743) #4 pmsrc/src/world/World(3414): pocketmine\world\World->generateChunkCallback(object pocketmine\world\ChunkLockId#48539, int 3, int -34, object pocketmine\world\format\Chunk#148015, array[2], object anonymous@pmsrc/src/world/World#L3392#48505) #5 pmsrc/src/world/generator/PopulationTask(156): pocketmine\world\World->pocketmine\world{closure}(object pocketmine\world\format\Chunk#148015, array[2]) #6 pmsrc/src/scheduler/AsyncPool(280): pocketmine\world\generator\PopulationTask->onCompletion() #7 pmsrc/src/timings/TimingsHandler(321): pocketmine\scheduler\AsyncPool->pocketmine\scheduler{closure}() #8 pmsrc/src/scheduler/AsyncPool(279): pocketmine\timings\TimingsHandler->time(object Closure#162799) #9 pmsrc/src/scheduler/AsyncPool(127): pocketmine\scheduler\AsyncPool->collectTasksFromWorker(int 4) #10 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\scheduler\AsyncPool->pocketmine\scheduler{closure}() #11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\TimeTrackingSleeperHandler->pocketmine{closure}() #12 pmsrc/src/TimeTrackingSleeperHandler(77): pocketmine\snooze\SleeperHandler->processNotifications() #13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications() #14 pmsrc/src/Server(1739): pocketmine\snooze\SleeperHandler->sleepUntil(float 1738158210.8114) #15 pmsrc/src/Server(1103): pocketmine\Server->tickProcessor() #16 pmsrc/src/PocketMine(360): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#2, object pocketmine\utils\MainLogger#6, string[16] /home/container/, string[24] /home/container/plugins/) #17 pmsrc/src/PocketMine(383): pocketmine\server() #18 pmsrc(170): require(string[72] phar:///tmp/PocketMine-MP-phar-cache.0/PMMP7lW4Us.tar/src/PocketMine.php)
Code: [83] return $this->result !== null; [84] } [85] [86] public function isCancelled() : bool{ [87] return $this->cancelled; [88] } [89] [90] public function cancel() : void{ [91] if($this->hasResult()){ [92] throw new \LogicException("Cannot cancel a resolved promise"); [93] } [94] $this->cancelled = true; [95] } [96] [97] private function checkCancelled() : void{ [98] if($this->cancelled){ [99] throw new \InvalidArgumentException("Promise has been cancelled"); [100] } [101] }
The text was updated successfully, but these errors were encountered:
This is most likely caused by one of your plugins (which you haven't provided the list of) messing with something it shouldn't in ChunkCache.
ChunkCache
Next time please follow the instructions when creating an issue.
Sorry, something went wrong.
No branches or pull requests
Link to crashdump
PocketMine-MP Crash Dump Wed Jan 29 08:43:30 -05 2025 PocketMine-MP version: 5.24.0 [Protocol 766] Git commit: 393d7f7 PHP version: 8.2.27 OS: Linux, linux Thread: Main Error: Cannot cancel a resolved promise File: pmsrc/src/network/mcpe/compression/CompressBatchPromise Line: 92 Type: LogicException Backtrace: #0 pmsrc/src/network/mcpe/cache/ChunkCache(164): pocketmine\network\mcpe\compression\CompressBatchPromise->cancel() #1 pmsrc/src/network/mcpe/cache/ChunkCache(186): pocketmine\network\mcpe\cache\ChunkCache->destroyOrRestart(int 3, int -33) #2 pmsrc/src/world/World(2619): pocketmine\network\mcpe\cache\ChunkCache->onChunkChanged(int 3, int -33, object pocketmine\world\format\Chunk#43743) #3 pmsrc/src/world/World(3468): pocketmine\world\World->setChunk(int 3, int -33, object pocketmine\world\format\Chunk#43743) #4 pmsrc/src/world/World(3414): pocketmine\world\World->generateChunkCallback(object pocketmine\world\ChunkLockId#48539, int 3, int -34, object pocketmine\world\format\Chunk#148015, array[2], object anonymous@pmsrc/src/world/World#L3392#48505) #5 pmsrc/src/world/generator/PopulationTask(156): pocketmine\world\World->pocketmine\world{closure}(object pocketmine\world\format\Chunk#148015, array[2]) #6 pmsrc/src/scheduler/AsyncPool(280): pocketmine\world\generator\PopulationTask->onCompletion() #7 pmsrc/src/timings/TimingsHandler(321): pocketmine\scheduler\AsyncPool->pocketmine\scheduler{closure}() #8 pmsrc/src/scheduler/AsyncPool(279): pocketmine\timings\TimingsHandler->time(object Closure#162799) #9 pmsrc/src/scheduler/AsyncPool(127): pocketmine\scheduler\AsyncPool->collectTasksFromWorker(int 4) #10 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\scheduler\AsyncPool->pocketmine\scheduler{closure}() #11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\TimeTrackingSleeperHandler->pocketmine{closure}() #12 pmsrc/src/TimeTrackingSleeperHandler(77): pocketmine\snooze\SleeperHandler->processNotifications() #13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications() #14 pmsrc/src/Server(1739): pocketmine\snooze\SleeperHandler->sleepUntil(float 1738158210.8114) #15 pmsrc/src/Server(1103): pocketmine\Server->tickProcessor() #16 pmsrc/src/PocketMine(360): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#2, object pocketmine\utils\MainLogger#6, string[16] /home/container/, string[24] /home/container/plugins/) #17 pmsrc/src/PocketMine(383): pocketmine\server() #18 pmsrc(170): require(string[72] phar:///tmp/PocketMine-MP-phar-cache.0/PMMP7lW4Us.tar/src/PocketMine.php) Code: [83] return $this->result !== null; [84] } [85] [86] public function isCancelled() : bool{ [87] return $this->cancelled; [88] } [89] [90] public function cancel() : void{ [91] if($this->hasResult()){ [92] throw new \LogicException("Cannot cancel a resolved promise"); [93] } [94] $this->cancelled = true; [95] } [96] [97] private function checkCancelled() : void{ [98] if($this->cancelled){ [99] throw new \InvalidArgumentException("Promise has been cancelled"); [100] } [101] }
Additional comments (optional)
PocketMine-MP Crash Dump Wed Jan 29 08:43:30 -05 2025
PocketMine-MP version: 5.24.0 [Protocol 766]
Git commit: 393d7f7
PHP version: 8.2.27
OS: Linux, linux
Thread: Main
Error: Cannot cancel a resolved promise
File: pmsrc/src/network/mcpe/compression/CompressBatchPromise
Line: 92
Type: LogicException
Backtrace:
#0 pmsrc/src/network/mcpe/cache/ChunkCache(164): pocketmine\network\mcpe\compression\CompressBatchPromise->cancel()
#1 pmsrc/src/network/mcpe/cache/ChunkCache(186): pocketmine\network\mcpe\cache\ChunkCache->destroyOrRestart(int 3, int -33)
#2 pmsrc/src/world/World(2619): pocketmine\network\mcpe\cache\ChunkCache->onChunkChanged(int 3, int -33, object pocketmine\world\format\Chunk#43743)
#3 pmsrc/src/world/World(3468): pocketmine\world\World->setChunk(int 3, int -33, object pocketmine\world\format\Chunk#43743)
#4 pmsrc/src/world/World(3414): pocketmine\world\World->generateChunkCallback(object pocketmine\world\ChunkLockId#48539, int 3, int -34, object pocketmine\world\format\Chunk#148015, array[2], object anonymous@pmsrc/src/world/World#L3392#48505)
#5 pmsrc/src/world/generator/PopulationTask(156): pocketmine\world\World->pocketmine\world{closure}(object pocketmine\world\format\Chunk#148015, array[2])
#6 pmsrc/src/scheduler/AsyncPool(280): pocketmine\world\generator\PopulationTask->onCompletion()
#7 pmsrc/src/timings/TimingsHandler(321): pocketmine\scheduler\AsyncPool->pocketmine\scheduler{closure}()
#8 pmsrc/src/scheduler/AsyncPool(279): pocketmine\timings\TimingsHandler->time(object Closure#162799)
#9 pmsrc/src/scheduler/AsyncPool(127): pocketmine\scheduler\AsyncPool->collectTasksFromWorker(int 4)
#10 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\scheduler\AsyncPool->pocketmine\scheduler{closure}()
#11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\TimeTrackingSleeperHandler->pocketmine{closure}()
#12 pmsrc/src/TimeTrackingSleeperHandler(77): pocketmine\snooze\SleeperHandler->processNotifications()
#13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()
#14 pmsrc/src/Server(1739): pocketmine\snooze\SleeperHandler->sleepUntil(float 1738158210.8114)
#15 pmsrc/src/Server(1103): pocketmine\Server->tickProcessor()
#16 pmsrc/src/PocketMine(360): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#2, object pocketmine\utils\MainLogger#6, string[16] /home/container/, string[24] /home/container/plugins/)
#17 pmsrc/src/PocketMine(383): pocketmine\server()
#18 pmsrc(170): require(string[72] phar:///tmp/PocketMine-MP-phar-cache.0/PMMP7lW4Us.tar/src/PocketMine.php)
Code:
[83] return $this->result !== null;
[84] }
[85]
[86] public function isCancelled() : bool{
[87] return $this->cancelled;
[88] }
[89]
[90] public function cancel() : void{
[91] if($this->hasResult()){
[92] throw new \LogicException("Cannot cancel a resolved promise");
[93] }
[94] $this->cancelled = true;
[95] }
[96]
[97] private function checkCancelled() : void{
[98] if($this->cancelled){
[99] throw new \InvalidArgumentException("Promise has been cancelled");
[100] }
[101] }
The text was updated successfully, but these errors were encountered: