Bug 356789 - memory leak
Summary: memory leak
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-12-16 19:05 UTC by shepard127
Modified: 2018-06-08 18:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shepard127 2015-12-16 19:05:13 UTC
Application: plasma-windowed (0.1)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-38-generic x86_64
Distribution: Linux Mint 17.2 Rafaela

-- Information about the crash:
I think that this bug leads to a memory leak linux!

The crash can be reproduced sometimes.

-- Backtrace:
Application: Оболочка для виджетов Plasma (plasma-windowed), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9e02ca47c0 (LWP 6504))]

Thread 2 (Thread 0x7f9dddf2c700 (LWP 6505)):
#0  0x00007f9df8cd67ee in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f9dd8000a60) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7f9dd8000a60) at pthread_mutex_unlock.c:310
#2  0x00007f9df86449b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9df8602a59 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9df8602f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9df86030ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f9e011d47be in QEventDispatcherGlib::processEvents (this=0x7f9dd80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007f9e011a60af in QEventLoop::processEvents (this=this@entry=0x7f9dddf2bde0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f9e011a63a5 in QEventLoop::exec (this=this@entry=0x7f9dddf2bde0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f9e010a2c5f in QThread::exec (this=this@entry=0x15a7410) at thread/qthread.cpp:537
#10 0x00007f9e01187823 in QInotifyFileSystemWatcherEngine::run (this=0x15a7410) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f9e010a532f in QThreadPrivate::start (arg=0x15a7410) at thread/qthread_unix.cpp:349
#12 0x00007f9df8cd3182 in start_thread (arg=0x7f9dddf2c700) at pthread_create.c:312
#13 0x00007f9e0260247d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f9e02ca47c0 (LWP 6504)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f9e00aded76 in QGraphicsItem::dragLeaveEvent (this=0x15252b0, event=0x1) at graphicsview/qgraphicsitem.cpp:6890
#8  0x00007f9dd7a64bec in sipQGraphicsProxyWidget::focusNextPrevChild (this=0x1c08e50, a0=<optimized out>) at sipQtGuipart6.cpp:28682
#9  0x00007f9e00af2039 in QGraphicsItemPrivate::setVisibleHelper (this=0x1c08ed0, newVisible=newVisible@entry=false, explicitly=explicitly@entry=false, update=update@entry=true) at graphicsview/qgraphicsitem.cpp:2324
#10 0x00007f9e00af1bf9 in QGraphicsItemPrivate::setVisibleHelper (this=0x1a57120, newVisible=false, explicitly=explicitly@entry=true, update=update@entry=true) at graphicsview/qgraphicsitem.cpp:2355
#11 0x00007f9e00af20e7 in QGraphicsItem::setVisible (this=this@entry=0x1a597b0, visible=<optimized out>) at graphicsview/qgraphicsitem.cpp:2453
#12 0x00007f9e00b08e5b in QGraphicsProxyWidget::eventFilter (this=0x1a597a0, object=0x1526710, event=0x7fffae9b6810) at graphicsview/qgraphicsproxywidget.cpp:958
#13 0x00007f9e011a7646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1372530, receiver=receiver@entry=0x1526710, event=event@entry=0x7fffae9b6810) at kernel/qcoreapplication.cpp:1063
#14 0x00007f9e00540e0c in QApplicationPrivate::notify_helper (this=this@entry=0x1372530, receiver=receiver@entry=0x1526710, e=e@entry=0x7fffae9b6810) at kernel/qapplication.cpp:4563
#15 0x00007f9e005474a0 in QApplication::notify (this=this@entry=0x1353970, receiver=receiver@entry=0x1526710, e=e@entry=0x7fffae9b6810) at kernel/qapplication.cpp:4353
#16 0x00007f9e01bf1cca in KApplication::notify (this=0x1353970, receiver=0x1526710, event=0x7fffae9b6810) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007f9e011a74dd in QCoreApplication::notifyInternal (this=0x1353970, receiver=receiver@entry=0x1526710, event=event@entry=0x7fffae9b6810) at kernel/qcoreapplication.cpp:953
#18 0x00007f9e0058c63d in sendEvent (event=0x7fffae9b6810, receiver=0x1526710) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QWidgetPrivate::hide_helper (this=this@entry=0x1a53530) at kernel/qwidget.cpp:7642
#20 0x00007f9e0058f8a8 in QWidget::setVisible (this=0x1526710, visible=<optimized out>) at kernel/qwidget.cpp:7815
#21 0x00007f9e0058c924 in hide (this=0x1526710) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:501
#22 QWidgetPrivate::close_helper (this=this@entry=0x1a53530, mode=mode@entry=QWidgetPrivate::CloseNoEvent) at kernel/qwidget.cpp:7950
#23 0x00007f9e0058cefe in QWidget::~QWidget (this=0x1526710, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1619
#24 0x00007f9e00932119 in QGroupBox::~QGroupBox (this=0x1526710, __in_chrg=<optimized out>) at widgets/qgroupbox.cpp:216
#25 0x00007f9e00b07724 in QGraphicsProxyWidget::~QGraphicsProxyWidget (this=0x1a597a0, __in_chrg=<optimized out>) at graphicsview/qgraphicsproxywidget.cpp:554
#26 0x00007f9ddc18c879 in sipPlasma_GroupBox::~sipPlasma_GroupBox (this=0x1a597a0, __in_chrg=<optimized out>) at sip/plasma/sipplasmapart2.cpp:21300
#27 0x00007f9e00af48fe in QGraphicsItem::~QGraphicsItem (this=0x15252c0, __in_chrg=<optimized out>) at graphicsview/qgraphicsitem.cpp:1493
#28 0x00007f9e00b432c6 in ~QGraphicsObject (this=0x15252b0, __in_chrg=<optimized out>) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:547
#29 QGraphicsWidget::~QGraphicsWidget (this=0x15252b0, __in_chrg=<optimized out>) at graphicsview/qgraphicswidget.cpp:232
#30 0x00007f9dd7a25da9 in sipQGraphicsWidget::~sipQGraphicsWidget (this=0x15252b0, __in_chrg=<optimized out>) at sipQtGuipart6.cpp:30634
#31 0x00007f9dd7a0806e in release_QGraphicsWidget (sipCppV=0x15252b0) at sipQtGuipart6.cpp:34074
#32 0x00007f9ddc5a1a26 in forgetObject (sw=sw@entry=0x7f9dd57ea0e8) at /build/buildd/sip4-4.15.5/siplib/siplib.c:10963
#33 0x00007f9ddc5a2d09 in sipWrapper_dealloc (self=0x7f9dd57ea0e8) at /build/buildd/sip4-4.15.5/siplib/siplib.c:10515
#34 0x00007f9ddd0d2aba in subtype_dealloc.25957 (self=0x7f9dd57ea0e8) at ../Objects/typeobject.c:1030
#35 0x00007f9ddd15da3f in dict_dealloc.19000 (mp=0x7f9dd5f90d70) at ../Objects/dictobject.c:1010
#36 0x00007f9ddc59fb57 in sipSimpleWrapper_clear (self=self@entry=0x7f9ddc535cc8) at /build/buildd/sip4-4.15.5/siplib/siplib.c:10088
#37 0x00007f9ddc5a2c34 in sipWrapper_clear (self=self@entry=0x7f9ddc535cc8) at /build/buildd/sip4-4.15.5/siplib/siplib.c:10474
#38 0x00007f9ddc5a2d11 in sipWrapper_dealloc (self=0x7f9ddc535cc8) at /build/buildd/sip4-4.15.5/siplib/siplib.c:10517
#39 0x00007f9ddd0d2aba in subtype_dealloc.25957 (self=0x7f9ddc535cc8) at ../Objects/typeobject.c:1030
#40 0x00007f9ddd13ae1f in insertdict_by_entry.18913 (mp=mp@entry=0x7f9dd5f90050, key=key@entry=0x7f9ddcca8540, hash=hash@entry=6047398747149091237, ep=<optimized out>, value=value@entry=0x7f9ddd50f2d0 <_Py_NoneStruct>) at ../Objects/dictobject.c:519
#41 0x00007f9ddd12743b in insertdict (value=0x7f9ddd50f2d0 <_Py_NoneStruct>, hash=6047398747149091237, key=0x7f9ddcca8540, mp=0x7f9dd5f90050) at ../Objects/dictobject.c:556
#42 dict_set_item_by_hash_or_entry (ep=0x0, value=0x7f9ddd50f2d0 <_Py_NoneStruct>, hash=6047398747149091237, key=0x7f9ddcca8540, op=0x7f9dd5f90050) at ../Objects/dictobject.c:765
#43 PyDict_SetItem (op=op@entry=0x7f9dd5f90050, key=key@entry=0x7f9ddcca8540, value=value@entry=0x7f9ddd50f2d0 <_Py_NoneStruct>) at ../Objects/dictobject.c:818
#44 0x00007f9ddd09a5d8 in _PyObject_GenericSetAttrWithDict (obj=<optimized out>, name=0x7f9ddcca8540, value=0x7f9ddd50f2d0 <_Py_NoneStruct>, dict=0x7f9dd5f90050) at ../Objects/object.c:1529
#45 0x00007f9ddd106bbf in PyObject_SetAttr (v=v@entry=0x7f9ddc535b98, name=<optimized out>, value=value@entry=0x7f9ddd50f2d0 <_Py_NoneStruct>) at ../Objects/object.c:1252
#46 0x00007f9ddd14a1da in PyEval_EvalFrameEx (f=f@entry=0x7f9dd5823050, throwflag=throwflag@entry=0) at ../Python/ceval.c:2004
#47 0x00007f9ddd14e54d in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x7f9dd582fce8, argcount=1, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3252
#48 0x00007f9ddd1836d0 in function_call (func=0x7f9dd5f68a28, arg=0x7f9dd582fcd0, kw=0x0) at ../Objects/funcobject.c:526
#49 0x00007f9ddd0efd43 in PyObject_Call (func=func@entry=0x7f9dd5f68a28, arg=arg@entry=0x7f9dd582fcd0, kw=kw@entry=0x0) at ../Objects/abstract.c:2529
#50 0x00007f9ddd07b7bd in instancemethod_call.8988 (func=0x7f9dd5f68a28, arg=0x7f9dd582fcd0, kw=0x0) at ../Objects/classobject.c:2602
#51 0x00007f9ddd0efd43 in PyObject_Call (func=func@entry=0x7f9ddcd26b40, arg=arg@entry=0x7f9ddcd7d050, kw=<optimized out>) at ../Objects/abstract.c:2529
#52 0x00007f9ddd168577 in PyEval_CallObjectWithKeywords (func=func@entry=0x7f9ddcd26b40, arg=arg@entry=0x7f9ddcd7d050, kw=kw@entry=0x0) at ../Python/ceval.c:3889
#53 0x00007f9ddc5ad5a4 in sip_api_call_method (isErr=isErr@entry=0x0, method=method@entry=0x7f9ddcd26b40, fmt=fmt@entry=0x7f9ddc5b2830 "") at /build/buildd/sip4-4.15.5/siplib/siplib.c:1908
#54 0x00007f9ddc5ad67d in callPyDtor (self=0x7f9ddc535b98) at /build/buildd/sip4-4.15.5/siplib/siplib.c:5684
#55 sip_api_common_dtor (sipSelf=0x7f9ddc535b98) at /build/buildd/sip4-4.15.5/siplib/siplib.c:5630
#56 0x00007f9ddc1c3956 in sipPlasma_AppletScript::~sipPlasma_AppletScript (this=0x15ed0c0, __in_chrg=<optimized out>) at sip/plasma/sipplasmapart3.cpp:18378
#57 0x00007f9ddc1c3969 in sipPlasma_AppletScript::~sipPlasma_AppletScript (this=0x15ed0c0, __in_chrg=<optimized out>) at sip/plasma/sipplasmapart3.cpp:18379
#58 0x00007f9e020ee988 in Plasma::AppletPrivate::~AppletPrivate (this=0x15bc2c0, __in_chrg=<optimized out>) at ../../plasma/applet.cpp:2702
#59 0x00007f9e020f132a in Plasma::Applet::~Applet (this=0x15a8700, __in_chrg=<optimized out>) at ../../plasma/applet.cpp:231
#60 0x00007f9e02149579 in Plasma::PopupApplet::~PopupApplet (this=0x15a8700, __in_chrg=<optimized out>) at ../../plasma/popupapplet.cpp:75
#61 0x00007f9e028d6361 in PlasmaApp::storeApplet (this=<optimized out>, applet=0x15a8700) at ../../../../../plasma/generic/shells/plasma-windowed/plasmaapp.cpp:239
#62 0x00007f9e011bb87a in QMetaObject::activate (sender=sender@entry=0x15806a0, m=m@entry=0x7f9e02ad8c00 <SingleView::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffae9b7700) at kernel/qobject.cpp:3539
#63 0x00007f9e028d42a7 in storeApplet (_t1=0x15a8700, this=0x15806a0) at ./singleview.moc:132
#64 SingleView::closeEvent (this=0x15806a0, event=0x7fffae9b7b20) at ../../../../../plasma/generic/shells/plasma-windowed/singleview.cpp:114
#65 0x00007f9e00590116 in QWidget::event (this=this@entry=0x15806a0, event=event@entry=0x7fffae9b7b20) at kernel/qwidget.cpp:8545
#66 0x00007f9e0093204e in QFrame::event (this=this@entry=0x15806a0, e=e@entry=0x7fffae9b7b20) at widgets/qframe.cpp:557
#67 0x00007f9e009ae4ab in QAbstractScrollArea::event (this=0x15806a0, e=0x7fffae9b7b20) at widgets/qabstractscrollarea.cpp:996
#68 0x00007f9e00540e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1372530, receiver=receiver@entry=0x15806a0, e=e@entry=0x7fffae9b7b20) at kernel/qapplication.cpp:4567
#69 0x00007f9e005474a0 in QApplication::notify (this=this@entry=0x1353970, receiver=receiver@entry=0x15806a0, e=e@entry=0x7fffae9b7b20) at kernel/qapplication.cpp:4353
#70 0x00007f9e01bf1cca in KApplication::notify (this=0x1353970, receiver=0x15806a0, event=0x7fffae9b7b20) at ../../kdeui/kernel/kapplication.cpp:311
#71 0x00007f9e011a74dd in QCoreApplication::notifyInternal (this=0x1353970, receiver=receiver@entry=0x15806a0, event=event@entry=0x7fffae9b7b20) at kernel/qcoreapplication.cpp:953
#72 0x00007f9e0058c989 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#73 QWidgetPrivate::close_helper (this=0x158d4d0, mode=mode@entry=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7942
#74 0x00007f9e005ab0b2 in translateCloseEvent (this=0x15806a0) at kernel/qapplication_x11.cpp:5828
#75 QApplication::x11ClientMessage (this=<optimized out>, w=0x15806a0, event=<optimized out>, passive_only=<optimized out>) at kernel/qapplication_x11.cpp:3204
#76 0x00007f9e005ba892 in QApplication::x11ProcessEvent (this=0x1353970, event=event@entry=0x7fffae9b7dc0) at kernel/qapplication_x11.cpp:3888
#77 0x00007f9e005e2b32 in x11EventSourceDispatch (s=0x1371ee0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#78 0x00007f9df8602e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#79 0x00007f9df8603048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#80 0x00007f9df86030ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#81 0x00007f9e011d47a1 in QEventDispatcherGlib::processEvents (this=0x1339a30, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#82 0x00007f9e005e2be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#83 0x00007f9e011a60af in QEventLoop::processEvents (this=this@entry=0x7fffae9b8190, flags=...) at kernel/qeventloop.cpp:149
#84 0x00007f9e011a63a5 in QEventLoop::exec (this=this@entry=0x7fffae9b8190, flags=...) at kernel/qeventloop.cpp:204
#85 0x00007f9e011abb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#86 0x00007f9e0053f37c in QApplication::exec () at kernel/qapplication.cpp:3828
#87 0x00007f9e028d4b1a in kdemain (argc=2, argv=0x7fffae9b83e8) at ../../../../../plasma/generic/shells/plasma-windowed/main.cpp:56
#88 0x00007f9e02529ec5 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=2, argv=0x7fffae9b83e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffae9b83d8) at libc-start.c:287
#89 0x000000000040070e in _start ()

Reported using DrKonqi
Comment 1 Nate Graham 2018-06-08 18:25:37 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug has already been resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham