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

Crash on Google Sign-in (AppImage) #60

Closed
jess-sch opened this issue Mar 1, 2019 · 10 comments
Closed

Crash on Google Sign-in (AppImage) #60

jess-sch opened this issue Mar 1, 2019 · 10 comments
Labels
bug Something isn't working

Comments

@jess-sch
Copy link

jess-sch commented Mar 1, 2019

qrc:/qml/ThemedControls/PlayButton.qml:8:30: Unable to assign null to QString
Version list loaded, entry count: 69
[4470:4500:0301/191558.594456:ERROR:nss_util.cc(712)] Error initializing NSS with a persistent database (sql:/home/lumi/.pki/nssdb): NSS error code: -8023
[4470:4500:0301/191558.594585:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -8023
[4470:4500:0301/191558.594600:FATAL:nss_util.cc(203)] nss_error=-8023, os_error=0
#0 0x7fc84a20516e <unknown>
#1 0x7fc84a2178ae <unknown>
#2 0x7fc84a9d42da <unknown>
#3 0x7fc84a9d46e0 <unknown>
#4 0x7fc84a902dc5 <unknown>
#5 0x7fc84a7ef7e7 <unknown>
#6 0x7fc84a7baad7 <unknown>
#7 0x7fc84995189a <unknown>
#8 0x7fc849952e06 <unknown>
#9 0x7fc849954dd7 <unknown>
#10 0x7fc849b2d857 <unknown>
#11 0x7fc849e640b0 <unknown>
#12 0x7fc84a27ac59 <unknown>
#13 0x7fc84a21fff0 <unknown>
#14 0x7fc84a221cbd <unknown>
#15 0x7fc84a222178 <unknown>
#16 0x7fc84a223610 <unknown>
#17 0x7fc84a21f095 <unknown>
#18 0x7fc84a23bbba <unknown>
#19 0x7fc849b66a68 <unknown>
#20 0x7fc849b66c4b <unknown>
#21 0x7fc84a253890 <unknown>
#22 0x7fc84a24f96d <unknown>
#23 0x7fc8470bc58e start_thread
#24 0x7fc846cb46a3 __GI___clone

[1:1:0100/000000.419344:ERROR:broker_posix.cc(41)] Invalid node channel message
[1]    4470 abort (core dumped)  ./minecraft-bedrock-launcher.AppImage
@Conanzhou
Copy link

qml: Failed to load news
terminate called after throwing an instance of 'std::runtime_error'
what(): No auth cookie field returned
Received signal 6
#0 0x7fac1dcc2e0e
#1 0x7fac1dcbffc3
#2 0x7fac1dcc2d85
#3 0x7fac1b1773c0
#4 0x7fac1acaad7f __GI_raise
#5 0x7fac1ac95672 __GI_abort
#6 0x7fac1b05f58e __gnu_cxx::__verbose_terminate_handler()
#7 0x7fac1b065dfa __cxxabiv1::__terminate()
#8 0x7fac1b065e57 std::terminate()
#9 0x7fac1b0660ac __cxa_throw
#10 0x5622f2e7eb0b
#11 0x5622f2eb835e
#12 0x5622f2eb8730 std::_Function_handler<>::_M_invoke()
#13 0x5622f2eb8e5f _ZN7playapi11merged_taskINS_13http_responseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJEE4callEv
#14 0x5622f2eb8f04 _ZN7playapi11merged_taskINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEvJEE4callEv
#15 0x5622f2e8f927 GoogleLoginHelper::onLoginFinished()
#16 0x7fac2263c980 QMetaObject::activate()
#17 0x7fac231d248f QDialog::finished()
#18 0x5622f2eaf78d GoogleLoginWindow::onUrlChanged()
#19 0x7fac2263c980 QMetaObject::activate()
#20 0x7fac22381a26 QWebEngineView::urlChanged()
#21 0x7fac2263c980 QMetaObject::activate()
#22 0x7fac22370ec6 QWebEnginePage::urlChanged()
#23 0x7fac22370f45
#24 0x7fac1c19765d
#25 0x7fac1da68160
#26 0x7fac1d7657d8
#27 0x7fac1d768cca
#28 0x7fac1d783427
#29 0x7fac1d7aad10
#30 0x7fac1d7ab4f3
#31 0x7fac1c54df4a
#32 0x7fac1df443ed
#33 0x7fac1e299781
#34 0x7fac1e299b2e
#35 0x7fac1dc2a9e0
#36 0x7fac1dc49d09
#37 0x7fac1dc4ab34
#38 0x7fac1dc4af68
#39 0x7fac1c117ef5
#40 0x7fac2263d0bb QObject::event()
#41 0x7fac22fdae24 QApplicationPrivate::notify_helper()
#42 0x7fac22fe25f1 QApplication::notify()
#43 0x7fac22611df9 QCoreApplication::notifyInternal2()
#44 0x7fac22614ee8 QCoreApplicationPrivate::sendPostedEvents()
#45 0x7fac226686c4
#46 0x7fac1a0a47bf g_main_context_dispatch
#47 0x7fac1a0a6739
#48 0x7fac1a0a677e g_main_context_iteration
#49 0x7fac22667c99 QEventDispatcherGlib::processEvents()
#50 0x7fac22610a8c QEventLoop::exec()
#51 0x7fac22618de6 QCoreApplication::exec()
#52 0x5622f2e85e5d main
#53 0x7fac1ac97223 __libc_start_main
#54 0x5622f2e867ae _start
r8: 0000000000000000 r9: 00007ffc2d7974b0 r10: 0000000000000008 r11: 0000000000000246
r12: 00005622fb804420 r13: 00007ffc2d7977f0 r14: 00007ffc2d797a80 r15: 00007ffc2d797a68
di: 0000000000000002 si: 00007ffc2d7974b0 bp: 00007fac1ae326a0 bx: 0000000000000006
dx: 0000000000000000 ax: 0000000000000000 cx: 00007fac1acaad7f sp: 00007ffc2d7974b0
ip: 00007fac1acaad7f efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

@fazo96
Copy link

fazo96 commented Apr 14, 2019

Same problem. Works by installing using instructions for arch linux but the AppImage crashes when clicking sign in with google

@0A0X
Copy link

0A0X commented Apr 15, 2019

Same here, launcher crashes when clicking on the sign in button.

edit:
Void Linux -

./Minecraft_Bedrock_Launcher.AppImage
qrc:/qml/ThemedControls/PlayButton.qml:8:30: Unable to assign null to QString
Version list loaded, entry count: 76
[10922:10958:0415/125136.409805:ERROR:nss_util.cc(712)] Error initializing NSS with a persistent database (sql:/home/rico/.pki/nssdb): NSS error code: -8023
[10922:10958:0415/125136.409897:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -8023
[10922:10958:0415/125136.409905:FATAL:nss_util.cc(203)] nss_error=-8023, os_error=0
#0 0x7ff4c9e0816e
#1 0x7ff4c9e1a8ae
#2 0x7ff4ca5d72da
#3 0x7ff4ca5d76e0
#4 0x7ff4ca505dc5
#5 0x7ff4ca3f27e7
#6 0x7ff4ca3bdad7
#7 0x7ff4c955489a
#8 0x7ff4c9555e06
#9 0x7ff4c9557dd7
#10 0x7ff4c9730857
#11 0x7ff4c9a670b0
#12 0x7ff4c9e7dc59
#13 0x7ff4c9e22ff0
#14 0x7ff4c9e24cbd
#15 0x7ff4c9e25178
#16 0x7ff4c9e26610
#17 0x7ff4c9e22095
#18 0x7ff4c9e3ebba
#19 0x7ff4c9769a68
#20 0x7ff4c9769c4b
#21 0x7ff4c9e56890
#22 0x7ff4c9e5296d
#23 0x7ff4c6ab5fa8 start_thread
#24 0x7ff4c6683a1f __GI___clone

[1:1:0100/000000.474688:ERROR:broker_posix.cc(41)] Invalid node channel message
Aborted
Received signal 7 BUS_ADRERR 7f03ccafe680

@Dolphin2Point1
Copy link

Dolphin2Point1 commented May 8, 2019

It works if you compile the launcher. Luckily, there is an easy script! Clone this repository, and go into the folder, then follow the steps here and you should get the packages in no time.

@ghost
Copy link

ghost commented Jun 16, 2019

Same issue here, on an Arch-based system, multilib enabled, x86_64. Only occurs when trying to sign in with a Google account. I've been told in the Discord that this is normal and known.

qrc:/qml/ThemedControls/PlayButton.qml:8:30: Unable to assign null to QString
Version list loaded, entry count: 139
[11483:11534:0616/072408.665374:ERROR:nss_util.cc(712)] Error initializing NSS with a persistent database (sql:/home/syndicate/.pki/nssdb): NSS error code: -8023
[11483:11534:0616/072408.665451:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -8023
[11483:11534:0616/072408.665460:FATAL:nss_util.cc(203)] nss_error=-8023, os_error=0
#0 0x7f07dca2216e <unknown>
#1 0x7f07dca348ae <unknown>
#2 0x7f07dd1f12da <unknown>
#3 0x7f07dd1f16e0 <unknown>
#4 0x7f07dd11fdc5 <unknown>
#5 0x7f07dd00c7e7 <unknown>
#6 0x7f07dcfd7ad7 <unknown>
#7 0x7f07dc16e89a <unknown>
#8 0x7f07dc16fe06 <unknown>
#9 0x7f07dc171dd7 <unknown>
#10 0x7f07dc34a857 <unknown>
#11 0x7f07dc6810b0 <unknown>
#12 0x7f07dca97c59 <unknown>
#13 0x7f07dca3cff0 <unknown>
#14 0x7f07dca3ecbd <unknown>
#15 0x7f07dca3f178 <unknown>
#16 0x7f07dca40610 <unknown>
#17 0x7f07dca3c095 <unknown>
#18 0x7f07dca58bba <unknown>
#19 0x7f07dc383a68 <unknown>
#20 0x7f07dc383c4b <unknown>
#21 0x7f07dca70890 <unknown>
#22 0x7f07dca6c96d <unknown>
#23 0x7f07d96cfa92 start_thread
#24 0x7f07d930dcd3 __GI___clone

Aborted (core dumped)

@MCMrARM
Copy link
Member

MCMrARM commented Jun 16, 2019

The workaround is to use LD_PRELOAD for nss3, eg. LD_PRELOAD=/usr/lib/libnss3.so ./Minecraft_Bedrock_Launcher.AppImage

@junetried
Copy link

The workaround isn't fixing the issue for me, when signing in and agreeing to Google terms I get this:

http response body: 
terminate called after throwing an instance of 'std::runtime_error'
  what():  No auth cookie field returned
Aborted (core dumped)

Running openSUSE Leap 15, just compiled the launcher inside an Ubuntu guest VM. The LD_PRELOAD makes no difference. Using the Ubuntu guest I can sign in, but the launcher interface isn't properly/fully rendered and nothing happens outside of console output, which does receive the Auth field.I can successfully sign in with the Ubuntu guest, however, although the workaround was necessary.

@Mhowser
Copy link

Mhowser commented Jun 21, 2019

Do you have nss installed in your VM?

https://askubuntu.com/questions/61931/how-to-install-libnss3-dev

@junetried
Copy link

I've since figured it out; I had to download and extract the Ubuntu .deb release, and use the binaries from that (after gathering missing libraries). The Ubuntu VM wasn't required for that.

@MCMrARM MCMrARM added crash The launcher crashes bug Something isn't working and removed crash The launcher crashes labels Aug 3, 2019
@zeroepoch
Copy link

On Fedora I had to use LD_PRELOAD=/usr/lib64/libnss3.so ./Minecraft_Bedrock_Launcher.AppImage, but then I ran into the same problem with the C++ exception error that @EthanWeegee reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants