Purified binary is not leaking

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 1  
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  
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  
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 for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #419
Difficulty: Easy
Few popular modern Web browsers support JavaScript with built-in interpreters.
True or False?

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. Shell Programming and Scripting

Binary files

Hi All,Is there anyway I can conver the binary file to ascii. I don't know the binary file format. file command just lists this as "data" file and when I view it has a lot of non-printable characters.Can I write any command equivalent to wc -l to find out the number of rows in the file?Can I use... (4 Replies)
Discussion started by: rahulkav
4 Replies

5. 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

6. Emergency UNIX and Linux Support

Which OS Binary was build

We have recently installed RHEL 5.4 on some existing 6.2 OS and migrated our code from RH 6.2 to RHEL 5.4. We are facing a difficulty that given a binary (on both OS they have same name) how can we distinguish that which gcc and OS it was build as there are some minor differences in between binary... (2 Replies)
Discussion started by: uunniixx
2 Replies

7. 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

8. 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

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

Featured Tech Videos