Open stsquad opened 3 years ago
It looks like a potential NULL de-reference
No, a NULL de-reference is a SEGFAULT. The string might be to small. I don't have the src code of the game.
I thinks this code throws such an error.
std::string s("test");
s[10] = '6';
Compile the launcher with JNIVM_ENABLE_TRACE=ON
, JNI_USE_JNIVM=ON
and the log will contain Java native interface calls, which might be useful to find the reason.
the backtrace which seems a little free of symbols
1.16.230 have even less symbols.
ResourceLocation::getFullPath
No idea how this method works. I meant only the logged storage path, which fixed localstorage.
Does this also happen with the previous version (launcher)? (Use the appimage, flatpak don't support downgrading)
I ask because I merged this in the last update: https://github.com/minecraft-linux/mcpelauncher-client/pull/19/commits/d195789abdf88ccc56780797be4db06793f92c2b
Flatpak does support downgrading but I ran into problems because it wouldn't run the version I needed due to the server having ticked up (basically trying to keep in sync with the kids on their PS/Android device). I will say the crash is pretty recent - it has been generally stable albeit with the weird graphics glitch and crafting issues. The graphics seem fine on the latest version.
I'm unable to get a working build from source at the moment:
cmake .. -DCMAKE_INSTALL_PREFIX=(pwd)/../install -DJNI_USE_JNIVM=ON -DJNIVM_ENABLE_TRACE=ON -DCMAKE_BUILD_TYPE=Debug
Results in:
10:58:41 [alex@rogue:~/s/mcpelauncher.ng] ng + ./install/bin/mcpelauncher-client
10:58:43 Info [Launcher] Version: client 67b8976 / manifest f02700d
10:58:43 Info [Launcher] CPU: GenuineIntel Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
10:58:43 Info [Launcher] CPU supports SSSE3: YES
10:58:43 Trace [Launcher] Loading hybris libraries
10:58:43 Trace [REDIRECT] /data/data/com.mojang.minecraftpe to /home/alex/.local/share/mcpelauncher/
10:58:43 Trace [REDIRECT] /data/data/home/alex/src/mcpelauncher.ng/install/proc/187971/cmdline to /home/alex/.local/share/mcpelauncher/
10:58:43 Trace [REDIRECT] /data/data/./install/bin/mcpelauncher-client to /home/alex/.local/share/mcpelauncher/
10:58:43 Trace [REDIRECT] /data/data to /home/alex/.local/share/mcpelauncher/
10:58:43 Trace [HybrisUtils] Loaded OS library libm.so.6
10:58:43 Trace [HybrisUtils] Loaded OS library libz.so.1
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to find data file: lib/x86_64
Signal 6 received
Backtrace elements: #0 ./install/bin/mcpelauncher-client(_ZN12CrashHandler12handleSignalEiPv+0xfc) [0xc46ffc]
#1 /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7fee0bb5c3c0]
#2 /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb) [0x7fee0b47218b]
#3 /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b) [0x7fee0b451859]
#4 /lib/x86_64-linux-gnu/libstdc++.so.6(+0x9e951) [0x7fee0b828951]
#5 /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa47c) [0x7fee0b83447c]
#6 /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa4e7) [0x7fee0b8344e7]
#7 /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa799) [0x7fee0b834799]
#8 ./install/bin/mcpelauncher-client(_ZN10PathHelper12findDataFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x85c) [0xcbcb1c]
#9 ./install/bin/mcpelauncher-client(_ZN10PathHelper12findGameFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x71) [0xa52d61]
#10 ./install/bin/mcpelauncher-client(main+0x1cfb) [0xa5056b]
#11 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fee0b4530b3]
#12 ./install/bin/mcpelauncher-client(_start+0x2e) [0xa4e45e]
Dumping stack...
fish: “./install/bin/mcpelauncher-clie…” terminated by signal SIGABRT (Abort)
EDIT TO ADD hmm should it not be an i386 binary? Or is the upstream client a full 64 bit one now?
should it not be an i386 binary
No, only for 32bit only systems or cross compilations. Ng is since almost a year 64bit compatible like the game itself. MCmrarm and I replaced old 32bit only code with new code last year.
You can just use the versions folder of the flatpak, "open game data" will open the folder. The flatpak was allways true 64bit.
Use -dg path/to/1.16.220.*/
Maybe the launcher should show help if the game isn't in the current working directory, I kept it as it was...
Well that runs although weirdly I can't login to my Xbox account (Errorcode: Drowned) in that mode and hence I can't test the same setup. I'll see if I can cause a crash with standalone.
Do sudo make install
then the launcher finds the login window provider.
Drowed = webview returned error, isn't found etc. Mojang has crazy error codes.
sigh now I get Errorcode:Crossbow, any idea what that is? Where is the webview launched from? Maybe I can debug it from there.
You have the qt5-qml-webengine module installed? It is a common error while building from source. This command should start it if it is installed, should open google
mcpelauncher-webview http://google.com xal://nowhere
The following code opens it https://github.com/minecraft-linux/mcpelauncher-client/blob/master/src/xal_webview_qt.cpp
There is also a cli version to login, if you change some cmake flags.
Here is the crash with debug turned on:
19:54:45 Debug [JNIVM] Call Member Function Class=`com/xbox/httpclient/HttpClientRequest` Method=`setHttpMethodAndBody` Signature=`(Ljava/lang/String;Ljava/lang/String;[B)V`
19:54:45 Debug [JNIVM] Found symbol, Class=`com/xbox/httpclient/HttpClientRequest`, Method=`doRequestAsync`, Signature=`(J)V`
19:54:45 Debug [JNIVM] InternalFindClass com/xbox/httpclient/HttpClientRequest
19:54:45 Debug [JNIVM] Call Member Function Class=`com/xbox/httpclient/HttpClientRequest` Method=`doRequestAsync` Signature=`(J)V`
19:54:45 Debug [JNIVM] InternalFindClass com/mojang/minecraftpe/MainActivity
19:54:45 Debug [JNIVM] Invoked Unknown Member Function Class=`com/mojang/minecraftpe/MainActivity` Method=`tick` Signature=`()V`
19:54:45 Debug [JNIVM] InternalFindClass com/mojang/minecraftpe/MainActivity
19:54:45 Debug [JNIVM] Call Member Function Class=`com/mojang/minecraftpe/MainActivity` Method=`getCursorPosition` Signature=`()I`
19:54:45 Trace [AAssetManager] AAssetManager_open /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02//assets/resource_packs/vanilla/textures/entity/trident_riptide.png
19:54:45 Trace [AAssetManager] AAssetManager_open /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02//assets/resource_packs/vanilla/textures/entity/endercrystal/endercrystal.png
19:54:45 Debug [JNIVM] InternalFindClass com/mojang/minecraftpe/MainActivity
19:54:45 Debug [JNIVM] Invoked Unknown Member Function Class=`com/mojang/minecraftpe/MainActivity` Method=`tick` Signature=`()V`
19:54:45 Debug [JNIVM] InternalFindClass com/mojang/minecraftpe/MainActivity
19:54:45 Debug [JNIVM] Call Member Function Class=`com/mojang/minecraftpe/MainActivity` Method=`getCursorPosition` Signature=`()I`
terminating with uncaught exception of type std::length_error
abort message: terminating with uncaught exception of type std::length_error
Signal 6 received
Backtrace elements: 5
#0 ./install/bin/mcpelauncher-client(_ZN12CrashHandler12handleSignalEiPv+0xfc) [0xc46ffc]
#1 /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7f22166963c0]
#2 /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb) [0x7f2215fac18b]
#3 /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b) [0x7f2215f8b859]
#4 HYBRIS (null)+0x7f220c62508c in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xa508c [0x0x7f220c62508c]
Dumping stack...
#15 HYBRIS (null)+0x7f220c64322d in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xc322d [0x0x7f220c64322d]
#48 HYBRIS (null)+0x7f220c6431fd in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xc31fd [0x0x7f220c6431fd]
#289 HYBRIS (null)+0x7f220c62508c in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xa508c [0x0x7f220c62508c]
#290 HYBRIS (null)+0x7f220c63dcc0 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xbdcc0 [0x0x7f220c63dcc0]
#299 HYBRIS typeinfo for std::length_error+(nil) in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8df9f80 [0x0x7f21f7cf9f80]
#300 HYBRIS typeinfo for __cxxabiv1::__shim_type_info+(nil) in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xeecd8 [0x0x7f220c66ecd8]
#301 HYBRIS (null)+0x7f220c643288 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xc3288 [0x0x7f220c643288]
#304 HYBRIS typeinfo for std::exception+(nil) in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xef888 [0x0x7f220c66f888]
#309 HYBRIS typeinfo for std::exception+(nil) in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xef888 [0x0x7f220c66f888]
#311 HYBRIS (null)+0x7f220c63ce0a in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xbce0a [0x0x7f220c63ce0a]
#313 HYBRIS typeinfo for std::length_error+(nil) in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8df9f80 [0x0x7f21f7cf9f80]
#315 HYBRIS typeinfo for std::exception+(nil) in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xef888 [0x0x7f220c66f888]
#322 HYBRIS typeinfo for std::length_error+(nil) in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8df9f80 [0x0x7f21f7cf9f80]
#326 HYBRIS typeinfo for std::length_error+(nil) in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8df9f80 [0x0x7f21f7cf9f80]
#327 HYBRIS (null)+0x7f220c625266 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xa5266 [0x0x7f220c625266]
#348 HYBRIS typeinfo for std::length_error+(nil) in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8df9f80 [0x0x7f21f7cf9f80]
#349 HYBRIS (null)+0x7f220c64023d in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xc023d [0x0x7f220c64023d]
#369 HYBRIS (null)+0x64 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xba614 [0x0x7f220c63a614]
#373 HYBRIS (null)+0x7f220c6401e2 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xc01e2 [0x0x7f220c6401e2]
#403 HYBRIS (null)+0x7f21f0e55480 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x1f55480 [0x0x7f21f0e55480]
#456 HYBRIS (null)+0x7f220c63ac30 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xbac30 [0x0x7f220c63ac30]
#459 HYBRIS (null)+0x23 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xbab83 [0x0x7f220c63ab83]
#463 HYBRIS (null)+0x7f220c63afa3 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xbafa3 [0x0x7f220c63afa3]
#465 HYBRIS (null)+0x7f220c63a6a6 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xba6a6 [0x0x7f220c63a6a6]
#467 HYBRIS (null)+0x7f220c63a61c in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xba61c [0x0x7f220c63a61c]
#468 HYBRIS vtable for std::length_error+0x10 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libc++_shared.so+0x0xefa00 [0x0x7f220c66fa00]
#471 HYBRIS (null)+0x7f21f5dfa09d in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x6efa09d [0x0x7f21f5dfa09d]
#473 HYBRIS (null)+0x7f21f0748bc5 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x1848bc5 [0x0x7f21f0748bc5]
#477 HYBRIS (null)+0x7f21f20e5cd7 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x31e5cd7 [0x0x7f21f20e5cd7]
#483 HYBRIS (null)+0x7f21f075138d in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x185138d [0x0x7f21f075138d]
#487 HYBRIS (null)+0x7f21f1a6b0c8 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x2b6b0c8 [0x0x7f21f1a6b0c8]
#488 HYBRIS (null)+0x7f21f7db2238 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8eb2238 [0x0x7f21f7db2238]
#499 HYBRIS (null)+0x7f21f1a6ba00 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x2b6ba00 [0x0x7f21f1a6ba00]
#507 HYBRIS (null)+0x7f21f1615a42 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x2715a42 [0x0x7f21f1615a42]
#519 HYBRIS (null)+0x7f21f15fd7f2 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x26fd7f2 [0x0x7f21f15fd7f2]
#525 HYBRIS (null)+0x7f21f15fcff9 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x26fcff9 [0x0x7f21f15fcff9]
#533 HYBRIS (null)+0x7f21f7db2238 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8eb2238 [0x0x7f21f7db2238]
#535 HYBRIS (null)+0x7f21f15fea9d in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x26fea9d [0x0x7f21f15fea9d]
#541 HYBRIS (null)+0x7f21f12ea415 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x23ea415 [0x0x7f21f12ea415]
#555 HYBRIS (null)+0x7f21f15fe50d in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x26fe50d [0x0x7f21f15fe50d]
#565 HYBRIS (null)+0x7f21f2aff468 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x3bff468 [0x0x7f21f2aff468]
#569 HYBRIS (null)+0x7f21f296840d in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x3a6840d [0x0x7f21f296840d]
#571 HYBRIS (null)+0x7f21f210e2aa in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x320e2aa [0x0x7f21f210e2aa]
#572 HYBRIS (null)+0x7f21f79caa50 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8acaa50 [0x0x7f21f79caa50]
#581 HYBRIS (null)+0x7f21f210e4ec in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x320e4ec [0x0x7f21f210e4ec]
#583 HYBRIS (null)+0x7f21f20ef7b7 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x31ef7b7 [0x0x7f21f20ef7b7]
#587 HYBRIS (null)+0x7f21f20e6cdd in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x31e6cdd [0x0x7f21f20e6cdd]
#589 HYBRIS mce::TextureBase::TextureBase(mce::TextureBase&&)+0x9d in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x6362fad [0x0x7f21f5262fad]
#591 HYBRIS (null)+0x7f21f7ebe720 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8fbe720 [0x0x7f21f7ebe720]
#598 HYBRIS (null)+0x7f21f7a3cce8 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8b3cce8 [0x0x7f21f7a3cce8]
#601 HYBRIS mce::CreateTextureFromUnownedContainerTransaction::apply(mce::ResourcePointer<nonstd::variants::variant<nonstd::variants::monostate, mce::Texture, dragon::res::ClientTexture, nonstd::variants::detail::TX<nonstd::variants::detail::S3>, nonstd::variants::detail::TX<nonstd::variants::detail::S4>, nonstd::variants::detail::TX<nonstd::variants::detail::S5>, nonstd::variants::detail::TX<nonstd::variants::detail::S6>, nonstd::variants::detail::TX<nonstd::variants::detail::S7>, nonstd::variants::detail::TX<nonstd::variants::detail::S8>, nonstd::variants::detail::TX<nonstd::variants::detail::S9>, nonstd::variants::detail::TX<nonstd::variants::detail::S10>, nonstd::variants::detail::TX<nonstd::variants::detail::S11>, nonstd::variants::detail::TX<nonstd::variants::detail::S12>, nonstd::variants::detail::TX<nonstd::variants::detail::S13>, nonstd::variants::detail::TX<nonstd::variants::detail::S14>, nonstd::variants::detail::TX<nonstd::variants::detail::S15> >, mce::ResourceBlockTemplate<nonstd::variants::variant<nonstd::variants::monostate, mce::Texture, dragon::res::ClientTexture, nonstd::variants::detail::TX<nonstd::variants::detail::S3>, nonstd::variants::detail::TX<nonstd::variants::detail::S4>, nonstd::variants::detail::TX<nonstd::variants::detail::S5>, nonstd::variants::detail::TX<nonstd::variants::detail::S6>, nonstd::variants::detail::TX<nonstd::variants::detail::S7>, nonstd::variants::detail::TX<nonstd::variants::detail::S8>, nonstd::variants::detail::TX<nonstd::variants::detail::S9>, nonstd::variants::detail::TX<nonstd::variants::detail::S10>, nonstd::variants::detail::TX<nonstd::variants::detail::S11>, nonstd::variants::detail::TX<nonstd::variants::detail::S12>, nonstd::variants::detail::TX<nonstd::variants::detail::S13>, nonstd::variants::detail::TX<nonstd::variants::detail::S14>, nonstd::variants::detail::TX<nonstd::variants::detail::S15> >, mce::PerFrameHandleTracker, mce::ResourceServiceTextureDescription>, std::__ndk1::shared_ptr> const&, mce::TextureResourceServiceContext&)+0x207 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x6341a07 [0x0x7f21f5241a07]
#604 HYBRIS (null)+0x7f21f7a3cc68 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8b3cc68 [0x0x7f21f7a3cc68]
#610 HYBRIS (null)+0x7f21f7a3cbe8 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8b3cbe8 [0x0x7f21f7a3cbe8]
#613 HYBRIS (null)+0x7f21f7e4acc0 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8f4acc0 [0x0x7f21f7e4acc0]
#629 HYBRIS (null)+0x7f21f2afed3f in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x3bfed3f [0x0x7f21f2afed3f]
#645 HYBRIS (null)+0x7f21f1a08389 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x2b08389 [0x0x7f21f1a08389]
#658 HYBRIS (null)+0x7f21f7e4acc0 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8f4acc0 [0x0x7f21f7e4acc0]
#671 HYBRIS (null)+0x7f21f26ee703 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x37ee703 [0x0x7f21f26ee703]
#729 HYBRIS getTimeS()+0xf in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x645c03f [0x0x7f21f535c03f]
#739 HYBRIS operator delete(void*)+0x15 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x653d125 [0x0x7f21f543d125]
#741 HYBRIS GameControllerMapper::tick(InputEventQueue&, ControllerIDtoClientMap&)+0x328 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x6188998 [0x0x7f21f5088998]
#747 HYBRIS (null)+0x7f21f2951924 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x3a51924 [0x0x7f21f2951924]
#760 HYBRIS (null)+0x7f21f7e39798 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8f39798 [0x0x7f21f7e39798]
#761 HYBRIS (null)+0x7f21f293ef5b in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x3a3ef5b [0x0x7f21f293ef5b]
#775 HYBRIS (null)+0x7f21f7e395f8 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8f395f8 [0x0x7f21f7e395f8]
#777 HYBRIS (null)+0x7f21f7e395f8 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8f395f8 [0x0x7f21f7e395f8]
#797 HYBRIS (null)+0x7f21f7efc960 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8ffc960 [0x0x7f21f7efc960]
#810 HYBRIS (null)+0x7f21f7efbb60 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8ffbb60 [0x0x7f21f7efbb60]
#811 HYBRIS getTimeS()+0xf in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x645c03f [0x0x7f21f535c03f]
#817 HYBRIS (null)+0x7f21f0e83ba6 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x1f83ba6 [0x0x7f21f0e83ba6]
#829 HYBRIS (null)+0x7f21f27a8fc6 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x38a8fc6 [0x0x7f21f27a8fc6]
#830 HYBRIS (null)+0x7f21f7efc960 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8ffc960 [0x0x7f21f7efc960]
#835 HYBRIS (null)+0x7f21f7efc948 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8ffc948 [0x0x7f21f7efc948]
#845 HYBRIS (null)+0x7f21f274068e in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x384068e [0x0x7f21f274068e]
#868 HYBRIS (null)+0x7f21f7efbb60 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8ffbb60 [0x0x7f21f7efbb60]
#886 HYBRIS (null)+0x7f21f7aa5720 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8ba5720 [0x0x7f21f7aa5720]
#898 HYBRIS (null)+0x7f21f7aa5620 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8ba5620 [0x0x7f21f7aa5620]
#904 HYBRIS (null)+0x7f21f7aa5520 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8ba5520 [0x0x7f21f7aa5520]
#910 HYBRIS (null)+0x7f21f7aa54a0 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8ba54a0 [0x0x7f21f7aa54a0]
#919 HYBRIS (null)+0x7f21f7dc96f8 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8ec96f8 [0x0x7f21f7dc96f8]
#923 HYBRIS (null)+0x7f21f0e109ba in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x1f109ba [0x0x7f21f0e109ba]
#925 HYBRIS (null)+0x7f21f78d8c01 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x89d8c01 [0x0x7f21f78d8c01]
#940 HYBRIS (null)+0x7f21f78d8c90 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x89d8c90 [0x0x7f21f78d8c90]
#946 HYBRIS (null)+0x7f21f7ad7de8 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x8bd7de8 [0x0x7f21f7ad7de8]
#954 HYBRIS (null)+0x7f21f78d8b90 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x89d8b90 [0x0x7f21f78d8b90]
#967 HYBRIS (null)+0x7f21f0e5557c in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x1f5557c [0x0x7f21f0e5557c]
#977 HYBRIS (null)+0x7f21f0e55480 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x1f55480 [0x0x7f21f0e55480]
#984 HYBRIS (null)+0x7f21f0e55480 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x0x1f55480 [0x0x7f21f0e55480]
#992 HYBRIS (null)+0x7f21eef00000 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x(nil) [0x0x7f21eef00000]
#993 HYBRIS (null)+0x7f21eef00000 in /home/alex/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.16.220.02/lib/x86_64/libminecraftpe.so+0x(nil) [0x0x7f21eef00000]
fish: “./install/bin/mcpelauncher-clie…” terminated by signal SIGABRT (Abort)
Hmm the log doesn't show any method which needs to be implemented. It connect via http(s) to microsoft which might cause problems, but I need to reproduce the crash or I'm unable to fix it.
as soon as I try to connect
Do you play on a server, realm, local multiplayer or featured server?
I don't have a realm so I cannot test such thing.
I only tested single player (short timespan).
The connection is fine and I can get onto a local bedrock server (running on my synology (https://hub.docker.com/r/marctv/minecraft-bedrock-server). The crash occurs either straight away or after playing for some time. It's a little random how long it takes to crash but I often can re-start and re-connect and then play for 15 minutes before boom! fails again.
I do not seeing getTimes() in there I wonder if there is a periodic check that fails. I'll have to start noting the crash times.
I can confirm this crash. Gdb gives me even after adding the few symbols still in the game only an address backtrace without names.
It is also possible that mojang make the game even worse on intel, I have absolutly no idea what to do about this.
I've been playing with this a while now and not had any crashes recently. Could this problem have gone away with the latest releases?
OK I've done some data collection and I think I've identified a possible reproducer. Generally the crash seems to occur when then player is in a liquid (water/lava) and often while mining/placing blocks. The eventual manifestation is the map data on the server gets corrupted with the player having an invalid rotation (NaN) and then all following server connections fail on any client (via mcpelauncher or native on Android/PS4). So there are two bugs.
Obviously the first I need to report as a bug in Minecraft. However I wonder if there is anything we can do to track the second problem down? How many of the stubbed library functions return floating point numbers? Could we enable a debug check for isnan on those results and see if we can identify when that occurs?
The upstream bug has already been raised: https://bugs.mojang.com/browse/MCPE-133581
This crash sometimes occurs as soon as I try to connect or at some random point while playing. It looks like a potential NULL de-reference (terminating with uncaught exception of type std::length_error) but I'm finding it a little unclear trying to follow the backtrace which seems a little free of symbols:
I wonder if the:
alludes to the data location problems you mentioned in #48?