[Bug 624107] New: tightvnc (Xvnc) has ugly memory leak
http://bugzilla.novell.com/show_bug.cgi?id=624107 http://bugzilla.novell.com/show_bug.cgi?id=624107#c0 Summary: tightvnc (Xvnc) has ugly memory leak Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: nettezzaumanaa@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100506 SUSE/3.5.10-0.1 Firefox/3.5.10 hi there .. i've found yet another proof of that tightvnc is the baddest of bad !! ~> pmap `pgrep Xvnc` 26862: Xvnc START SIZE RSS PSS DIRTY SWAP PERM MAPPING 0000000000400000 1804K 792K 792K 0K 0K r-xp /usr/bin/Xvnc 00000000007c2000 12K 8K 8K 4K 0K r--p /usr/bin/Xvnc 00000000007c5000 56K 24K 24K 24K 24K rw-p /usr/bin/Xvnc 00000000007d3000 260356K 95784K 95784K 93076K 164380K rw-p [heap] 00007f0c1deca000 384K 116K 58K 0K 0K rw-s /SYSV00000000 00007f0c1df2a000 384K 384K 192K 0K 0K rw-s /SYSV00000000 00007f0c1e187000 976K 0K 0K 0K 976K rw-p [anon] 00007f0c1e27b000 2228K 0K 0K 0K 0K r-xp /usr/lib64/dri/swrast_dri.so 00007f0c1e4a8000 2044K 0K 0K 0K 0K ---p /usr/lib64/dri/swrast_dri.so 00007f0c1e6a7000 32K 0K 0K 0K 32K r--p /usr/lib64/dri/swrast_dri.so 00007f0c1e6af000 8K 0K 0K 0K 8K rw-p /usr/lib64/dri/swrast_dri.so 00007f0c1e6b1000 4636K 4576K 4576K 4576K 20K rw-p [anon] 00007f0c1eb38000 84K 0K 0K 0K 0K r-xp /lib64/libgcc_s.so.1 00007f0c1eb4d000 2044K 0K 0K 0K 0K ---p /lib64/libgcc_s.so.1 00007f0c1ed4c000 4K 0K 0K 0K 4K r--p /lib64/libgcc_s.so.1 00007f0c1ed4d000 4K 0K 0K 0K 4K rw-p /lib64/libgcc_s.so.1 00007f0c1ed4e000 92K 48K 1K 0K 0K r-xp /lib64/libpthread-2.11.2.so 00007f0c1ed65000 2048K 0K 0K 0K 0K ---p /lib64/libpthread-2.11.2.so 00007f0c1ef65000 4K 0K 0K 0K 4K r--p /lib64/libpthread-2.11.2.so 00007f0c1ef66000 4K 0K 0K 0K 4K rw-p /lib64/libpthread-2.11.2.so 00007f0c1ef67000 16K 0K 0K 0K 4K rw-p [anon] 00007f0c1ef6b000 24K 0K 0K 0K 0K r-xp /usr/lib64/libfontenc.so.1.0.0 00007f0c1ef71000 2044K 0K 0K 0K 0K ---p /usr/lib64/libfontenc.so.1.0.0 00007f0c1f170000 4K 0K 0K 0K 4K r--p /usr/lib64/libfontenc.so.1.0.0 00007f0c1f171000 4K 0K 0K 0K 4K rw-p /usr/lib64/libfontenc.so.1.0.0 00007f0c1f172000 4K 0K 0K 0K 4K rw-p [anon] 00007f0c1f173000 528K 0K 0K 0K 0K r-xp /usr/lib64/libfreetype.so.6.4.0 00007f0c1f1f7000 2044K 0K 0K 0K 0K ---p /usr/lib64/libfreetype.so.6.4.0 00007f0c1f3f6000 20K 0K 0K 0K 20K r--p /usr/lib64/libfreetype.so.6.4.0 00007f0c1f3fb000 4K 0K 0K 0K 4K rw-p /usr/lib64/libfreetype.so.6.4.0 00007f0c1f3fc000 80K 56K 7K 0K 0K r-xp /lib64/libz.so.1.2.3 00007f0c1f410000 2048K 0K 0K 0K 0K ---p /lib64/libz.so.1.2.3 00007f0c1f610000 4K 4K 4K 4K 0K r--p /lib64/libz.so.1.2.3 00007f0c1f611000 4K 4K 4K 4K 0K rw-p /lib64/libz.so.1.2.3 00007f0c1f612000 1368K 332K 13K 0K 0K r-xp /lib64/libc-2.11.2.so 00007f0c1f768000 2048K 0K 0K 0K 0K ---p /lib64/libc-2.11.2.so 00007f0c1f968000 16K 4K 4K 4K 12K r--p /lib64/libc-2.11.2.so 00007f0c1f96c000 4K 4K 4K 4K 0K rw-p /lib64/libc-2.11.2.so 00007f0c1f96d000 20K 16K 16K 16K 4K rw-p [anon] 00007f0c1f972000 32K 4K 0K 0K 0K r-xp /lib64/librt-2.11.2.so 00007f0c1f97a000 2044K 0K 0K 0K 0K ---p /lib64/librt-2.11.2.so 00007f0c1fb79000 4K 4K 4K 4K 0K r--p /lib64/librt-2.11.2.so 00007f0c1fb7a000 4K 0K 0K 0K 4K rw-p /lib64/librt-2.11.2.so 00007f0c1fb7b000 344K 12K 1K 0K 0K r-xp /lib64/libm-2.11.2.so 00007f0c1fbd1000 2044K 0K 0K 0K 0K ---p /lib64/libm-2.11.2.so 00007f0c1fdd0000 4K 0K 0K 0K 4K r--p /lib64/libm-2.11.2.so 00007f0c1fdd1000 4K 0K 0K 0K 4K rw-p /lib64/libm-2.11.2.so 00007f0c1fdd2000 20K 0K 0K 0K 0K r-xp /usr/lib64/libXdmcp.so.6.0.0 00007f0c1fdd7000 2044K 0K 0K 0K 0K ---p /usr/lib64/libXdmcp.so.6.0.0 00007f0c1ffd6000 4K 0K 0K 0K 4K r--p /usr/lib64/libXdmcp.so.6.0.0 00007f0c1ffd7000 4K 0K 0K 0K 4K rw-p /usr/lib64/libXdmcp.so.6.0.0 00007f0c1ffd8000 8K 4K 0K 0K 0K r-xp /usr/lib64/libXau.so.6.0.0 00007f0c1ffda000 2048K 0K 0K 0K 0K ---p /usr/lib64/libXau.so.6.0.0 00007f0c201da000 4K 0K 0K 0K 4K r--p /usr/lib64/libXau.so.6.0.0 00007f0c201db000 4K 0K 0K 0K 4K rw-p /usr/lib64/libXau.so.6.0.0 00007f0c201dc000 236K 8K 8K 0K 0K r-xp /usr/lib64/libXfont.so.1.4.1 00007f0c20217000 2048K 0K 0K 0K 0K ---p /usr/lib64/libXfont.so.1.4.1 00007f0c20417000 4K 0K 0K 0K 4K r--p /usr/lib64/libXfont.so.1.4.1 00007f0c20418000 8K 0K 0K 0K 8K rw-p /usr/lib64/libXfont.so.1.4.1 00007f0c2041a000 376K 160K 128K 0K 0K r-xp /usr/lib64/libpixman-1.so.0.18.0 00007f0c20478000 2044K 0K 0K 0K 0K ---p /usr/lib64/libpixman-1.so.0.18.0 00007f0c20677000 16K 16K 16K 16K 0K r--p /usr/lib64/libpixman-1.so.0.18.0 00007f0c2067b000 4K 4K 4K 0K 0K rw-p /usr/lib64/libpixman-1.so.0.18.0 00007f0c2067c000 44K 0K 0K 0K 0K r-xp /lib64/libcrypt-2.11.2.so 00007f0c20687000 2048K 0K 0K 0K 0K ---p /lib64/libcrypt-2.11.2.so 00007f0c20887000 4K 0K 0K 0K 4K r--p /lib64/libcrypt-2.11.2.so 00007f0c20888000 4K 0K 0K 0K 4K rw-p /lib64/libcrypt-2.11.2.so 00007f0c20889000 184K 0K 0K 0K 0K rw-p [anon] 00007f0c208b7000 224K 0K 0K 0K 0K r-xp /usr/lib64/libjpeg.so.8.0.1 00007f0c208ef000 2044K 0K 0K 0K 0K ---p /usr/lib64/libjpeg.so.8.0.1 00007f0c20aee000 4K 0K 0K 0K 4K r--p /usr/lib64/libjpeg.so.8.0.1 00007f0c20aef000 4K 0K 0K 0K 4K rw-p /usr/lib64/libjpeg.so.8.0.1 00007f0c20af0000 8K 4K 0K 0K 0K r-xp /lib64/libdl-2.11.2.so 00007f0c20af2000 2048K 0K 0K 0K 0K ---p /lib64/libdl-2.11.2.so 00007f0c20cf2000 4K 0K 0K 0K 4K r--p /lib64/libdl-2.11.2.so 00007f0c20cf3000 4K 0K 0K 0K 4K rw-p /lib64/libdl-2.11.2.so 00007f0c20cf4000 1568K 0K 0K 0K 0K r-xp /lib64/libcrypto.so.1.0.0 00007f0c20e7c000 2048K 0K 0K 0K 0K ---p /lib64/libcrypto.so.1.0.0 00007f0c2107c000 100K 0K 0K 0K 100K r--p /lib64/libcrypto.so.1.0.0 00007f0c21095000 40K 4K 4K 4K 36K rw-p /lib64/libcrypto.so.1.0.0 00007f0c2109f000 16K 0K 0K 0K 0K rw-p [anon] 00007f0c210a3000 124K 28K 0K 0K 0K r-xp /lib64/ld-2.11.2.so 00007f0c21112000 212K 8K 8K 0K 204K rw-p [anon] 00007f0c21147000 208K 0K 0K 0K 208K rw-p [anon] 00007f0c2118f000 208K 0K 0K 0K 4K rw-p [anon] 00007f0c211c3000 300K 0K 0K 0K 288K rw-p [anon] 00007f0c2120e000 300K 12K 12K 0K 276K rw-p [anon] 00007f0c2127e000 168K 8K 8K 8K 152K rw-p [anon] 00007f0c212ac000 76K 0K 0K 0K 0K r--p /usr/share/fonts/Type1/l047013t.pfa 00007f0c212bf000 8K 0K 0K 0K 8K rw-p [anon] 00007f0c212c1000 4K 0K 0K 0K 4K r--p /lib64/ld-2.11.2.so 00007f0c212c2000 4K 4K 4K 4K 0K rw-p /lib64/ld-2.11.2.so 00007f0c212c3000 4K 0K 0K 0K 4K rw-p [anon] 00007fff1a22a000 140K 36K 36K 36K 104K rw-p [stack] 00007fff1a309000 4K 4K 0K 0K 0K r-xp [vdso] ffffffffff600000 4K 0K 0K 0K 0K r-xp [vsyscall] Total: 313000K 102472K 101720K 97784K 166964K 267928K writable-private, 44304K readonly-private, 768K shared, and 75988K referenced ^^ as you can see, it has devoured (physical/swap) much more then polite is .. you all know good, how much i love tightvnc (https://bugzilla.novell.com/show_bug.cgi?id=591834) so time to vote again: ***NO*** this behavior occurs *every *time after few days up: UID PID PPID C SZ RSS PSR STIME TTY TIME CMD dpecka 26862 1 2 78249 102384 0 Jul15 ? 02:44:20 Xvnc :9 -desktop X -httpd /usr/share/vnc/classes -auth /home/dpecka/.Xauthority -geometry 1220x960 -depth 24 -rfbwait 120000 -rfbauth /home/dpecka/.vnc/passwd -rfbport 5909 -fp /usr/share/fonts/misc:unscaled,/usr/share/fonts/local,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/Type1,/usr/share/fonts/URW,/usr/share/fonts/Speedo,/usr/share/fonts/truetype,/usr/share/fonts/uni,/usr/share/fonts/CID -noreset # rpm -qa \*vnc\* tightvnc-1.3.9-110.1.x86_64 xorg-x11-Xvnc-7.5_1.8.0-9.4.x86_64 regards, danile ps. don't feel touched, my tone is rather humorous than aimed to harm developer's delicate soul ;) Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c1
Reinhard Max
i've found yet another proof of that tightvnc is the baddest of bad !!
Hear, hear! Except for the fact that we only use vncviewer from the tightvnc project, but not Xvnc. Our Xvnc binary is compiled from the X.org sources after applying the XF4VNC patch. But your numbers don't look exceptionally high to me for an X server that has been running for some days, depending what it has been used for during that time. Stefan, what do you think? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c2
--- Comment #2 from Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c3
--- Comment #3 from Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c4
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c5
Stefan Dirsch
So which Xvnc has a better memory footprint?
For the same usage ... please provide an example. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c6
--- Comment #6 from Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c7
Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c
Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c
Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c8
Reinhard Max
.. i'm really voting for reconsider about vnc stack in suse ..
Yes, we *are* considering a change, as I told you before, but it was too late for 11.3. Please be patient... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c9
--- Comment #9 from Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c10
--- Comment #10 from Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=624107
http://bugzilla.novell.com/show_bug.cgi?id=624107#c11
--- Comment #11 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=624107
https://bugzilla.novell.com/show_bug.cgi?id=624107#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=624107
https://bugzilla.novell.com/show_bug.cgi?id=624107#c12
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=624107
https://bugzilla.novell.com/show_bug.cgi?id=624107#c13
Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com