[Valgrind-users] Helgrind usage - query
I have cross-compiled Helgrind and using this tool to monitor a process. This process in turn spawns a few more processes. When I use the below command, ./valgrind --trace-children=yes -log-file=helgrind.log -tool=helgrind /bin/process1, I do not see the process 2 and process 3 when the command ps Is entered. Also, I do not observe logs from process 1. Can anyone help me if I have done anything incorrect here? This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. An NDS Group Limited company. www.nds.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users
Re: [Valgrind-users] Helgrind usage - query
On 03/04/2013 09:51 AM, Murthy, Sudhindra wrote: ./valgrind --trace-children=yes -log-file=helgrind.log -tool=helgrind /bin/process1, I do not see the process 2 and process 3 when the command ps Is entered. Also, I do not observe logs from process 1. Can anyone help me if I have done anything incorrect here? All the Helgrind processes are using the same logfile. Try with --log-file=helgrind%p.log which puts the process ID in each file name, hence they will use different log files. J -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users
Re: [Valgrind-users] Helgrind usage - query
If I try to run the process standalone, I get the serial logs. But when the process is run from valgrind, none of the serial logs are output. Even printfs from the process are not being output. The same is the case when redirecting it to a file. From: Murthy, Sudhindra [mailto:sudhind...@nds.com] Sent: Monday, March 04, 2013 2:22 PM To: valgrind-users@lists.sourceforge.net Subject: [Valgrind-users] Helgrind usage - query I have cross-compiled Helgrind and using this tool to monitor a process. This process in turn spawns a few more processes. When I use the below command, ./valgrind --trace-children=yes -log-file=helgrind.log -tool=helgrind /bin/process1, I do not see the process 2 and process 3 when the command ps Is entered. Also, I do not observe logs from process 1. Can anyone help me if I have done anything incorrect here? This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.commailto:postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. An NDS Group Limited company. www.nds.comhttp://www.nds.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users
[Valgrind-users] floating point print error in ada
Hi, I'm using valgrind on a small Ada program (attached). The Ada program runs fine on the linux host, it prints 8.5. When I run the program through valgrind, it prints 0.0. Any ideas why this might be? I tried this with gnatmake with gnu 4.1.2 and gnu 4.2 on, $ uname -a Linux maple 2.6.32-22-generic-pae #36-Ubuntu SMP Thu Jun 3 23:14:23 UTC 2010 i686 GNU/Linux Thanks, Bob with System.Img_Real; use System.Img_Real; with System.Val_Real; use System.Val_Real; with Ada.Text_IO; procedure Sample is Buf : String (1 .. 3); Ptr : Natural := 0; begin Set_Image_Real (8.5, Buf, Ptr, Fore = 1, Aft = 1, Exp = 0); Ada.Text_IO.Put_Line (buf); end Sample; -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users
Re: [Valgrind-users] floating point print error in ada
Hi Bob, I'm using valgrind on a small Ada program (attached). The Ada program runs fine on the linux host, it prints 8.5. When I run the program through valgrind, it prints 0.0. Any ideas why this might be? I tried and it works fine for me: gnatmake from gcc-4.2 and gcc-4.8, valgrind-3.9.0.SVN, on ubuntu quantal. Note that I'm on a 64 bit system (x86-64). Ciao, Duncan. I tried this with gnatmake with gnu 4.1.2 and gnu 4.2 on, $ uname -a Linux maple 2.6.32-22-generic-pae #36-Ubuntu SMP Thu Jun 3 23:14:23 UTC 2010 i686 GNU/Linux Thanks, Bob -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users
[Valgrind-users] Valgrind 3.8.1 DRD stuck
Hi, I was using Valgrind 3.8.1 DRD on Parsec 2.1 Benchmark suite. x264 program in Parsec runs for more than few hours and does not stop. I know it takes long time but the previous version 3.7.0 DRD finished the same program in 300 seconds. (I also tried to stop using Ctrl + c and Ctrl + z to suspend but that does not work to stop it either.) Do you have any idea? Environment: Intel Core 2 Duo CPU Ubuntu 12.04 gcc 4.6.3 The exact commnad line used including Valgrind DRD and program parameters: valgrind-3.8.1/bin/valgrind --tool=drd --first-race-only=yes --read-var-info=yes -v ./inst/i686-linux.gcc-pthreads/bin/x264 --quiet --qp 20 --partitions b8x8,i4x4 --ref 5 --direct auto --b-pyramid --weightb --mixed-refs --no-fast-pskip --me umh --subme 7 --analyse b8x8,i4x4 --threads 2 -o eledream.264 ./inputs/eledream_640x360_128.y4m Thanks. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users
Re: [Valgrind-users] floating point print error in ada
On Mon, 2013-03-04 at 22:08 +0100, Roland Mainz wrote: On Mon, Mar 4, 2013 at 9:29 PM, Philippe Waroquiers philippe.waroqui...@skynet.be wrote: GNAT runtime is implementing various features (e.g. float images) by using long_long_float, which are 80 bits floats. As these are not properly supported by Valgrind, this can introduce numerical differences/errors. Erm... are there any plans to fix this ? AFAIK ADA ist not the only user of |long long double| ... some parts of JDK, perl and ksh93 rely on 80biit IEEE754 math on x86 ... No, there is no plan to fix this. See https://bugs.kde.org/show_bug.cgi?id=197915#c9 See e.g. https://bugs.kde.org/show_bug.cgi?id=130358 Do you have a full list of bugs for this issue ? https://bugs.kde.org/show_bug.cgi?id=197915 seems track a lot of duplicate bugs. But there are probably some not yet marked as duplicate. Philippe -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users