|
From: Mani K. V. <kis...@gm...> - 2005-10-20 21:43:11
|
I am trying to use valgrind-2.4.0 for mem profiling and below is the error = i get. me exec is run_mso_tg12_SF_7sct_15. Am i missing something here. Pleas= e do let me know. Infact i was trying memprof but that doesnt work. Hence i a= m using valgrind. voodoo01 RLMAC_Code_O2 # valgrind run_mso_tg12_SF_7sct_15 valgrind: do_exec(run_mso_tg12_SF_7sct_15) failed: Permission denied voodoo01 RLMAC_Code_O2 # valgrind --tool =3D memcheck ./run_mso_tg12_SF_7sct_15 valgrind: do_exec(=3D) failed: No such file or directory voodoo01 RLMAC_Code_O2 # valgrind --tool =3D memcheck run_mso_tg12_SF_7sct_= 15 valgrind: do_exec(=3D) failed: No such file or directory Cheers, mani. |
|
From: Tom H. <to...@co...> - 2005-10-20 22:06:53
|
In message <8ff...@ma...>
Mani Kishore Vajipeyajula <kis...@gm...> wrote:
> I am trying to use valgrind-2.4.0 for mem profiling and below is the error i
> get. me exec is run_mso_tg12_SF_7sct_15. Am i missing something here. Please
> do let me know. Infact i was trying memprof but that doesnt work. Hence i am
> using valgrind.
>
> voodoo01 RLMAC_Code_O2 # valgrind run_mso_tg12_SF_7sct_15
> valgrind: do_exec(run_mso_tg12_SF_7sct_15) failed: Permission denied
Well do you have permission to run that program?
> voodoo01 RLMAC_Code_O2 # valgrind --tool = memcheck
> ./run_mso_tg12_SF_7sct_15
> valgrind: do_exec(=) failed: No such file or directory
>
> voodoo01 RLMAC_Code_O2 # valgrind --tool = memcheck run_mso_tg12_SF_7sct_15
> valgrind: do_exec(=) failed: No such file or directory
You shouldn't have spaces around the = sign.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|
|
From: Mani K. V. <kis...@gm...> - 2005-10-20 22:49:49
|
Tom, Thanks for the prompt reply. I guess I have permissions (i am in su), when = i run only my exe then it runs, no issues. But when I use valgrind it throws this error. I removed the spaces around the =3D. Also should i give the exe= as ./exe or just exe. Here is what i get with valgrind... voodoo01 RLMAC_Code_O2 # valgrind --tool=3Dmemcheck ./run_mso_tg12_SF_7sct_= 15 valgrind: do_exec(./run_mso_tg12_SF_7sct_15) failed: Permission denied just the exe runs fine... voodoo01 RLMAC_Code_O2 # ./run_mso_tg12_SF_7sct_15 Reading CommandLine reading JTC file done reading JTC file There are a total of 15 ATs per sector tot num carriers =3D 1 Done reading Eb/No file. After parsing MRC files Set up merge output file Completed DV layout TotalARQPwr =3D 1 Total 1st Rd Miss =3D 0 Total Round =3D 1 slot 1000 slot 2000 slot 3000 Also running valgrind ps -ax is also fine. No errors. Thanks a lot for ur help. Please explain. Regards, Mani. On 10/20/05, Tom Hughes <to...@co...> wrote: > > In message <8ff...@ma...> > Mani Kishore Vajipeyajula <kis...@gm...> wrote: > > > I am trying to use valgrind-2.4.0 for mem profiling and below is the > error i > > get. me exec is run_mso_tg12_SF_7sct_15. Am i missing something here. > Please > > do let me know. Infact i was trying memprof but that doesnt work. Hence > i am > > using valgrind. > > > > voodoo01 RLMAC_Code_O2 # valgrind run_mso_tg12_SF_7sct_15 > > valgrind: do_exec(run_mso_tg12_SF_7sct_15) failed: Permission denied > > Well do you have permission to run that program? > > > voodoo01 RLMAC_Code_O2 # valgrind --tool =3D memcheck > > ./run_mso_tg12_SF_7sct_15 > > valgrind: do_exec(=3D) failed: No such file or directory > > > > voodoo01 RLMAC_Code_O2 # valgrind --tool =3D memcheck > run_mso_tg12_SF_7sct_15 > > valgrind: do_exec(=3D) failed: No such file or directory > > You shouldn't have spaces around the =3D sign. > > Tom > > -- > Tom Hughes (to...@co...) > http://www.compton.nu/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |
|
From: Christoph B. <bar...@or...> - 2005-10-21 08:22:57
|
Am Freitag, 21. Oktober 2005 00:06 schrieb Tom Hughes: > In message <8ff...@ma...> > > Mani Kishore Vajipeyajula <kis...@gm...> wrote: > > I am trying to use valgrind-2.4.0 for mem profiling and below is the > > error i get. me exec is run_mso_tg12_SF_7sct_15. Am i missing something > > here. Please do let me know. Infact i was trying memprof but that doesnt > > work. Hence i am using valgrind. > > > > voodoo01 RLMAC_Code_O2 # valgrind run_mso_tg12_SF_7sct_15 > > valgrind: do_exec(run_mso_tg12_SF_7sct_15) failed: Permission denied > > Well do you have permission to run that program? I have a similar error with the programm I have to check. The error only occurs when the filesystem on which the binaries reside is mounted via NFS. When I copy the whole installation to a local directory everthing works fine. Another funny thing is that on one of our computing machines unsing valgrind also works via NFS. However I was not able to determine the difference between this particular machine and the other ones. Christoph Bartoschek |
|
From: Mani K. V. <kis...@gm...> - 2005-10-20 22:30:11
|
Tom, Another funny thing is that valgrind ps -ax works ! Just that when i try an= d do mem profiling for this particular exe, it doesnt. Regards, mani. On 10/20/05, Mani Kishore Vajipeyajula <kis...@gm...> wrote: > > Tom, > Thanks for the prompt reply. I guess I have permissions, since when i run > only my exe then it runs, no issues. But when I use valgrind it throws th= is > error (do i need to have permissions to run valgrind ?). I removed the > spaces around the =3D. Also should i give the exe as ./exe or just exe. > > Here is what i get with valgrind... > > voodoo01 RLMAC_Code_O2 # valgrind --tool=3Dmemcheck > ./run_mso_tg12_SF_7sct_15 > valgrind: do_exec(./run_mso_tg12_SF_7sct_15) failed: Permission denied > > just the exe runs fine... > > voodoo01 RLMAC_Code_O2 # ./run_mso_tg12_SF_7sct_15 > Reading CommandLine > reading JTC file > done reading JTC file > There are a total of 15 ATs per sector > tot num carriers =3D 1 > Done reading Eb/No file. > After parsing MRC files > Set up merge output file > Completed DV layout > TotalARQPwr =3D 1 > Total 1st Rd Miss =3D 0 > Total Round =3D 1 > slot 1000 > slot 2000 > slot 3000 > > Thanks a lot for ur help. Please explain. > > Regards, > Mani. > > > On 10/20/05, Tom Hughes <to...@co...> wrote: > > > > In message <8ff...@ma...> > > Mani Kishore Vajipeyajula <kis...@gm...> wrote: > > > > > I am trying to use valgrind-2.4.0 for mem profiling and below is the > > error i > > > get. me exec is run_mso_tg12_SF_7sct_15. Am i missing something here. > > Please > > > do let me know. Infact i was trying memprof but that doesnt work. > > Hence i am > > > using valgrind. > > > > > > voodoo01 RLMAC_Code_O2 # valgrind run_mso_tg12_SF_7sct_15 > > > valgrind: do_exec(run_mso_tg12_SF_7sct_15) failed: Permission denied > > > > Well do you have permission to run that program? > > > > > voodoo01 RLMAC_Code_O2 # valgrind --tool =3D memcheck > > > ./run_mso_tg12_SF_7sct_15 > > > valgrind: do_exec(=3D) failed: No such file or directory > > > > > > voodoo01 RLMAC_Code_O2 # valgrind --tool =3D memcheck > > run_mso_tg12_SF_7sct_15 > > > valgrind: do_exec(=3D) failed: No such file or directory > > > > You shouldn't have spaces around the =3D sign. > > > > Tom > > > > -- > > Tom Hughes (to...@co...) > > http://www.compton.nu/ > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, > > discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Valgrind-users mailing list > > Val...@li... > > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > > > |
|
From: Tom H. <to...@co...> - 2005-10-20 23:00:01
|
In message <8ff...@ma...>
Mani Kishore Vajipeyajula <kis...@gm...> wrote:
> Thanks for the prompt reply. I guess I have permissions (i am in su), when i
> run only my exe then it runs, no issues. But when I use valgrind it throws
> this error. I removed the spaces around the =. Also should i give the exe as
> ./exe or just exe.
>
> Here is what i get with valgrind...
>
> voodoo01 RLMAC_Code_O2 # valgrind --tool=memcheck ./run_mso_tg12_SF_7sct_15
> valgrind: do_exec(./run_mso_tg12_SF_7sct_15) failed: Permission denied
I suspect it is a setuid executable which valgrind doesn't support.
Try removing the setuid and/or setgid bits and then manually switching
to the right user/group before you run it.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|
|
From: Mani K. V. <kis...@gm...> - 2005-10-21 00:12:01
|
Tom, I changed the setuid/setgid permissions (chmod u-s run_mso_tg12_SF_7sct_15 ). The error now is : voodoo01 RLMAC_Code_O2 # valgrind --tool=3Dmemcheck ./run_mso_tg12_SF_7sct_= 15 valgrind: do_exec(./run_mso_tg12_SF_7sct_15) failed: Exec format error Am I still missing something. Sorry for the trouble and thanks a ton for th= e help. Regards, Mani. On 10/20/05, Tom Hughes <to...@co...> wrote: > > In message <8ff...@ma...> > Mani Kishore Vajipeyajula <kis...@gm...> wrote: > > > Thanks for the prompt reply. I guess I have permissions (i am in su), > when i > > run only my exe then it runs, no issues. But when I use valgrind it > throws > > this error. I removed the spaces around the =3D. Also should i give the > exe as > > ./exe or just exe. > > > > Here is what i get with valgrind... > > > > voodoo01 RLMAC_Code_O2 # valgrind --tool=3Dmemcheck > ./run_mso_tg12_SF_7sct_15 > > valgrind: do_exec(./run_mso_tg12_SF_7sct_15) failed: Permission denied > > I suspect it is a setuid executable which valgrind doesn't support. > > Try removing the setuid and/or setgid bits and then manually switching > to the right user/group before you run it. > > Tom > > -- > Tom Hughes (to...@co...) > http://www.compton.nu/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |
|
From: Igmar P. <mai...@jd...> - 2005-10-21 06:23:42
|
> voodoo01 RLMAC_Code_O2 # valgrind --tool=memcheck ./run_mso_tg12_SF_7sct_15 > valgrind: do_exec(./run_mso_tg12_SF_7sct_15) failed: Exec format error What does file ./run_mso_tg12_SF_7sct_15 say ? Igmar |
|
From: Mani K. V. <kis...@gm...> - 2005-10-21 22:22:11
|
Hello. Thanks for the suggestions. Valgrind works finally. But a small problem is in the graph it produces (using a heap profiler) I cannot see the name of the function on the y-axis. Can only see the function call. Should the .exe and the entire code be present in the same folder ? I am attaching the .ps file. (Didnt let me so i am not) I am using -g option while compiling the code. I am using g++. So valgrind should have the debug info. Please let me know if i am missing something. Regards, Mani On 10/21/05, Mani Kishore Vajipeyajula <kis...@gm...> wrote: > > Hello. > > Thanks for the suggestions. Valgrind works finally. But a small problem i= s > in the graph it produces (using a heap profiler) I cannot see the name of > the function on the y-axis. Can only see the function call. Should the .e= xe > and the entire code be present in the same folder ? I am attaching the .p= s > file. I am using -g option while compiling the code. I am using g++. So > valgrind should have the debug info. Please let me know if i am missing > something. > > Regards, > Mani. > > On 10/21/05, Christoph Bartoschek <bar...@or...> wrote: > > > > Am Freitag, 21. Oktober 2005 00:06 schrieb Tom Hughes: > > > In message <8ff...@ma...= m > > > > > > > > > Mani Kishore Vajipeyajula <kis...@gm...> wrote: > > > > I am trying to use valgrind-2.4.0 for mem profiling and below is th= e > > > > error i get. me exec is run_mso_tg12_SF_7sct_15. Am i missing > > something > > > > here. Please do let me know. Infact i was trying memprof but that > > doesnt > > > > work. Hence i am using valgrind. > > > > > > > > voodoo01 RLMAC_Code_O2 # valgrind run_mso_tg12_SF_7sct_15 > > > > valgrind: do_exec(run_mso_tg12_SF_7sct_15) failed: Permission denie= d > > > > > > > > Well do you have permission to run that program? > > > > > > I have a similar error with the programm I have to check. The error onl= y > > occurs when the filesystem on which the binaries reside is mounted via > > NFS. > > When I copy the whole installation to a local directory everthing works > > fine. > > > > Another funny thing is that on one of our computing machines unsing > > valgrind > > also works via NFS. However I was not able to determine the difference > > between this particular machine and the other ones. > > > > Christoph Bartoschek > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, > > discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Valgrind-users mailing list > > Val...@li... > > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > > > > |