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

PMMP closes without any error #182

Closed
inxomnyaa opened this issue Dec 20, 2016 · 6 comments
Closed

PMMP closes without any error #182

inxomnyaa opened this issue Dec 20, 2016 · 6 comments
Labels
Category: Core Related to internal functionality Resolution: Invalid

Comments

@inxomnyaa
Copy link
Contributor

Issue description

image

Steps to reproduce the issue

  1. Start pmmp
  2. well, over all it seems like to happen instantly with plugins, and delayed without.

OS and versions

  • PocketMine-MP: i can't execute the command. 'Latest'
  • PHP: 7.0.9
  • Server OS: Windows server 2012 r2 x64

Crashdump, backtrace or other files

  • Nothing. Nothing in log, nothing in debug.
@dktapps dktapps added Category: Core Related to internal functionality Status: Unconfirmed Bug has not yet been reproduced by a maintainer labels Dec 20, 2016
@inxomnyaa
Copy link
Contributor Author


[10:14:28] [Server thread/INFO]: Fertig! (1.775s)! Für Hilfe, tippe "help" oder "?"
[10:14:28] [Server thread/CRITICAL]: Exception: "FORCED" (EXCEPTION) in "/src/pocketmine/Server" at line 1879
[10:14:28] [Server thread/DEBUG]: #0 /src/pocketmine/Server(1600): pocketmine\Server->start(boolean)
[10:14:28] [Server thread/DEBUG]: #1 /src/pocketmine/PocketMine(492): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\Administrator\Desktop\Server\MinecraftPE\WolvesFortressCSphp7\, string C:\Users\Administrator\Desktop\Server\MinecraftPE\WolvesFortressCSphp7\, string C:\Users\Administrator\Desktop\Server\MinecraftPE\WolvesFortressCSphp7\plugins\)
[10:14:28] [Server thread/INFO]: Stopping other threads
[10:14:28] [Server thread/DEBUG]: Stopping Console thread

Added an exception throw in the function 'forceShutdown'

@dktapps
Copy link
Member

dktapps commented Dec 20, 2016

That's a very strange backtrace. Hard to say what could cause that.

@inxomnyaa
Copy link
Contributor Author

Turns out it appeared on the plugin signshop causing an error and somehow shutting down the server

@dktapps dktapps closed this as completed Dec 20, 2016
@dktapps dktapps added Resolution: Invalid and removed Status: Unconfirmed Bug has not yet been reproduced by a maintainer labels Dec 20, 2016
@dktapps
Copy link
Member

dktapps commented Dec 20, 2016

For reference: NikoZazza/SignShop-discontinued-#24

I think this merits plugin permissions if this could be implemented, to prevent plugins abusing things like Server->shutdown() and causing issues like this.

@inxomnyaa
Copy link
Contributor Author

inxomnyaa commented Dec 20, 2016

& removing files outside the plugin folder. You could wipe the whole plugins folder, and maybe also the whole server with just one sneaky plugin

@dktapps
Copy link
Member

dktapps commented Dec 20, 2016

Some quality control is definitely warranted I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Core Related to internal functionality Resolution: Invalid
Projects
None yet
Development

No branches or pull requests

2 participants