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

[mcpelauncher-server] Segmentation fault when initializing ServerInstance #6

Closed
BenjaminDeuter opened this issue Jul 30, 2018 · 7 comments
Labels
crash The launcher crashes

Comments

@BenjaminDeuter
Copy link

BenjaminDeuter commented Jul 30, 2018

[user@host minecraft] ./mcpelauncher-server
23:29:54 Trace [HybrisUtils] Loaded OS library libm.so.6
23:29:54 Trace [Launcher] Loading Minecraft library
23:29:58 Info [Launcher] Loaded Minecraft library
23:29:58 Debug [Launcher] Minecraft is at offset 0xf3646000
23:29:58 Info [Launcher] Game version: 1.5.2
23:29:58 Info [Launcher] Applying patches
23:29:58 Trace [Patch] Patching - original: 85 83 87 86 131
23:29:58 Trace [Patch] Patching - result: 233 25 145 95 18
23:29:58 Trace [Launcher] Initializing AppPlatform (vtable)
23:29:58 Trace [AppPlatform] Vtable size = 238
23:29:58 Trace [Launcher] Initializing AppPlatform (create instance)
23:29:58 Trace [Launcher] Initializing AppPlatform (initialize call)
23:29:58 Trace [AppPlatform] createDeviceID: 
23:29:58 Trace [Launcher] Loading server properties
23:29:58 Trace [Launcher] Loading whitelist and operator list
23:29:58 Trace [Launcher] Initializing Minecraft API classes
23:29:58 Trace [Launcher] Setting up level settings
23:29:58 Trace [Launcher] Initializing FilePathManager
23:29:58 Trace [AppPlatform] getCurrentStoragePath: /home/user/minecraft/
23:29:58 Trace [Launcher] Initializing resource loaders
23:29:58 Trace [Launcher] Initializing MinecraftEventing (create instance)
23:29:58 Trace [Launcher] Initializing MinecraftEventing (init call)
23:29:58 Trace [AppPlatform] getSystemRegion: 0xdeadbeef
23:29:58 Trace [Launcher] Initializing ResourcePackManager
23:29:58 Trace [Launcher] Initializing PackManifestFactory
23:29:58 Trace [Launcher] Initializing SkinPackKeyProvider
23:29:58 Trace [Launcher] Initializing StubKeyProvider
23:29:58 Trace [Launcher] Initializing PackSourceFactory
23:29:58 Trace [Launcher] Initializing ResourcePackRepository
23:29:58 Trace [AppPlatform] getInternalStoragePath: /home/user/minecraft/
23:29:58 Trace [AppPlatform] getInternalStoragePath: /home/user/minecraft/
23:29:58 Trace [AppPlatform] getInternalStoragePath: /home/user/minecraft/
23:29:58 Trace [AppPlatform] getInternalStoragePath: /home/user/minecraft/
23:29:58 Trace [AppPlatform] getInternalStoragePath: /home/user/minecraft/
23:29:58 Trace [AppPlatform] getInternalStoragePath: /home/user/minecraft/
23:29:58 Trace [AppPlatform] getInternalStoragePath: /home/user/minecraft/
23:29:58 Trace [Launcher] Adding vanilla resource pack
23:29:58 Trace [Launcher] Adding world resource packs
23:29:58 Trace [Launcher] Initializing Automation::AutomationClient
23:29:58 Debug [Launcher] Initializing SaveTransactionManager
23:29:58 Debug [Launcher] Initializing ExternalFileLevelStorageSource
23:29:58 Debug [Launcher] Initializing ServerInstance
[MTU] Max MTU Size 1492 bytes
Signal 11 received
Segmentation fault (core dumped)
[user@host minecraft] 

OS: Fedora Workstation 28 (fully updated)

So I migrated to this repository since the mcpelauncher-linux repo was archived. After installing the necessary dependencies, the software compiles fine. However, I have so far not managed to get the ./mcpelauncher-server binary from this repo to start without crashing.

Thank you very much for maintaining this software!

@RasmusAntons
Copy link

I have the exact same issue on a 32 bit debian vm where I used the commandline exctaction tool. On my 64 bit arch linux pc at home where I used the ui to download the apk everything worked.

@MCMrARM
Copy link
Member

MCMrARM commented Aug 19, 2018

Can you reproduce this on 1.5.1?

@MCMrARM MCMrARM added the crash The launcher crashes label Aug 19, 2018
@RasmusAntons
Copy link

RasmusAntons commented Aug 19, 2018

Can you reproduce this on 1.5.1?

I get pretty much the same output with 1.5.1: pastebin.
But I guess using debian i386 is a bit unusual in 2018, I wouldn't have reported this issue myself because of that.

@MCMrARM
Copy link
Member

MCMrARM commented Aug 19, 2018

This is pretty weird, can you run this with gdb and post the backtrace? (bt in gdb)

@RasmusAntons
Copy link

RasmusAntons commented Aug 19, 2018

I tried, but it does not look very useful...
I tried to get more info but I didn't really find anything. I printed out the values of some of the parameters of the ServerInstance::ServerInstance call but that doesn't seem helpful either, the nil is just because I used %p and the timeout is 0.

@RasmusAntons
Copy link

I have tried it again on a different server and later on the same one from my last post and it worked both times. Either the issue was fixed or I did something wrong last time.

@BenjaminDeuter
Copy link
Author

I tried it again and also cannot reproduce the issue anymore on version 1.6, so I'm closing this.

Thanks!

@ghost ghost mentioned this issue Aug 22, 2019
This was referenced Sep 3, 2019
@RianFC RianFC mentioned this issue Nov 1, 2019
This was referenced Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash The launcher crashes
Projects
None yet
Development

No branches or pull requests

3 participants