https://bugs.kde.org/show_bug.cgi?id=441026
Bug ID: 441026
Summary: When opening a text conversation with yourself, the
KDE Connect SMS application crashes.
Product: kdeconnect
Version: unspecified
Platform: Manjaro
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: messaging-application
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
When opening a text conversation with yourself, the KDE Connect SMS application
crashes.
STEPS TO REPRODUCE
1. On a linked phone, create an SMS conversation with yourself by sending a
message to your own number.
2. Open the KDE Connect SMS application, either through the Application
Launcher or through a terminal (`kdeconnect-sms`).
3. From the list of conversations, choose the conversation with your own
number.
4. App immediately crashes.
OBSERVED RESULT
The application immediately closes itself. Backtrace (made with gdb and a
debug-friendly install of kdeconnect):
```
#0 0x000055555556d29d in QString::QString (other=..., this=<synthetic
pointer>)
at /usr/include/qt/QtCore/qstring.h:1093
#1 ConversationAddress::ConversationAddress (this=<synthetic pointer>)
at
/usr/src/debug/kdeconnect-kde-21.08.0/interfaces/conversationmessage.h:135
#2 ConversationModel::createRowFromMessage (this=this@entry=0x55555602e6f0,
message=...,
pos=pos@entry=0) at
/usr/src/debug/kdeconnect-kde-21.08.0/smsapp/conversationmodel.cpp:145
#3 0x000055555556e03d in ConversationModel::handleConversationUpdate
(this=0x55555602e6f0, msg=...)
at /usr/src/debug/kdeconnect-kde-21.08.0/smsapp/conversationmodel.cpp:189
#4 0x00007ffff635e790 in ?? () from /usr/lib/libQt5Core.so.5
#5 0x00007ffff7f838a1 in
OrgKdeKdeconnectDeviceConversationsInterface::conversationUpdated (
_t1=..., this=<optimized out>) at
/usr/src/debug/build/interfaces/conversationsinterface.moc:265
#6 OrgKdeKdeconnectDeviceConversationsInterface::qt_static_metacall
(_o=_o@entry=0x5555565ea8b0,
_c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=4,
_a=_a@entry=0x7fffffffd5b0)
at /usr/src/debug/build/interfaces/conversationsinterface.moc:138
#7 0x00007ffff7f83e03 in
OrgKdeKdeconnectDeviceConversationsInterface::qt_metacall (
this=0x5555565ea8b0, _c=QMetaObject::InvokeMetaMethod, _id=4,
_a=0x7fffffffd5b0)
at /usr/src/debug/build/interfaces/conversationsinterface.moc:223
#8 0x00007ffff7378300 in ?? () from /usr/lib/libQt5DBus.so.5
#9 0x00007ffff63544ff in QObject::event(QEvent*) () from
/usr/lib/libQt5Core.so.5
#10 0x00007ffff6dfbd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
from /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff63273aa in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
from /usr/lib/libQt5Core.so.5
#12 0x00007ffff632a4a9 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
from /usr/lib/libQt5Core.so.5
#13 0x00007ffff63809a4 in ?? () from /usr/lib/libQt5Core.so.5
#14 0x00007ffff4b9610c in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#15 0x00007ffff4be9b99 in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x00007ffff4b93871 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#17 0x00007ffff637ffd6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt5Core.so.5
#18 0x00007ffff6325d1c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#19 0x00007ffff632e284 in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#20 0x000055555556115d in main (argc=<optimized out>, argv=0x7fffffffdb08) at
/usr/src/debug/kdeconnect-kde-21.08.0/smsapp/main.cpp:87
```
EXPECTED RESULT
The conversation opens normally, and you're able to send messages to your own
number.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.10.42-1-MANJARO (64-bit)
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
ADDITIONAL INFORMATION
I'm running kdeconnect-sms version 21.04.3 (this version wasn't on the list for
some reason).
--
You are receiving this mail because:
You are watching all bug changes.