Application: plasmashell (5.20.5) (Compiled from sources) Qt Version: 5.15.2 Frameworks Version: 5.79.0 Operating System: FreeBSD 12.2-RELEASE-p2 amd64 Windowing system: X11 Distribution (Platform): FreeBSD Ports -- Information about the crash: KDE/Plasma does not start either from sddm or .xinitrc Created a blank test user and the problem persists. Gnome works correctly under X11. The crash can be reproduced every time. -- Backtrace: Application: Plasma (plasmashell), signal: Segmentation fault [KCrash Handler] #7 0x0000000806164094 in sqlite3DbMallocRawNN (db=0x4b, n=32) at sqlite3.c:24518 #8 0x0000000806157c28 in sqlite3DbMallocRaw (db=0x4b, n=32) at sqlite3.c:24507 #9 0x000000080617f8da in sqlite3VdbeMemGrow (pMem=0x81f2883f8, n=32, bPreserve=1) at sqlite3.c:68897 #10 0x0000000806154037 in sqlite3VdbeMemMakeWriteable (pMem=0x81f2883f8) at sqlite3.c:68959 #11 0x000000080617fd98 in sqlite3VdbeMemTranslate (pMem=0x81f2883f8, desiredEnc=2 '\002') at sqlite3.c:26970 #12 0x000000080617fbdf in sqlite3VdbeChangeEncoding (pMem=0x81f2883f8, desiredEnc=2) at sqlite3.c:68861 #13 0x000000080617faec in valueToText (pVal=0x81f2883f8, enc=2 '\002') at sqlite3.c:69784 #14 0x0000000806153dd5 in sqlite3ValueText (pVal=0x81f2883f8, enc=2 '\002') at sqlite3.c:69827 #15 0x0000000806153e0a in sqlite3_value_text16 (pVal=0x81f2883f8) at sqlite3.c:75323 #16 0x000000081f31f367 in columnName (pStmt=0x819e11d08, N=3, useUtf16=1, useType=3) at sqlite3.c:84452 #17 0x000000081f31f515 in sqlite3_column_table_name16 (pStmt=0x819e11d08, N=0) at sqlite3.c:84532 #18 0x000000081f2bcf8a in QSQLiteResultPrivate::initColumns (this=0x81b7ea700, emptyResultset=false) at qsql_sqlite.cpp:209 #19 0x000000081f2bd7be in QSQLiteResultPrivate::fetchNext (this=0x81b7ea700, values=..., idx=0, initialFetch=true) at qsql_sqlite.cpp:283 #20 0x000000081f2bf386 in QSQLiteResult::exec (this=0x816d55f20) at qsql_sqlite.cpp:561 #21 0x000000081f2be163 in QSQLiteResult::reset (this=0x816d55f20, query=...) at qsql_sqlite.cpp:375 #22 0x0000000804a0cabc in QSqlQuery::exec (this=0x7fffffff64b0, query=...) at kernel/qsqlquery.cpp:402 #23 0x0000000804a0c4df in qInit (q=0x7fffffff64b0, query=..., db=...) at kernel/qsqlquery.cpp:273 #24 0x0000000804a0c3af in QSqlQuery::QSqlQuery (this=0x7fffffff64b0, query=..., db=...) at kernel/qsqlquery.cpp:287 #25 0x0000000818fc87a0 in Common::Database::Private::query (this=0x813623618, query=...) at /RAM/ports/usr/ports/x11/kf5-kactivities-stats/work/kactivities-stats-5.79.0/src/common/database/Database.cpp:117 #26 0x0000000818fc630e in Common::Database::execQuery (this=0x81b60f238, query=...) at /RAM/ports/usr/ports/x11/kf5-kactivities-stats/work/kactivities-stats-5.79.0/src/common/database/Database.cpp:223 #27 0x0000000818fc6524 in Common::Database::value (this=0x81b60f238, query=...) at /RAM/ports/usr/ports/x11/kf5-kactivities-stats/work/kactivities-stats-5.79.0/src/common/database/Database.cpp:249 #28 0x0000000818fc5f0a in Common::Database::pragma (this=0x81b60f238, pragma=...) at /RAM/ports/usr/ports/x11/kf5-kactivities-stats/work/kactivities-stats-5.79.0/src/common/database/Database.cpp:244 #29 0x0000000818fc50fd in Common::Database::instance (source=Common::Database::ResourcesDatabase, openMode=Common::Database::ReadOnly) at /RAM/ports/usr/ports/x11/kf5-kactivities-stats/work/kactivities-stats-5.79.0/src/common/database/Database.cpp:184 #30 0x0000000818f9d52d in KActivities::Stats::ResultSet::ResultSet (this=0x7fffffff6a90, queryDefinition=...) at /RAM/ports/usr/ports/x11/kf5-kactivities-stats/work/kactivities-stats-5.79.0/src/resultset.cpp:523 #31 0x0000000818ee4c4f in KAStatsFavoritesModel::Private::Private (this=0x816bb7040, parent=0x81b753b00, clientId=...) at /RAM/ports/usr/ports/x11/plasma5-plasma-workspace/work/plasma-workspace-5.20.5/applets/kicker/plugin/kastatsfavoritesmodel.cpp:229 #32 0x0000000818ee1a6f in KAStatsFavoritesModel::initForClient (this=0x81b753b00, clientId=...) at /RAM/ports/usr/ports/x11/plasma5-plasma-workspace/work/plasma-workspace-5.20.5/applets/kicker/plugin/kastatsfavoritesmodel.cpp:490 #33 0x0000000818eb7e0a in KAStatsFavoritesModel::qt_static_metacall (_o=0x81b753b00, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fffffff7168) at applets/kicker/kickerplugin_autogen/7RBZBFH7CH/moc_kastatsfavoritesmodel.cpp:183 #34 0x0000000818eb83ad in KAStatsFavoritesModel::qt_metacall (this=0x81b753b00, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fffffff7168) at applets/kicker/kickerplugin_autogen/7RBZBFH7CH/moc_kastatsfavoritesmodel.cpp:269 #35 0x000000080425b7bf in QMetaObject::metacall (object=0x81b753b00, cl=QMetaObject::InvokeMetaMethod, idx=87, argv=0x7fffffff7168) at kernel/qmetaobject.cpp:317 #36 0x0000000801a11d5b in QQmlObjectOrGadget::metacall (this=0x7fffffff7620, type=QMetaObject::InvokeMetaMethod, index=87, argv=0x7fffffff7168) at qml/qqmlobjectorgadget.cpp:51 #37 0x000000080180074a in CallMethod (object=..., index=87, returnType=43, argCount=1, argTypes=0x81b5f5c94, engine=0x807119c00, callArgs=0x80dc01590, callType=QMetaObject::InvokeMetaMethod) at jsruntime/qv4qobjectwrapper.cpp:1301 #38 0x00000008017fe03a in CallPrecise (object=..., data=..., engine=0x807119c00, callArgs=0x80dc01590, callType=QMetaObject::InvokeMetaMethod) at jsruntime/qv4qobjectwrapper.cpp:1569 #39 0x00000008017fdbfb in QV4::QObjectMethod::callInternal (this=0x7fffffff9a20, thisObject=0x80dc01538, argv=0x80dc01550, argc=1) at jsruntime/qv4qobjectwrapper.cpp:2131 #40 0x00000008017fd6c3 in QV4::QObjectMethod::virtualCall (m=0x7fffffff9a20, thisObject=0x80dc01538, argv=0x80dc01550, argc=1) at jsruntime/qv4qobjectwrapper.cpp:2068 #41 0x000000080171b22a in QV4::FunctionObject::call (this=0x7fffffff9a20, thisObject=0x80dc01538, argv=0x80dc01550, argc=1) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:202 #42 0x000000080183c771 in QV4::Moth::VME::interpret (frame=0x7fffffffa050, engine=0x807119c00, code=0x8191c8305 "/\336") at jsruntime/qv4vme_moth.cpp:754 #43 0x0000000801838382 in QV4::Moth::VME::exec (frame=0x7fffffffa050, engine=0x807119c00) at jsruntime/qv4vme_moth.cpp:463 #44 0x0000000801790164 in QV4::Function::call (this=0x819860240, thisObject=0x80dc014e8, argv=0x80dc01500, argc=0, context=0x81b598ce0) at jsruntime/qv4function.cpp:69 #45 0x0000000801a39a79 in QQmlJavaScriptExpression::evaluate (this=0x819bc8aa0, callData=0x80dc014d0, isUndefined=0x0) at qml/qqmljavascriptexpression.cpp:212 #46 0x00000008019c5b60 in QQmlBoundSignalExpression::evaluate (this=0x819bc8aa0, a=0x0) at qml/qqmlboundsignal.cpp:224 #47 0x00000008019c6281 in QQmlBoundSignal_callback (e=0x81b576840, a=0x0) at qml/qqmlboundsignal.cpp:361 #48 0x0000000801a11218 in QQmlNotifier::emitNotify (endpoint=0x0, a=0x0) at qml/qqmlnotifier.cpp:104 #49 0x0000000801993461 in QQmlData::signalEmitted (object=0x81a20ce00, index=3, a=0x0) at qml/qqmlengine.cpp:834 #50 0x00000008042b5869 in doActivate<false> (sender=0x81a20ce00, signal_index=3, argv=0x0) at kernel/qobject.cpp:3778 #51 0x00000008042adef1 in QMetaObject::activate (sender=0x81a20ce00, m=0x801b80938 <QQmlComponentAttached::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3946 #52 0x0000000801b4b1e2 in QQmlComponentAttached::completed (this=0x81a20ce00) at .moc/moc_qqmlcomponentattached_p.cpp:148 #53 0x0000000801a63568 in QQmlObjectCreator::finalize (this=0x81a1e8180, interrupt=...) at qml/qqmlobjectcreator.cpp:1442 #54 0x00000008019bc585 in QQmlIncubatorPrivate::incubate (this=0x812a23d00, i=...) at qml/qqmlincubator.cpp:364 #55 0x00000008019bbb06 in QQmlEnginePrivate::incubate (this=0x8095b3680, i=..., forContext=0x812c73780) at qml/qqmlincubator.cpp:89 #56 0x00000008019b54e9 in QQmlComponent::create (this=0x80c2bd610, incubator=..., context=0x80c2bd5e0, forContext=0x0) at qml/qqmlcomponent.cpp:1178 #57 0x00000008009e0289 in KDeclarative::QmlObject::createObjectFromComponent (this=0x8145e5d80, component=0x80c2bd610, context=0x80c2bd5e0, initialProperties=...) at /RAM/ports/usr/ports/devel/kf5-kdeclarative/work/kdeclarative-5.79.0/src/kdeclarative/qmlobject.cpp:336 #58 0x0000000800371c9a in PlasmaQuick::AppletQuickItemPrivate::createFullRepresentationItem (this=0x813b4fac0) at /RAM/ports/usr/ports/x11/kf5-plasma-framework/work/plasma-framework-5.79.0/src/plasmaquick/appletquickitem.cpp:246 #59 0x00000008003722df in PlasmaQuick::AppletQuickItemPrivate::preloadForExpansion (this=0x813b4fac0) at /RAM/ports/usr/ports/x11/kf5-plasma-framework/work/plasma-framework-5.79.0/src/plasmaquick/appletquickitem.cpp:311 #60 0x0000000800378521 in PlasmaQuick::AppletQuickItem::init()::$_23::operator()(bool) const::{lambda()#1}::operator()() const (this=0x8146e95f0) at /RAM/ports/usr/ports/x11/kf5-plasma-framework/work/plasma-framework-5.79.0/src/plasmaquick/appletquickitem.cpp:713 #61 0x00000008003783c7 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, PlasmaQuick::AppletQuickItem::init()::$_23::operator()(bool) const::{lambda()#1}>::call(PlasmaQuick::AppletQuickItem::init()::$_23::operator()(bool) const::{lambda()#1}&, void**) (f=..., arg=0x819b77b68) at /usr/local/include/qt5/QtCore/qobjectdefs_impl.h:146 #62 0x0000000800378391 in QtPrivate::Functor<PlasmaQuick::AppletQuickItem::init()::$_23::operator()(bool) const::{lambda()#1}, 0>::call<QtPrivate::List<>, void>(PlasmaQuick::AppletQuickItem::init()::$_23::operator()(bool) const::{lambda()#1}&, void*, void**) (f=..., arg=0x819b77b68) at /usr/local/include/qt5/QtCore/qobjectdefs_impl.h:256 #63 0x000000080037833c in QtPrivate::QFunctorSlotObject<PlasmaQuick::AppletQuickItem::init()::$_23::operator()(bool) const::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x8146e95e0, r=0x8130c6b20, a=0x819b77b68, ret=0x0) at /usr/local/include/qt5/QtCore/qobjectdefs_impl.h:443 #64 0x0000000804266a71 in QtPrivate::QSlotObjectBase::call (this=0x8146e95e0, r=0x8130c6b20, a=0x819b77b68) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #65 0x00000008042a3ce8 in QMetaCallEvent::placeMetaCall (this=0x819b77b20, object=0x8130c6b20) at kernel/qobject.cpp:615 #66 0x00000008042a58dd in QObject::event (this=0x8130c6b20, e=0x819b77b20) at kernel/qobject.cpp:1314 #67 0x0000000800ebb18a in QQuickItem::event (this=0x8130c6b20, ev=0x819b77b20) at items/qquickitem.cpp:8202 #68 0x000000080fdd4b85 in AppletInterface::event (this=0x8130c6b20, event=0x819b77b20) at /RAM/ports/usr/ports/x11/kf5-plasma-framework/work/plasma-framework-5.79.0/src/scriptengines/qml/plasmoid/appletinterface.cpp:846 #69 0x0000000802947d7d in QApplicationPrivate::notify_helper (this=0x80712a000, receiver=0x8130c6b20, e=0x819b77b20) at kernel/qapplication.cpp:3632 #70 0x0000000802949bc4 in QApplication::notify (this=0x7fffffffe5d0, receiver=0x8130c6b20, e=0x819b77b20) at kernel/qapplication.cpp:2972 #71 0x0000000804250026 in QCoreApplication::notifyInternal2 (receiver=0x8130c6b20, event=0x819b77b20) at kernel/qcoreapplication.cpp:1063 #72 0x0000000804250d28 in QCoreApplication::sendEvent (receiver=0x8130c6b20, event=0x819b77b20) at kernel/qcoreapplication.cpp:1458 #73 0x0000000804251b60 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8070fa000) at kernel/qcoreapplication.cpp:1817 #74 0x0000000804250c1d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1676 #75 0x0000000804307600 in postEventSourceDispatch (s=0x8070f4ab0) at kernel/qeventdispatcher_glib.cpp:277 #76 0x0000000805cfacae in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0 #77 0x0000000805cfb054 in ?? () from /usr/local/lib/libglib-2.0.so.0 #78 0x0000000805cfb116 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0 #79 0x000000080430678c in QEventDispatcherGlib::processEvents (this=0x8070ea460, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #80 0x0000000809462b5b in QXcbGlibEventDispatcher::processEvents (this=0x8070ea460, flags=...) at qxcbeventdispatcher.cpp:143 #81 0x000000080424b23e in QEventLoop::processEvents (this=0x7fffffffdea8, flags=...) at kernel/qeventloop.cpp:139 #82 0x000000080424b4b1 in QEventLoop::exec (this=0x7fffffffdea8, flags=...) at kernel/qeventloop.cpp:232 #83 0x0000000804250a28 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1371 #84 0x0000000803320156 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867 #85 0x0000000802949509 in QApplication::exec () at kernel/qapplication.cpp:2824 #86 0x0000000000261f2a in main (argc=1, argv=0x7fffffffe670) at /RAM/ports/usr/ports/x11/plasma5-plasma-workspace/work/plasma-workspace-5.20.5/shell/main.cpp:252 [Inferior 1 (process 2514) detached] Possible duplicates by query: bug 395992. Reported using DrKonqi
It seems you have a corrupted kactivity database. Try removing ~/.local/share/kactivitymanagerd/resources/database or moving it. It is the "recent apps" and "recents documents" database.
Removing the file does not seem to help. Rebooting starting with a new blank account does not work. Any other suggestions? Thanks. On 2/18/21 1:10 AM, Méven Car wrote: > https://bugs.kde.org/show_bug.cgi?id=433120 > > Méven Car <meven29@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |meven29@gmail.com > > --- Comment #1 from Méven Car <meven29@gmail.com> --- > It seems you have a corrupted kactivity database. > > Try removing ~/.local/share/kactivitymanagerd/resources/database or moving it. > It is the "recent apps" and "recents documents" database. >
(In reply to Ray from comment #2) > Removing the file does not seem to help. Rebooting starting with a new > blank account does not work. > > Any other suggestions? Thanks. > Not really, it seems the bug is in sqlite3 that crashes at an allocation stage. #7 0x0000000806164094 in sqlite3DbMallocRawNN (db=0x4b, n=32) at sqlite3.c:24518 #8 0x0000000806157c28 in sqlite3DbMallocRaw (db=0x4b, n=32) at sqlite3.c:24507 #9 0x000000080617f8da in sqlite3VdbeMemGrow (pMem=0x81f2883f8, n=32, bPreserve=1) at sqlite3.c:68897 #10 0x0000000806154037 in sqlite3VdbeMemMakeWriteable (pMem=0x81f2883f8) at sqlite3.c:68959 #11 0x000000080617fd98 in sqlite3VdbeMemTranslate (pMem=0x81f2883f8, desiredEnc=2 '\002') at sqlite3.c:26970 #12 0x000000080617fbdf in sqlite3VdbeChangeEncoding (pMem=0x81f2883f8, desiredEnc=2) at sqlite3.c:68861 #13 0x000000080617faec in valueToText (pVal=0x81f2883f8, enc=2 '\002') at sqlite3.c:69784 #14 0x0000000806153dd5 in sqlite3ValueText (pVal=0x81f2883f8, enc=2 '\002') at sqlite3.c:69827 #15 0x0000000806153e0a in sqlite3_value_text16 (pVal=0x81f2883f8) at sqlite3.c:75323 #16 0x000000081f31f367 in columnName (pStmt=0x819e11d08, N=3, useUtf16=1, useType=3) at sqlite3.c:84452
OK, Thank you. I'll wait for a newer version of sqlite3, or I'll revert sqlite3 or I'll report the bug to the FreeBSD buglist. You can close the ticket, thanks. Stay Safe. Ray. On 2/20/21 1:31 PM, Méven Car wrote: > https://bugs.kde.org/show_bug.cgi?id=433120 > > --- Comment #3 from Méven Car <meven29@gmail.com> --- > (In reply to Ray from comment #2) >> Removing the file does not seem to help. Rebooting starting with a new >> blank account does not work. >> >> Any other suggestions? Thanks. >> > > Not really, it seems the bug is in sqlite3 that crashes at an allocation stage. > > #7 0x0000000806164094 in sqlite3DbMallocRawNN (db=0x4b, n=32) at > sqlite3.c:24518 > #8 0x0000000806157c28 in sqlite3DbMallocRaw (db=0x4b, n=32) at sqlite3.c:24507 > #9 0x000000080617f8da in sqlite3VdbeMemGrow (pMem=0x81f2883f8, n=32, > bPreserve=1) at sqlite3.c:68897 > #10 0x0000000806154037 in sqlite3VdbeMemMakeWriteable (pMem=0x81f2883f8) at > sqlite3.c:68959 > #11 0x000000080617fd98 in sqlite3VdbeMemTranslate (pMem=0x81f2883f8, > desiredEnc=2 '\002') at sqlite3.c:26970 > #12 0x000000080617fbdf in sqlite3VdbeChangeEncoding (pMem=0x81f2883f8, > desiredEnc=2) at sqlite3.c:68861 > #13 0x000000080617faec in valueToText (pVal=0x81f2883f8, enc=2 '\002') at > sqlite3.c:69784 > #14 0x0000000806153dd5 in sqlite3ValueText (pVal=0x81f2883f8, enc=2 '\002') at > sqlite3.c:69827 > #15 0x0000000806153e0a in sqlite3_value_text16 (pVal=0x81f2883f8) at > sqlite3.c:75323 > #16 0x000000081f31f367 in columnName (pStmt=0x819e11d08, N=3, useUtf16=1, > useType=3) at sqlite3.c:84452 >