Re: Xorg leaking memory on -current...

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 30 Oct 2006 23:15:15 +0000
In message <45468568.8040601_at_FreeBSD.org>, Jason Evans writes:

>2) Use dd and specify a block size that is large enough to read the 
>whole map in one syscall.

I should have throught of that.


0x8048000 0x81a0000 333 364 0xc28bb708 r-x 2 1 0x0 COW NC vnode /usr/X11R6/bin/Xorg
0x81a0000 0x81af000 15 0 0xc2b10348 rw- 1 0 0x2100 COW NNC vnode /usr/X11R6/bin/Xorg
0x81af000 0x81c1000 17 0 0xc2b10618 rw- 1 0 0x2100 COW NNC default -
0x81c1000 0x8600000 681 0 0xc2b103c0 rwx 1 0 0x2100 COW NNC default -
0x8600000 0xc600000 13354 0 0xc2b1f258 rwx 1 0 0x2100 NCOW NNC default -
0x281a0000 0x281c4000 33 0 0xc105dbb8 r-x 90 45 0x4 COW NC vnode /libexec/ld-elf.so.1
0x281c4000 0x281c6000 2 0 0xc2aa53c0 rw- 1 0 0x2100 COW NC vnode /libexec/ld-elf.so.1
0x281c6000 0x281cb000 4 0 0xc2b105a0 rw- 1 0 0x2100 COW NNC default -
0x281cb000 0x281d3000 8 0 0xc2b10528 rwx 1 0 0x2100 COW NNC default -
0x281d3000 0x281e2000 15 0 0xc104fd20 r-x 27 18 0x0 COW NC vnode /lib/libz.so.3
0x281e2000 0x281e3000 1 0 0xc28e5e10 r-x 1 0 0x2100 COW NC vnode /lib/libz.so.3
0x281e3000 0x281e4000 1 0 0xc104bac8 rwx 1 0 0x2100 COW NNC vnode /lib/libz.so.3
0x281e4000 0x281f7000 19 0 0xc1053d20 r-x 15 10 0x0 COW NC vnode /lib/libm.so.4
0x281f7000 0x281f8000 1 0 0xc28bb0f0 r-x 1 0 0x2100 COW NC vnode /lib/libm.so.4
0x281f8000 0x281f9000 1 0 0xc28e58e8 rwx 1 0 0x2100 COW NC vnode /lib/libm.so.4
0x281f9000 0x281fa000 1 0 0xc28b4870 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/libXau.so.0
0x281fa000 0x281fb000 1 0 0xc10467f8 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/libXau.so.0
0x281fb000 0x281fc000 1 0 0xc28e67f8 rwx 1 0 0x2100 COW NNC vnode /usr/X11R6/lib/libXau.so.0
0x281fc000 0x281fe000 2 0 0xc28bc168 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/libXdmcp.so.0
0x281fe000 0x281ff000 1 0 0xc28b49d8 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/libXdmcp.so.0
0x281ff000 0x28201000 2 0 0xc28bc5a0 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/libXdmcp.so.0
0x28201000 0x282d8000 189 0 0xc105d690 r-x 135 90 0x4 COW NC vnode /lib/libc.so.7
0x282d8000 0x282d9000 1 0 0xc28bc3c0 r-x 1 0 0x2100 COW NC vnode /lib/libc.so.7
0x282d9000 0x282df000 6 0 0xc2b104b0 rwx 1 0 0x2100 COW NNC vnode /lib/libc.so.7
0x282df000 0x282f5000 9 0 0xc2b10438 rwx 1 0 0x2100 COW NNC default -
0x282f5000 0x28304000 15 0 0xc28c90f0 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/fonts/libbitmap.so
0x28304000 0x28305000 1 0 0xc2a85e88 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/fonts/libbitmap.so
0x28305000 0x28306000 1 0 0xc104a0f0 rwx 1 0 0x2100 COW NNC vnode /usr/X11R6/lib/modules/fonts/libbitmap.so
0x28306000 0x2833b000 29 0 0xc2897ac8 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/libpcidata.so
0x2833b000 0x2833c000 1 0 0xc28e6a50 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libpcidata.so
0x2833c000 0x28352000 21 0 0xc2aa9a50 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libpcidata.so
0x28352000 0x2836c000 26 0 0xc28e5e88 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/extensions/libextmod.so
0x2836c000 0x2836d000 1 0 0xc28e5780 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/extensions/libextmod.so
0x2836d000 0x2836e000 1 0 0xc2aa91e0 rwx 1 0 0x2100 COW NNC vnode /usr/X11R6/lib/modules/extensions/libextmod.so
0x2836e000 0x28377000 4 0 0xc28bb960 rwx 1 0 0x2100 COW NC default -
0x28377000 0x283bf000 52 0 0xc2a84258 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/extensions/libglx.so
0x283bf000 0x283c0000 1 0 0xc2b0c8e8 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/extensions/libglx.so
0x283c0000 0x283d0000 16 0 0xc2b0c870 rwx 1 0 0x2100 COW NNC vnode /usr/X11R6/lib/modules/extensions/libglx.so
0x283d0000 0x285d0000 75 0 0xc2b0c780 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/extensions/libGLcore.so
0x285d0000 0x285d1000 1 0 0xc2b0c708 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/extensions/libGLcore.so
0x285d1000 0x285e5000 15 0 0xc2b0c690 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/extensions/libGLcore.so
0x285e5000 0x285f1000 1 0 0xc2b0c618 rwx 1 0 0x2100 COW NC default -
0x285f1000 0x285f6000 5 0 0xc2b0c5a0 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/extensions/libdri.so
0x285f6000 0x285f7000 1 0 0xc2b0c528 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/extensions/libdri.so
0x285f7000 0x285f8000 1 0 0xc2b0c4b0 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/extensions/libdri.so
0x285f8000 0x285fd000 5 0 0xc2b0c3c0 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/freebsd/libdrm.so
0x285fd000 0x285fe000 1 0 0xc2b0c348 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/freebsd/libdrm.so
0x285fe000 0x285ff000 1 0 0xc2b0c2d0 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/freebsd/libdrm.so
0x285ff000 0x28601000 2 0 0xc2b0c1e0 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/extensions/libdbe.so
0x28601000 0x28602000 1 0 0xc2b0c168 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/extensions/libdbe.so
0x28602000 0x28603000 1 0 0xc2b0c0f0 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/extensions/libdbe.so
0x28603000 0x28607000 4 0 0xc2b0c000 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/extensions/librecord.so
0x28607000 0x28608000 1 0 0xc2b0be88 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/extensions/librecord.so
0x28608000 0x28609000 1 0 0xc2b0be10 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/extensions/librecord.so
0x28609000 0x2860f000 4 0 0xc2b0bd20 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/extensions/libxtrap.so
0x2860f000 0x28610000 1 0 0xc2b0bca8 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/extensions/libxtrap.so
0x28610000 0x28611000 1 0 0xc2b0bc30 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/extensions/libxtrap.so
0x28611000 0x28612000 1 0 0xc2b0bbb8 rwx 1 0 0x2100 COW NC default -
0x28612000 0x28631000 24 0 0xc2b0bb40 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/fonts/libtype1.so
0x28631000 0x28632000 1 0 0xc2b0bac8 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/fonts/libtype1.so
0x28632000 0x28637000 5 0 0xc2b0ba50 rwx 1 0 0x2100 COW NNC vnode /usr/X11R6/lib/modules/fonts/libtype1.so
0x28637000 0x28640000 1 0 0xc2b0b9d8 rwx 1 0 0x2100 COW NNC default -
0x28640000 0x2864a000 9 0 0xc2b0b960 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/fonts/libfreetype.so
0x2864a000 0x2864b000 1 0 0xc2b0b8e8 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/fonts/libfreetype.so
0x2864b000 0x2864c000 1 0 0xc2b0b870 rwx 1 0 0x2100 COW NNC vnode /usr/X11R6/lib/modules/fonts/libfreetype.so
0x2864c000 0x286ae000 18 0 0xc2b0b7f8 r-x 18 12 0x0 COW NC vnode /usr/local/lib/libfreetype.so.9
0x286ae000 0x286af000 1 0 0xc2b0b780 r-x 1 0 0x2100 COW NC vnode /usr/local/lib/libfreetype.so.9
0x286af000 0x286b2000 3 0 0xc2b0b708 rwx 1 0 0x2100 COW NC vnode /usr/local/lib/libfreetype.so.9
0x286b2000 0x286bc000 10 0 0xc2b0b5a0 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/drivers/ati_drv.so
0x286bc000 0x286bd000 1 0 0xc2b0b528 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/drivers/ati_drv.so
0x286bd000 0x286bf000 2 0 0xc2b0b4b0 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/drivers/ati_drv.so
0x286bf000 0x286c7000 8 0 0xc2b0b3c0 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/input/mouse_drv.so
0x286c7000 0x286c8000 1 0 0xc2b0b348 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/input/mouse_drv.so
0x286c8000 0x286c9000 1 0 0xc2b0b2d0 rwx 1 0 0x2100 COW NNC vnode /usr/X11R6/lib/modules/input/mouse_drv.so
0x286c9000 0x286ca000 1 0 0xc2b0b1e0 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/input/kbd_drv.so
0x286ca000 0x286cb000 1 0 0xc2b0b168 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/input/kbd_drv.so
0x286cb000 0x286cc000 1 0 0xc2b0b0f0 rwx 1 0 0x2100 COW NNC vnode /usr/X11R6/lib/modules/input/kbd_drv.so
0x286cc000 0x2870c000 53 0 0xc2b0b000 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/drivers/radeon_drv.so
0x2870c000 0x2870d000 1 0 0xc2aa9e88 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/drivers/radeon_drv.so
0x2870d000 0x28710000 3 0 0xc2aa9e10 rwx 1 0 0x2100 COW NNC vnode /usr/X11R6/lib/modules/drivers/radeon_drv.so
0x28710000 0x28711000 1 0 0xc2aa9d98 rwx 1 0 0x2100 COW NC default -
0x28711000 0x28791000 4 0 0xc2b0b078 rwx 3 0 0x100 NCOW NNC device -
0x28791000 0x28794000 3 0 0xc2b0b258 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/libvgahw.so
0x28794000 0x28795000 1 0 0xc2b0b438 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libvgahw.so
0x28795000 0x28796000 1 0 0xc2b0b618 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libvgahw.so
0x28796000 0x287b1000 14 0 0xc2b0bd98 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/libint10.so
0x287b1000 0x287b2000 1 0 0xc2b0c078 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libint10.so
0x287b2000 0x287b4000 2 0 0xc2b0c258 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libint10.so
0x287b4000 0x287b5000 1 0 0xc2b10a50 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/multimedia/theatre_detect_drv.so
0x287b5000 0x287b6000 1 0 0xc2b109d8 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/multimedia/theatre_detect_drv.so
0x287d4000 0x28814000 16 0 0xc2b0b078 rwx 3 0 0x100 NCOW NNC device -
0x28814000 0x28818000 4 0 0xc2b0c7f8 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/libddc.so
0x28818000 0x28819000 1 0 0xc2b0c438 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libddc.so
0x28819000 0x2881a000 1 0 0xc2b0b690 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libddc.so
0x2881a000 0x2881b000 1 0 0xc2b114b0 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/libi2c.so
0x2881b000 0x2881c000 1 0 0xc2b11438 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libi2c.so
0x2881c000 0x2881d000 1 0 0xc2b113c0 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libi2c.so
0x2881d000 0x28850000 48 0 0xc2b11348 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/libfb.so
0x28850000 0x28851000 1 0 0xc2b112d0 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libfb.so
0x28851000 0x28852000 1 0 0xc2b11258 rwx 1 0 0x2100 COW NNC vnode /usr/X11R6/lib/modules/libfb.so
0x28852000 0x28857000 5 0 0xc2b11168 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/libramdac.so
0x28857000 0x28858000 1 0 0xc2b110f0 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libramdac.so
0x28858000 0x28859000 1 0 0xc2b11078 rwx 1 0 0x2100 COW NNC vnode /usr/X11R6/lib/modules/libramdac.so
0x28859000 0x2889b000 51 0 0xc2b10e88 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/libxaa.so
0x2889b000 0x2889c000 1 0 0xc2b10e10 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libxaa.so
0x2889c000 0x2889e000 2 0 0xc2b10d98 rwx 1 0 0x2100 COW NNC vnode /usr/X11R6/lib/modules/libxaa.so
0x2889e000 0x288a2000 4 0 0xc2b10ca8 r-x 3 2 0x0 COW NC vnode /usr/X11R6/lib/modules/libshadowfb.so
0x288a2000 0x288a3000 1 0 0xc2b10c30 r-x 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libshadowfb.so
0x288a3000 0x288a4000 1 0 0xc2b10bb8 rwx 1 0 0x2100 COW NC vnode /usr/X11R6/lib/modules/libshadowfb.so
0x288a4000 0x2a8a4000 8084 0 0xc2b0b078 rwx 3 0 0x100 NCOW NNC device -
0x2a8a4000 0x2a904000 48 0 0xc2b94c30 rwx 3 0 0x110 NCOW NNC swap -
0x2a904000 0x2a964000 48 0 0xc2c345a0 rwx 3 0 0x110 NCOW NNC swap -
0x2a964000 0x2a9c4000 96 0 0xc2c6fbb8 rwx 3 0 0x110 NCOW NNC swap -
0xbfbe0000 0xbfc00000 18 0 0xc2b10690 rwx 1 0 0x2100 COW NNC default -

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Mon Oct 30 2006 - 22:15:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:02 UTC