Bug 475177 - NeoChat crashes when trying to edit a message that is still being sent
Summary: NeoChat crashes when trying to edit a message that is still being sent
Status: RESOLVED DUPLICATE of bug 474361
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: 23.08.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-10-03 14:29 UTC by Debraym Tea
Modified: 2023-10-03 14:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Debraym Tea 2023-10-03 14:29:11 UTC
Application: neochat (23.08.1)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.4-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
Neochat crashes after trying to edit a message that is still being sent for a long time.

The crash can be reproduced sometimes.

-- Backtrace:
Application: NeoChat (neochat), signal: Segmentation fault

[KCrash Handler]
#4  0x000055cdd6fee5af in Quotient::is<Quotient::RoomMessageEvent>(Quotient::Event const&) (e=<optimized out>) at /usr/include/Quotient/events/event.h:576
#5  Quotient::switchOnType<NeoChatRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomMessageEvent&)>, NeoChatRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StickerEvent&)>, NeoChatRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomMemberEvent&)>, NeoChatRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCanonicalAliasEvent&)>, NeoChatRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomNameEvent&)>, NeoChatRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)>, NeoChatRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAvatarEvent&)>, NeoChatRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::EncryptionEvent&)>, NeoChatRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCreateEvent&)>, NeoChatRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomPowerLevelsEvent&)>, NeoChatRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StateEvent&)>, NeoChatRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::PollStartEvent&)>, QString, Quotient::RoomEvent> (fn1=<optimized out>, event=<optimized out>) at /usr/include/Quotient/events/event.h:653
#6  NeoChatRoom::eventToString(Quotient::RoomEvent const&, Qt::TextFormat, bool) const (this=0x55cdd9233920, evt=..., format=Qt::PlainText, stripNewlines=false) at /usr/src/debug/neochat-23.08.1/src/neochatroom.cpp:672
#7  0x000055cdd6ffc291 in NeoChatRoom::chatBoxEditMessage() const (this=0x55cdd9233920) at /usr/include/c++/13/bits/unique_ptr.h:199
#8  NeoChatRoom::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x55cdd9233920, _c=<optimized out>, _id=<optimized out>, _a=0x7ffc550eb770) at /usr/src/debug/neochat-23.08.1/build/src/neochat_autogen/include/moc_neochatroom.cpp:1143
#9  0x00007f17b29baacc in QQmlPropertyData::readProperty(QObject*, void*) const (property=0x7ffc550eb750, target=<optimized out>, this=0x7f1794256cb8) at ../../include/QtQml/5.15.10/QtQml/private/../../../../../../src/qml/qml/qqmlpropertydata_p.h:373
#10 loadProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData const&) (v4=0x55cdd8e52d70, object=0x55cdd9233920, property=...) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.10+kde26/src/qml/jsruntime/qv4qobjectwrapper.cpp:156
#11 0x00007f1777af25b9 in  ()
#12 0x0000000000000000 in  ()
[Inferior 1 (process 25876) detached]

The reporter indicates this bug may be a duplicate of or related to bug 474361.

Reported using DrKonqi
Comment 1 Tobias Fella 2023-10-03 14:31:02 UTC
*** This bug has been marked as a duplicate of bug 474361 ***