Bug 506764 - Neochat crashes when joining a channel
Summary: Neochat crashes when joining a channel
Status: RESOLVED WORKSFORME
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: 25.04.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-07-08 14:53 UTC by Steve Cossette
Modified: 2025-09-21 03:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/213141/events/f54de46650c44b2ea40b8d85e0ce3784/


Attachments
New crash information added by DrKonqi (193.32 KB, text/plain)
2025-07-08 14:53 UTC, Steve Cossette
Details
Element Desktop error on join (32.64 KB, image/png)
2025-07-08 14:54 UTC, Steve Cossette
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Cossette 2025-07-08 14:53:04 UTC
Application: neochat (25.04.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.15.0
Operating System: Linux 6.15.4-200.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (KDE Plasma Desktop Edition)"
DrKonqi: 6.4.2 [CoredumpBackend]

-- Information about the crash:
Note that this might be a bit of a particular situation to the fedora homeserver.

We have a bit of an issue where, if someone links some of our channels to someone else, that someone else cannot join the channel with Element, gives an "M_UNKNOWN" error.

So I figured, "Might as well try to see what I get with Neochat, just for fun!"

At first, clicking the link did nothing, then after roughly a minute, the app crashed. And now, it seems to crash everytime I open it.

I figured this crash might be caused by an "unhandled exception", so I thought submitting it as a bug might still be useful for you guys.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f16142811e3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007f1614227afe in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f161420f6d0 in __GI_abort () at abort.c:73
#9  0x00007f161440b086 in std::__glibcxx_assert_fail (file=file@entry=0x7f1616e69d18 "/usr/include/c++/15/bits/stl_vector.h", line=line@entry=1357, function=function@entry=0x7f1616e6fa88 "constexpr std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::front() const [with _Tp = Quotient::QOlmSession; _Alloc = std::allocator<Quotient::QOlmSession>; const_reference = const Q"..., condition=condition@entry=0x7f1616e5abe3 "!this->empty()") at ../../../../../libstdc++-v3/src/c++11/assert_fail.cc:41
#10 0x00007f1616c143dd in std::vector<Quotient::QOlmSession, std::allocator<Quotient::QOlmSession> >::front (this=<optimized out>) at /usr/include/c++/15/bits/stl_vector.h:1355
#11 std::vector<Quotient::QOlmSession, std::allocator<Quotient::QOlmSession> >::front (this=<optimized out>) at /usr/include/c++/15/bits/stl_vector.h:1355
#12 Quotient::_impl::ConnectionEncryptionData::olmEncryptMessage (this=this@entry=0x55a3a6d456d0, userId=..., device=..., message=...) at /usr/src/debug/libquotient-0.9.2-2.fc42.x86_64/Quotient/connectionencryptiondata_p.cpp:720
#13 0x00007f1616d40110 in Quotient::_impl::ConnectionEncryptionData::assembleEncryptedContent (this=0x55a3a6d456d0, payloadJson=..., targetUserId=..., targetDeviceId=...) at /usr/src/debug/libquotient-0.9.2-2.fc42.x86_64/Quotient/connectionencryptiondata_p.cpp:739
#14 0x00007f1616c5a514 in Quotient::Connection::sendToDevice (this=0x55a3a7598540, targetUserId=..., targetDeviceId=..., event=..., encrypted=true) at /usr/src/debug/libquotient-0.9.2-2.fc42.x86_64/Quotient/connection.cpp:1819
#17 Quotient::JobHandle<Quotient::ClaimKeysJob>::BoundFn<Quotient::_impl::ConnectionEncryptionData::sessionDecryptMessage(const Quotient::EncryptedEvent&)::<lambda(const auto:99*)> >::operator() (this=0x7ffe0dc56c68, job=0x55a3bd951a40) at /usr/src/debug/libquotient-0.9.2-2.fc42.x86_64/Quotient/jobs/jobhandle.h:214
#18 operator() (__closure=0x7ffe0dc56c68, job=0x55a3bd951a40) at /usr/src/debug/libquotient-0.9.2-2.fc42.x86_64/Quotient/jobs/jobhandle.h:282
#23 QtPrivate::Continuation<Quotient::JobHandle<Quotient::ClaimKeysJob>::combineContinuations<Quotient::_impl::ConnectionEncryptionData::sessionDecryptMessage(const Quotient::EncryptedEvent&)::<lambda(const auto:99*)>, Skip, Quotient::Connection*>(Quotient::_impl::ConnectionEncryptionData::sessionDecryptMessage(const Quotient::EncryptedEvent&)::<lambda(const auto:99*)>&&, Skip&&, Quotient::Connection*)::<lambda(Quotient::JobHandle<Quotient::ClaimKeysJob>::future_value_type)>, Quotient::ClaimKeysJob*, Quotient::ClaimKeysJob*>::fulfillPromiseWithResult(void) (this=0x7ffe0dc56c40) at /usr/include/qt6/QtCore/qfuture_impl.h:628
#27 operator() (__closure=<optimized out>) at /usr/include/qt6/QtCore/qfuture_impl.h:618
#28 operator() (__closure=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:141
#32 QtPrivate::QCallableObject<QtPrivate::Continuation<Quotient::JobHandle<Quotient::ClaimKeysJob>::combineContinuations<Quotient::_impl::ConnectionEncryptionData::sessionDecryptMessage(const Quotient::EncryptedEvent&)::<lambda(const auto:99*)>, Skip, Quotient::Connection*>(Quotient::_impl::ConnectionEncryptionData::sessionDecryptMessage(const Quotient::EncryptedEvent&)::<lambda(const auto:99*)>&&, Skip&&, Quotient::Connection*)::<lambda(Quotient::JobHandle<Quotient::ClaimKeysJob>::future_value_type)>, Quotient::ClaimKeysJob*, Quotient::ClaimKeysJob*>::create<Quotient::JobHandle<Quotient::ClaimKeysJob>::combineContinuations<Quotient::_impl::ConnectionEncryptionData::sessionDecryptMessage(const Quotient::EncryptedEvent&)::<lambda(const auto:99*)>, Skip, Quotient::Connection*>(Quotient::_impl::ConnectionEncryptionData::sessionDecryptMessage(const Quotient::EncryptedEvent&)::<lambda(const auto:99*)>&&, Skip&&, Quotient::Connection*)::<lambda(Quotient::JobHandle<Quotient::ClaimKeysJob>::future_value_type)> >(Quotient::JobHandle<Quotient::ClaimKeysJob>::combineContinuations<Quotient::_impl::ConnectionEncryptionData::sessionDecryptMessage(const Quotient::EncryptedEvent&)::<lambda(const auto:99*)>, Skip, Quotient::Connection*>(Quotient::_impl::ConnectionEncryptionData::sessionDecryptMessage(const Quotient::EncryptedEvent&)::<lambda(const auto:99*)>&&, Skip&&, Quotient::Connection*)::<lambda(Quotient::JobHandle<Quotient::ClaimKeysJob>::future_value_type)>&&, QFuture<Quotient::ClaimKeysJob*>*, QFutureInterface<Quotient::ClaimKeysJob*>&, QObject*)::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:572


Reported using DrKonqi
Comment 1 Steve Cossette 2025-07-08 14:53:06 UTC
Created attachment 183059 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Steve Cossette 2025-07-08 14:54:25 UTC
Created attachment 183060 [details]
Element Desktop error on join

The error you get by clicking a join link on element
Comment 3 Tobias Fella 2025-08-22 16:42:27 UTC
If you can still reproduce this, it would (hopefully) be useful to see its log (what's shown in the terminal when running from there should be enough)
Comment 4 Bug Janitor Service 2025-09-06 03:48:12 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-09-21 03:47:19 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.