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

            Bug ID: 462142
           Summary: Crash during device verification
    Classification: Applications
           Product: NeoChat
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Application: neochat (22.09)
 (Compiled from sources)
Qt Version: 5.15.6
Frameworks Version: 5.101.0
Operating System: Linux 6.0.8-300.fc37.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.26.80 [KCrashBackend]

-- Information about the crash:
Triggered a device verification from Element Android. 
When clicking next in Neochat it crashed

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: NeoChat (neochat), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  0x00007f53124b0e7c in __pthread_kill_implementation () at /lib64/libc.so.6
#6  0x00007f5312460aa6 in raise () at /lib64/libc.so.6
#7  0x00007f531244a7fc in abort () at /lib64/libc.so.6
#8  0x00007f5312a98b79 in qt_message_fatal (message=<synthetic pointer>...,
context=<optimized out>) at global/qlogging.cpp:1914
#9  QMessageLogger::fatal(char const*, ...) const
(this=this@entry=0x7ffde70da9b0, msg=msg@entry=0x7f5312d8b070 "ASSERT failure
in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:893
#10 0x00007f5312a98040 in qt_assert_x(char const*, char const*, char const*,
int) (where=<optimized out>, what=<optimized out>, file=<optimized out>,
line=<optimized out>) at global/qglobal.cpp:3374
#11 0x000000000064e391 in QVector<EmojiStoreEntry>::operator[](int) const
(this=0x7d9ff8 <emojiForCode(int, QString const&)::emojiStore>, i=51) at
/home/nico/kde/usr/include/QtCore/qvector.h:453
#12 0x00000000006467ad in emojiForCode(int, QString const&) (code=51,
language=...) at
/home/nico/kde/src/libquotient/lib/keyverificationsession.cpp:153
#13 0x0000000000647277 in
Quotient::KeyVerificationSession::handleKey(Quotient::KeyVerificationKeyEvent
const&) (this=0x7f52a408e400, event=...) at
/home/nico/kde/src/libquotient/lib/keyverificationsession.cpp:216
#14 0x00000000006460bb in operator()(Quotient::KeyVerificationKeyEvent const&)
const (__closure=0x7ffde70daf78, event=...) at
/home/nico/kde/src/libquotient/lib/keyverificationsession.cpp:116
#15 0x0000000000646227 in
Quotient::switchOnType<Quotient::KeyVerificationEvent,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationKeyEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationMacEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationDoneEvent&)> >(const Quotient::KeyVerificationEvent &,
struct {...} &&) (event=..., fn1=...) at
/home/nico/kde/src/libquotient/lib/events/event.h:620
#16 0x00000000006462e3 in
Quotient::switchOnType<Quotient::KeyVerificationEvent,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationAcceptEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationKeyEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationMacEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationDoneEvent&)> >(const Quotient::KeyVerificationEvent &,
struct {...} &&) (event=..., fn1=...) at
/home/nico/kde/src/libquotient/lib/events/event.h:621
#17 0x0000000000646388 in
Quotient::switchOnType<Quotient::KeyVerificationEvent,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationReadyEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationAcceptEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationKeyEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationMacEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationDoneEvent&)> >(const Quotient::KeyVerificationEvent &,
struct {...} &&) (event=..., fn1=...) at
/home/nico/kde/src/libquotient/lib/events/event.h:621
#18 0x0000000000646443 in
Quotient::switchOnType<Quotient::KeyVerificationEvent,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationStartEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationReadyEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationAcceptEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationKeyEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationMacEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationDoneEvent&)> >(const Quotient::KeyVerificationEvent &,
struct {...} &&) (event=..., fn1=...) at
/home/nico/kde/src/libquotient/lib/events/event.h:621
#19 0x0000000000646516 in
Quotient::switchOnType<Quotient::KeyVerificationEvent,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationCancelEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationStartEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationReadyEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationAcceptEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationKeyEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationMacEvent&)>,
Quotient::KeyVerificationSession::handleEvent(const
Quotient::KeyVerificationEvent&)::<lambda(const
Quotient::KeyVerificationDoneEvent&)> >(const Quotient::KeyVerificationEvent &,
struct {...} &&) (event=..., fn1=...) at
/home/nico/kde/src/libquotient/lib/events/event.h:621
#20 0x000000000064659c in
Quotient::KeyVerificationSession::handleEvent(Quotient::KeyVerificationEvent
const&) (this=0x7f52a408e400, baseEvent=...) at
/home/nico/kde/src/libquotient/lib/keyverificationsession.cpp:84
#21 0x0000000000530a09 in operator()(Quotient::KeyVerificationEvent const&)
const (__closure=0x7ffde70db0e0, kvEvt=...) at
/home/nico/kde/src/libquotient/lib/connection.cpp:1057
#22 0x0000000000530a8e in Quotient::switchOnType<Quotient::Event,
Quotient::Connection::Private::processIfVerificationEvent(const
Quotient::Event&, bool)::<lambda(const Quotient::KeyVerificationEvent&)>,
bool>(const Quotient::Event &, struct {...} &&) (event=..., fn1=...) at
/home/nico/kde/src/libquotient/lib/events/event.h:620
#23 0x0000000000530b1f in Quotient::switchOnType<Quotient::Event,
Quotient::Connection::Private::processIfVerificationEvent(const
Quotient::Event&, bool)::<lambda(const Quotient::KeyVerificationDoneEvent&)>,
Quotient::Connection::Private::processIfVerificationEvent(const
Quotient::Event&, bool)::<lambda(const Quotient::KeyVerificationEvent&)>,
bool>(const Quotient::Event &, struct {...} &&) (event=..., fn1=...) at
/home/nico/kde/src/libquotient/lib/events/event.h:621
#24 0x0000000000530ba9 in Quotient::switchOnType<Quotient::Event,
Quotient::Connection::Private::processIfVerificationEvent(const
Quotient::Event&, bool)::<lambda(const
Quotient::KeyVerificationRequestEvent&)>,
Quotient::Connection::Private::processIfVerificationEvent(const
Quotient::Event&, bool)::<lambda(const Quotient::KeyVerificationDoneEvent&)>,
Quotient::Connection::Private::processIfVerificationEvent(const
Quotient::Event&, bool)::<lambda(const Quotient::KeyVerificationEvent&)>,
bool>(const Quotient::Event &, struct {...} &&) (event=..., fn1=...) at
/home/nico/kde/src/libquotient/lib/events/event.h:621
#25 0x0000000000530c03 in
Quotient::Connection::Private::processIfVerificationEvent(Quotient::Event
const&, bool) (this=0x1e28d40, evt=..., encrypted=false) at
/home/nico/kde/src/libquotient/lib/connection.cpp:1043
#26 0x0000000000530371 in
Quotient::Connection::Private::consumeToDeviceEvents(std::vector<std::unique_ptr<Quotient::Event,
std::default_delete<Quotient::Event> >,
std::allocator<std::unique_ptr<Quotient::Event,
std::default_delete<Quotient::Event> > > >&&) (this=0x1e28d40,
toDeviceEvents=...) at /home/nico/kde/src/libquotient/lib/connection.cpp:1017
#27 0x000000000052e9bb in
Quotient::Connection::onSyncSuccess(Quotient::SyncData&&, bool)
(this=0x1fc6050, data=..., fromCache=false) at
/home/nico/kde/src/libquotient/lib/connection.cpp:877
#28 0x000000000052d65b in operator()() const (__closure=0x60e5a20) at
/home/nico/kde/src/libquotient/lib/connection.cpp:791
#29 0x000000000054775b in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, Quotient::Connection::sync(int)::<lambda()>
>::call(struct {...} &, void **) (f=..., arg=0x7ffde70db560) at
/home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:146
#30 0x00000000005469be in
QtPrivate::Functor<Quotient::Connection::sync(int)::<lambda()>,
0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void **) (f=...,
arg=0x7ffde70db560) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:256
#31 0x0000000000545562 in
QtPrivate::QFunctorSlotObject<Quotient::Connection::sync(int)::<lambda()>, 0,
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *,
void **, bool *) (which=1, this_=0x60e5a10, r=0x1fc6050, a=0x7ffde70db560,
ret=0x0) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:443
#32 0x00007f5312ce79e2 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffde70db560, r=0x1fc6050, this=0x60e5a10) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#33 doActivate<false>(QObject*, int, void**) (sender=0x6221d30,
signal_index=10, argv=0x7ffde70db560) at kernel/qobject.cpp:3919
#34 0x0000000000515d53 in Quotient::BaseJob::success(Quotient::BaseJob*)
(this=0x6221d30, _t1=0x6221d30) at
/home/nico/kde/build/libquotient/Quotient_autogen/3INUWTIJ2C/moc_basejob.cpp:542
#35 0x0000000000631754 in Quotient::BaseJob::finishJob() (this=0x6221d30) at
/home/nico/kde/src/libquotient/lib/jobs/basejob.cpp:633
#36 0x000000000062e5ac in operator()() const (__closure=0x641a5d0) at
/home/nico/kde/src/libquotient/lib/jobs/basejob.cpp:377
#37 0x0000000000632c83 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, Quotient::BaseJob::sendRequest()::<lambda()>
>::call(struct {...} &, void **) (f=..., arg=0x7ffde70db790) at
/home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:146
#38 0x0000000000632c05 in
QtPrivate::Functor<Quotient::BaseJob::sendRequest()::<lambda()>,
0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void **) (f=...,
arg=0x7ffde70db790) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:256
#39 0x0000000000632b20 in
QtPrivate::QFunctorSlotObject<Quotient::BaseJob::sendRequest()::<lambda()>, 0,
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *,
void **, bool *) (which=1, this_=0x641a5c0, r=0x6221d30, a=0x7ffde70db790,
ret=0x0) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:443
#40 0x00007f5312ce79e2 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffde70db790, r=0x6221d30, this=0x641a5c0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#41 doActivate<false>(QObject*, int, void**) (sender=0x6104860,
signal_index=10, argv=0x7ffde70db790) at kernel/qobject.cpp:3919
#42 0x00007f5312ce123f in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x6104860, m=m@entry=0x7f5314693780
<QNetworkReply::staticMetaObject>,
local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at
kernel/qobject.cpp:3979
#43 0x00007f5314631163 in QNetworkReply::finished() (this=this@entry=0x6104860)
at .moc/moc_qnetworkreply.cpp:404
#44 0x00007f53145a3bc0 in QNetworkReplyHttpImplPrivate::finished()
(this=0x5a5edb0) at access/qnetworkreplyhttpimpl.cpp:2280
#45 0x00007f5312cdca60 in QObject::event(QEvent*) (this=0x6104860,
e=0x7f52a4009ae0) at kernel/qobject.cpp:1347
#46 0x00007f531397c34e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x6104860, e=0x7f52a4009ae0) at
kernel/qapplication.cpp:3637
#47 0x00007f5312cb2798 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x6104860, event=0x7f52a4009ae0) at kernel/qcoreapplication.cpp:1064
#48 0x00007f5312cb5471 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x15fd3e0) at
kernel/qcoreapplication.cpp:1821
#49 0x00007f5312d07633 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x167c190) at kernel/qeventdispatcher_glib.cpp:277
#50 0x00007f531225dcbf in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#51 0x00007f53122b3598 in g_main_context_iterate.constprop () at
/lib64/libglib-2.0.so.0
#52 0x00007f531225af40 in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#53 0x00007f5312d06d56 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x167eb30, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#54 0x00007f5312cb137b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffde70dbc50, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#55 0x00007f5312cb8e82 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#56 0x00007f5313137a3c in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1870
#57 0x00007f531397c2c5 in QApplication::exec() () at
kernel/qapplication.cpp:2829
#58 0x0000000000435b4b in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at /home/nico/kde/src/neochat/src/main.cpp:326
[Inferior 1 (process 468207) detached]

Reported using DrKonqi

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

Reply via email to