Bug 515428 - Crash when editing a contact
Summary: Crash when editing a contact
Status: REPORTED
Alias: None
Product: Plasma Mobile Phonebook
Classification: Applications
Component: General (other bugs)
Version First Reported In: 24.02.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-02 19:00 UTC by Balló György
Modified: 2026-02-02 19:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balló György 2026-02-02 19:00:47 UTC
SUMMARY
When I try to edit an existing contact and click on the Save button, the application crashes randomly.

STEPS TO REPRODUCE
1. Open an existing contact
2. Click on Edit button
3. Click on Save button

OBSERVED RESULT
Crash.

EXPECTED RESULT
No crash.

SOFTWARE/OS VERSIONS
- plasma-phonebook 24.02.0 and git master
- kpeople 6.22.0
- qt6-base 6.10.2

Distribution: Arch Linux

ADDITIONAL INFORMATION
Backteace:
#0  sqlite3DbMallocRawNN (db=0x5609c089a2b8, n=89) at /usr/src/debug/sqlite/sqlite-src-3510200/sqlite3.c:31705
#1  sqlite3DbMallocRawNN (db=0x5609c089a2b8, n=89) at /usr/src/debug/sqlite/sqlite-src-3510200/sqlite3.c:31688
#2  0x00007f51ac74326d in tokenExpr (pParse=pParse@entry=0x7fffb40f11d0, op=op@entry=60, t=...)
    at /usr/src/debug/sqlite/sqlite-src-3510200/sqlite3.c:177697
#3  0x00007f51ac745670 in yy_reduce (yypParser=0x7fffb40f07d0, yyruleno=180, yyLookaheadToken=..., 
    pParse=pParse@entry=0x7fffb40f11d0, yyLookahead=<optimized out>)
    at /usr/src/debug/sqlite/sqlite-src-3510200/sqlite3.c:181933
#4  0x00007f51ac74a4c0 in sqlite3Parser (yyp=0x7fffb40f07d0, yymajor=<optimized out>, yyminor=...)
    at /usr/src/debug/sqlite/sqlite-src-3510200/sqlite3.c:182972
#5  sqlite3RunParser (pParse=<optimized out>, zSql=<optimized out>)
    at /usr/src/debug/sqlite/sqlite-src-3510200/sqlite3.c:184314
#6  0x00007f51ac704a3c in sqlite3Prepare (db=db@entry=0x5609c089a2b8, 
    zSql=zSql@entry=0x5609bf29a1a8 "SELECT personId FROM persons WHERE contactId = :0", 
    nBytes=nBytes@entry=-1, prepFlags=prepFlags@entry=128, pReprepare=pReprepare@entry=0x0, 
    ppStmt=ppStmt@entry=0x5609c020ad58, pzTail=0x7fffb40f1460)
    at /usr/src/debug/sqlite/sqlite-src-3510200/sqlite3.c:146447
#7  0x00007f51ac705282 in sqlite3LockAndPrepare (db=0x5609c089a2b8, 
    zSql=0x5609bf29a1a8 "SELECT personId FROM persons WHERE contactId = :0", nBytes=-1, prepFlags=128, 
    pOld=0x0, ppStmt=0x5609c020ad58, pzTail=0x7fffb40f1460)
    at /usr/src/debug/sqlite/sqlite-src-3510200/sqlite3.c:146522
#8  sqlite3LockAndPrepare (db=db@entry=0x5609c089a2b8, 
    zSql=zSql@entry=0x5609bf29a1a8 "SELECT personId FROM persons WHERE contactId = :0", 
    nBytes=nBytes@entry=-1, prepFlags=128, pOld=pOld@entry=0x0, ppStmt=ppStmt@entry=0x5609c020ad58, 
    pzTail=0x7fffb40f1460) at /usr/src/debug/sqlite/sqlite-src-3510200/sqlite3.c:146497
#9  0x00007f51ac70c117 in sqlite3Prepare16 (db=0x5609c089a2b8, zSql=0x5609bfe3b9a0, nBytes=98, 
    prepFlags=<optimized out>, ppStmt=0x5609c020ad58, pzTail=0x7fffb40f14c8)
    at /usr/src/debug/sqlite/sqlite-src-3510200/sqlite3.c:146688
#10 0x00007f51c0b53332 in QSQLiteResult::prepare (this=0x5609bf3fe740, query=...)
    at /usr/src/debug/qt6-base/qtbase/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp:398
#11 0x00007f51da7ba69f in PersonManager::personUriForContact (this=<optimized out>, contactUri=...)
    at /usr/include/c++/15.2.1/utility:114
#12 0x00007f51da7a58b0 in KPeople::PersonData::PersonData (this=<optimized out>, id=..., 
    parent=<optimized out>, this=<optimized out>, id=..., parent=<optimized out>)
    at /usr/src/debug/kpeople/kpeople-6.22.0/src/persondata.cpp:50
#13 0x00007f51da7a61ef in KPeople::actionsForPerson (contactUri=..., parent=parent@entry=0x5609c002e5d0)
    at /usr/src/debug/kpeople/kpeople-6.22.0/src/actions.cpp:39
