MCMrARM / mcpelauncher-linux

Please note this is a legacy repository, please go to: https://github.com/minecraft-linux/mcpelauncher-manifest/wiki
GNU General Public License v3.0
311 stars 44 forks source link

[client] Crash at startup when logged in to Xbox Live but no internet is there #351

Closed NyaomiDEV closed 6 years ago

NyaomiDEV commented 6 years ago

When there's no connection or faulty connection, at startup, this happens:

16:52:39 Trace [MSANetwork] Reply: 
terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to get the root node
Signal 6 received
Backtrace elements: 14
#0 /usr/local/share/mcpelauncher/bin/mcpelauncher(_Z12handleSignaliPv+0x62) [0x82ccaa5]
#1 [0xf7f2bde0]
#2 [0xf7f2bdc9]
#3 /lib/i386-linux-gnu/libc.so.6(gsignal+0x39) [0xefc7dea9]
#4 /lib/i386-linux-gnu/libc.so.6(abort+0x157) [0xefc7f407]
#5 /usr/lib/i386-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x132) [0xefeef1f2]
#6 /usr/lib/i386-linux-gnu/libstdc++.so.6(+0x72874) [0xefeec874]
#7 /usr/lib/i386-linux-gnu/libstdc++.so.6(+0x728ed) [0xefeec8ed]
#8 /usr/lib/i386-linux-gnu/libstdc++.so.6(+0x72bfc) [0xefeecbfc]
#9 /usr/local/share/mcpelauncher/bin/mcpelauncher(_ZN10MSANetwork13requestTokensESt10shared_ptrI14MSALegacyTokenES2_RKSt6vectorI16MSASecurityScopeSaIS4_EE+0xce5) [0x82f8c2f]
#10 /usr/local/share/mcpelauncher/bin/mcpelauncher(_ZN10MSAAccount13requestTokensERKSt6vectorI16MSASecurityScopeSaIS1_EE+0x327) [0x82f0ac5]
#11 /usr/local/share/mcpelauncher/bin/mcpelauncher(_Z22xboxInitSignInActivityPvi+0x1aa) [0x82e21ca]
#12 HYBRIS xbox::services::system::user_auth_android::msa_sign_in()+170 in libminecraftpe.so+0x27b083a [0xeca1883a]
#13 [0xa289960]
Dumping stack...
#27 HYBRIS xbox::services::system::user_auth_android::msa_sign_in()+170 in libminecraftpe.so+0x27b083a [0xeca1883a]
#249 HYBRIS MinecraftEventing::fireEventStoreOfferClicked(int, int, std::string const&, std::string const&)+290 in libminecraftpe.so+0x1aa1e12 [0xebd09e12]
#254 HYBRIS MinecraftEventing::fireEventStoreOfferClicked(int, int, std::string const&, std::string const&)+290 in libminecraftpe.so+0x1aa1e12 [0xebd09e12]
Signal 6 received

Xubuntu 16.04 on Intel Pentium E5300 w/ Nvidia 9400 GT Reproduced on my laptop as well

One day I will stop reporting bugs but that day hasn't arrived (yet)

MCMrARM commented 6 years ago

This one is interesting, as this one is within my code. However, I have no idea what can be the cause - my basic idea would be that you have a really shitty internet connection and can't reach out Microsoft's servers at random.

NyaomiDEV commented 6 years ago

@MCMrARM it happens everytime there's no internet connection. Reproduced from my laptop.

NyaomiDEV commented 6 years ago

It should be fixed with this commit