Memoryleak detection using MALLOCDEBUG


 
Thread Tools Search this Thread
Operating Systems AIX Memoryleak detection using MALLOCDEBUG
# 1  
Old 03-30-2008
Memoryleak detection using MALLOCDEBUG

This topic could also fit into the High Level Programming Forum, but i post it here since its very AIX specific.
I am trying to isolate and resolve memory leaks and -corruption using AIX's MALLOCDEBUG environment variables.
Isolate and resolve memory leaks using MALLOCDEBUG on AIX Version 5.3

This works fine when using a small test application. But when using it with with our more complex application it crashes with signal 4 when starting up and no error message is printed to the mallocdebug logfile.

I wonder if anyone has been using this feature with a 'real' application with success.

And i wonder if there are any alternatives for searching memory leaks / memory corruption within a c programm.

- AIX MALLOCDEBUG
- Purify (only works with a specifig gcc version)
- ZeroFault (commercial didnt try it yet)
- libraries like EFence (needs recompilation of the complete source (which sucks))
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Curl detection of redirect

This URL: Internet Archive Wayback Machine ..will redirect to this URL when using a browser: https://web.archive.org/web/20140110200053/http://rapor.tuik.gov.tr/reports/rwservlet?adnksdb2&ENVID=adnksdb2Env&report=wa_idari_yapi_10sonrasi.RDF&p_il1=17&p_yil=2012&p_dil=2&desformat=html But... (0 Replies)
Discussion started by: Mid Ocean
0 Replies

2. Programming

Parallel Processing Detection and Program Return Value Detection

Hey, for the purpose of a research project I need to know if a specific type of parallel processing is being utilized by any user-run programs. Is there a way to detect whether a program either returns a value to another program at the end of execution, or just utilizes any form of parallel... (4 Replies)
Discussion started by: azar.zorn
4 Replies

3. AIX

NFS mount detection

Hi, I have a handy script in Linux, part of which checks for the presence of nfs mounts, using the information in /proc/mounts. Is there a suitable command or file in AIX that could be used in a similar way? Many thanks in advance (1 Reply)
Discussion started by: SDG
1 Replies

4. Shell Programming and Scripting

NAT detection

hellou, can anybody help me with nat detection in real time ? i prefer some detection script because i try some nat detection program's for example p0f or i'm using tcpdump, but i would get contain of specific packet. Some ideas? (1 Reply)
Discussion started by: TheTechnic
1 Replies

5. Shell Programming and Scripting

key detection in a script

Heloo every one I want to write a script that detects a key press and mouse click and movement,but I dont know how. The second one is I want to run myscript without writing the shell ie not "sh script.sh" but "script.sh" Can you help me out of here? Thanks in advance. (9 Replies)
Discussion started by: enoch99
9 Replies

6. Shell Programming and Scripting

begin end detection

Hi all, i am new to scripting. i need to write a code to detect begin and end of word that either begins or ends with t,th,d,dh,s,sh i have a set of words in a file containg one word per line. let the filename be aaa.txt. i have an another file bbb.txt which has two lines, just specifying the... (7 Replies)
Discussion started by: blkanth
7 Replies

7. IP Networking

modem detection

How to get information that where is my modem configured in /dev. I have two modems configured in my device .. one is USB and other is PCI modem.. USB is detected as /dev/USB0. but how to see about PCI modem? (0 Replies)
Discussion started by: s123.radha
0 Replies

8. UNIX for Dummies Questions & Answers

virus detection

IS there virus software for unix? I worked in a Solaris environment and dont remember having anything. I also ask because the current enviroment i am working on is Microsoft and they argue that they do not use unix because of virus detection. Any input would be greatly appreciated. (1 Reply)
Discussion started by: pbonilla
1 Replies
Login or Register to Ask a Question
libprinterconf(6)						   Games Manual 						 libprinterconf(6)

NAME
pconf_detect - A command-line utility for autodetecting printers in Linux SYNOPSIS
pconf_detect -m [PPORT|NETWORK] -i <info-string> DESCRIPTION
pconf_detect is a command-line utility for autodetecting printers from Linux. It is a simple wrapper around libprinterconf's pconf_detect_printer() function. It currently supports two methods of autodetection: parallel port detection and network detection. The detection type is specified with the -m option, which can be followed by one of two values: PPORT or NETWORK. Detection specific information is passed following the -i option. For parallel port detection, this will be a comma-separated string of parallel port numbers. For network detection, it will be some method of specifying a range of hosts or IP addresses. The most common form is "10.203.1.2/24", indicating the IP/bitmask to scan. Other formats include an IP range ("10.203.1.12-30"), an IP/netmask ("10.203.1.2/255.255.255.0"), a simple IP address ("10.203.1.2"), or a host name ("myprinter.mydomain.com"). [Note: Detection of large network subnets can take a significant amount of time.] pconf_detect will print out a set of formatted text strings, one for each detected printer. The actual format of these strings will depend on the detection method. For parallel port detection, the string will be in the basic form: "port=p;model=m". For a network printer the form is: "printer=hostaddr;vendor=v;model=m". EXAMPLES
PPORT example: pconf_detect -m PPORT -i 0,1 where "0,1" is a comma-separated list of the parallel port to scan. NETWORK example: pconf_detect -m NETWORK -i "10.203.1.2/24" where "10.203.1.2/24" is the IP/bitmask to scan. SEE ALSO
libprinterconf(3) Printerconf Docs 12 April 2000 libprinterconf(6)