Hi ,
         I am also attaching the valgrind summary and the logs for the
library it leaks definitely.

==9353==   LEAK SUMMARY:
==9353==    definitely lost: 1,416 bytes in 29 blocks.
==9353==    indirectly lost: 12,162 bytes in 352 blocks.
==9353==      possibly lost: 56,018 bytes in 1,587 blocks.
==9353==    still reachable: 1,695,071 bytes in 11,485 blocks.
==9353==         suppressed: 0 bytes in 0 blocks.

==9353== 1,236 (16 direct, 1,220 indirect) bytes in 1 blocks are
definitely lost in loss record 1,861 of 3,261
==9353==    at 0x401A951: malloc (vg_replace_malloc.c:207)
==9353==    by 0x43DEB12: (within /usr/X11R6/lib/libX11.so.6.2)
==9353==    by 0x43E099B: XrmGetStringDatabase (in /usr/X11R6/lib/
libX11.so.6.2)
==9353==    by 0x43C4507: (within /usr/X11R6/lib/libX11.so.6.2)
==9353==    by 0x43C4607: XGetDefault (in /usr/X11R6/lib/libX11.so.
6.2)
==9353==    by 0x5E5A1C0: _XcursorGetDisplayInfo (in /usr/X11R6/lib/
libXcursor.so.1.0)
==9353==    by 0x5E5A24E: XcursorSupportsARGB (in /usr/X11R6/lib/
libXcursor.so.1.0)
==9353==    by 0x5E5CB5B: XcursorNoticeCreateBitmap (in /usr/X11R6/lib/
libXcursor.so.1.0)
==9353==    by 0x43BE7B2: _XNoticeCreateBitmap (in /usr/X11R6/lib/
libX11.so.6.2)
==9353==    by 0x43BED5C: XCreatePixmap (in /usr/X11R6/lib/libX11.so.
6.2)
==9353==    by 0x435308E: gdk_pixmap_new (in /usr/lib/libgdk-1.2.so.
0.9.1)
==9353==    by 0x4CF73D1: gdk_pixbuf_render_pixmap_and_mask (in /usr/
lib/libgdk_pixbuf.so.2.0.0)

==9353== 5,112 (264 direct, 4,848 indirect) bytes in 2 blocks are
definitely lost in loss record 2,695 of 3,261
==9353==    at 0x401AD81: operator new(unsigned) (vg_replace_malloc.c:
224)
==9353==    by 0x7EC0DF7: (within /root/mozilla/extensions/xmlextras/
build/src/libxmlextras.so)
==9353==    by 0x417D056: (within /root/mozilla/xpcom/build/
libxpcom.so)
==9353==    by 0x414AAB4: (within /root/mozilla/xpcom/build/
libxpcom.so)
==9353==    by 0x417C830: nsCreateInstanceByCID::operator()(nsID
const&, void**) const (in /root/mozilla/xpcom/build/libxpcom.so)
==9353==    by 0x417C773:
nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&)
(in /root/mozilla/xpcom/build/libxpcom.so)
==9353==    by 0x521EF11: (within /root/mozilla/layout/build/
libgklayout.so)
==9353==    by 0x521F4CC: (within /root/mozilla/layout/build/
libgklayout.so)
==9353==    by 0x40A3444: js_Construct (in /root/mozilla/js/src/
libmozjs.so)
==9353==    by 0x408AEC6: js_Invoke (in /root/mozilla/js/src/
libmozjs.so)
==9353==    by 0x408F7ED: js_Interpret (in /root/mozilla/js/src/
libmozjs.so)
==9353==    by 0x408AFC2: js_Invoke (in /root/mozilla/js/src/
libmozjs.so)



cheers,
Shiv

