<?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>153317</bug_id>
          
          <creation_ts>2007-12-03 02:57:38 +0000</creation_ts>
          <short_desc>Rapid memory leak and many &apos;VncClientThread::outputHandler: &quot;Got new framebuffer size: 1280x800&quot;&apos; messages</short_desc>
          <delta_ts>2007-12-03 23:51:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krdc</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Mark Williamson">maw48</reporter>
          <assigned_to name="Urs Wolfer">uwolfer</assigned_to>
          
          
          <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>559768</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Williamson">maw48</who>
    <bug_when>2007-12-03 02:57:38 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.95.0)
Installed from:    Ubuntu Packages
OS:                Linux

Am logging this as crash even though I&apos;ve not run it until the app crashes, but it locked up my machine by causing swap death, so I think that&apos;s near enough ;-)  It was chewing memory very rapidly, so I assume it&apos;d *actually* crash eventually.  I&apos;ve been using Krdc under KDE3 to connect to Xen virtual machines for a while.  I was trying out the krdc from KDE4 because it&apos;d be really useful to me to have tabs available rather than a separate window for each connection.  Bookmarks would also be very useful.

My machine is Kubuntu Gutsy on x86_32.

I actually have an install of KDE4-RC1 on this machine (installed from here http://kubuntu.org/announcements/kde4-rc1.php); however, the KRDC says it comes from KDE4-beta4, which is presumably what shipped with Kubuntu Gutsy at release (?).  If that&apos;s a problem (e.g. if libraries are mixed up or something) then I can install something else, as long as it&apos;s from packages.  I&apos;m not clear exactly what apt has done, I just let it do it&apos;s thing.

When I connect to a Xen virtual machine, I get lots of output saying:

krdc(6342)/krdc (VNC backend) VncClientThread::outputHandler: &quot;Got new framebuffer size: 1280x800&quot;

many times.  krdc swells to gigabytes of memory usage within a couple of minutes.  When I disconnect the VNC session, krdc stops growing but doesn&apos;t shrink either.

The VNC server in use is the built-in one used by Qemu and Xen for serving out virtual machine framebuffers.  It&apos;s not based on an external VNC server library and it incorporates some slightly non-standard behaviour (e.g. implements an extension to send resize events to the client when the server resolution changes - supported by RealVNC but not many other clients).

Please let me know if there&apos;s anything you&apos;d like me to try or any more information you need.

Cheers,
Mark</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>560033</commentid>
    <comment_count>1</comment_count>
    <who name="Urs Wolfer">uwolfer</who>
    <bug_when>2007-12-03 23:51:54 +0000</bug_when>
    <thetext>SVN commit 744609 by uwolfer:

Fix HUGE memoryleak, which occured in very special circumstances: KRDC ate several GB of memory in a couple of minutes...
Thanks to Apol for his hints and Mark Williamson for reporting it.
BUG: 153317

 M  +15 -1     vncclientthread.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=744609
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>