Can Valgrind work well on AIX?


 
Thread Tools Search this Thread
Operating Systems AIX Can Valgrind work well on AIX?
# 1  
Old 10-06-2008
Question Can Valgrind work well on AIX?

As Valgrind announced, 3.3.0 and 3.3.1 version can support AIX 5.3.
But I met a block issue when I used Valgrind on AIX
After installing Valgrind3.3.1 successfully on AIX5.3, I typed the following command of Valgrind:
valgrind -d --tool=memcheck ls
Then, the following result from Valgrind is displayed:
*****************************
-606352:1:debuglog DebugLog system started by Stage 1, level 1 logging requested
--606352:1:launcher tool 'memcheck' requested
--606352:1:launcher searching for client in $PATH
--606352:1:launcher found /usr/bin/ls
--606352:1:launcher client is an XCOFF32 executable
--606352:1:launcher looking for the tool file
--606352:1:launcher doing putenv("AIXTHREAD_SCOPE=S")
--606352:1:launcher doing putenv("MP_SHARED_MEMORY=no")
--606352:1:launcher doing putenv("VALGRIND_STARTUP_PWD_606352_XYZZY=/usr/local/lib/valgrind/ppc32-aix5")
--606352:1:launcher doing fork()
--1569002:1:launcher child: before ptrace
--1569002:1:launcher child: before execve
--1569002:1:launcher child: launcher = /usr/local/lib/valgrind/../../bin/valgrind
--606352:1:launcher parent: waitpid-ing for child
--606352:1:launcher parent: waitpid got pid 1569002
--606352:1:launcher parent: waitpid got status 0x57f
--606352:1:launcher parent: size of bootblock is 888
--606352:1:launcher parent: reading child's /proc/../sysent
--606352:1:launcher parent: reading child's int registers
--606352:1:launcher parent: creating bootblock code ..
--606352:1:launcher parent: .. 50 instructions emitted
--606352:1:launcher parent: ptrace PT_LDINFO got 0
--606352:1:launcher parent: text 0x10000000-0x10006fb2 data 0x300005dc-0x3000154c
--606352:1:launcher parent: text 0xd01450f8-0xd014593e data 0xf032b508-0xf032b630
--606352:1:launcher parent: text 0xd035e380-0xd06084c4 data 0xf02853a0-0xf032acf8
--606352:1:launcher parent: candidate first 0x300005dc last 0x3000154b
--606352:1:launcher parent: page 0x30000000 has 1386 usable bytes
--606352:1:launcher parent: reading page at 0x30000000
--606352:1:launcher parent: adler32 of unz page is 0x32001c4e
--606352:1:launcher parent: free space starts at 0x30000a96 in child
--606352:1:launcher parent: bootblock will be at 0x30000c88 in child
--606352:1:launcher parent: writing page at 0x30000000
--606352:1:launcher parent: set child's pc to 0x30000dd0
--606352:1:launcher parent: set child's r31 to 0x30000c88
--606352:1:launcher parent: detaching child
--1569002:1:debuglog DebugLog system started by Stage 2 (main), level 1 logging requested
--1569002:1:main Welcome to Valgrind version 3.3.1 debug logging
--1569002:1:main aix5: registering syscalls ..
--606352:1:launcher parent: detach got 0
--606352:1:launcher parent: waiting for child to finish
--606352:1:launcher parent: child exited on signal 11
**************************************

Is there Anyone met this issue before? Could you please share your expeirence with me?

My email is -censored-

edit by bakunin: soliciting e-mail responses is against the rules. The reason is that answers given in private are not contributing to the knowledge base.

Last edited by bakunin; 10-06-2008 at 09:48 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find command does not work on AIX 6.1

I have AiX system version 6.1 I wish the below find command to work on AiX system ksh shell and give similar output as this works fine on RedHat Linux centos 7. find /app/logs/fname1.out -printf "%M %u %TY-%Tm-%Td %TH:%TM %h/%f $(cksum<fname1.out | cut -d' ' -f1)\n" Output: -rw-r--r--... (7 Replies)
Discussion started by: mohtashims
7 Replies

2. AIX

Bash does not work on AIX 7.2

We have a new LPAR with AIX 7.2. We want to work with bash, so installed bash from Perzl (bash_64-4.4.5.aix5.1.ppc.rpm). But after install bash does not work. If I call "bash", nothing happens. The xterm, where I started bash, is totally dead. I tried the bash from aixtools.net, too. Same... (4 Replies)
Discussion started by: BuSchu
4 Replies

3. AIX

How to X-window to work on AIX 5.3?

Hey all. My h50 is up, but now i need some guidance. How to i get X11 (X-Windows0 working on the system, so i can use the H50 via my main pc? is that makes sense. The X11 system is installed, but i am lost as how to get it working Can anyone please help? (2 Replies)
Discussion started by: ADS2459
2 Replies

4. AIX

AIX Shell script does not work

Hi. I created schell script for sending messages to some processes in AIX: #!/bin/sh BSE=/infor/ERPLN/bse BSE_TMP=/infor/ERPLN/bse/tmp export BSE BSE_TMP for i in `ps -eo pid,comm | grep bshell | cut -f 1 -d " "` do /something $i done Unfortunatelly this script does not work on... (6 Replies)
Discussion started by: giovanni
6 Replies

5. Ubuntu

valgrind

Hello, I want to install and run a tool called Daikon on my Ubuntu(latest version) While compiling I got this error--------> checking the GLIBC_VERSION version... unsupported version configure: error: Valgrind requires glibc version 2.2 - 2.11 make: *** Error 1 make: Leaving directory... (3 Replies)
Discussion started by: paramad
3 Replies

6. Programming

Valgrind error

I get this Valgrind error while using malloc but if I use calloc then there is no error. I allocate 8 bytes for the string inside sprintf, 12 for the ip and 1 for the string terminator. This totals 21, so why is it talking about 20 bytes and 18 bytes ? Partial code: char ip =... (3 Replies)
Discussion started by: cyler
3 Replies

7. AIX

valgrind - pthread memory leaks on AIX

Hi all, I have written a small code just to invoke main and return immediately. When built with libpthread on AIX box, valgrind throws lots of memory leak errors. But when built without libpthread, no issues at all. Here is the sample run for your look. Any idea where I might be going wrong?... (3 Replies)
Discussion started by: visionofarun
3 Replies

8. AIX

Any hope to get lp options like the following to work on AIX (6.1)?

Greetings Aix gurus, I have been appointed the task to port my SAS environment on HP-UX to AIX... I have been able to solve most issues but I am stuck with the following lines (these were easy to find, since in shell scripts but I found out that there are plenty more and encapsulated in SAS... (1 Reply)
Discussion started by: vbe
1 Replies

9. Advertise with Us

Looking for AIX work in Vancouver

Hi I am an <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 9"><meta name="Originator" content="Microsoft Word 9"><link rel="File-List"... (0 Replies)
Discussion started by: kimyo
0 Replies
Login or Register to Ask a Question