Nheko-Reborn / nheko

Desktop client for Matrix using Qt and C++20.

Home Page:https://nheko-reborn.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SIGABRT when trying to invite

HarHarLinks opened this issue · comments

Describe the bug

crash

To Reproduce

  1. Go to a room you have invite power in
  2. Click on the top right kebap menu
  3. Select Invite
  4. See error

What happened?

boom

Expected behavior

get invite window

Screenshots

No response

Version

0.12.0

Operating system

Linux

Installation method

arch repos https://gitlab.archlinux.org/archlinux/packaging/packages/nheko/-/blob/eff750abdb891a154ea1750a399a650af8caafc6/PKGBUILD

Qt version

No response

C++ compiler

No response

Desktop Environment

sway

Did you use profiles?

  • Profiles used?

Relevant log output

/usr/include/c++/14.1.1/bits/stl_vector.h:1149: constexpr std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](size_type) const [with _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; const_reference = const std::__cxx11::basic_string<char>&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Error: signal 6:
nheko(_Z17stacktraceHandleri+0x40)[0x5bbeec5b60c0]
/usr/lib/libc.so.6(+0x3cae0)[0x7d83bc050ae0]
/usr/lib/libc.so.6(+0x94e44)[0x7d83bc0a8e44]
/usr/lib/libc.so.6(gsignal+0x20)[0x7d83bc050a30]
/usr/lib/libc.so.6(abort+0xdf)[0x7d83bc0384c3]
/usr/lib/libstdc++.so.6(_ZNSt6chrono3_V212system_clock3nowEv+0x0)[0x7d83bc2d2d60]
nheko(_ZN10UsersModelC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP7QObject+0x8e8)[0x5bbeec59e948]
nheko(_ZN19TimelineViewManager12completerForERK7QStringS2_+0x15b)[0x5bbeec3cfbeb]
nheko(+0x4233d5)[0x5bbeec3d13d5]
nheko(_ZN19TimelineViewManager11qt_metacallEN11QMetaObject4CallEiPPv+0x9f)[0x5bbeec3d1bdf]
/usr/lib/libQt6Qml.so.6(+0x2f189b)[0x7d83bdaf189b]
/usr/lib/libQt6Qml.so.6(+0x1cdcce)[0x7d83bd9cdcce]
/usr/lib/libQt6Qml.so.6(_ZNK3QV413QObjectMethod12callInternalEPKNS_5ValueES3_i+0x549)[0x7d83bd9d0999]
/usr/lib/libQt6Qml.so.6(+0x21a29a)[0x7d83bda1a29a]
/usr/lib/libQt6Qml.so.6(+0x21e163)[0x7d83bda1e163]
/usr/lib/libQt6Qml.so.6(+0x1852b6)[0x7d83bd9852b6]
/usr/lib/libQt6Qml.so.6(_ZN3QV48Function4callEP7QObjectPPvPK9QMetaTypeiPNS_16ExecutionContextE+0x181)[0x7d83bd988451]
/usr/lib/libQt6Qml.so.6(_ZN24QQmlJavaScriptExpression8evaluateEPPvPK9QMetaTypei+0xf4)[0x7d83bdabbdd4]
/usr/lib/libQt6Qml.so.6(_ZN25QQmlBoundSignalExpression8evaluateEPPv+0x323)[0x7d83bda65fb3]
/usr/lib/libQt6Qml.so.6(+0x26aecf)[0x7d83bda6aecf]
/usr/lib/libQt6Qml.so.6(_ZN12QQmlNotifier10emitNotifyEP20QQmlNotifierEndpointPPv+0x22c)[0x7d83bdadc85c]
/usr/lib/libQt6Core.so.6(+0x1a153a)[0x7d83bc9a153a]
/usr/lib/libQt6Qml.so.6(_ZN17QQmlObjectCreator8finalizeER26QQmlInstantiationInterrupt+0xa05)[0x7d83bdae59f5]
/usr/lib/libQt6Qml.so.6(_ZN20QQmlComponentPrivate8completeEP17QQmlEnginePrivatePNS_17ConstructionStateE+0x69)[0x7d83bda763f9]
/usr/lib/libQt6Qml.so.6(_ZN20QQmlComponentPrivate14completeCreateEv+0x234)[0x7d83bda772b4]
/usr/lib/libQt6Qml.so.6(_ZN20QQmlComponentPrivate20createWithPropertiesEP7QObjectRK4QMapI7QString8QVariantEP11QQmlContextNS_14CreateBehaviorE+0xcb)[0x7d83bda7c99b]
/usr/lib/libQt6Qml.so.6(_ZN13QQmlComponent12createObjectEP7QObjectRK4QMapI7QString8QVariantE+0x4b)[0x7d83bda7cc6b]
/usr/lib/libQt6Qml.so.6(+0x27e688)[0x7d83bda7e688]
/usr/lib/libQt6Qml.so.6(_ZN13QQmlComponent11qt_metacallEN11QMetaObject4CallEiPPv+0x9f)[0x7d83bda7e98f]
/usr/lib/libQt6Qml.so.6(+0x2f189b)[0x7d83bdaf189b]
/usr/lib/libQt6Qml.so.6(+0x1cdcce)[0x7d83bd9cdcce]
/usr/lib/libQt6Qml.so.6(_ZNK3QV413QObjectMethod12callInternalEPKNS_5ValueES3_i+0x549)[0x7d83bd9d0999]
/usr/lib/libQt6Qml.so.6(+0x21a29a)[0x7d83bda1a29a]
/usr/lib/libQt6Qml.so.6(+0x21e163)[0x7d83bda1e163]
/usr/lib/libQt6Qml.so.6(+0x1852b6)[0x7d83bd9852b6]
/usr/lib/libQt6Qml.so.6(_ZN3QV48Function4callEP7QObjectPPvPK9QMetaTypeiPNS_16ExecutionContextE+0x181)[0x7d83bd988451]
/usr/lib/libQt6Qml.so.6(_ZN24QQmlJavaScriptExpression8evaluateEPPvPK9QMetaTypei+0xf4)[0x7d83bdabbdd4]
/usr/lib/libQt6Qml.so.6(_ZN25QQmlBoundSignalExpression8evaluateEPPv+0x18f)[0x7d83bda65e1f]
/usr/lib/libQt6Qml.so.6(+0x26aecf)[0x7d83bda6aecf]
/usr/lib/libQt6Qml.so.6(_ZN12QQmlNotifier10emitNotifyEP20QQmlNotifierEndpointPPv+0x22c)[0x7d83bdadc85c]
/usr/lib/libQt6Core.so.6(+0x1a153a)[0x7d83bc9a153a]
nheko(_ZN19TimelineViewManager15openInviteUsersE7QString+0x237)[0x5bbeec3cd0d7]
nheko(+0x422ecb)[0x5bbeec3d0ecb]
nheko(_ZN19TimelineViewManager11qt_metacallEN11QMetaObject4CallEiPPv+0x9f)[0x5bbeec3d1bdf]
/usr/lib/libQt6Qml.so.6(+0x2f189b)[0x7d83bdaf189b]
/usr/lib/libQt6Qml.so.6(+0x1cdcce)[0x7d83bd9cdcce]
/usr/lib/libQt6Qml.so.6(_ZNK3QV413QObjectMethod12callInternalEPKNS_5ValueES3_i+0x549)[0x7d83bd9d0999]
/usr/lib/libQt6Qml.so.6(+0x21a29a)[0x7d83bda1a29a]
/usr/lib/libQt6Qml.so.6(+0x21e163)[0x7d83bda1e163]
/usr/lib/libQt6Qml.so.6(+0x1852b6)[0x7d83bd9852b6]
[1]    286039 IOT instruction (core dumped)  nheko

Backtrace

but then i would need to build it

Hm, doesn't happen here. Something seems to corrupt your vector storing the invite items... A backtrace would really be helpful...

Can you test the nightly flatpak, if that fixes it? (Or the aur git package)

I installed 0.12.0-bca7faf7 (git from aur), it seems fine so far