[EMAIL PROTECTED] wrote:
> Hi,
>
>    Below is the action I am performing .
>    Run program as TestGtkEmbed .
>     An Url is loaded by supplying the URL.( I am giving an URL inside
> an intranet .)
>     It can be unloaded by giving �about:blank�.
>     memory is noted each time the same URL is loaded .
>     Other than top I am giving the /proc/$pid/status Info on doing
> this 3 times . You can see that the last
> status shows the increase in memory mapped to the process- VmRSS .
>
>
> status when loading Internal URL.
>
>
> Name:   TestGtkEmbed
> State:  S (sleeping)
> Tgid:   16276
> Pid:    16276
> PPid:   16240
> TracerPid:      0
> Uid:    0       0       0       0
> Gid:    0       0       0       0
> FDSize: 256
> Groups: 0 1 2 3 4 6 10
> VmSize:   219680 kB
> VmLck:         0 kB
> VmRSS:    203348 kB
> VmData:   201120 kB
> VmStk:       100 kB
> VmExe:        20 kB
> VmLib:     15984 kB
> SigPnd: 0000000000000000
> ShdPnd: 0000000000000000
> SigBlk: 0000000080000000
> SigIgn: 0000000000001000
> SigCgt: 0000000380000000
> CapInh: 0000000000000000
> CapPrm: 00000000fffffeff
> CapEff: 00000000fffffeff
>
> status when loading about:blank
>
> Name:   TestGtkEmbed
> State:  S (sleeping)
> Tgid:   16276
> Pid:    16276
> PPid:   16240
> TracerPid:      0
> Uid:    0       0       0       0
> Gid:    0       0       0       0
> FDSize: 256
> Groups: 0 1 2 3 4 6 10
> VmSize:    65220 kB
> VmLck:         0 kB
> VmRSS:     51308 kB
> VmData:    46660 kB
> VmStk:       100 kB
> VmExe:        20 kB
> VmLib:     15984 kB
> SigPnd: 0000000000000000
> ShdPnd: 0000000000000000
> SigBlk: 0000000080000000
> SigIgn: 0000000000001000
> SigCgt: 0000000380000000
> CapInh: 0000000000000000
> CapPrm: 00000000fffffeff
> CapEff: 00000000fffffeff
>
> status when loading Internal URL
>
> [/ 16276]#cat status
> Name:   TestGtkEmbed
> State:  S (sleeping)
> Tgid:   16276
> Pid:    16276
> PPid:   16240
> TracerPid:      0
> Uid:    0       0       0       0
> Gid:    0       0       0       0
> FDSize: 256
> Groups: 0 1 2 3 4 6 10
> VmSize:   216356 kB
> VmLck:         0 kB
> VmRSS:    204172 kB
> VmData:   197796 kB
> VmStk:       100 kB
> VmExe:        20 kB
> VmLib:     15984 kB
> SigPnd: 0000000000000000
> ShdPnd: 0000000000000000
> SigBlk: 0000000080000000
> SigIgn: 0000000000001000
> SigCgt: 0000000380000000
> CapInh: 0000000000000000
> CapPrm: 00000000fffffeff
> CapEff: 00000000fffffeff
>
> status when loading about:blank
>
> [/: 16276]#cat status
> Name:   TestGtkEmbed
> State:  S (sleeping)
> Tgid:   16276
> Pid:    16276
> PPid:   16240
> TracerPid:      0
> Uid:    0       0       0       0
> Gid:    0       0       0       0
> FDSize: 256
> Groups: 0 1 2 3 4 6 10
> VmSize:    64320 kB
> VmLck:         0 kB
> VmRSS:     52336 kB
> VmData:    45760 kB
> VmStk:       100 kB
> VmExe:        20 kB
> VmLib:     15984 kB
> SigPnd: 0000000000000000
> ShdPnd: 0000000000000000
> SigBlk: 0000000080000000
> SigIgn: 0000000000001000
> SigCgt: 0000000380000000
> CapInh: 0000000000000000
> CapPrm: 00000000fffffeff
> CapEff: 00000000fffffeff
>
>
> status when loading Internal URL
>
>
> [/: 16276]#cat status
> Name:   TestGtkEmbed
> State:  S (sleeping)
> Tgid:   16276
> Pid:    16276
> PPid:   16240
> TracerPid:      0
> Uid:    0       0       0       0
> Gid:    0       0       0       0
> FDSize: 256
> Groups: 0 1 2 3 4 6 10
> VmSize:   226172 kB
> VmLck:         0 kB
> VmRSS:    213416 kB
> VmData:   207612 kB
> VmStk:       100 kB
> VmExe:        20 kB
> VmLib:     15984 kB
> SigPnd: 0000000000000000
> ShdPnd: 0000000000000000
> SigBlk: 0000000080000000
> SigIgn: 0000000000001000
> SigCgt: 0000000380000000
> CapInh: 0000000000000000
> CapPrm: 00000000fffffeff
> CapEff: 00000000fffffeff
>
> cheers,
> Shiv
>
> Christopher Blizzard wrote:
> > We'll need more data than that.  Like, what URL?  How many times?
> > Different URLs?  Do you have more data other than what top tells you?
> >
> > --Chris
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to