Bug 354510 - Crash in QPulseAudio::AbstractModel::AbstractModel
Summary: Crash in QPulseAudio::AbstractModel::AbstractModel
Status: RESOLVED FIXED
Alias: None
Product: plasma-pa
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 353136 353884 355060 355334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-28 16:04 UTC by Dariusz Ostolski
Modified: 2015-11-14 22:24 UTC (History)
7 users (show)

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 Dariusz Ostolski 2015-10-28 16:04:15 UTC
Application: plasmashell (5.4.2)

Qt Version: 5.5.1
Operating System: Linux 4.2.3-1-default x86_64
Distribution: "openSUSE Tumbleweed (20151022) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I removed system tray, next I've added system tray.
Maybe it has something to do with settings directory because I migrated from kubuntu 15.10.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fd28d00e8c0 (LWP 2207))]

Thread 13 (Thread 0x7fd276553700 (LWP 2208)):
#0  0x00007fd2865e41cd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd28b484432 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fd28b486007 in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fd2786a2e29 in QXcbEventReader::run() (this=0x8c6850) at qxcbconnection.cpp:1229
#4  0x00007fd286cd594f in QThreadPrivate::start(void*) (arg=0x8c6850) at thread/qthread_unix.cpp:331
#5  0x00007fd285deb4a4 in start_thread (arg=0x7fd276553700) at pthread_create.c:334
#6  0x00007fd2865ecb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7fd26f5ef700 (LWP 2247)):
#0  0x00007fd2865e41cd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd282cec264 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fd282cec36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fd286efa52b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd2680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fd286ea463a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd26f5eecf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fd286cd0b1c in QThread::exec() (this=this@entry=0x9a24c0) at thread/qthread.cpp:503
#6  0x00007fd289f659a5 in QQmlThreadPrivate::run() (this=0x9a24c0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007fd286cd594f in QThreadPrivate::start(void*) (arg=0x9a24c0) at thread/qthread_unix.cpp:331
#8  0x00007fd285deb4a4 in start_thread (arg=0x7fd26f5ef700) at pthread_create.c:334
#9  0x00007fd2865ecb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7fd261dc6700 (LWP 2248)):
#0  0x00007fd285df107f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd26c8f0ca3 in  () at /usr/lib64/dri/swrast_dri.so
#2  0x00007fd26c8f0b27 in  () at /usr/lib64/dri/swrast_dri.so
#3  0x00007fd285deb4a4 in start_thread (arg=0x7fd261dc6700) at pthread_create.c:334
#4  0x00007fd2865ecb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7fd2615c5700 (LWP 2249)):
#0  0x00007fd285df107f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd26c8f0ca3 in  () at /usr/lib64/dri/swrast_dri.so
#2  0x00007fd26c8f0b27 in  () at /usr/lib64/dri/swrast_dri.so
#3  0x00007fd285deb4a4 in start_thread (arg=0x7fd2615c5700) at pthread_create.c:334
#4  0x00007fd2865ecb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fd260dc4700 (LWP 2250)):
#0  0x00007fd285df107f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd26c8f0ca3 in  () at /usr/lib64/dri/swrast_dri.so
#2  0x00007fd26c8f0b27 in  () at /usr/lib64/dri/swrast_dri.so
#3  0x00007fd285deb4a4 in start_thread (arg=0x7fd260dc4700) at pthread_create.c:334
#4  0x00007fd2865ecb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fd2605c3700 (LWP 2251)):
#0  0x00007fd285df107f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd26c8f0ca3 in  () at /usr/lib64/dri/swrast_dri.so
#2  0x00007fd26c8f0b27 in  () at /usr/lib64/dri/swrast_dri.so
#3  0x00007fd285deb4a4 in start_thread (arg=0x7fd2605c3700) at pthread_create.c:334
#4  0x00007fd2865ecb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fd25a72c700 (LWP 2252)):
#0  0x00007fd2865e01ad in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd282d2e220 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fd282cebd94 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fd282cec208 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fd282cec36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fd286efa52b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd2540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007fd286ea463a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd25a72bcf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007fd286cd0b1c in QThread::exec() (this=this@entry=0xb989a0) at thread/qthread.cpp:503
#8  0x00007fd289f659a5 in QQmlThreadPrivate::run() (this=0xb989a0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#9  0x00007fd286cd594f in QThreadPrivate::start(void*) (arg=0xb989a0) at thread/qthread_unix.cpp:331
#10 0x00007fd285deb4a4 in start_thread (arg=0x7fd25a72c700) at pthread_create.c:334
#11 0x00007fd2865ecb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fd258d03700 (LWP 2255)):
#0  0x00007fd282cebd38 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#1  0x00007fd282cec208 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fd282cec36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fd286efa52b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd24c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fd286ea463a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd258d02cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fd286cd0b1c in QThread::exec() (this=this@entry=0xbd3ec0) at thread/qthread.cpp:503
#6  0x00007fd289f659a5 in QQmlThreadPrivate::run() (this=0xbd3ec0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007fd286cd594f in QThreadPrivate::start(void*) (arg=0xbd3ec0) at thread/qthread_unix.cpp:331
#8  0x00007fd285deb4a4 in start_thread (arg=0x7fd258d03700) at pthread_create.c:334
#9  0x00007fd2865ecb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fd2531c5700 (LWP 2256)):
#0  0x00007fd285df107f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd28c6f1a84 in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7fd28c9d8ea0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fd28c6f1ac9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fd285deb4a4 in start_thread (arg=0x7fd2531c5700) at pthread_create.c:334
#4  0x00007fd2865ecb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fd1cbfff700 (LWP 2257)):
#0  0x00007fd2865e41cd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd282cec264 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fd282cec36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fd286efa52b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd1c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fd286ea463a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd1cbffecb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fd286cd0b1c in QThread::exec() (this=this@entry=0xf4e890) at thread/qthread.cpp:503
#6  0x00007fd28aae1e42 in QQuickPixmapReader::run() (this=0xf4e890) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/util/qquickpixmapcache.cpp:760
#7  0x00007fd286cd594f in QThreadPrivate::start(void*) (arg=0xf4e890) at thread/qthread_unix.cpp:331
#8  0x00007fd285deb4a4 in start_thread (arg=0x7fd1cbfff700) at pthread_create.c:334
#9  0x00007fd2865ecb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fd1b9593700 (LWP 2334)):
#0  0x00007fd2865e41cd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd282cec264 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fd282cec36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fd286efa52b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd1b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fd286ea463a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd1b9592cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fd286cd0b1c in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fd1bbaa3ed7 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#7  0x00007fd286cd594f in QThreadPrivate::start(void*) (arg=0x1e88810) at thread/qthread_unix.cpp:331
#8  0x00007fd285deb4a4 in start_thread (arg=0x7fd1b9593700) at pthread_create.c:334
#9  0x00007fd2865ecb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fd1ad4ee700 (LWP 17331)):
#0  0x00007fd286ef9c72 in timerSourceCheck(GSource*) (source=0x7fd1a0010b30) at kernel/qeventdispatcher_glib.cpp:164
#1  0x00007fd282cebce1 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fd282cec208 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fd282cec36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fd286efa52b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd1a0118c70, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fd286ea463a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd1ad4edcf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fd286cd0b1c in QThread::exec() (this=this@entry=0x3b3dca0) at thread/qthread.cpp:503
#7  0x00007fd289f659a5 in QQmlThreadPrivate::run() (this=0x3b3dca0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007fd286cd594f in QThreadPrivate::start(void*) (arg=0x3b3dca0) at thread/qthread_unix.cpp:331
#9  0x00007fd285deb4a4 in start_thread (arg=0x7fd1ad4ee700) at pthread_create.c:334
#10 0x00007fd2865ecb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd28d00e8c0 (LWP 2207)):
[KCrash Handler]
#6  0x00007fd286ed5c13 in QObjectPrivate::addConnection(int, QObjectPrivate::Connection*) (this=0x441043b04350411, signal=signal@entry=3, c=0x2106570) at kernel/qobject.cpp:369
#7  0x00007fd286ed6ff6 in QObjectPrivate::connectImpl(QObject const*, int, QObject const*, void**, QtPrivate::QSlotObjectBase*, Qt::ConnectionType, int const*, QMetaObject const*) (sender=sender@entry=0x1c69540, signal_index=3, receiver=receiver@entry=0x26d1e70, slot=slot@entry=0x7ffc02cb35a0, slotObj=slotObj@entry=0x26d1f60, type=Qt::AutoConnection, types=0x0, senderMetaObject=0x7fd1c1784a60 <QPulseAudio::MapBaseQObject::staticMetaObject>) at kernel/qobject.cpp:4698
#8  0x00007fd286ed741d in QObject::connectImpl(QObject const*, void**, QObject const*, void**, QtPrivate::QSlotObjectBase*, Qt::ConnectionType, int const*, QMetaObject const*) (sender=0x1c69540, signal=<optimized out>, receiver=0x26d1e70, slot=0x7ffc02cb35a0, slotObj=0x26d1f60, type=Qt::AutoConnection, types=0x0, senderMetaObject=0x7fd1c1784a60 <QPulseAudio::MapBaseQObject::staticMetaObject>) at kernel/qobject.cpp:4641
#9  0x00007fd1c156dd9f in QPulseAudio::AbstractModel::AbstractModel(QPulseAudio::MapBaseQObject const*, QObject*) () at /usr/lib64/libQPulseAudioPrivate.so
#10 0x00007fd1c15705de in QPulseAudio::SinkModel::SinkModel(QObject*) () at /usr/lib64/libQPulseAudioPrivate.so
#11 0x00007fd1c1791780 in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/volume/libplasma-volume-declarative.so
#12 0x00007fd289f01dfb in QQmlType::create() const (this=this@entry=0x7fd24c524850) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlmetatype.cpp:715
#13 0x00007fd289f5f6b4 in QQmlObjectCreator::createInstance(int, QObject*, bool) (this=this@entry=0x26af190, index=19, parent=0x20b39a0, isContextObject=isContextObject@entry=false) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:1050
#14 0x00007fd289f61a8b in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) (this=this@entry=0x26af190, property=0x7fd24c106af8, binding=binding@entry=0x7fd24c535f1c) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:751
#15 0x00007fd289f61cf0 in QQmlObjectCreator::setupBindings(QBitArray const&) (this=this@entry=0x26af190, bindingsToSkip=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:710
#16 0x00007fd289f5e32a in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*, QBitArray const&) (this=this@entry=0x26af190, index=13, instance=0x1826de0, instance@entry=0x20b39a0, bindingTarget=0x1826de0, bindingTarget@entry=0x20b39a0, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:1321
#17 0x00007fd289f5ec6a in QQmlObjectCreator::createInstance(int, QObject*, bool) (this=this@entry=0x26af190, index=17, parent=<optimized out>, isContextObject=isContextObject@entry=false) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:1169
#18 0x00007fd289f61a8b in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) (this=this@entry=0x26af190, property=0x7fd24c01eb88, binding=binding@entry=0x7fd24c535c9c) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:751
#19 0x00007fd289f61cf0 in QQmlObjectCreator::setupBindings(QBitArray const&) (this=this@entry=0x26af190, bindingsToSkip=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:710
#20 0x00007fd289f5e32a in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*, QBitArray const&) (this=this@entry=0x26af190, index=11, instance=0x3b40ac0, instance@entry=0x1826de0, bindingTarget=0x3b40ac0, bindingTarget@entry=0x1826de0, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:1321
#21 0x00007fd289f5ec6a in QQmlObjectCreator::createInstance(int, QObject*, bool) (this=this@entry=0x26af190, index=13, parent=<optimized out>, isContextObject=isContextObject@entry=false) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:1169
#22 0x00007fd289f61a8b in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) (this=this@entry=0x26af190, property=0x7fd24c218798, binding=binding@entry=0x7fd24c535afc) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:751
#23 0x00007fd289f61cf0 in QQmlObjectCreator::setupBindings(QBitArray const&) (this=this@entry=0x26af190, bindingsToSkip=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:710
#24 0x00007fd289f5e32a in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*, QBitArray const&) (this=this@entry=0x26af190, index=0, instance=0x2490da0, instance@entry=0x3b40ac0, bindingTarget=0x2490da0, bindingTarget@entry=0x3b40ac0, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:1321
#25 0x00007fd289f5ec6a in QQmlObjectCreator::createInstance(int, QObject*, bool) (this=this@entry=0x26af190, index=11, parent=<optimized out>, isContextObject=isContextObject@entry=false) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:1169
#26 0x00007fd289f61a8b in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) (this=this@entry=0x26af190, property=0x7fd24c01eb88, binding=binding@entry=0x7fd24c535264) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:751
#27 0x00007fd289f61cf0 in QQmlObjectCreator::setupBindings(QBitArray const&) (this=this@entry=0x26af190, bindingsToSkip=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:710
#28 0x00007fd289f5e32a in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*, QBitArray const&) (this=this@entry=0x26af190, index=-1, instance=0x0, instance@entry=0x2490da0, bindingTarget=0x656d614e0004, bindingTarget@entry=0x2490da0, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:1321
#29 0x00007fd289f5ec6a in QQmlObjectCreator::createInstance(int, QObject*, bool) (this=this@entry=0x26af190, index=index@entry=0, parent=parent@entry=0x0, isContextObject=isContextObject@entry=true) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:1169
#30 0x00007fd289f6013f in QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*) (this=0x26af190, subComponentIndex=-1, parent=parent@entry=0x0, interrupt=interrupt@entry=0x7ffc02cb4e00) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:209
#31 0x00007fd289eef287 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) (this=0x2ee6650, i=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlincubator.cpp:302
#32 0x00007fd289eefadc in QQmlIncubationController::incubateFor(int) (this=this@entry=0xdcacc0, msecs=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlincubator.cpp:395
#33 0x00007fd28afc135c in KDeclarative::QmlObjectIncubationController::incubatingObjectCountChanged(int) (this=0xdcacb0) at /usr/src/debug/kdeclarative-5.15.0/src/kdeclarative/private/qmlobject_p.h:63
#34 0x00007fd28afc135c in KDeclarative::QmlObjectIncubationController::incubatingObjectCountChanged(int) (this=0xdcacb0, count=1) at /usr/src/debug/kdeclarative-5.15.0/src/kdeclarative/private/qmlobject_p.h:79
#35 0x00007fd289eef949 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) (this=this@entry=0xbb8140, i=..., forContext=forContext@entry=0x2bb0080) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlincubator.cpp:97
#36 0x00007fd289eeb2ec in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) (this=<optimized out>, incubator=..., context=<optimized out>, forContext=forContext@entry=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlcomponent.cpp:1068
#37 0x00007fd28afb1db5 in KDeclarative::QmlObject::completeInitialization(QHash<QString, QVariant> const&) (this=0x2d807e0, initialProperties=...) at /usr/src/debug/kdeclarative-5.15.0/src/kdeclarative/qmlobject.cpp:318
#38 0x00007fd28ca1bb78 in PlasmaQuick::AppletQuickItem::init() () at /usr/lib64/libKF5PlasmaQuick.so.5
#39 0x00007fd258d18fe4 in  () at /usr/lib64/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#40 0x00007fd258d18029 in  () at /usr/lib64/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#41 0x00007fd286ed4d79 in QObject::event(QEvent*) (this=this@entry=0x38c0b20, e=e@entry=0x1cdbbb0) at kernel/qobject.cpp:1239
#42 0x00007fd28ab6ebbb in QQuickItem::event(QEvent*) (this=0x38c0b20, ev=0x1cdbbb0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/items/qquickitem.cpp:7317
#43 0x00007fd258d19296 in  () at /usr/lib64/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#44 0x00007fd28821c8cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x8a7fc0, receiver=receiver@entry=0x38c0b20, e=e@entry=0x1cdbbb0) at kernel/qapplication.cpp:3716
#45 0x00007fd2882219d6 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc02cb5900, receiver=0x38c0b20, e=0x1cdbbb0) at kernel/qapplication.cpp:3499
#46 0x00007fd286ea6cf3 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffc02cb5900, receiver=0x38c0b20, event=event@entry=0x1cdbbb0) at kernel/qcoreapplication.cpp:965
#47 0x00007fd286ea9016 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x1cdbbb0, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#48 0x00007fd286ea9016 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x89d700) at kernel/qcoreapplication.cpp:1593
#49 0x00007fd286ea94f8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#50 0x00007fd286efa103 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x8f5600) at kernel/qeventdispatcher_glib.cpp:271
#51 0x00007fd282cec097 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#52 0x00007fd282cec2c8 in  () at /usr/lib64/libglib-2.0.so.0
#53 0x00007fd282cec36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#54 0x00007fd286efa50f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x8f87c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#55 0x00007fd286ea463a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc02cb5790, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#56 0x00007fd286eac2fd in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#57 0x0000000000434150 in main ()

