<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>404109</bug_id>
          
          <creation_ts>2019-02-08 20:27:49 +0000</creation_ts>
          <short_desc>Oxygen theme causes Plasmashell&apos;s giant memory leak</short_desc>
          <delta_ts>2019-02-20 23:44:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>general</component>
          <version>5.14.5</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>403978</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>bethock</reporter>
          <assigned_to name="David Edmundson">kde</assigned_to>
          <cc>benjarobin+kde</cc>
    
    <cc>bugseforuns</cc>
    
    <cc>nate</cc>
    
    <cc>plasma-bugs-null</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1836761</commentid>
    <comment_count>0</comment_count>
    <who name="">bethock</who>
    <bug_when>2019-02-08 20:27:49 +0000</bug_when>
    <thetext>SUMMARY
After update (previous update was about couple months ago) I&apos;ve got memory leak in plasmashell process. It ate more than 8Gb RAM. The largest part allocated as one region. I&apos;ve tried to debug it and set breakpoint in gdb: break malloc if $rdi&gt;1000000000. After half an hour it stopped here (Thread 9 &quot;QSGRenderThread&quot; hit Breakpoint 1, 0x00007ffff56d28d0 in malloc () from /usr/lib/libc.so.6):
#0  0x00007ffff56d28d0 in malloc () at /usr/lib/libc.so.6
#1  0x00007ffff6037099 in QImageData::create(QSize const&amp;, QImage::Format) () at /usr/lib/libQt5Gui.so.5
#2  0x00007ffff60370ed in QImage::QImage(QSize const&amp;, QImage::Format) () at /usr/lib/libQt5Gui.so.5
#3  0x00007ffff6037126 in QImage::QImage(int, int, QImage::Format) () at /usr/lib/libQt5Gui.so.5
#4  0x00007ffff607a3ce in QRasterPlatformPixmap::resize(int, int) () at /usr/lib/libQt5Gui.so.5
#5  0x00007ffff6079839 in QPlatformPixmap::create(int, int, QPlatformPixmap::PixelType) () at /usr/lib/libQt5Gui.so.5
#6  0x00007ffff6070908 in QPixmap::doInit(int, int, int) () at /usr/lib/libQt5Gui.so.5
#7  0x00007ffff7b4519a in  () at /usr/lib/libKF5Plasma.so.5
#8  0x00007ffff7b461f4 in Plasma::Svg::image(QSize const&amp;, QString const&amp;) () at /usr/lib/libKF5Plasma.so.5
#9  0x00007fffddc38810 in  () at /usr/lib/qt/qml/org/kde/plasma/core/libcorebindingsplugin.so
#10 0x00007ffff7804bd0 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#11 0x00007ffff7805044 in QQuickWindowPrivate::updateDirtyNodes() () at /usr/lib/libQt5Quick.so.5
#12 0x00007ffff7806577 in QQuickWindowPrivate::syncSceneGraph() () at /usr/lib/libQt5Quick.so.5
#13 0x00007ffff77abe79 in  () at /usr/lib/libQt5Quick.so.5
#14 0x00007ffff77ad24d in  () at /usr/lib/libQt5Quick.so.5
#15 0x00007ffff77b0b58 in  () at /usr/lib/libQt5Quick.so.5
#16 0x00007ffff5a5e96c in  () at /usr/lib/libQt5Core.so.5
#17 0x00007ffff495fa9d in start_thread () at /usr/lib/libpthread.so.0
#18 0x00007ffff5748b23 in clone () at /usr/lib/libc.so.6

With rdi=0x1ffffffd8.


STEPS TO REPRODUCE
1. Start KDE
2. See kde memory consumption


OBSERVED RESULT
It ates more than 8Gb of memory

EXPECTED RESULT
It ates no more than 200Mb.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ArchLinux x64 last update (02/8/2019). KDE 5.14.5-2
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.12.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1836943</commentid>
    <comment_count>1</comment_count>
    <who name="">bethock</who>
    <bug_when>2019-02-09 18:59:38 +0000</bug_when>
    <thetext>It is only with Oxygen theme active.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839396</commentid>
    <comment_count>2</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2019-02-20 23:43:10 +0000</bug_when>
    <thetext>Looks like https://bugreports.qt.io/browse/QTBUG-73691 

But it isn&apos;t yet sure if the bug is in Qt, or actually in Oxygen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839397</commentid>
    <comment_count>3</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2019-02-20 23:44:59 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 403978 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>