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

crash #1890

Closed
nobody5050 opened this issue Jan 6, 2018 · 14 comments
Closed

crash #1890

nobody5050 opened this issue Jan 6, 2018 · 14 comments

Comments

@nobody5050
Copy link

nobody5050 commented Jan 6, 2018

Issue description

crash when no players online

  • Expected result: What were you expecting to happen?
    the server to run
  • Actual result: What actually happened?
    crash

Steps to reproduce the issue

  1. have players online
  2. go gmc
    3.get this error:[13:54:32] [Server thread/CRITICAL]: InvalidArgumentException: "Value 33598 is too large!" (EXCEPTION) in "src/pocketmine/nbt/tag/ShortTag" at line 70
    [13:54:32] [Server thread/DEBUG]: #0 src/pocketmine/nbt/tag/CompoundTag(303): pocketmine\nbt\tag\ShortTag->setValue(integer 33598)
    [13:54:32] [Server thread/DEBUG]: Builtin thread-local object storage for AsyncTask #1 src/pocketmine/nbt/tag/CompoundTag(328): pocketmine\nbt\tag\CompoundTag->setTagValue(string Age, string pocketmine\nbt\tag\ShortTag, integer 33598, boolean )
    [13:54:32] [Server thread/DEBUG]: Better time ticking and sync #2 src/pocketmine/entity/projectile/Projectile(107): pocketmine\nbt\tag\CompoundTag->setShort(string Age, integer 33598)
    [13:54:32] [Server thread/DEBUG]: Use of Utils::getRandomBytes(16) #3 src/pocketmine/level/format/io/region/McRegion(91): pocketmine\entity\projectile\Projectile->saveNBT()
    [13:54:32] [Server thread/DEBUG]: Fixed RawChicken::getAdditionalEffects sometimes returns void #4 src/pocketmine/level/format/io/region/RegionLoader(184): pocketmine\level\format\io\region\McRegion->nbtSerialize(pocketmine\level\format\Chunk object)
    [13:54:32] [Server thread/DEBUG]: Typo fix in fetching timezone from web #5 src/pocketmine/level/format/io/region/McRegion(317): pocketmine\level\format\io\region\RegionLoader->writeChunk(pocketmine\level\format\Chunk object)
    [13:54:32] [Server thread/DEBUG]: Use \pocketmine\Thread::getThreadName() directly instead of doing it manually #6 src/pocketmine/level/Level(1043): pocketmine\level\format\io\region\McRegion->saveChunk(integer 309, integer 295)
    [13:54:32] [Server thread/DEBUG]: Fixed kicked for flying when walking on lily pads #7 src/pocketmine/level/Level(1031): pocketmine\level\Level->saveChunks()
    [13:54:32] [Server thread/DEBUG]: Update IntArrayTag.php #8 src/pocketmine/Server(2422): pocketmine\level\Level->save(boolean )
    [13:54:32] [Server thread/DEBUG]: Imports rearrangement #9 src/pocketmine/Server(2564): pocketmine\Server->doAutoSave()
    [13:54:32] [Server thread/DEBUG]: Fixed some lines indented with 4 spaces rather than tabs #10 src/pocketmine/Server(2274): pocketmine\Server->tick()
    [13:54:32] [Server thread/DEBUG]: PhpStorm automated formatting #11 src/pocketmine/Server(2149): pocketmine\Server->tickProcessor()
    [13:54:32] [Server thread/DEBUG]: Added options to load plugins of incompatible APIs #12 src/pocketmine/Server(1737): pocketmine\Server->start()
    [13:54:32] [Server thread/DEBUG]: Bump to 0.15.10 #13 src/pocketmine/PocketMine(554): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\levib\Desktop\pocketmine, string C:\Users\levib\Desktop\pocketmine\plugins)
    [13:54:32] [Server thread/DEBUG]: Added options to disable saving <player>.dat #14 C:/Users/levib/Desktop/pocketmine/PocketMine-MP.phar(1): require(string phar://C:/Users/levib/Desktop/pocketmine/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    [13:54:32] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
    [13:54:32] [Server thread/EMERGENCY]: Please upload the "C:\Users\levib\Desktop\pocketmine\crashdumps/Sat_Jan_6-13.54.32-CST_2018.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
    [13:54:32] [Server thread/INFO]: Disabling AllSigns v1.0.6
    [13:54:32] [Server thread/INFO]: Disabling CrateUI v1
    [13:54:32] [Server thread/INFO]: [CrateUI] Disabled.
    [13:54:32] [Server thread/INFO]: Disabling EconomyPShop v2.0.2-5
    [13:54:32] [Server thread/INFO]: Disabling EssentialsPE v2.0.0
    [13:54:32] [Server thread/INFO]: Disabling essentialsTP v1.2.0-5
    [13:54:32] [Server thread/INFO]: [essentialsTP] essentialsTP+ Disabled
    [13:54:32] [Server thread/INFO]: Disabling iProtector v3.1.0-8
    [13:54:32] [Server thread/INFO]: Disabling ItemCase v1.2.1-1
    [13:54:32] [Server thread/INFO]: Disabling ItemCloud v1.3.0-2
    [13:54:32] [Server thread/INFO]: Disabling MagicTelePortal v1.3.2-4
    [13:54:32] [Server thread/INFO]: Disabling PiggyCustomEnchants v1.1.0
    [13:54:32] [Server thread/INFO]: Disabling PurePerms v1.4.1-3
    [13:54:32] [Server thread/INFO]: Disabling ShopUI v1.0.1
    [13:54:32] [Server thread/INFO]: Disabling SignPortal v1.1.3-3
    [13:54:32] [Server thread/INFO]: Disabling SimpleAuth v2.1.2-5
    [13:54:32] [Server thread/INFO]: Disabling SimpleAuthHelper v2.0.6-5
    [13:54:32] [Server thread/INFO]: Disabling Slapper v1.3.7
    [13:54:32] [Server thread/INFO]: Disabling VoteReward v3.0.2-4
    [13:54:32] [Server thread/INFO]: Disabling MagicWE v0.2.7
    [13:54:32] [Server thread/INFO]: Disabling Worlds v1.0.13
    [13:54:32] [Server thread/INFO]: Disabling FactionsPro v1.3.11-8
    [13:54:32] [Server thread/INFO]: Opticevolution8 left the game
    [13:54:32] [Server thread/INFO]: Opticevolution8[/70.51.44.157:51587] logged out due to something must have glitched in the sever email nobody5050@gmail.com to tell me
    [13:54:32] [Server thread/INFO]: nobody5050 left the game
    [13:54:32] [Server thread/INFO]: nobody5050[/192.168.0.18:60815] logged out due to something must have glitched in the sever email nobody5050@gmail.com to tell me
    [13:54:32] [Server thread/INFO]: Unloading level "world"
    [13:54:32] [Server thread/INFO]: Unloading level "rein"
    [13:54:32] [Server thread/CRITICAL]: InvalidArgumentException: "Value 33598 is too large!" (EXCEPTION) in "src/pocketmine/nbt/tag/ShortTag" at line 70
    [13:54:32] [Server thread/DEBUG]: #0 src/pocketmine/nbt/tag/CompoundTag(303): pocketmine\nbt\tag\ShortTag->setValue(integer 33598)
    [13:54:32] [Server thread/DEBUG]: Builtin thread-local object storage for AsyncTask #1 src/pocketmine/nbt/tag/CompoundTag(328): pocketmine\nbt\tag\CompoundTag->setTagValue(string Age, string pocketmine\nbt\tag\ShortTag, integer 33598, boolean )
    [13:54:32] [Server thread/DEBUG]: Better time ticking and sync #2 src/pocketmine/entity/projectile/Projectile(107): pocketmine\nbt\tag\CompoundTag->setShort(string Age, integer 33598)
    [13:54:32] [Server thread/DEBUG]: Use of Utils::getRandomBytes(16) #3 src/pocketmine/level/format/io/region/McRegion(91): pocketmine\entity\projectile\Projectile->saveNBT()
    [13:54:32] [Server thread/DEBUG]: Fixed RawChicken::getAdditionalEffects sometimes returns void #4 src/pocketmine/level/format/io/region/RegionLoader(184): pocketmine\level\format\io\region\McRegion->nbtSerialize(pocketmine\level\format\Chunk object)
    [13:54:32] [Server thread/DEBUG]: Typo fix in fetching timezone from web #5 src/pocketmine/level/format/io/region/McRegion(317): pocketmine\level\format\io\region\RegionLoader->writeChunk(pocketmine\level\format\Chunk object)
    [13:54:32] [Server thread/DEBUG]: Use \pocketmine\Thread::getThreadName() directly instead of doing it manually #6 src/pocketmine/level/Level(1043): pocketmine\level\format\io\region\McRegion->saveChunk(integer 309, integer 295)
    [13:54:32] [Server thread/DEBUG]: Fixed kicked for flying when walking on lily pads #7 src/pocketmine/level/Level(1031): pocketmine\level\Level->saveChunks()
    [13:54:32] [Server thread/DEBUG]: Update IntArrayTag.php #8 src/pocketmine/level/Level(448): pocketmine\level\Level->save()
    [13:54:32] [Server thread/DEBUG]: Imports rearrangement #9 src/pocketmine/level/Level(579): pocketmine\level\Level->close()
    [13:54:32] [Server thread/DEBUG]: Fixed some lines indented with 4 spaces rather than tabs #10 src/pocketmine/Server(990): pocketmine\level\Level->unload(boolean 1)
    [13:54:32] [Server thread/DEBUG]: PhpStorm automated formatting #11 src/pocketmine/Server(2068): pocketmine\Server->unloadLevel(pocketmine\level\Level object, boolean 1)
    [13:54:32] [Server thread/DEBUG]: Added options to load plugins of incompatible APIs #12 src/pocketmine/Server(2261): pocketmine\Server->forceShutdown()
    [13:54:32] [Server thread/DEBUG]: Bump to 0.15.10 #13 src/pocketmine/Server(2198): pocketmine\Server->crashDump()
    [13:54:32] [Server thread/DEBUG]: Added options to disable saving <player>.dat #14 src/pocketmine/Server(1739): pocketmine\Server->exceptionHandler(InvalidArgumentException object)
    [13:54:32] [Server thread/DEBUG]: Updated CONTRIBUTING.md #15 src/pocketmine/PocketMine(554): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\levib\Desktop\pocketmine, string C:\Users\levib\Desktop\pocketmine\plugins)
    [13:54:32] [Server thread/DEBUG]: require_once error on startup #16 C:/Users/levib/Desktop/pocketmine/PocketMine-MP.phar(1): require(string phar://C:/Users/levib/Desktop/pocketmine/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    [13:54:32] [Server thread/EMERGENCY]: Crashed while crashing, killing process