Possible duplicates by query: bug 351492.

Reported using DrKonqi
Comment 1 David Edmundson 2015-11-09 00:14:54 UTC
*** Bug 355060 has been marked as a duplicate of this bug. ***
Comment 2 David Edmundson 2015-11-09 22:05:56 UTC
*** Bug 353884 has been marked as a duplicate of this bug. ***
Comment 3 David Edmundson 2015-11-09 22:06:04 UTC
*** Bug 353136 has been marked as a duplicate of this bug. ***
Comment 4 David Edmundson 2015-11-11 12:37:11 UTC
Git commit 5d46f6c2a767c25868c143ee64ef71e071a7a55b by David Edmundson.
Committed on 11/11/2015 at 12:31.
Pushed by davidedmundson into branch 'master'.

Fix crash if context gets unrefd

Context is refcounted (using it's own internal mechanism)

However, when the last ref is deleted it leaves a dangling pointer in
instance(). When a new object is created it returns that.

This unsets our static pointer when deleting the context object
REVIEW: 126012

M  +7    -2    src/context.cpp
M  +1    -0    src/context.h

http://commits.kde.org/plasma-pa/5d46f6c2a767c25868c143ee64ef71e071a7a55b
Comment 5 David Edmundson 2015-11-14 22:24:22 UTC
*** Bug 355334 has been marked as a duplicate of this bug. ***