#14 0x00007f51cbff6b5a in KPeople::PersonActionsModel::resetActions (this=0x5609c002e5d0)
    at /usr/src/debug/kpeople/kpeople-6.22.0/src/declarative/personactionsmodel.cpp:81
#15 0x00007f51d7fd8f0f 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
#16 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4272
#17 0x00007f51d7fd92da in doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, 
    argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4284
#18 0x00007f51d7fd8f0f 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
#19 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4272
#20 0x00007f51da74aad4 in QMetaObject::activate<void, QString, QExplicitlySharedDataPointer<KPeople::AbstractContact> > (sender=0x5609bfda9348, mo=0x7f51da7508a0 <KPeople::AllContactsMonitor::staticMetaObject>, 
    local_signal_index=0, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs.h:319
#21 KPeople::AllContactsMonitor::contactChanged (this=this@entry=0x5609c0882950, _t1=..., _t2=...)
    at /usr/src/debug/kpeople/build/src/backends/KF6PeopleBackend_autogen/include/moc_allcontactsmonitor.cpp:171
#22 0x00007f51c0b698e3 in KPeopleVCard::processVCard (this=0x5609c0882950, path=...)
    at /usr/src/debug/kpeople/kpeople-6.22.0/src/backends/vcard/kpeoplevcard.cpp:238
#23 0x00007f51c0b6a729 in operator() (__closure=0x5609c0884a30, path=...)
    at /usr/src/debug/kpeople/kpeople-6.22.0/src/backends/vcard/kpeoplevcard.cpp:176
#24 operator() (__closure=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:116
#25 QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<long unsigned int, 0>, QtPrivate::List<const QString&>, void, KPeopleVCard::KPeopleVCard()::<lambda(const QString&)> >::call(KPeopleVCard::KPeopleVCard()::<lambda(const QString&)>&, void**)::<lambda()> > (args=<optimized out>, fn=...)
    at /usr/include/qt6/QtCore/qobjectdefs_impl.h:65
#26 QtPrivate::FunctorCall<std::integer_sequence<long unsigned int, 0>, QtPrivate::List<const QString&>, void, KPeopleVCard::KPeopleVCard()::<lambda(const QString&)> >::call (f=..., arg=<optimized out>)
    at /usr/include/qt6/QtCore/qobjectdefs_impl.h:115
#27 QtPrivate::FunctorCallable<KPeopleVCard::KPeopleVCard()::<lambda(const QString&)>, const QString&>::call<QtPrivate::List<QString const&>, void> (f=..., arg=<optimized out>)
    at /usr/include/qt6/QtCore/qobjectdefs_impl.h:337
#28 QtPrivate::QCallableObject<KPeopleVCard::KPeopleVCard()::<lambda(const QString&)>, QtPrivate::List<const QString&>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, 
    this_=0x5609c0884a20, r=<optimized out>, a=<optimized out>, ret=<optimized out>)
    at /usr/include/qt6/QtCore/qobjectdefs_impl.h:547
#29 0x00007f51d7fd8f0f 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
#30 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4272
#31 0x00007f51d9771280 in QMetaObject::activate<void, QString> (sender=<optimized out>, mo=<optimized out>, 
    local_signal_index=<optimized out>, ret=<optimized out>, sender=<optimized out>, mo=<optimized out>, 
    local_signal_index=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs.h:319
#32 KDirWatch::dirty (this=<optimized out>, _t1=...)
    at /usr/src/debug/kcoreaddons/build/src/lib/KF6CoreAddons_autogen/include/moc_kdirwatch.cpp:153
#33 0x00007f51d7fc6474 in QObject::event (this=<optimized out>, e=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1413
#34 0x00007f51d9903380 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5609c0882df0, 
    e=0x5609bfd71890) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#35 0x00007f51d7f6bf48 in QCoreApplication::notifyInternal2 (receiver=0x5609c0882df0, 
    event=event@entry=0x5609bfd71890)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#36 0x00007f51d7f6c320 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x5609bfd71890)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5609befc6090)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1904
#38 0x00007f51d8251e78 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1757
#39 postEventSourceDispatch (s=0x7f51c40050f0)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#40 0x00007f51d7332f8d in g_main_dispatch (context=0x7f51cc000f60) at ../glib/glib/gmain.c:3565
#41 0x00007f51d7334657 in g_main_context_dispatch_unlocked (context=0x7f51cc000f60)
    at ../glib/glib/gmain.c:4425
#42 g_main_context_iterate_unlocked (context=context@entry=0x7f51cc000f60, block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4490
#43 0x00007f51d7334865 in g_main_context_iteration (context=0x7f51cc000f60, may_block=1)
    at ../glib/glib/gmain.c:4556
#44 0x00007f51d824fcb2 in QEventDispatcherGlib::processEvents (this=0x5609bf1334f0, flags=...)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#45 0x00007f51d7f76cf6 in QEventLoop::processEvents (this=0x7fffb40f2490, flags=...)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#46 QEventLoop::exec (this=0x7fffb40f2490, flags=...)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#47 0x00007f51d7f709f1 in QCoreApplication::exec ()
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#48 0x00007f51d98fe4ea in QApplication::exec ()
    at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2575
#49 0x0000560991f3db30 in main (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/plasma-phonebook/plasma-phonebook/src/main.cpp:87