Bug 474081

Summary: Neochat is not compatible with libquotient 0.8.1.1
Product: [Applications] NeoChat Reporter: Julien Delquié <julien.dlq>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: 23.08.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Julien Delquié 2023-09-03 06:45:01 UTC
SUMMARY

Neochat loads really slow before stopping and crashing.


STEPS TO REPRODUCE
1. Update libquotient to 0.8.1.1
2. Launch neochat

OBSERVED RESULT
Neochat loads really slow before stopping and crashing.

EXPECTED RESULT
Neochat loads successfully.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.14
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.5.1-gentoo-x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 31.3 Gio of RAM
Graphics Processor: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2

ADDITIONAL INFORMATION

Here is what we can see when launched from Konsole (I intentionally removed my @xxx:yyy on first line):

Reading access token from the keychain for "@xxx:yyy"
quotient.main: The library is built with end-to-end encryption (E2EE)
quotient.e2ee: Successfully loaded pickling key from keychain
quotient.e2ee: 65536 bytes of secure heap initialised
quotient.e2ee: Allocated 128 bytes of secure heap (requested 128 bytes), 128 / 65536 bytes of secure heap used in total
quotient.e2ee: The fixed buffer source is shared; assuming that the caller is responsible for securely clearing other copies
quotient.main: Malformed userId: "@.m.rule.is_user_mention"
quotient.main: Malformed userId: "@.m.rule.is_room_mention"
quotient.main: Malformed userId: "@.m.rule.contains_user_name"
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
QQmlComponent: Cannot create new component instance before completing the previous
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
libpng warning: iCCP: known incorrect sRGB profile
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
libpng warning: sBIT: invalid
qt.gui.icc: fromIccProfile: Failed to parse description
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
libpng warning: iCCP: known incorrect sRGB profile
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
libpng warning: iCCP: known incorrect sRGB profile
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/matrix.allmende.io/qLuggTQvbgEvvCcUpEowPAyl?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Internal Server Error
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/privacytools.io/NtPZICgxwExeFfWkztgMjiLN?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Internal Server Error
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/matrix.lifeweb.cc/ugHGIzbzihKeaTzTmLnGGUvn?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Internal Server Error
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/matrix.köll.net/cRYzcGOaFYDBCxttqxPJNyPK?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Not Found
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/im.bilinside.eu.org/1827fb86fd3d4a35709c58b66ed8978b634608aadbd73d061d6ba69eee6e243d?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Internal Server Error
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/tchncs.de/GarmtYVOANVUzgIHBiRKQbVt?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Not Found
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/privacytools.io/IdeWLmVNpTjhTZbIpkWBCPCy?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Internal Server Error
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/m.nemuneko.me/CagTsAagOxCpuCxbCKHdnHqa?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Internal Server Error
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/tchncs.de/9dd3d59d3d792172aa267adbba563ce983c9c7f8?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Not Found
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/kingdompod.com/ynGnwHxXMOoDLvdsgHuYLkmB?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Internal Server Error
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/matrix.el15team.ru/NEYvLVDhWxCMZUtqOwgsiGMg?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Internal Server Error
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/privacytools.io/ZJLuclCCvNVerECqTUEydclb?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Internal Server Error
file:///usr/lib64/qt5/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:212:13: QML Image: Error transferring https://kde.modular.im/_matrix/media/v3/download/matrix.vivaproject.casa/BnMyBEgHqMUQPOGpPsRLcNmj?allow_remote=true&timeout_ms=20000&allow_redirect=false - server replied: Internal Server Error
qrc:/EmojiDialog.qml:57: TypeError: Cannot read property 'width' of null
qrc:/EmojiPicker.qml:25: TypeError: Cannot read property 'category' of undefined
neochat: symbol lookup error: neochat: undefined symbol: _ZN8Quotient4Room14userIdsAtEventERK7QString
Comment 1 Antonio Rojas 2023-09-03 07:17:36 UTC
This is a packaging issue. Neochat needs to be rebuilt against new libquotient.
Comment 2 Julien Delquié 2023-09-03 08:42:51 UTC
Indeed, rebuilding Neochat resolved the issue! Thanks.
I will report this in Gentoo bugtracker.