Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Server crashes when new chunks need to be generated #2308

Closed
peepzandmeepz opened this issue Nov 18, 2014 · 6 comments
Closed

Server crashes when new chunks need to be generated #2308

peepzandmeepz opened this issue Nov 18, 2014 · 6 comments

Comments

@peepzandmeepz
Copy link

Happens whenever a player travels far out in the world forcing new chunks to generate. The world was completely generated by Pocketmine.

http://crash.pocketmine.net/view/121275

@peepzandmeepz
Copy link
Author

Found out this crash only happens when a player logs off the server in one of these newly generated chunks.

@ramijames
Copy link

I may be encountering this. When I'm the last user to log off, the server crashes. It takes down the entire droplet (digital ocean).

@shoghicp
Copy link
Member

@ramijames Try using screen

@ramijames
Copy link

Can you explain?

On Wednesday, December 10, 2014, Shoghi Cervantes [email protected]
wrote:

@ramijames https://github.com/ramijames Try using screen


Reply to this email directly or view it on GitHub
#2308 (comment)
.


*Rami James http://www.uboodu.com | *[email protected] | +972 58 4192939

@StephanToGo
Copy link

same here

PocketMine-MP Crash Dump Wed Dec 10 16:18:17 UTC 2014

Error: Call to a member function getLevel() on null
File: /src/pocketmine/event/level/ChunkEvent
Line: 37
Type: E_ERROR

Code:
[28]
[29] abstract class ChunkEvent extends LevelEvent{
[30] /* @var FullChunk /
[31] private $chunk;
[32]
[33] /

[34] * @param FullChunk $chunk
[35] /
[36] public function __construct(FullChunk $chunk){
[37] parent::__construct($chunk->getProvider()->getLevel());
[38] $this->chunk = $chunk;
[39] }
[40]
[41] /
*
[42] * @return FullChunk
[43] */
[44] public function getChunk(){
[45] return $this->chunk;
[46] }
[47] }

Backtrace:

PocketMine-MP version: Alpha_1.4dev #840 [Protocol 20; API 1.7.1]

but dont know how its happend

PS its the same with newer or older dev builds

@ramijames
Copy link

Screen seems to do the trick. Thanks for that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants