Plasmashell crashing with signal 10. With strange backtrace.
Robert Backhaus
robbak at robbak.com
Mon May 18 13:02:03 BST 2020
A few weeks back plasmashell started crashing on startup. I am running
13-CURRENT r360560. After rebuilding dependent ports, I rebuilt the
relevant ports with debug, and received the following unusual backtrace.
Note where the sqlite3 libraries are coming from.
I got my plasmashell working, in a hackish way, by replacing those
libraries with a copy of lib/libsqlite3
What I'd like to know is why this is happening, and what should I do to
stop this from happening?. The idea that a program can suddenly jump from
one copy of a library to another is strange to me!
Thread 1 received signal SIGBUS, Bus error.
memcpy () at /usr/src/lib/libc/amd64/string/memmove.S:306
306 MEMMOVE erms=0 overlap=1 begin=MEMMOVE_BEGIN end=MEMMOVE_END
(gdb) bt
#0 memcpy () at /usr/src/lib/libc/amd64/string/memmove.S:306
#1 0x0000000804c939fa in sqlite3VdbeMemGrow (pMem=0x816846540, n=1,
bPreserve=1)
at
/usr/home/obj/ports/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/sqlite/sqlite3.c:68910
#2 0x0000000804c6798e in sqlite3VdbeMemExpandBlob (pMem=0x816846540)
at
/usr/home/obj/ports/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/sqlite/sqlite3.c:68992
#3 0x0000000804c68060 in sqlite3VdbeMemMakeWriteable (pMem=0x816846540)
at
/usr/home/obj/ports/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/sqlite/sqlite3.c:68957
#4 0x0000000804c93e08 in sqlite3VdbeMemTranslate (pMem=0x816846540,
desiredEnc=2 '\002')
at
/usr/home/obj/ports/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/sqlite/sqlite3.c:26970
#5 0x0000000804c93c4f in sqlite3VdbeChangeEncoding (pMem=0x816846540,
desiredEnc=2)
at
/usr/home/obj/ports/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/sqlite/sqlite3.c:68861
#6 0x0000000804c93b5c in valueToText (pVal=0x816846540, enc=2 '\002')
at
/usr/home/obj/ports/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/sqlite/sqlite3.c:69784
#7 0x0000000804c67e65 in sqlite3ValueText (pVal=0x816846540, enc=2 '\002')
at
/usr/home/obj/ports/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/sqlite/sqlite3.c:69827
#8 0x0000000804c67e9a in sqlite3_value_text16 (pVal=0x816846540)
at
/usr/home/obj/ports/usr/ports/security/heimdal/work/heimdal-7.7.0/lib/sqlite/sqlite3.c:75323
#9 0x0000000818266947 in columnName (pStmt=0x8166a3608, N=27, useUtf16=1,
useType=3)
at
/usr/home/obj/ports/usr/ports/databases/sqlite3/work/sqlite-autoconf-3310100/sqlite3.c:83729
#10 0x0000000818266af5 in sqlite3_column_table_name16 (pStmt=0x8166a3608,
N=0)
at
/usr/home/obj/ports/usr/ports/databases/sqlite3/work/sqlite-autoconf-3310100/sqlite3.c:83809
#11 0x000000081820ceea in QSQLiteResultPrivate::initColumns
(this=0x81688c180, emptyResultset=false)
at
/usr/home/obj/ports/usr/ports/databases/qt5-sqldrivers-sqlite3/work/qtbase-everywhere-src-5.14.2/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp:218
#12 0x000000081820d71e in QSQLiteResultPrivate::fetchNext
(this=0x81688c180, values=..., idx=0, initialFetch=true)
at
/usr/home/obj/ports/usr/ports/databases/qt5-sqldrivers-sqlite3/work/qtbase-everywhere-src-5.14.2/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp:292
#13 0x000000081820f2b0 in QSQLiteResult::exec (this=0x81681baf0)
at
/usr/home/obj/ports/usr/ports/databases/qt5-sqldrivers-sqlite3/work/qtbase-everywhere-src-5.14.2/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp:565
#14 0x000000081820e0b3 in QSQLiteResult::reset (this=0x81681baf0, query=...)
at
/usr/home/obj/ports/usr/ports/databases/qt5-sqldrivers-sqlite3/work/qtbase-everywhere-src-5.14.2/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp:384
#15 0x0000000803d64acc in QSqlQuery::exec (this=0x7fffffff9720, query=...)
at
/usr/home/obj/ports/usr/ports/databases/qt5-sql/work/qtbase-everywhere-src-5.14.2/src/sql/kernel/qsqlquery.cpp:402
#16 0x0000000803d644ef in qInit (q=0x7fffffff9720, query=..., db=...)
at
/usr/home/obj/ports/usr/ports/databases/qt5-sql/work/qtbase-everywhere-src-5.14.2/src/sql/kernel/qsqlquery.cpp:273
#17 0x0000000803d643bf in QSqlQuery::QSqlQuery (this=0x7fffffff9720,
query=..., db=...)
at
/usr/home/obj/ports/usr/ports/databases/qt5-sql/work/qtbase-everywhere-src-5.14.2/src/sql/kernel/qsqlquery.cpp:287
#18 0x0000000814dc13b0 in Common::Database::Private::query
(this=0x80abfa1c8, query=...)
at
/usr/home/obj/ports/usr/ports/x11/kf5-kactivities-stats/work/kactivities-stats-5.69.0/src/common/database/Database.cpp:137
#19 0x0000000814dbec4e in Common::Database::execQuery (this=0x80abdb078,
query=..., ignoreErrors=false)
at
/usr/home/obj/ports/usr/ports/x11/kf5-kactivities-stats/work/kactivities-stats-5.69.0/src/common/database/Database.cpp:255
#20 0x0000000814d9692e in KActivities::Stats::ResultSetPrivate::initQuery
(this=0x81687be30)
at
/usr/home/obj/ports/usr/ports/x11/kf5-kactivities-stats/work/kactivities-stats-5.69.0/src/resultset.cpp:142
#21 0x0000000814d959b1 in KActivities::Stats::ResultSet::ResultSet
(this=0x7fffffff9a00, queryDefinition=...)
at
/usr/home/obj/ports/usr/ports/x11/kf5-kactivities-stats/work/kactivities-stats-5.69.0/src/resultset.cpp:549
#22 0x0000000814cdd5cf in KAStatsFavoritesModel::Private::Private
(this=0x8168e3170, parent=0x8166c9500,
clientId=...)
at
/usr/home/obj/ports/usr/ports/x11/plasma5-plasma-workspace/work/plasma-workspace-5.18.5/applets/kicker/plugin/kastatsfavoritesmodel.cpp:229
#23 0x0000000814cda2ef in KAStatsFavoritesModel::initForClient
(this=0x8166c9500, clientId=...)
at
/usr/home/obj/ports/usr/ports/x11/plasma5-plasma-workspace/work/plasma-workspace-5.18.5/applets/kicker/plugin/kastatsfavoritesmodel.cpp:484
#24 0x0000000814cb175a in KAStatsFavoritesModel::qt_static_metacall
(_o=0x8166c9500,
_c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fffffff9ea0)
at
/usr/home/obj/ports/usr/ports/x11/plasma5-plasma-workspace/work/.build/applets/kicker/kickerplugin_autogen/7RBZBFH7CH/moc_kastatsfavoritesmodel.cpp:183
--Type <RET> for more, q to quit, c to continue without paging--btq
#25 0x0000000814cb1cfd in KAStatsFavoritesModel::qt_metacall
(this=0x8166c9500, _c=QMetaObject::InvokeMetaMethod,
_id=16, _a=0x7fffffff9ea0)
at
/usr/home/obj/ports/usr/ports/x11/plasma5-plasma-workspace/work/.build/applets/kicker/kickerplugin_autogen/7RBZBFH7CH/moc_kastatsfavoritesmodel.cpp:269
#26 0x000000080346a9bf in QMetaObject::metacall (object=0x8166c9500,
cl=QMetaObject::InvokeMetaMethod, idx=87,
argv=0x7fffffff9ea0)
at
/usr/home/obj/ports/usr/ports/devel/qt5-core/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qmetaobject.cpp:316
#27 0x00000008011c70b9 in ?? () from /usr/local/lib/qt5/libQt5Qml.so.5
#28 0x00000008011c42a4 in ?? () from /usr/local/lib/qt5/libQt5Qml.so.5
#29 0x00000008011c3bc7 in QV4::QObjectMethod::callInternal(QV4::Value
const*, QV4::Value const*, int) const ()
from /usr/local/lib/qt5/libQt5Qml.so.5
#30 0x00000008011df427 in ?? () from /usr/local/lib/qt5/libQt5Qml.so.5
#31 0x00000008011de000 in ?? () from /usr/local/lib/qt5/libQt5Qml.so.5
#32 0x0000000801180781 in QV4::Function::call(QV4::Value const*, QV4::Value
const*, int, QV4::ExecutionContext const*) () from
/usr/local/lib/qt5/libQt5Qml.so.5
#33 0x00000008012ff5d2 in
QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) ()
from /usr/local/lib/qt5/libQt5Qml.so.5
#34 0x00000008012b9f84 in QQmlBoundSignalExpression::evaluate(void**) ()
from /usr/local/lib/qt5/libQt5Qml.so.5
#35 0x00000008012ba65d in ?? () from /usr/local/lib/qt5/libQt5Qml.so.5
#36 0x00000008012e73e9 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*,
void**) ()
from /usr/local/lib/qt5/libQt5Qml.so.5
#37 0x00000008034c2c59 in doActivate<false> (sender=0x80abab8c0,
signal_index=3, argv=0x0)
at
/usr/home/obj/ports/usr/ports/devel/qt5-core/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qobject.cpp:3762
#38 0x00000008034bb961 in QMetaObject::activate (sender=0x80abab8c0,
m=0x8013d8870 <QQmlComponentAttached::staticMetaObject>,
local_signal_index=0, argv=0x0)
at
/usr/home/obj/ports/usr/ports/devel/qt5-core/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qobject.cpp:3930
#39 0x00000008013196bc in
QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) ()
from /usr/local/lib/qt5/libQt5Qml.so.5
#40 0x00000008012b3c0a in ?? () from /usr/local/lib/qt5/libQt5Qml.so.5
#41 0x00000008012b39be in QQmlEnginePrivate::incubate(QQmlIncubator&,
QQmlContextData*) ()
from /usr/local/lib/qt5/libQt5Qml.so.5
#42 0x00000008012b0e26 in QQmlComponent::create(QQmlIncubator&,
QQmlContext*, QQmlContext*) ()
from /usr/local/lib/qt5/libQt5Qml.so.5
#43 0x000000080096bcee in
KDeclarative::QmlObject::createObjectFromComponent(QQmlComponent*,
QQmlContext*, QHash<QString, QVariant> const&) () from
/usr/local/lib/libKF5Declarative.so.5
q#44 0x000000080036fffa in
PlasmaQuick::AppletQuickItemPrivate::createFullRepresentationItem
(this=0x809352240)
at
/usr/home/obj/ports/usr/ports/x11/kf5-plasma-framework/work/plasma-framework-5.69.0/src/plasmaquick/appletquickitem.cpp:257
#45 0x000000080037065f in
PlasmaQuick::AppletQuickItemPrivate::preloadForExpansion (this=0x809352240)
at
/usr/home/obj/ports/usr/ports/x11/kf5-plasma-framework/work/plasma-framework-5.69.0/src/plasmaquick/appletquickitem.cpp:322
#46 0x0000000800375e81 in
PlasmaQuick::AppletQuickItem::init()::$_15::operator()(bool)
const::{lambda()#1}::operator()() const (this=0x80ab37570)
at
/usr/home/obj/ports/usr/ports/x11/kf5-plasma-framework/work/plasma-framework-5.69.0/src/plasmaquick/appletquickitem.cpp:708
#47 0x0000000800375d27 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void,
PlasmaQuick::AppletQuickItem::init()::$_15::operator()(bool)
const::{lambda()#1}>::call({lambda()#1}&, void**) (f=...,
arg=0x816580958) at /usr/local/include/qt5/QtCore/qobjectdefs_impl.h:146
#48 0x0000000800375cf1 in
QtPrivate::Functor<PlasmaQuick::AppletQuickItem::init()::$_15::operator()(bool)
const::{lambda()#1}, 0>::call<QtPrivate::List<>, void>({lambda()#1}&,
void*, {lambda()#1}&*) (f=..., arg=0x816580958)
at /usr/local/include/qt5/QtCore/qobjectdefs_impl.h:256
#49 0x0000000800375c9c in
QtPrivate::QFunctorSlotObject<PlasmaQuick::AppletQuickItem::init()::$_15::operator()(bool)
const::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (
which=1, this_=0x80ab37560, r=0x80938a360, a=0x816580958, ret=0x0)
at /usr/local/include/qt5/QtCore/qobjectdefs_impl.h:443
#50 0x0000000803475c81 in QtPrivate::QSlotObjectBase::call
(this=0x80ab37560, r=0x80938a360, a=0x816580958)
at
/usr/home/obj/ports/usr/ports/devel/qt5-core/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qobjectdefs_impl.h:398
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20200518/ba26a46b/attachment.htm>
More information about the kde-freebsd
mailing list