OS and versions

  • PocketMine-MP:3.0.0ALPHA10
  • PHP:7.2
  • Server OS: Windows 10 64 bit

Plugins

  • Test on a clean server without plugins: is the issue reproducible without any plugins loaded?
    AllSigns v1.0.6, BuycraftPM v0.5.0-2, CrateUI v1, EconomyAPI v5.7.1-4, EconomyPShop v2.0.2-5, EssentialsPE v2.0.0, essentialsTP v1.2.0-5, iProtector v3.1.0-8, ItemCase v1.2.1-1, ItemCloud v1.3.0-2, MagicTelePortal v1.3.2-4, PiggyCustomEnchants v1.1.0, PurePerms v1.4.1-3, ShopUI v1.0.1, SignPortal v1.1.3-3, SimpleAuth v2.1.2-5, SimpleAuthHelper v2.0.6-5, Slapper v1.3.7, VoteReward v3.0.2-4, MagicWE v0.2.7, Worlds v1.0.13, FactionsPro v1.3.11-8

If the issue is not reproducible without plugins:

  • Have you asked for help on our forums before creating an issue?
  • Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section
  • Paste your list of plugins here (use the 'plugins' command in PocketMine-MP)

Crashdump, backtrace or other files

  • Do not paste crashdumps into an issue - please use our Crash Archive at https://crash.pmmp.io for submitting crash reports to not spam the issue tracker. Add links to your reports in the Crash Archive here.
  • Please use gist or anything else to add other files and add links here
  • ...
@dktapps
Copy link
Member

dktapps commented Jan 6, 2018

Without knowing your PocketMine-MP version, OS, PHP, Client version, or plugins and how the issue occurred, the issue cannot begin to be solved.
A pre-formatted template is provided that shows the required information to begin to find, test and solve an issue.
Until the adequate template and information is provided, the issue will be closed; it may be reopened if you update the ticket with the correct template and required information.

Contribution guidelines

@nobody5050
Copy link
Author

plz reopen now sorry for being unclear before

@eqMFqfFd
Copy link
Contributor

eqMFqfFd commented Jan 7, 2018

@nobody5050 So you are using PHP 2?

@buchwasa
Copy link
Contributor

buchwasa commented Jan 7, 2018

@kenygamer Who doesn’t use PHP 2?

@eqMFqfFd
Copy link
Contributor

eqMFqfFd commented Jan 7, 2018

@DrewD3V PHP 2 is a very outdated version of PHP and is not supported by newest PocketMine versions. Not even when PocketMine was released for the first time, it was PHP 5...

@buchwasa
Copy link
Contributor

buchwasa commented Jan 7, 2018

Maybe I should’ve added /s to emphasize sarcasm...

@eqMFqfFd
Copy link
Contributor

eqMFqfFd commented Jan 7, 2018

I have noticed ;)

@nobody5050
Copy link
Author

PHP 2.0 is what I'm using

@nobody5050 nobody5050 changed the title crash when no players are on crash Jan 7, 2018
@eqMFqfFd
Copy link
Contributor

eqMFqfFd commented Jan 7, 2018

@nobody5050 If you are really using PHP 2.0 then clearly the problem is due to your PHP version.

@nobody5050
Copy link
Author

I updated my PHP binary and it made the server more stable but now when loading new chunks the server crashes

@nasiridrishi
Copy link

This not a personal help center. please go here:- https://forums.pmmp.io/

@nobody5050
Copy link
Author

im reporting a bug where the server crashes loading new chunks

@nasiridrishi
Copy link

Its you world! No idea where you got that from! We are not getting that issue.. + You did not followed issue submitting procedure so its point less to talk here!

@nobody5050
Copy link
Author

I tried to follow what did I do wrong

@pmmp pmmp locked and limited conversation to collaborators Jan 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants