nheko icon indicating copy to clipboard operation
nheko copied to clipboard

Crash on v0.10.0 Debian Bullseye

Open Sadoon-AlBader opened this issue 2 years ago • 9 comments

I compiled v0.10.0 from source on Debian Bullseye and it seems to work fine on ppc64le (funnily) and crash on x86_64, tested multiple machines with the same issue.

[2022-09-06 13:09:34.229] [ui] [info] Restoring window size 1534x851
[2022-09-06 13:09:34.306] [ui] [info] jdenticon plugin not found.
[2022-09-06 13:09:34.502] [ui] [info] starting nheko 0.10.0-7df260f5
[2022-09-06 13:09:34.503] [ui] [info] User already signed in, showing chat page
[2022-09-06 13:09:34.503] [ui] [info] Switching to chat page
[2022-09-06 13:09:34.567] [ui] [info] Unity service available: false
[2022-09-06 13:09:34.572] [qml] [warning] qrc:/qml/ChatPage.qml:104:17: QML RoomList: Binding loop detected for property "implicitWidth" (qrc:/qml/ChatPage.qml:104, )
[2022-09-06 13:09:34.572] [qml] [warning] qrc:/qml/ChatPage.qml:104:17: QML RoomList: Binding loop detected for property "implicitWidth" (qrc:/qml/ChatPage.qml:104, )

#1132 might be related

Sadoon-AlBader avatar Sep 06 '22 10:09 Sadoon-AlBader

Is that fixed in 0.10.1?

deepbluev7 avatar Sep 08 '22 08:09 deepbluev7

Hi. On Mageia 8, I had crashes while signing in to the Matrix account, during the first start. After recompiling all the modules required to build (coeurl, mtxclient,…) and adding nheko-zsh-completion as recommended package (like openSUSE), there is no more crash. The package is now released (community package) and used by some people.

squid-f avatar Sep 08 '22 09:09 squid-f

Is that fixed in 0.10.1?

Doesn't seem to be for me.

Hi. On Mageia 8, I had crashes while signing in to the Matrix account, during the first start. After recompiling all the modules required to build (coeurl, mtxclient,…) and adding nheko-zsh-completion as recommended package (like openSUSE), there is no more crash. The package is now released (community package) and used by some people.

Thanks I'll try that.

Sadoon-AlBader avatar Sep 08 '22 09:09 Sadoon-AlBader

It still doesn't work, I think this info might be helpful to the devs:

[2022-09-08 13:28:23.406] [ui] [info] Restoring window size 1214x998
[2022-09-08 13:28:23.435] [ui] [info] jdenticon plugin not found.
[2022-09-08 13:28:23.629] [ui] [debug] CompletionProxyModel: build trie: 19.291349 ms
[2022-09-08 13:28:23.670] [ui] [info] starting nheko 0.10.1-143d7c9b
[2022-09-08 13:28:23.671] [ui] [info] User already signed in, showing chat page
[2022-09-08 13:28:23.671] [db] [debug] setting up cache
[2022-09-08 13:28:23.671] [db] [debug] Reading 'm.cross_signing.master'
[2022-09-08 13:28:23.671] [ui] [info] Switching to chat page
[2022-09-08 13:28:23.697] [ui] [debug] Profile requested
[2022-09-08 13:28:23.719] [ui] [critical] Returning 0 spaces
[2022-09-08 13:28:23.735] [ui] [info] Unity service available: false
[2022-09-08 13:28:23.739] [qml] [warning] qrc:/qml/ChatPage.qml:104:17: QML RoomList: Binding loop detected for property "implicitWidth" (qrc:/qml/ChatPage.qml:104, )
[2022-09-08 13:28:23.739] [qml] [warning] qrc:/qml/ChatPage.qml:104:17: QML RoomList: Binding loop detected for property "implicitWidth" (qrc:/qml/ChatPage.qml:104, )
[2022-09-08 13:28:23.782] [qml] [debug] static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*) (:0, )
terminate called after throwing an instance of 'mtx::crypto::olm_exception'
  what():  identity_keys: account == nullptr

This happens if I press the settings button (nothing shows up in chats anyways)

I compiled with these options:

cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DUSE_BUNDLED_OLM=Y -DUSE_BUNDLED_MTXCLIENT=Y -DUSE_BUNDLED_COEURL=Y -DVOIP=N -DUSE_BUNDLED_LMDBXX=Y

I also cannot find the hunter files anywhere in the home directory or the build directory, I'm not sure where they would be so I could delete them. They're not in ~/.hunter which is where I assume they would be.

Sadoon-AlBader avatar Sep 08 '22 10:09 Sadoon-AlBader

That sounds like your database/secure storage is corrupt. Maybe delete the database and settings file and login from scratch? (Or try a different profile)

deepbluev7 avatar Sep 08 '22 17:09 deepbluev7

Might not be as important in this context, but just to say I don’t use any bundle for my build.

squid-f avatar Sep 08 '22 21:09 squid-f

That sounds like your database/secure storage is corrupt. Maybe delete the database and settings file and login from scratch? (Or try a different profile)

I assume that means "~/.cache/nheko" and "~/.config/nheko"?

I already tried deleting those multiple times before posting :(

Sadoon-AlBader avatar Sep 11 '22 08:09 Sadoon-AlBader

I think it is mostly the database, which is in ~/.local/share/nheko

deepbluev7 avatar Sep 11 '22 20:09 deepbluev7

I think it is mostly the database, which is in ~/.local/share/nheko

Unfortunately deleting that did not work either.

Sadoon-AlBader avatar Sep 13 '22 05:09 Sadoon-AlBader

I'm assuming 0.10.2 didn't help either?

deepbluev7 avatar Oct 08 '22 22:10 deepbluev7

I'm assuming 0.10.2 didn't help either?

Just tested 0.10.2-fixes and it works fine.

Sadoon-AlBader avatar Oct 13 '22 08:10 Sadoon-AlBader