xffm xml mem leaks fixed

Olivier Fourdan fourdan at xfce.org
Thu May 8 01:09:39 CEST 2003


Hi Jasper,

Indeed, things seem to have improved dramatically.

Here attached the valgrind report.

Cheers,
Olivier.

On Wed, 2003-05-07 at 15:00, Jasper Huijsmans wrote:
> Hey Edscott,
> 
> I just added the appropriate g_free() statements to the xml parsing in
> libs/settings.c and libs/icons.c. That's all xml memory allocation I
> could find with a quick scan. 
> 
> 	Jasper
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
-- 
Olivier Fourdan <fourdan at xfce.org>
http://www.xfce.org
-------------- next part --------------
==9061== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux.
==9061== Copyright (C) 2002, and GNU GPL'd, by Julian Seward.
==9061== Using valgrind-1.9.6, a program instrumentation system for x86-linux.
==9061== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward.
==9061== Estimated CPU clock rate is 1098 MHz
==9061== For more details, rerun with: -v
==9061== 

(process:9061): Gdk-WARNING **: locale not supported by Xlib

(process:9061): Gdk-WARNING **: can not set locale modifiers
==9061== Warning: attempt to set SIGKILL handler in __NR_sigaction.
==9061== Invalid read of size 1
==9061==    at 0x40161B51: strlen (vg_clientfuncs.c:439)
==9061==    by 0x408AC0ED: _IO_vfprintf_internal (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x408B4431: _IO_printf (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x4021AF9B: create_icons (icons.c:858)
==9061==    Address 0x41E912C8 is 0 bytes inside a block of size 8 free'd
==9061==    at 0x4016161C: free (vg_clientfuncs.c:185)
==9061==    by 0x4076E559: g_free (gmem.c:186)
==9061==    by 0x4021AF7D: create_icons (icons.c:855)
==9061==    by 0x8064A4F: create_treeview (treeview.c:710)
==9061== 
==9061== Invalid read of size 1
==9061==    at 0x40161B57: strlen (vg_clientfuncs.c:439)
==9061==    by 0x408AC0ED: _IO_vfprintf_internal (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x408B4431: _IO_printf (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x4021AF9B: create_icons (icons.c:858)
==9061==    Address 0x41E912C9 is 1 bytes inside a block of size 8 free'd
==9061==    at 0x4016161C: free (vg_clientfuncs.c:185)
==9061==    by 0x4076E559: g_free (gmem.c:186)
==9061==    by 0x4021AF7D: create_icons (icons.c:855)
==9061==    by 0x8064A4F: create_treeview (treeview.c:710)
==9061== 
==9061== Invalid read of size 1
==9061==    at 0x408D0260: _IO_file_xsputn@@GLIBC_2.1 (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x408AC064: _IO_vfprintf_internal (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x408B4431: _IO_printf (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x4021AF9B: create_icons (icons.c:858)
==9061==    Address 0x41E912C8 is 0 bytes inside a block of size 8 free'd
==9061==    at 0x4016161C: free (vg_clientfuncs.c:185)
==9061==    by 0x4076E559: g_free (gmem.c:186)
==9061==    by 0x4021AF7D: create_icons (icons.c:855)
==9061==    by 0x8064A4F: create_treeview (treeview.c:710)
==9061== 
==9061== Invalid read of size 1
==9061==    at 0x408DDFC5: __GI___mempcpy (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x408AC064: _IO_vfprintf_internal (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x408B4431: _IO_printf (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x4021AF9B: create_icons (icons.c:858)
==9061==    Address 0x41E9DB1C is 0 bytes inside a block of size 22 free'd
==9061==    at 0x4016161C: free (vg_clientfuncs.c:185)
==9061==    by 0x4076E559: g_free (gmem.c:186)
==9061==    by 0x4021AF86: create_icons (icons.c:856)
==9061==    by 0x8064A4F: create_treeview (treeview.c:710)
==9061== 
==9061== Invalid read of size 4
==9061==    at 0x408DDFCC: __GI___mempcpy (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x408AC064: _IO_vfprintf_internal (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x408B4431: _IO_printf (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x4021AF9B: create_icons (icons.c:858)
==9061==    Address 0x41E9DB1D is 1 bytes inside a block of size 22 free'd
==9061==    at 0x4016161C: free (vg_clientfuncs.c:185)
==9061==    by 0x4076E559: g_free (gmem.c:186)
==9061==    by 0x4021AF86: create_icons (icons.c:856)
==9061==    by 0x8064A4F: create_treeview (treeview.c:710)
==9061== 
==9061== Invalid read of size 2
==9061==    at 0x408DDFCA: __GI___mempcpy (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x408AC064: _IO_vfprintf_internal (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x408B4431: _IO_printf (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x4021AF9B: create_icons (icons.c:858)
==9061==    Address 0x41EAC55C is 0 bytes inside a block of size 27 free'd
==9061==    at 0x4016161C: free (vg_clientfuncs.c:185)
==9061==    by 0x4076E559: g_free (gmem.c:186)
==9061==    by 0x4021AF86: create_icons (icons.c:856)
==9061==    by 0x8064A4F: create_treeview (treeview.c:710)
DBG: theme=gnome
DBG: theme=xfce
DBG: theme=no_icons
DBG: theme=FreeIcons
DBG: theme=Crystal
DBG: theme=noia
DBG: adding pixmapdir=/usr/share/xffm/pixmaps/Crystal
DBG: adding pixmapdir=/usr/share/xffm/pixmaps/Crystal/apps
DBG: adding pixmapdir=/usr/share/xffm/pixmaps/Crystal/CVS
DBG: adding pixmapdir=/usr/share/xffm/pixmaps/Crystal/devices
DBG: adding pixmapdir=/usr/share/xffm/pixmaps/Crystal/filesystems
DBG: adding pixmapdir=/usr/share/xffm/pixmaps/Crystal/mimetypes
DBG: adding pixmapdir=/usr/share/xffm/pixmaps
DBG:adding type: DEFAULT xf_DEFAULT_ICON
DBG:adding type: po xf_po
DBG:adding type: dvi xf_device_independent
DBG:adding type: eps xf_encapsulated_postscript
DBG:adding type: doc xf_msword
DBG:adding type: cyt xf_scrambled
DBG:adding type: pdf xf_pdf
DBG:adding type: ps xf_postscript
DBG:adding type: qif xf_qif
DBG:adding type: rtf xf_rtf
DBG:adding type: smil xf_smil
DBG:adding type: smi xf_smil
DBG:adding type: sml xf_smil
DBG:adding type: 123 xf_vnd.lotus-1-2-3
DBG:adding type: wk1 xf_vnd.lotus-1-2-3
DBG:adding type: wk3 xf_vnd.lotus-1-2-3
DBG:adding type: wk4 xf_vnd.lotus-1-2-3
DBG:adding type: wks xf_vnd.lotus-1-2-3
DBG:adding type: xls xf_vnd.ms-excel
DBG:adding type: xla xf_vnd.ms-excel
DBG:adding type: xlt xf_vnd.ms-excel
DBG:adding type: xlc xf_vnd.ms-excel
DBG:adding type: xld xf_vnd.ms-excel
DBG:adding type: ppt xf_vnd.ms-powerpoint
DBG:adding type: sdc xf_vnd.stardivision.calc
DBG:adding type: sxc xf_vnd.stardivision.calc
DBG:adding type: sdd xf_vnd.stardivision.impress
DBG:adding type: sdp xf_vnd.stardivision.impress
DBG:adding type: sdw xf_vnd.stardivision.writer
DBG:adding type: vor xf_vnd.stardivision.writer
DBG:adding type: sgl xf_vnd.stardivision.writer
DBG:adding type: abw xf_x-abiword
DBG:adding type: as xf_x-applix-spreadsheet
DBG:adding type: aw xf_x-applix-word
DBG:adding type: arj xf_x-arj
DBG:adding type: bak xf_x-backup
DBG:adding type: BAK xf_x-backup
DBG:adding type: bz2 xf_x-bzip
DBG:adding type: bz xf_x-bzip
DBG:adding type: Z xf_x-compress
DBG:adding type: dc xf_x-dc-rom
DBG:adding type: deb xf_x-deb
DBG:adding type: dia xf_x-dia-diagram
DBG:adding type: etheme xf_x-e-theme
DBG:adding type: ETHEME xf_x-e-theme
DBG:adding type: gb xf_x-gameboy-rom
DBG:adding type: gen xf_x-genesis-rom
DBG:adding type: md xf_x-genesis-rom
DBG:adding type: desktop xf_x-gnome-app-info
DBG:adding type: gnumeric xf_x-gnumeric
DBG:adding type: gz xf_x-gzip
DBG:adding type: tgz xf_x-gzip
DBG:adding type: kdelnk xf_x-kde-app-info
DBG:adding type: kil xf_x-killustrator
DBG:adding type: kpr xf_x-kpresenter
DBG:adding type: ksp xf_x-kspread
DBG:adding type: kwd xf_x-kword
DBG:adding type: msx xf_x-msx-rom
DBG:adding type: n64 xf_x-n64-rom
DBG:adding type: nes xf_x-nes-rom
DBG:adding type: ogg xf_x-ogg
DBG:adding type: php xf_x-php
DBG:adding type: php3 xf_x-php
DBG:adding type: php4 xf_x-php
DBG:adding type: pyc xf_x-python-bytecode
DBG:adding type: rej xf_x-reject
DBG:adding type: rpm xf_x-rpm
DBG:adding type: scm xf_x-scheme-source
DBG:adding type: sms xf_x-sms-rom
DBG:adding type: gg xf_x-sms-rom
DBG:adding type: sql xf_x-sql
DBG:adding type: snd xf_audio-basic
DBG:adding type: midi xf_audio-midi
DBG:adding type: mid xf_audio-midi
DBG:adding type: m3u xf_audio-mpeg
DBG:adding type: png xf_audio.png
DBG:adding type: au xf_audio-ulaw
DBG:adding type: aif xf_audio-x-aiff
DBG:adding type: aifc xf_audio-x-aiff
DBG:adding type: aiff xf_audio-x-aiff
DBG:adding type: it xf_audio-x-it
DBG:adding type: IT xf_audio-x-it
DBG:adding type: mod xf_audio-x-mod
DBG:adding type: MOD xf_audio-x-mod
DBG:adding type: rm xf_audio-x-pn-realaudio
DBG:adding type: ra xf_audio-x-pn-realaudio
DBG:adding type: ram xf_audio-x-pn-realaudio
DBG:adding type: S3M xf_audio-x-s3m
DBG:adding type: s3m xf_audio-x-s3m
DBG:adding type: STM xf_audio-x-stm
DBG:adding type: stm xf_audio-x-stm
DBG:adding type: voc xf_audio-x-voc
DBG:adding type: wav xf_audio-x-wav
DBG:adding type: xi xf_audio-x-xi
DBG:adding type: xm xf_audio-x-xm
DBG:adding type: XM xf_audio-x-xm
DBG:adding type: tar xf_tape_archive
DBG:adding type: tgz xf_compressed
DBG:adding type: tar.gz xf_compressed
DBG:adding type: tar.bz2 xf_compressed
DBG:adding type: afm xf_font-afm
DBG:adding type: bdf xf_font-bdf
DBG:adding type: psf xf_font-linux-psf
DBG:adding type: ttf xf_font-ttf
DBG:adding type: TTF xf_font-ttf
DBG:adding type: pcf xf_font-x-pcf
DBG:adding type: bmp xf_image-bmp
DBG:adding type: gif xf_image-gif
DBG:adding type: ief xf_image-ief
DBG:adding type: jpe xf_image-jpeg
DBG:adding type: jpeg xf_image-jpeg
DBG:adding type: jpg xf_image-jpeg
DBG:adding type: pbm xf_image-pbm
DBG:adding type: pgm xf_image-pgm
DBG:adding type: png xf_image-png
DBG:adding type: pnm xf_image-pnm
DBG:adding type: ppm xf_image-ppm
DBG:adding type: psd xf_image-psd
DBG:adding type: ras xf_image-ras
DBG:adding type: rgb xf_image-rgb
DBG:adding type: svg xf_image-svg
DBG:adding type: tga xf_image-tga
DBG:adding type: tif xf_image-tiff
DBG:adding type: tiff xf_image-tiff
DBG:adding type: 3ds xf_image-x-3ds
DBG:adding type: ag xf_image-x-applix-graphic
DBG:adding type: xbm xf_image-xbm
DBG:adding type: xcf xf_image-xcf
DBG:adding type: lwo xf_image-x-lwo
DBG:adding type: lwob xf_image-x-lwo
DBG:adding type: lws xf_image-x-lws
DBG:adding type: xpm xf_image-xpm
DBG:adding type: xwd xf_image-xwd
DBG:adding type: fig xf_image-x-xfig
DBG:adding type: so xf_library
DBG:adding type: la xf_library
DBG:adding type: lo xf_library
DBG:adding type: o xf_objectfile
DBG:adding type: obj xf_objectfile
DBG:adding type: tex xf_tex
DBG:adding type: cls xf_tex
DBG:adding type: sty xf_tex
DBG:adding type: abw xf_text-abiword
DBG:adding type: css xf_text-css
DBG:adding type: txt xf_textfile
DBG:adding type: text xf_textfile
DBG:adding type: htm xf_text-html
DBG:adding type: html xf_text-html
DBG:adding type: AUTHORS xf_text-x-authors
DBG:adding type: h xf_text-x-c-header
DBG:adding type: H xf_text-x-c-header
DBG:adding type: h++ xf_text-x-c-header
DBG:adding type: hp xf_text-x-c-header
DBG:adding type: COPYING xf_text-x-copying
DBG:adding type: c xf_text-x-c
DBG:adding type: cc xf_text-x-c++
DBG:adding type: C xf_text-x-c++
DBG:adding type: cpp xf_text-x-c++
DBG:adding type: c++ xf_text-x-c++
DBG:adding type: CREDITS xf_text-x-credits
DBG:adding type: sh xf_text-x-sh
DBG:adding type: bsh xf_text-x-bsh
DBG:adding type: bash xf_text-x-bsh
DBG:adding type: csh xf_text-x-csh
DBG:adding type: ksh xf_text-x-ksh
DBG:adding type: tsh xf_text-x-xsh
DBG:adding type: zsh xf_text-x-zsh
DBG:adding type: pl xf_text-x-perl
DBG:adding type: perl xf_text-x-perl
DBG:adding type: py xf_text-x-python
DBG:adding type: hs xf_text-x-haskell
DBG:adding type: INSTALL xf_text-x-install
DBG:adding type: java xf_text-x-java
DBG:adding type: lhs xf_text-x-literate-haskell
DBG:adding type: lyx xf_text-x-lyx
DBG:adding type: makefile xf_text-x-makefile
DBG:adding type: Makefile xf_text-x-makefile
DBG:adding type: xml xf_text-xml
DBG:adding type: patch xf_text-x-patch
DBG:adding type: README xf_text-x-readme
DBG:adding type: readme xf_text-x-readme
DBG:adding type: CHANGELOG xf_text-x-readme
DBG:adding type: ChangeLog xf_text-x-readme
DBG:adding type: INSTALL xf_text-x-readme
DBG:adding type: TODO xf_text-x-readme
DBG:adding type: NEWS xf_text-x-readme
DBG:adding type: sql xf_text-x-sql
DBG:adding type: mp2 xf_video-mpeg
DBG:adding type: mpe xf_video-mpeg
DBG:adding type: mpeg xf_video-mpeg
DBG:adding type: mpg xf_video-mpeg
DBG:adding type: vob xf_video-mpeg
DBG:adding type: dat xf_video-mpeg
DBG:adding type: mov xf_video-quicktime
DBG:adding type: qt xf_video-quicktime
DBG:adding type: asf xf_video-x-ms-asf
DBG:adding type: asx xf_video-x-ms-asf
DBG:adding type: avi xf_video-x-msvideo
DBG:adding type: wmv xf_video-x-ms-wmv
DBG:adding type: afm xf_x-font-afm
DBG:adding type: core xf_core
DBG:adding type: glade xf_x-glade
DBG:adding type: ac xf_text-config-file
DBG:adding type: am xf_text-config-file
DBG:adding type: in xf_text-in-file
DBG:adding type: NOTES xf_text-x-readme
DBG:adding icon: klpq.png xf_PRINTER_ICON
DBG:adding icon: ksirc.png xf_IPC_ICON
DBG:adding icon: folder_violet.png xf_SHARE_ICON
DBG:adding icon: folder2_violet.png xf_SHARE_OPEN_ICON
DBG:adding ico==9061== 
==9061== Invalid read of size 1
==9061==    at 0x40161CA0: memcpy (vg_clientfuncs.c:516)
==9061==    by 0x42FF1856: png_set_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FF4886: png_handle_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FFC0C5: png_read_info (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    Address 0x43FEF5A4 is 0 bytes after a block of size 3168 alloc'd
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x4076E58D: g_try_malloc (gmem.c:193)
==9061==    by 0x427228A6: png_malloc_callback (io-png.c:228)
==9061==    by 0x43006A69: png_malloc (in /usr/lib/libpng12.so.0.1.2.2)
==9061== 
==9061== Invalid read of size 1
==9061==    at 0x40161CA6: memcpy (vg_clientfuncs.c:517)
==9061==    by 0x42FF1856: png_set_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FF4886: png_handle_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FFC0C5: png_read_info (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    Address 0x43FEF5A5 is 1 bytes after a block of size 3168 alloc'd
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x4076E58D: g_try_malloc (gmem.c:193)
==9061==    by 0x427228A6: png_malloc_callback (io-png.c:228)
==9061==    by 0x43006A69: png_malloc (in /usr/lib/libpng12.so.0.1.2.2)
==9061== 
==9061== Invalid read of size 1
==9061==    at 0x40161CAC: memcpy (vg_clientfuncs.c:518)
==9061==    by 0x42FF1856: png_set_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FF4886: png_handle_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FFC0C5: png_read_info (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    Address 0x43FEF5A6 is 2 bytes after a block of size 3168 alloc'd
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x4076E58D: g_try_malloc (gmem.c:193)
==9061==    by 0x427228A6: png_malloc_callback (io-png.c:228)
==9061==    by 0x43006A69: png_malloc (in /usr/lib/libpng12.so.0.1.2.2)
==9061== 
==9061== Invalid read of size 1
==9061==    at 0x40161C9A: memcpy (vg_clientfuncs.c:515)
==9061==    by 0x42FF1856: png_set_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FF4886: png_handle_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FFC0C5: png_read_info (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    Address 0x43FEF5A7 is 3 bytes after a block of size 3168 alloc'd
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x4076E58D: g_try_malloc (gmem.c:193)
==9061==    by 0x427228A6: png_malloc_callback (io-png.c:228)
==9061==    by 0x43006A69: png_malloc (in /usr/lib/libpng12.so.0.1.2.2)
==9061== 
==9061== Invalid read of size 1
==9061==    at 0x40161CC0: memcpy (vg_clientfuncs.c:522)
==9061==    by 0x42FF1856: png_set_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FF4886: png_handle_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FFC0C5: png_read_info (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    Address 0x43FEF5B7 is not stack'd, malloc'd or free'd
==9061== 
==9061== Invalid read of size 1
==9061==    at 0x40161C59: memcpy (vg_clientfuncs.c:502)
==9061==    by 0x42FF1856: png_set_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FF4886: png_handle_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FFC0C5: png_read_info (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    Address 0x43C56899 is not stack'd, malloc'd or free'd
==9061== 
==9061== Invalid read of size 1
==9061==    at 0x40161C5F: memcpy (vg_clientfuncs.c:503)
==9061==    by 0x42FF1856: png_set_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FF4886: png_handle_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FFC0C5: png_read_info (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    Address 0x43C56898 is not stack'd, malloc'd or free'd
==9061== 
==9061== Invalid read of size 1
==9061==    at 0x40161C65: memcpy (vg_clientfuncs.c:504)
==9061==    by 0x42FF1856: png_set_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FF4886: png_handle_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FFC0C5: png_read_info (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    Address 0x43C56897 is not stack'd, malloc'd or free'd
==9061== 
==9061== Invalid read of size 1
==9061==    at 0x40161C6B: memcpy (vg_clientfuncs.c:505)
==9061==    by 0x42FF1856: png_set_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FF4886: png_handle_iCCP (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    by 0x42FFC0C5: png_read_info (in /usr/lib/libpng12.so.0.1.2.2)
==9061==    Address 0x43C56896 is not stack'd, malloc'd or free'd
n: konsole3.png xf_TERMINAL_ICON
DBG:adding icon: konsole2.png xf_NETWS_ICON
DBG:adding icon: folder_crystal.png xf_ADEMO_ICON
DBG:adding icon: package_utilities.png xf_ATOOL_ICON
DBG:adding icon: window_list.png xf_AAPPS_ICON
DBG:adding icon: xpaint.png xf_ACOLOR_ICON
DBG:adding icon: clock.png xf_ADAILY_ICON
DBG:adding icon: phppg.png xf_ADSKT_ICON
DBG:adding icon: kdisknav.png xf_AFILE_ICON
DBG:adding icon: wine.png xf_AGAMES_ICON
DBG:adding icon: folder2.png xf_AGEN_ICON
DBG:adding icon: folder2.png xf_AINFO_ICON
DBG:adding icon: folder2.png xf_AMAN_ICON
DBG:adding icon: folder2.png xf_AMONTUNE_ICON
DBG:adding icon: package_multimedia.png xf_AMULTIMEDIA_ICON
DBG:adding icon: linneighborhood.png xf_ANETWORK_ICON
DBG:adding icon: kwrite.png xf_APENPD_ICON
DBG:adding icon: klpq.png xf_APRINT_ICON
DBG:adding icon: clock.png xf_ASCHEDULE_ICON
DBG:adding icon: folder2_sound.png xf_ASOUND_ICON
DBG:adding icon: access.png xf_ASYS_ICON
DBG:adding icon: kmenu.png xf_ASYSMGR_ICON
DBG:adding icon: kmenu2.png xf_AUTIL_ICON
DBG:adding icon: kmail.png xf_AMAIL_ICON
DBG:adding icon: nfs_unmount.png xf_NFS_ICON
DBG:adding icon: memory.png xf_PROCESS_ICON
DBG:adding icon: zip_unmount.png xf_FLOPPY_ICON
DBG:adding icon: cdrom_unmount.png xf_CDROM_ICON
DBG:adding icon: dvd_unmount.png xf_DVD_ICON
DBG:adding icon: hdd_unmount.png xf_DISK_ICON
DBG:adding icon: Hardware.png xf_FSTAB_ICON
DBG:adding icon: xmag.png xf_FIND_RESULT_ICON
DBG:adding icon: error.png xf_ERROR_ICON
DBG:adding icon: ktip.png xf_INFO_ICON
DBG:adding icon: personal.png xf_QUESTION_ICON
DBG:adding icon: important.png xf_WARNING_ICON
DBG:adding icon: kfind.png xf_FIND_ICON
DBG:adding icon: kdict.png xf_BOOKMARKS_ICON
DBG:adding icon: exec.png xf_TASKS_ICON
DBG:adding icon: trashcan_empty.png xf_TRASH_CLOSED_ICON
DBG:adding icon: trashcan_empty.png xf_TRASH_OPEN_ICON
DBG:adding icon: Recycle Bin Empty3.png xf_WASTE_BASKET_EMPTY_ICON
DBG:adding icon: Recycle Bin Full3.png xf_WASTE_BASKET_FULL_ICON
DBG:adding icon: ascii.png xf_DEFAULT_ICON
DBG:adding icon: folder2.png xf_OPEN_FOLDER_ICON
DBG:adding icon: folder2.png xf_OPEN_FOLDER_LNK_ICON
DBG:adding icon: folder2.png xf_OPEN_FOLDER_RO_ICON
DBG:adding icon: folder2.png xf_OPEN_FOLDER_RO_LNK_ICON
DBG:adding icon: folder2_grey.png xf_HOPEN_FOLDER_ICON
DBG:adding icon: folder2_grey.png xf_HOPEN_FOLDER_LNK_ICON
DBG:adding icon: folder2_grey.png xf_HOPEN_FOLDER_RO_ICON
DBG:adding icon: folder2_grey.png xf_HOPEN_FOLDER_RO_LNK_ICON
DBG:adding icon: folder2_green.png xf_AOPEN_FOLDER_ICON
DBG:adding icon: folder2_green.png xf_AOPEN_FOLDER_LNK_ICON
DBG:adding icon: folder2_green.png xf_AOPEN_FOLDER_RO_ICON
DBG:adding icon: folder2_green.png xf_AOPEN_FOLDER_RO_LNK_ICON
DBG:adding icon: folder.png xf_CLOSED_FOLDER_ICON
DBG:adding icon: folder_violet.png xf_CLOSED_FOLDER_LNK_ICON
DBG:adding icon: folder_red.png xf_CLOSED_FOLDER_RO_ICON
DBG:adding icon: folder_violet.png xf_CLOSED_FOLDER_RO_LNK_ICON
DBG:adding icon: folder_locked.png xf_NOACCESS_ICON
DBG:adding icon: link.png xf_LINK_ICON
DBG:adding icon: file_broken.png xf_BROKEN_ICON
DBG:adding icon: exec.png xf_EXECUTABLE_ICON
DBG:adding icon: Network.png xf_NETWORK_ICON
DBG:adding icon: blockdevice.png xf_BLOCK_DEV_ICON
DBG:adding icon: chardevice.png xf_CHAR_DEV_ICON
DBG:adding icon: pipe.png xf_FIFO_ICON
DBG:adding icon: socket.png xf_SOCKET_ICON
DBG:adding icon: ascii.png xf_default
DBG:adding icon: postscript2.png xf_device_independent
DBG:adding icon: postscript2.png xf_encapsulated_postscript
DBG:adding icon: document.png xf_msword
DBG:adding icon: encrypted.png xf_scrambled
DBG:adding icon: pdf.png xf_pdf
DBG:adding icon: encrypted.png xf_pgp-encrypted
DBG:adding icon: password.png xf_pgp-keys
DBG:adding icon: postscript.png xf_postscript
DBG:adding icon: mime.png xf_qif
DBG:adding icon: document.png xf_rtf
DBG:adding icon: mime.png xf_smil
DBG:adding icon: misc_doc.png xf_vnd.lotus-1-2-3
DBG:adding icon: misc_doc.png xf_vnd.ms-excel
DBG:adding icon: mime.png xf_vnd.ms-powerpoint
DBG:adding icon: mime_sound.png xf_vnd.rn-realmedia
DBG:adding icon: misc_doc.png xf_vnd.stardivision.calc
DBG:adding icon: mime.png xf_vnd.stardivision.impress
DBG:adding icon: document.png xf_vnd.stardivision.writer
DBG:adding icon: misc_doc.png xf_vnd.sun.xml.calc
DBG:adding icon: mime.png xf_vnd.sun.xml.impress
DBG:adding icon: document.png xf_vnd.sun.xml.writer
DBG:adding icon: document.png xf_x-abiword
DBG:adding icon: misc_doc.png xf_x-applix-spreadsheet
DBG:adding icon: document.png xf_x-applix-word
DBG:adding icon: package.png xf_x-arj
DBG:adding icon: package.png xf_x-tape_archive
DBG:adding icon: mime.png xf_x-backup
DBG:adding icon: mime.png xf_x-blender
DBG:adding icon: package.png xf_x-bzip
DBG:adding icon: package.png xf_x-compress
DBG:adding icon: mime.png xf_x-dc-rom
DBG:adding icon: deb.png xf_x-deb
DBG:adding icon: xpaint.png xf_x-dia-diagram
DBG:adding icon: mime.png xf_x-e-theme
DBG:adding icon: mime.png xf_x-font-sunos-news
DBG:adding icon: mime.png xf_x-gameboy-rom
DBG:adding icon: mime.png xf_x-genesis-rom
DBG:adding icon: mime.png xf_x-gnome-app-info
DBG:adding icon: misc_doc.png xf_x-gnumeric
DBG:adding icon: mime.png xf_x-gtktalog
DBG:adding icon: package.png xf_x-gzip
DBG:adding icon: mime.png xf_x-jar
DBG:adding icon: binary.png xf_x-java-byte-code
DBG:adding icon: mime.png xf_x-kde-app-info
DBG:adding icon: xpaint.png xf_x-killustrator
DBG:adding icon: xpaint.png xf_x-kpresenter
DBG:adding icon: misc_doc.png xf_x-kspread
DBG:adding icon: txt.png xf_x-kword
DBG:adding icon: mime.png xf_x-msx-rom
DBG:adding icon: mime.png xf_x-n64-rom
DBG:adding icon: mime.png xf_x-nes-rom
DBG:adding icon: mime.png xf_x-ogg
DBG:adding icon: package_network.png xf_x-php
DBG:adding icon: binary.png xf_x-python-bytecode
DBG:adding icon: mime.png xf_x-reject
DBG:adding icon: rpm.png xf_x-rpm
DBG:adding icon: mime.png xf_x-scheme-source
DBG:adding icon: mime.png xf_x-sms-rom
DBG:adding icon: mime.png xf_x-sql
DBG:adding icon: mime_sound.png xf_x-stuffit
DBG:adding icon: mime_sound.png xf_x-stuffit
DBG:adding icon: mime_sound.png xf_audio-basic
DBG:adding icon: mime_sound.png xf_audio-midi
DBG:adding icon: mime_sound.png xf_audio-mpeg
DBG:adding icon: mime_sound.png xf_audio.png
DBG:adding icon: mime_sound.png xf_audio-ulaw
DBG:adding icon: mime_sound.png xf_audio-x-aiff
DBG:adding icon: mime_sound.png xf_audio-x-bmx
DBG:adding icon: mime_sound.png xf_audio-x-it
DBG:adding icon: mime_sound.png xf_audio-x-mod
DBG:adding icon: mime_sound.png xf_audio-x-pn-realaudio
DBG:adding icon: mime_sound.png xf_audio-x-s3m
DBG:adding icon: mime_sound.png xf_audio-x-stm
DBG:adding icon: mime_sound.png xf_audio-x-voc
DBG:adding icon: mime_sound.png xf_audio-x-wav
DBG:adding icon: mime_sound.png xf_audio-x-xi
DBG:adding icon: mime_sound.png xf_audio-x-xm
DBG:adding icon: package.png xf_compressed
DBG:adding icon: font_type1.png xf_font-afm
DBG:adding icon: font_type1.png xf_font-bdf
DBG:adding icon: font_type1.png xf_font-linux-psf
DBG:adding icon: font_truetype.png xf_font-ttf
DBG:adding icon: font_type1.png xf_font-x-pcf
DBG:adding icon: mime_html.png xf_http-url
DBG:adding icon: image.png xf_image-bmp
DBG:adding icon: image.png xf_image-generic
DBG:adding icon: image.png xf_image-gif
DBG:adding icon: image.png xf_image-ief
DBG:adding icon: image.png xf_image-jpeg
DBG:adding icon: image.png xf_image-pbm
DBG:adding icon: image.png xf_image-pgm
DBG:adding icon: image.png xf_image-png
DBG:adding icon: image.png xf_image-pnm
DBG:adding icon: image.png xf_image-ppm
DBG:adding icon: image.png xf_image-psd
DBG:adding icon: image.png xf_image-ras
DBG:adding icon: image.png xf_image-rgb
DBG:adding icon: image.png xf_image-svg
DBG:adding icon: image.png xf_image-tga
DBG:adding icon: image.png xf_image-tiff
DBG:adding icon: image.png xf_image-x-3ds
DBG:adding icon: image.png xf_image-x-applix-graphic
DBG:adding icon: image.png xf_image-xbm
DBG:adding icon: image.png xf_image-xcf
DBG:adding icon: image.png xf_image-x-lwo
DBG:adding icon: image.png xf_image-x-lws
DBG:adding icon: image.png xf_image-xpm
DBG:adding icon: image.png xf_image-xwd
DBG:adding icon: image.png xf_image-x-xfig
DBG:adding icon: binary.png xf_library
DBG:adding icon==9061== 
==9061== Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s)
==9061==    at 0x40173FA2: vgAllRoadsLeadToRome_writev (vg_intercept.c:108)
==9061==    by 0x40173FDE: __writev (vg_intercept.c:733)
==9061==    by 0x40346EEF: _X11TransSocketWritev (in /usr/X11R6/lib/libX11.so.6.2)
==9061==    by 0x40347B1E: _X11TransWritev (in /usr/X11R6/lib/libX11.so.6.2)
==9061==    Address 0x41EC69F8 is 88 bytes inside a block of size 2048 alloc'd
==9061==    at 0x401617F2: calloc (vg_clientfuncs.c:245)
==9061==    by 0x40313435: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2)
==9061==    by 0x40656D80: gdk_display_open (gdkdisplay-x11.c:124)
==9061==    by 0x4063BB6B: gdk_display_open_default_libgtk_only (gdk.c:402)
==9061== 
==9061== Conditional jump or move depends on uninitialised value(s)
==9061==    at 0x8061AF0: treeclick (callbacks.c:513)
==9061==    by 0x404BB688: _gtk_marshal_BOOLEAN__BOXED (gtkmarshalers.c:82)
==9061==    by 0x4071CAD9: g_closure_invoke (gclosure.c:437)
==9061==    by 0x4072D4B1: signal_emit_unlocked_R (gsignal.c:2344)
==9061== 
==9061== Conditional jump or move depends on uninitialised value(s)
==9061==    at 0x4056D101: ??? (gtktreeview.c:3828)
==9061==    by 0x404BB688: _gtk_marshal_BOOLEAN__BOXED (gtkmarshalers.c:82)
==9061==    by 0x4071CD79: g_type_class_meta_marshal (gclosure.c:514)
==9061==    by 0x4071CAD9: g_closure_invoke (gclosure.c:437)
: binary.png xf_objectfile
DBG:adding icon: package.png xf_package
DBG:adding icon: tex.png xf_tex
DBG:adding icon: txt.png xf_text-abiword
DBG:adding icon: txt.png xf_text-css
DBG:adding icon: txt.png xf_textfile
DBG:adding icon: mime_html.png xf_text-html
DBG:adding icon: info.png xf_text-x-authors
DBG:adding icon: source_h.png xf_text-x-c-header
DBG:adding icon: txt.png xf_text-x-copying
DBG:adding icon: source_c.png xf_text-x-c
DBG:adding icon: source_cpp.png xf_text-x-c++
DBG:adding icon: txt.png xf_text-x-credits
DBG:adding icon: info.png xf_no-access
DBG:adding icon: shellscript.png xf_text-x-sh
DBG:adding icon: shellscript.png xf_text-x-csh
DBG:adding icon: shellscript.png xf_text-x-bsh
DBG:adding icon: shellscript.png xf_text-x-ksh
DBG:adding icon: shellscript.png xf_text-x-xsh
DBG:adding icon: shellscript.png xf_text-x-zsh
DBG:adding icon: shellscript.png xf_text-x-python
DBG:adding icon: shellscript.png xf_text-x-perl
DBG:adding icon: clock.png xf_text-x-haskell
DBG:adding icon: clock.png xf_text-x-install
DBG:adding icon: clock.png xf_text-x-java
DBG:adding icon: clock.png xf_text-x-literate-haskell
DBG:adding icon: txt.png xf_text-x-lyx
DBG:adding icon: make.png xf_text-x-makefile
DBG:adding icon: source.png xf_text-xml
DBG:adding icon: unknown2.png xf_text-x-readme
DBG:adding icon: clock.png xf_text-x-sql
DBG:adding icon: cam.png xf_video-mpeg
DBG:adding icon: cam.png xf_video-quicktime
DBG:adding icon: cam.png xf_video-x-ms-asf
DBG:adding icon: cam.png xf_video-x-msvideo
DBG:adding icon: cam.png xf_video-x-ms-wmv
DBG:adding icon: font_type1.png xf_x-font-afm
DBG:adding icon: man.png xf_x-troff-man
DBG:adding icon: core.png xf_core
DBG:adding icon: package_utilities.png xf_text-in-file
DBG:adding icon: window_list.png xf_x-glade
DBG:adding icon: package_utilities.png xf_text-config-file
DBG(widgets.c): (*tree_details_p)->loading
DBG(widgets.c): (*tree_details_p)->loading
DBG(widgets.c): (*tree_details_p)->loading
==9061== discard syms in /usr/lib/gconv/ISO8859-1.so due to munmap()
==9061== discard syms in /lib/libnss_files-2.3.2.so due to munmap()
==9061== discard syms in /lib/libnss_nisplus-2.3.2.so due to munmap()
==9061== discard syms in /lib/libnsl-2.3.2.so due to munmap()
==9061== 
==9061== Invalid free() / delete / delete[]
==9061==    at 0x4016161C: free (vg_clientfuncs.c:185)
==9061==    by 0x4097A19B: free_mem (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x40979E48: __GI___libc_freeres (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x40161E0E: vgPlain___libc_freeres_wrapper (vg_clientfuncs.c:590)
==9061==    Address 0x40749A68 is not stack'd, malloc'd or free'd
==9061== 
==9061== ERROR SUMMARY: 7440 errors from 19 contexts (suppressed: 66 from 3)
==9061== malloc/free: in use at exit: 4614730 bytes in 28429 blocks.
==9061== malloc/free: 375283 allocs, 346855 frees, 44595658 bytes allocated.
==9061== For counts of detected errors, rerun with: -v
==9061== searching for pointers to 28429 not-freed blocks.
==9061== checked 15761164 bytes.
==9061== 
==9061== 4 bytes in 1 blocks are definitely lost in loss record 12 of 793
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x407D3222: xmlStrndup (parser.c:1175)
==9061==    by 0x407D32A5: xmlStrdup (parser.c:1203)
==9061==    by 0x407D374D: xmlStrcat (parser.c:1585)
==9061== 
==9061== 5 bytes in 1 blocks are definitely lost in loss record 26 of 793
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x40887CDD: _nl_normalize_codeset (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x408825F8: _nl_load_locale_from_archive (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x40881264: _nl_find_locale (in /lib/i686/libc-2.3.2.so)
==9061== 
==9061== 6 bytes in 1 blocks are definitely lost in loss record 30 of 793
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x4076E435: g_malloc (gmem.c:136)
==9061==    by 0x40779813: g_strdup (gstrfuncs.c:89)
==9061==    by 0x8063DFD: create_treeview (treeview.c:688)
==9061== 
==9061== 8 bytes in 1 blocks are definitely lost in loss record 40 of 793
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x4076E435: g_malloc (gmem.c:136)
==9061==    by 0x40557791: gtk_tree_path_new (gtktreemodel.c:164)
==9061==    by 0x40572303: _gtk_tree_view_find_path (gtktreeview.c:6786)
==9061== 
==9061== 20 bytes in 1 blocks are definitely lost in loss record 218 of 793
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x4076E435: g_malloc (gmem.c:136)
==9061==    by 0x40499331: gtk_icon_set_new (gtkiconfactory.c:1479)
==9061==    by 0x40499392: gtk_icon_set_new_from_pixbuf (gtkiconfactory.c:1512)
==9061== 
==9061== 22 bytes in 1 blocks are definitely lost in loss record 233 of 793
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x408DC37F: __GI___strdup (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x45585FF6: ???
==9061==    by 0x4095574D: __nss_getent_r (in /lib/i686/libc-2.3.2.so)
==9061== 
==9061== 23 bytes in 1 blocks are definitely lost in loss record 236 of 793
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x408DC37F: __GI___strdup (in /lib/i686/libc-2.3.2.so)
==9061==    by 0x45586B83: ???
==9061==    by 0x4090F5B3: getpwuid_r@@GLIBC_2.1.2 (in /lib/i686/libc-2.3.2.so)
==9061== 
==9061== 28 bytes in 6 blocks are definitely lost in loss record 258 of 793
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x4076E435: g_malloc (gmem.c:136)
==9061==    by 0x40779813: g_strdup (gstrfuncs.c:89)
==9061==    by 0x4021AF66: create_icons (icons.c:854)
==9061== 
==9061== 75 bytes in 6 blocks are definitely lost in loss record 395 of 793
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x4076E435: g_malloc (gmem.c:136)
==9061==    by 0x40779813: g_strdup (gstrfuncs.c:89)
==9061==    by 0x4021AF59: create_icons (icons.c:854)
==9061== 
==9061== 96 bytes in 1 blocks are possibly lost in loss record 421 of 793
==9061==    at 0x401617F2: calloc (vg_clientfuncs.c:245)
==9061==    by 0x4076E493: g_malloc0 (gmem.c:153)
==9061==    by 0x40731758: g_type_create_instance (gtype.c:1433)
==9061==    by 0x4071F73C: g_object_constructor (gobject.c:797)
==9061== 
==9061== 168 bytes in 1 blocks are possibly lost in loss record 475 of 793
==9061==    at 0x4016138C: malloc (vg_clientfuncs.c:103)
==9061==    by 0x441053B2: XcursorCursorsCreate (cursor.c:34)
==9061==    by 0x44106361: XcursorImagesLoadCursors (cursor.c:671)
==9061==    by 0x4410640F: XcursorImagesLoadCursor (cursor.c:696)
==9061== 
==9061== 800 bytes in 20 blocks are possibly lost in loss record 617 of 793
==9061==    at 0x401617F2: calloc (vg_clientfuncs.c:245)
==9061==    by 0x4076E493: g_malloc0 (gmem.c:153)
==9061==    by 0x4072EF7D: type_node_any_new_W (gtype.c:307)
==9061==    by 0x4072F26F: type_node_fundamental_new_W (gtype.c:409)
==9061== 
==9061== 21688 bytes in 226 blocks are definitely lost in loss record 773 of 793
==9061==    at 0x401617F2: calloc (vg_clientfuncs.c:245)
==9061==    by 0x4076E493: g_malloc0 (gmem.c:153)
==9061==    by 0x40731758: g_type_create_instance (gtype.c:1433)
==9061==    by 0x4071F73C: g_object_constructor (gobject.c:797)
==9061== 
==9061== LEAK SUMMARY:
==9061==    definitely lost: 21879 bytes in 245 blocks.
==9061==    possibly lost:   1064 bytes in 22 blocks.
==9061==    still reachable: 4591787 bytes in 28162 blocks.
==9061==         suppressed: 0 bytes in 0 blocks.
==9061== Reachable blocks (those to which a pointer was found) are not shown.
==9061== To see them, rerun with: --show-reachable=yes
==9061== 


More information about the Xfce4-dev mailing list