Bug 383015 - [crash] from setEnabledBorders() in FrameSvgItem
Summary: [crash] from setEnabledBorders() in FrameSvgItem
Status: RESOLVED DUPLICATE of bug 392624
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (show other bugs)
Version: 5.36.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-01 18:48 UTC by Michail Vourlakos
Modified: 2018-07-02 11:35 UTC (History)
0 users

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 Michail Vourlakos 2017-08-01 18:48:55 UTC
In the upcoming Latte we load/unload layouts, in some cases the users have reported the following crash:


Application: Latte Dock (latte-dock), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7ad0c7f940 (LWP 23854))]

Thread 5 (Thread 0x7f7a9abbd700 (LWP 24132)):
#0  0x00007f7ac8e8a28d in read () at /lib64/libc.so.6
#1  0x00007f7ac3e28750 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7ac3de7e49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7ac3de82a8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f7ac3de842c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f7ac9ca813b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7ac9c55c2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f7ac9a9a02a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7a9bfe6887 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#9  0x00007f7ac9a9e74d in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f7ac6510744 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f7ac8e96aad in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f7ab6901700 (LWP 23920)):
#0  0x00007f7ac8e8e20d in poll () at /lib64/libc.so.6
#1  0x00007f7ac3de8314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7ac3de842c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7ac9ca813b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7ac9c55c2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7ac9a9a02a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7acdc40f78 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f7ac9a9e74d in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7ac6510744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f7ac8e96aad in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f7ab8bd3700 (LWP 23870)):
#0  0x00007f7ac8ea2eff in __libc_enable_asynccancel () at /lib64/libc.so.6
#1  0x00007f7ac8e8e202 in poll () at /lib64/libc.so.6
#2  0x00007f7ac3de8314 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7ac3de842c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f7ac9ca813b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7ac9c55c2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7ac9a9a02a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f7aca12a7e5 in  () at /usr/lib64/libQt5DBus.so.5
#8  0x00007f7ac9a9e74d in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f7ac6510744 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f7ac8e96aad in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f7aba886700 (LWP 23865)):
#0  0x00007f7ac8e8e20d in poll () at /lib64/libc.so.6
#1  0x00007f7acf6143e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f7acf615fcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f7abc19e879 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f7ac9a9e74d in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7ac6510744 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f7ac8e96aad in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f7ad0c7f940 (LWP 23854)):
[KCrash Handler]
#6  0x00007f7acefa9e64 in std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x10) at /usr/include/c++/4.8/bits/atomic_base.h:496
#7  0x00007f7acefa9e64 in QAtomicOps<int>::load<int> (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:227
#8  0x00007f7acefa9e64 in QBasicAtomicInteger<int>::load() const (this=0x10) at /usr/include/qt5/QtCore/qbasicatomic.h:102
#9  0x00007f7acefa9e64 in QtPrivate::RefCount::isShared() const (this=0x10) at /usr/include/qt5/QtCore/qrefcount.h:101
#10 0x00007f7acefa9e64 in QHash<Plasma::FrameSvg*, int>::detach() (this=0x4d30488) at /usr/include/qt5/QtCore/qhash.h:275
#11 0x00007f7acefa9e64 in QHash<Plasma::FrameSvg*, int>::operator[](Plasma::FrameSvg* const&) (akey=@0x7ffee2a717a8: 0x3fb2810, this=0x4d30488) at /usr/include/qt5/QtCore/qhash.h:744
#12 0x00007f7acefa9e64 in Plasma::FrameData::ref(Plasma::FrameSvg*) (this=this@entry=0x4d303d0, svg=0x3fb2810) at /usr/src/debug/plasma-framework-5.36.0git.20170728T114923~dcf08486f/src/plasma/framesvg.cpp:972
#13 0x00007f7acefad464 in Plasma::FrameSvgPrivate::updateFrameData(Plasma::FrameSvgPrivate::UpdateType) (this=0x2276840, updateType=updateType@entry=Plasma::FrameSvgPrivate::UpdateFrameAndMargins) at /usr/src/debug/plasma-framework-5.36.0git.20170728T114923~dcf08486f/src/plasma/framesvg.cpp:690
#14 0x00007f7acefadfa2 in Plasma::FrameSvg::setEnabledBorders(QFlags<Plasma::FrameSvg::EnabledBorder>) (this=<optimized out>, borders=..., borders@entry=...) at /usr/src/debug/plasma-framework-5.36.0git.20170728T114923~dcf08486f/src/plasma/framesvg.cpp:96
#15 0x00007f7aae459833 in Plasma::FrameSvgItem::setEnabledBorders(QFlags<Plasma::FrameSvg::EnabledBorder>) (this=0x5c714a0, borders=...) at /usr/src/debug/plasma-framework-5.36.0git.20170728T114923~dcf08486f/src/declarativeimports/core/framesvgitem.cpp:404
#16 0x00007f7aae469987 in Plasma::FrameSvgItem::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/plasma-framework-5.36.0git.20170728T114923~dcf08486f/build/src/declarativeimports/core/moc_framesvgitem.cpp:425
#17 0x00007f7acdc2cc3e in  () at /usr/lib64/libQt5Qml.so.5
#18 0x00007f7acdc2d455 in  () at /usr/lib64/libQt5Qml.so.5
#19 0x00007f7acdc2af24 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#20 0x00007f7acdc2b72e in QQmlBinding::expressionChanged() () at /usr/lib64/libQt5Qml.so.5
#21 0x00007f7acdc02f27 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib64/libQt5Qml.so.5
#22 0x00007f7acdba68ec in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /usr/lib64/libQt5Qml.so.5
#23 0x00007f7ac9c80f52 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f7acdba2794 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Qml.so.5
#25 0x00007f7acdbb6859 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#26 0x00007f7acdb7ffe5 in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () at /usr/lib64/libQt5Qml.so.5
#27 0x00007f7acdb807fd in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) () at /usr/lib64/libQt5Qml.so.5
#28 0x00007f7acdb80915 in QV4::QObjectWrapper::put(QV4::Managed*, QV4::String*, QV4::Value const&) () at /usr/lib64/libQt5Qml.so.5
#29 0x00007f7acdb919bf in QV4::Runtime::method_setProperty(QV4::ExecutionEngine*, QV4::Value const&, int, QV4::Value const&) () at /usr/lib64/libQt5Qml.so.5
#30 0x00007f7ab50138d8 in  ()
#31 0x0000000000000002 in  ()
#32 0x0000000000000000 in  ()
Comment 1 Marco Martin 2018-07-02 11:35:52 UTC

*** This bug has been marked as a duplicate of bug 392624 ***