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

Crashes when enter any command (game 1.9.0.5, Ubuntu 18.04 armhf) #59

Open
magic0whi opened this issue Feb 27, 2019 · 1 comment
Open

Comments

@magic0whi
Copy link

  • OS: Linux bedrock-ubuntu1804 4.20.10-1-ARCH #1 SMP Sat Feb 16 04:29:59 UTC 2019 armv8l armv8l armv8l GNU/Linux
    Send "enter" to console on mcpelauncher-server will result in a core dump.
    The game server itself is working fine.

I entered the command "help" on line 42:

root@bedrock-ubuntu1804:~# mcpelauncher-server -dg ~/.local/share/mcpelauncher/versions/1.9.0.15
03:22:06 Trace [Launcher] Loading Minecraft library
03:22:13 Info  [Launcher] Loaded Minecraft library
03:22:13 Debug [Launcher] Minecraft is at offset 0xf27ba000
03:22:13 Error [MinecraftSymbols] Unresolved symbol: _ZN14ClientInstance16_syncDestroyGameEv
03:22:13 Info  [Launcher] Game version: 1.9.0
03:22:13 Info  [Launcher] Applying patches
03:22:13 Trace [Patch] Patching - original: 16 181 138 176 4
03:22:13 Trace [Patch] Patching - result: 223 248 0 240 153
03:22:13 Trace [Launcher] Initializing AppPlatform (vtable)
03:22:13 Trace [AppPlatform] Vtable size = 256
03:22:13 Trace [Launcher] Initializing AppPlatform (create instance)
03:22:13 Trace [Launcher] Initializing AppPlatform (initialize call)
03:22:13 Trace [AppPlatform] createDeviceID (from file): 794a95ce-9054-4050-acaf-f16edd1ac94d
03:22:13 Trace [Launcher] Loading server properties
03:22:13 Trace [Launcher] Loading whitelist and operator list
03:22:13 Trace [Launcher] Setting up level settings
03:22:13 Trace [Launcher] Initializing FilePathManager
03:22:13 Trace [Launcher] Initializing resource loaders
03:22:13 Trace [Launcher] Initializing MinecraftEventing (create instance)
03:22:13 Trace [Launcher] Initializing MinecraftEventing (init call)
03:22:13 Trace [AppPlatform] getSystemRegion: en_US
03:22:13 Trace [Launcher] Initializing ResourcePackManager
03:22:13 Trace [Launcher] Initializing PackManifestFactory
03:22:13 Trace [Launcher] Initializing SkinPackKeyProvider
03:22:13 Trace [Launcher] Initializing StubKeyProvider
03:22:13 Trace [Launcher] Initializing PackSourceFactory
03:22:13 Trace [Launcher] Initializing ResourcePackRepository
03:22:13 Trace [Launcher] Adding vanilla resource pack
03:22:13 Trace [Launcher] Adding world resource packs
03:22:13 Trace [Launcher] Initializing Automation::AutomationClient
03:22:13 Debug [Launcher] Initializing SaveTransactionManager
03:22:13 Debug [Launcher] Initializing ExternalFileLevelStorageSource
03:22:13 Debug [Launcher] Initializing ServerInstance
03:22:13 Trace [LauncherV8Platform] Vtable size = 17
[MTU] Max MTU Size 1492 bytes
[IPv6] multicast listen on interface 0
03:22:19 Info  [Minecraft] NO LOG FILE! - IPv4 supported, port: 19132
03:22:19 Info  [Minecraft] NO LOG FILE! - IPv6 supported, port: 19133
03:22:19 Trace [Launcher] Loading language data
03:22:19 Info  [Launcher] Server initialized
help
Signal 11 received
Backtrace elements: 2
#0 mcpelauncher-server(_ZN12CrashHandler12handleSignalEiPv+0x85) [0x8d938e]
#1 /lib/arm-linux-gnueabihf/libc.so.6(+0x25750) [0xf7516750]
Dumping stack...
#104 HYBRIS (null)+-159953751 in libminecraftpe.so+0x3fbaca9 [0xf6774ca9]
#207 HYBRIS ServiceLocator<AppPlatform>::mService+0 in libminecraftpe.so+0x4a4d1b0 [0xf72071b0]
#267 HYBRIS operator new(unsigned int)+16 in libminecraftpe.so+0x3f87765 [0xf6741765]
#269 HYBRIS std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<CommandContext*, std::__shared_ptr<CommandContext, (__gnu_cxx::_Lock_policy)2>::_Deleter<std::allocator<CommandContext> >, std::allocator<CommandContext> >(CommandContext*, std::__shared_ptr<CommandContext, (__gnu_cxx::_Lock_policy)2>::_Deleter<std::allocator<CommandContext> >, std::allocator<CommandContext>)+18 in libminecraftpe.so+0x22b8bb7 [0xf4a72bb7]
#275 HYBRIS CommandRegistry::isCommandOfType(std::string const&, CommandTypeFlag) const+44 in libminecraftpe.so+0x229bc35 [0xf4a55c35]
#281 HYBRIS MinecraftCommands::requestCommandExecution(std::unique_ptr<CommandOrigin, std::default_delete<CommandOrigin> >, std::string const&, int, bool) const+0 in libminecraftpe.so+0x22b657d [0xf4a7057d]
#285 HYBRIS MinecraftCommands::requestCommandExecution(std::unique_ptr<CommandOrigin, std::default_delete<CommandOrigin> >, std::string const&, int, bool) const+38 in libminecraftpe.so+0x22b65a3 [0xf4a705a3]
#327 HYBRIS MinecraftCommands::requestCommandExecution(std::unique_ptr<CommandOrigin, std::default_delete<CommandOrigin> >, std::string const&, int, bool) const+0 in libminecraftpe.so+0x22b657d [0xf4a7057d]
#367 HYBRIS (null)+-190248371 in libminecraftpe.so+0x22d6a4d [0xf4a90a4d]
#391 HYBRIS (null)+-159945467 in libminecraftpe.so+0x3fbcd05 [0xf6776d05]
#913 HYBRIS (null)+-159945483 in libminecraftpe.so+0x3fbccf5 [0xf6776cf5]
Aborted (core dumped)
root@bedrock-ubuntu1804:~#
@magic0whi
Copy link
Author

magic0whi commented Mar 2, 2019

There are some information from gdb:

Thread 11 "mcpelauncher-se" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x6dafd410 (LWP 1612)]
0x74185766 in CommandRegistry::findCommand(std::string const&) const () from /home/alarm/.local/share/mcpelauncher/versions/1.9.0.15/libs/libminecraftpe.so
(gdb)
(gdb) bt
#0  0x74185766 in CommandRegistry::findCommand(std::string const&) const () from /home/alarm/.local/share/mcpelauncher/versions/1.9.0.15/libs/libminecraftpe.so
#1  0x74192c54 in CommandRegistry::isCommandOfType(std::string const&, CommandTypeFlag) const () from /home/alarm/.local/share/mcpelauncher/versions/1.9.0.15/libs/libminecraftpe.so
#2  0x741ad5a2 in MinecraftCommands::requestCommandExecution(std::unique_ptr<CommandOrigin, std::default_delete<CommandOrigin> >, std::string const&, int, bool) const ()
   from /home/alarm/.local/share/mcpelauncher/versions/1.9.0.15/libs/libminecraftpe.so
#3  0x004afc64 in MinecraftCommands::requestCommandExecution (this=0x6886c0, p1=std::unique_ptr<CommandOrigin> = {...}, p2=..., p3=4, p4=true) at /home/alarm/mcpelauncher/mcpelauncher/minecraft-symbols/src/minecraft/symbols.cpp:116
#4  0x004770bc in <lambda()>::operator()(void) const (__closure=0x1012ca8) at /home/alarm/mcpelauncher/mcpelauncher/mcpelauncher-server/src/main.cpp:190
#5  0x0047b884 in mcpe::function<void()>::invokerFunc<main(int, char**)::<lambda()> >(const mcpe::function<void()>::AnyValue &) (functor=...) at /home/alarm/mcpelauncher/mcpelauncher/minecraft-symbols/src/minecraft/std/function.h:127
#6  0x741cda4c in ?? () from /home/alarm/.local/share/mcpelauncher/versions/1.9.0.15/libs/libminecraftpe.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

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

1 participant