Re: Mempoof 0.5.1 problem



>
>        Do we have set any more configuration to get colour status. Can we attach running process ID to memproof as GDB.
>
>        I am interested to know more about memprof tool testing.
>        Share your exp. to me.

I have tried with simple program as,
#include <stdio.h>
#include <unistd.h>
#include <string.h>

void fun();
main()
{
        fun();
}
void fun()
{
        char *p;
        p=(char *)malloc(10*sizeof(char));
        strcat(p,"hai bye");
        sleep(2);
        printf("%s\n",p);
}

/usr/bin/memprof
-- execute /tmp/mall --

It is giving 10 byte allocation but not reporting memory leak for 10 bytes?

IF I try to use /usr/bin/memprof / /usr/bin/gtk-demo, I am getting display windows title with process name - PID running and colour 
codings too. How we have to enable an application to run with support to memprof.

Thanks Again,
Muthukumar

Regards,
Muthukumar.

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$                  Muthukumar Kandasamy/India                          $
$                   <kmuthu_gct hotmail com>                           $
$                ~~~~~~~~~~~~~~~~~~~~~~~                          $
$ The secret to creativity is knowing how to hide your sources $
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]