https://bugs.kde.org/show_bug.cgi?id=519968

            Bug ID: 519968
           Summary: Neochat segfaults whenever there is a notification
    Classification: Applications
           Product: NeoChat
      Version First 26.04.1
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

DESCRIPTION
Whenever Neochat wants to send a desktop notification, it crashes instead.

STEPS TO REPRODUCE
1. Launch neochat
2. Wait for a message to appear that triggers a notification (I have a room
where all messages trigger notifications, for example)
3. It crashes with a segfault

OBSERVED RESULT

```
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
#1  0x00007f0e5b89a363 in __pthread_kill_internal (threadid=<optimized out>,
signo=11) at pthread_kill.c:89
#2  0x00007f0e5b83e7d0 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007f0e5f56cdac in KCrash::defaultCrashHandler (sig=11)
    at /usr/src/debug/kcrash/kcrash-6.25.0/src/kcrash.cpp:623
#4  <signal handler called>
#5  0x00007f0e5c688f80 in QtPrivate::QMetaTypeInterfaceWrapper<long
long>::metaType ()
   from /usr/lib/libQt6Core.so.6
#6  0x00007f0e5e5a95b4 in std::_Mofunc_base::_Mofunc_base (this=<optimized
out>, __x=..., 
    this=<optimized out>, __x=...) at
/usr/include/c++/15.2.1/bits/move_only_function.h:62
#7  std::move_only_function<void()>::move_only_function (this=<optimized out>,
__x=..., this=<optimized out>, 
    __x=...) at /usr/include/c++/15.2.1/bits/mofunc_impl.h:91
#8  Quotient::RoomMember::avatar (this=this@entry=0x7ffe378aebb0,
width=width@entry=128, 
    height=height@entry=128, callback=...)
    at /usr/src/debug/libquotient/libQuotient/Quotient/roommember.cpp:138
#9  0x0000558b306a2bd0 in NotificationsManager::processNotificationJob (
    this=0x558b30e7c010 <Controller::instance()::_instance+112>,
connection=..., job=<optimized out>, 
    initialization=<optimized out>)
    at
/usr/src/debug/neochat/neochat-26.04.1/src/app/notificationsmanager.cpp:148
#10 0x0000558b306a5eb1 in operator()<Quotient::GetNotificationsJob*>
(__closure=<optimized out>, 
    job=<synthetic pointer>: <optimized out>)
    at
/usr/src/debug/neochat/neochat-26.04.1/src/app/notificationsmanager.cpp:66
#11
Quotient::JobHandle<Quotient::GetNotificationsJob>::BoundFn<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)> >::callFn<> (this=<optimized out>, job=0x558b4869e1f0)
    at /usr/include/Quotient/jobs/jobhandle.h:225
#12
Quotient::JobHandle<Quotient::GetNotificationsJob>::BoundFn<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)> >::operator() (this=<optimized out>, job=0x558b4869e1f0)
    at /usr/include/Quotient/jobs/jobhandle.h:215
#13 operator() (__closure=<optimized out>, arg=0x558b4869e1f0) at
/usr/include/Quotient/jobs/jobhandle.h:269
#14 std::__invoke_impl<Quotient::GetNotificationsJob*,
Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>&,
Quotient::GetNotificationsJob*>
    (__f=...) at /usr/include/c++/16.1.1/bits/invoke.h:63
#15
std::__invoke<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>&,
Quotient::GetNotificationsJob*> (__fn=...)
    at /usr/include/c++/16.1.1/bits/invoke.h:98
#16
std::invoke<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>&,
Quotient::GetNotificationsJob*> (__fn=...)
    at /usr/include/c++/16.1.1/functional:126
#17
QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>,
Quotient::GetNotificationsJob*,
Quotient::GetNotificationsJob*>::fulfillPromise<Quotient::GetNotificationsJob*>
(this=<optimized out>)
    at /usr/include/qt6/QtCore/qfuture_impl.h:648
#18
QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>,
Quotient::GetNotificationsJob*,
Quotient::GetNotificationsJob*>::fulfillPromiseWithResult (this=<optimized
out>) at /usr/include/qt6/QtCore/qfuture_impl.h:620
#19
QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>,
Quotient::GetNotificationsJob*,
Quotient::GetNotificationsJob*>::runFunction(void) (this=<optimized out>) at
/usr/include/qt6/QtCore/qfuture_impl.h:422
#20 0x0000558b306a82f8 in
QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>,
Quotient::GetNotificationsJob*, Quotient::GetNotificationsJob*>::runImpl
(this=0x558b4c475940) at /usr/include/qt6/QtCore/qfuture_impl.h:349
#21
QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>,
Quotient::GetNotificationsJob*, Quotient::GetNotificationsJob*>::execute
(this=0x558b4c475940) at /usr/include/qt6/QtCore/qfuture_impl.h:482
#22 operator() (__closure=0x558b45b97590, parentData=...) at
/usr/include/qt6/QtCore/qfuture_impl.h:548
#23
QtPrivate::ContinuationWrapper<QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>,
Quotient::GetNotificationsJob*,
Quotient::GetNotificationsJob*>::create<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>
>(Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>&&,
QFuture<Quotient::GetNotificationsJob*>*,
QFutureInterface<Quotient::GetNotificationsJob*>&,
QtFuture::Launch)::<lambda(const QFutureInterfaceBase&)> >::operator()<>
(this=0x558b45b97590, parentData=...)
    at /usr/include/qt6/QtCore/qfuture_impl.h:501
#24 std::__invoke_impl<void,
QtPrivate::ContinuationWrapper<QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>,
Quotient::GetNotificationsJob*,
Quotient::GetNotificationsJob*>::create<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>
>(Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>&&,
QFuture<Quotient::GetNotificationsJob*>*,
QFutureInterface<Quotient::GetNotificationsJob*>&,
QtFuture::Launch)::<lambda(const QFutureInterfaceBase&)> >&, const
QFutureInterfaceBase&> (__f=...)
    at /usr/include/c++/16.1.1/bits/invoke.h:63
#25 std::__invoke_r<void,
QtPrivate::ContinuationWrapper<QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>,
Quotient::GetNotificationsJob*,
Quotient::GetNotificationsJob*>::create<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>
>(Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>&&,
QFuture<Quotient::GetNotificationsJob*>*,
QFutureInterface<Quotient::GetNotificationsJob*>&,
QtFuture::Launch)::<lambda(const QFutureInterfaceBase&)> >&, const
QFutureInterfaceBase&> (__fn=...)
    at /usr/include/c++/16.1.1/bits/invoke.h:113
#26 std::_Function_handler<void(const QFutureInterfaceBase&),
QtPrivate::ContinuationWrapper<QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>,
Quotient::GetNotificationsJob*,
Quotient::GetNotificationsJob*>::create<Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>
>(Quotient::JobHandle<Quotient::GetNotificationsJob>::continuation<NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>
>(NotificationsManager::startNotificationJob(QPointer<NeoChatConnection>)::<lambda(const
auto:114&)>&&,
Skip)::<lambda(Quotient::JobHandle<Quotient::GetNotificationsJob>::future_value_type)>&&,
QFuture<Quotient::GetNotificationsJob*>*,
QFutureInterface<Quotient::GetNotificationsJob*>&,
QtFuture::Launch)::<lambda(const QFutureInterfaceBase&)> > >::_M_invoke(const
std::_Any_data &, const QFutureInterfaceBase &) (__functor=..., __args#0=...)
    at /usr/include/c++/16.1.1/bits/std_function.h:295
#27 0x00007f0e5c37de79 in std::function<void(QFutureInterfaceBase
const&)>::operator() (this=0x7ffe378aedd0, 
    __args#0=...) at /usr/include/c++/16.1.1/bits/std_function.h:581
#28 QFutureInterfaceBase::runContinuation (this=0x558b44496cb8)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qfutureinterface.cpp:1052
#29 0x0000558b306a8762 in
QFutureInterface<Quotient::GetNotificationsJob*>::reportFinished (
    this=0x558b44496cb8) at /usr/include/qt6/QtCore/qfutureinterface.h:287
#30 QPromise<Quotient::GetNotificationsJob*>::finish (this=0x558b44496cb8)
    at /usr/include/qt6/QtCore/qpromise.h:76
#31
QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1},
Quotient::GetNotificationsJob*, void>::runFunction() (this=0x558b44496cb0)
    at /usr/include/qt6/QtCore/qfuture_impl.h:451
#32
QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1},
Quotient::GetNotificationsJob*, void>::runImpl() (this=0x558b44496cb0)
    at /usr/include/qt6/QtCore/qfuture_impl.h:349
#33
QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1},
Quotient::GetNotificationsJob*, void>::execute() (this=0x558b44496cb0)
    at /usr/include/qt6/QtCore/qfuture_impl.h:482
#34
QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1},
Quotient::GetNotificationsJob*,
void>::create<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}>(Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}&&,
QFuture<void>*, QFutureInterface<Quotient::GetNotificationsJob*>&,
QtFuture::Launch)::{lambda(QFutureInterfaceBase
const&)#1}::operator()(QFutureInterfaceBase const&) (__closure=0x558b43bd0e70,
parentData=...)
    at /usr/include/qt6/QtCore/qfuture_impl.h:548
#35
QtPrivate::ContinuationWrapper<QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1},
Quotient::GetNotificationsJob*,
void>::create<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}>(Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}&&,
QFuture<void>*, QFutureInterface<Quotient::GetNotificationsJob*>&,
QtFuture::Launch)::{lambda(QFutureInterfaceBase
const&)#1}>::operator()<QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1},
Quotient::GetNotificationsJob*,
void>::create<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}>(Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}&&,
QFuture<void>*, QFutureInterface<Quotient::GetNotificationsJob*>&,
QtFuture::Launch)::{lambda(QFutureInterfaceBase const&)#1},
true>(QFutureInterfaceBase const&) (this=0x558b43bd0e70, parentData=...)
    at /usr/include/qt6/QtCore/qfuture_impl.h:501
#36 std::__invoke_impl<void,
QtPrivate::ContinuationWrapper<QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1},
Quotient::GetNotificationsJob*,
void>::create<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}>(Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}&&,
QFuture<void>*, QFutureInterface<Quotient::GetNotificationsJob*>&,
QtFuture::Launch)::{lambda(QFutureInterfaceBase const&)#1}>&,
QFutureInterfaceBase const&>(std::__invoke_other,
QtPrivate::ContinuationWrapper<QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1},
Quotient::GetNotificationsJob*,
void>::create<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}>(Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}&&,
QFuture<void>*, QFutureInterface<Quotient::GetNotificationsJob*>&,
QtFuture::Launch)::{lambda(QFutureInterfaceBase const&)#1}>&,
QFutureInterfaceBase const&) (__f=...) at
/usr/include/c++/16.1.1/bits/invoke.h:63
#37 std::__invoke_r<void,
QtPrivate::ContinuationWrapper<QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1},
Quotient::GetNotificationsJob*,
void>::create<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}>(Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}&&,
QFuture<void>*, QFutureInterface<Quotient::GetNotificationsJob*>&,
QtFuture::Launch)::{lambda(QFutureInterfaceBase const&)#1}>&,
QFutureInterfaceBase
const&>(QtPrivate::ContinuationWrapper<QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1},
Quotient::GetNotificationsJob*,
void>::create<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}>(Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}&&,
QFuture<void>*, QFutureInterface<Quotient::GetNotificationsJob*>&,
QtFuture::Launch)::{lambda(QFutureInterfaceBase const&)#1}>&,
QFutureInterfaceBase const&) (__fn=...) at
/usr/include/c++/16.1.1/bits/invoke.h:113
#38 std::_Function_handler<void (QFutureInterfaceBase const&),
QtPrivate::ContinuationWrapper<QtPrivate::CompactContinuation<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1},
Quotient::GetNotificationsJob*,
void>::create<Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}>(Quotient::JobHandle<Quotient::GetNotificationsJob>::setupFuture(Quotient::GetNotificationsJob*)::{lambda()#1}&&,
QFuture<void>*, QFutureInterface<Quotient::GetNotificationsJob*>&,
QtFuture::Launch)::{lambda(QFutureInterfaceBase const&)#1}>
>::_M_invoke(std::_Any_data const&, QFutureInterfaceBase const&)
(__functor=..., __args#0=...)
    at /usr/include/c++/16.1.1/bits/std_function.h:295
#39 0x00007f0e5c37de79 in std::function<void(QFutureInterfaceBase
const&)>::operator() (this=0x7ffe378aeed0, 
    __args#0=...) at /usr/include/c++/16.1.1/bits/std_function.h:581
#40 QFutureInterfaceBase::runContinuation (this=0x558b45e29470)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qfutureinterface.cpp:1052
#41 0x00007f0e5e5df64d in QFutureInterface<void>::reportFinished
(this=<optimized out>, this=<optimized out>)
    at /usr/include/qt6/QtCore/qfutureinterface.h:522
#42 QPromise<void>::finish (this=<optimized out>, this=<optimized out>)
    at /usr/include/qt6/QtCore/qpromise.h:76
#43 Quotient::BaseJob::finishJob (this=0x558b4869e1f0)
    at /usr/src/debug/libquotient/libQuotient/Quotient/jobs/basejob.cpp:613
#44 0x00007f0e5c1ecc9b in QtPrivate::QSlotObjectBase::call (this=<optimized
out>, r=<optimized out>, 
    a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized
out>)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#45 doActivate<false> (sender=0x558b45e83480, signal_index=12,
argv=0x7ffe378af080)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4371
#46 0x00007f0e5c1e41e6 in QObject::event (this=<optimized out>, e=<optimized
out>)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1478
#47 0x00007f0e5d9040df in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x558b45e83480, 
    e=0x7f0df00e8600) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3276
#48 0x00007f0e5c1802b8 in QCoreApplication::notifyInternal2
(receiver=0x558b45e83480, 
    event=event@entry=0x7f0df00e8600)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#49 0x00007f0e5c1806c1 in QCoreApplication::sendEvent (receiver=<optimized
out>, event=0x7f0df00e8600)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#50 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x558b3f7bb190)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1904
#51 0x00007f0e5c49ea78 in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1757
#52 postEventSourceDispatch (s=0x558b3f7be990)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#53 0x00007f0e5bafebfd in g_main_dispatch (context=0x7f0e50000f00) at
../glib/glib/gmain.c:3591
#54 0x00007f0e5bb00e57 in g_main_context_dispatch_unlocked
(context=0x7f0e50000f00)
    at ../glib/glib/gmain.c:4451
#55 g_main_context_iterate_unlocked (context=context@entry=0x7f0e50000f00,
block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/glib/gmain.c:4516
#56 0x00007f0e5bb00fe5 in g_main_context_iteration (context=0x7f0e50000f00,
may_block=1)
    at ../glib/glib/gmain.c:4582
#57 0x00007f0e5c49c202 in QEventDispatcherGlib::processEvents
(this=0x558b3f7d1df0, flags=...)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#58 0x00007f0e5c18e583 in QEventLoop::processEvents (this=0x7ffe378af530,
flags=...)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:108
#59 QEventLoop::exec (this=0x7ffe378af530, flags=...)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:197
#60 0x00007f0e5c183b2a in QCoreApplication::exec ()
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#61 0x00007f0e5d9002fa in QApplication::exec ()
    at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2546
#62 0x0000558b3065419f in main (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/neochat/neochat-26.04.1/src/app/main.cpp:300
```


EXPECTED RESULT
Doesn't crash

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.11.0
Kernel Version: 7.0.3-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 64 GiB of RAM (62.7 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3080 Ti

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to