2

I am using spawn-fcgi to start my application which take 3 parameters. when i try to use valgrind it gives no leak information.

i am using this command

valgrind --tool=memcheck --leak-check-full --trace-children=yes spawn-fcgi -s tempSocket ./myApp param1 param2 param3

spawn-fcgi only take one parameter and created child process for application.

Is there any way to get memory leakage for application?

timrau
  • 22,578
  • 4
  • 51
  • 64
Anurag
  • 117
  • 1
  • 13
  • That should do it. Are you sure there's a memory leak? – slugonamission May 30 '13 at 23:28
  • @slugonamission I am checking application to find memory leak if any. Below is the result: ==10228== Memcheck, a memory error detector ==10228== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==10228== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==10228== Command: ./myApp param1 param2 param3 ==10228== Parent PID: 10221 ==10228== ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@==10221== Warning: invalid file descriptor -1 in syscall close() I am unable to put complete result due to character limitation in comment. – Anurag May 31 '13 at 00:21
  • @Anurag edit your original post with valgrind's output. – Maria Ines Parnisari Jun 02 '13 at 18:53
  • Thanks @slugonamission. My same command worked. It might i am doing some mistake the day of posting this question. – Anurag Jun 05 '13 at 01:33

0 Answers0