Purified binary is not leaking

Thread Tools Search this Thread
Operating Systems AIX Purified binary is not leaking
# 1  
Old 10-04-2007
Purified binary is not leaking

I am working on a project which uses 64-bit capability of AIX. This is
very recently ported to 64-bit and leaking like anything now. I purified
the program on 64-bit and ran it, purify is not showing any leak.
Even memory usage has become very normal in purified binary compared to my
binary which leaks 100 MB in span of 10 mins. Any idea what is the problem,
I feel something terribly wrong with my program.
I am working on AIX 5.3 and PurifyPlus version is purify.aix.
# 2  
Old 10-04-2007
C ?
C++ ?
xlc ?
xlc_r ?
gcc ?
g++ ?

What compile options do you use with purify and what when normal.

With purify are you using totally different C/C++ runtime libraries?

Have you tried seeing if it's a low level API with a few test cases, eg I have an environment (*not* AIX) where realloc leaks like a sieve.

Also, if C++ can you confirm all destructors are getting called?

Have you tried a different compiler family?

Is the program multithreaded and not cleaning up thread local storage, or using pthread_cleanup_push/pthread_cleanup_pop?
# 3  
Old 10-04-2007
It is c program on AIX, I am using xlc_r for compilation. I am not using any
special options with purify to compile, rather just calling purify on binary to create purified binary.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Memory leaking

Hi All Would someone help me to find the detailed report on memory leak. any commands to get detailed report for OS level and applications As we are using REDHAT LINUX 5.9 Thanks Murali Muppa (2 Replies)
Discussion started by: murali969
2 Replies

2. Shell Programming and Scripting

Convert binary file to csv and then back to the binary format

Hello *nix specialists, Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies

3. IP Networking

LAN traffic leaking on to WAN

Network map: WAN external interface network | WAN internal interface network | LAN | wireless router | DSL modem The problem I am having is that some traffic from the LAN seems to be "leaking" onto the WAN. I... (0 Replies)
Discussion started by: herot
0 Replies

4. Red Hat

memory leaking

I use linux and unix and run aplication. How I can use command top , vmstat ,free ...etc existing command to find out there is memory leaking ??? Please give me example . It is not allow to use compiler to compile the program /tool. (2 Replies)
Discussion started by: chuikingman
2 Replies

5. Shell Programming and Scripting

dd - binary file

I have a task that says: make a file (called binaryfile ) that contains 4 bytes of NULL data 6 bytes of random data 8 bytes of 1 10 bytes of 5 and 12 bytes of 9. For the first 2, I can used : dd if=/dev/null of=binaryfile bs=8 count =4 and dd if=/dev/urandom of=binaryfile bs=8... (3 Replies)
Discussion started by: spiriad
3 Replies

6. UNIX for Advanced & Expert Users

Application-managed pthreads stacks leaking

I'm trying to use application-managed stacks, i.e. allocating the stack myself and passing it to the pthread creation attributes through pthread_setstack -function. My problem is that the memory allocated for the stack seems to leak after the thread terminates. Only information I have been able... (2 Replies)
Discussion started by: lassel
2 Replies

7. Solaris

compiled binary file gives "cannot execute binary file"

Hi, I have two Solaris machines. 1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500 2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60 I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Discussion started by: scgupta
0 Replies

8. UNIX for Dummies Questions & Answers

binary file

when using telnet localhost 25 I can cat ASCII files into the email body and an attachment, but how do i get a non-ASCII file into it, like a picture or a word document (.doc not rtf). uuencode, just stalls. Any ideas? :confused: (1 Reply)
Discussion started by: markms
1 Replies

9. UNIX for Dummies Questions & Answers

binary file

please let me know how can i mail the binary files is it can be done thru pine? is there any other way to do it? wat are the changes in system i have to make and one more thing i am sending data to a message queue and then retriving the data from the queue but when i do the ipcs... (1 Reply)
Discussion started by: ramneek
1 Replies

10. UNIX for Dummies Questions & Answers

Where is M4 binary?

Hello, I am configurating Sendmail on Mac OS 10.x terminal. I tried to execute m4 to generate a new sendmail.cf. It complains "Command not found". Anybody knows where the m4 binary is? Is it something coming along with Unix or Sendmail? Appreciate any help. Thanks in advance. pw (2 Replies)
Discussion started by: hypamw
2 Replies
Login or Register to Ask a Question