I'm trying to port dmalloc 4.8.2 to z/OS (yes, MVS) under its Unix Systems Services. During configure I get a warning saying it detected that heaps can grow...
Hi everyone, I'm new to dmalloc so please bear with me. I'm running it on SuSE Linux 8.0, compiled on gcc 2.95.3, and using gdb 5.1.1 for debugging. I've used...
Sounds a bit like a thread stack; how many threads were you running? Thread stacks won't be seen by dmalloc because the O/S isn't using dmalloc. Therefore,...
I am new dmalloc, and I was wondering why am I having so many problems with dmalloc.h conflicting with math.h? I need to use both since most of my/our code is...
I'm sure I'm asking a really dippy question here, but what does the compiler output look like so that the list membership can diagnose the actual problem? What...
Thanks for replying... Well I am using AIX5L on a IBM P690 with 2048MB RAM with many GB of hard drive space and 24 processors. The messages that I get from the...
... I too have had lots of these kinds of errors on linux. Usually I edit the dmalloc.h file until the errors go away. Also, make sure you #include dmalloc.h...
I solved the problem. I coppied stdlib.h to my local directory and change the names of the functions in stdlib.h that are overwritten by dmalloc. Now it works...
Once upon a time, configure correctly detected the return type for malloc, et. al., but given that StdC has been out there for so long, Gray may have ditched...
... Nothing is ditched. The configure script should properly determine whether STDC is defined by the compiler. Correcting the problem by editing the...
I'm just having a small problem. I got my source to compile fine with the dmalloc.h and the libs. And I setup the shell alias like the docs said, but do I have...
... Dmalloc doesn't "attach" like gdb. It is a library which is compiled into your source code. The dmalloc utility is only used to set the environmental...
Hi, Sometimes it is impossible to fix things which look like leaks, eg if you are getting a pointer from gethostbyname(), which (on IRIX anyway) returns a...
... This is requested somewhat frequently. Anyone else want to chime in with suggestions? I've heard of some libraries that don't call a single pointer ...
Why is it whenever I use config with the following options that the make resets the config options to the default values? For example: Lets say that I do the...
All: Gray has graciously sent me a copy of his dmalloc CVS repository and I've agreed (in principle) to have a look at integrating various patches that people...
... It sounds like configure is being re-run at compile time, presumably because your 'make' is doing lazy file time checking (checks the file times when...
Hello, I am trying to allocate 28MB to realloc and dmalloc wont let me. I am using AIX, and I was wondering of there were any limitations to using realloc with...
No, probably not. You might want to check your system-imposed limits, which depends on the shell you use. Typically, the command in bash and sh is 'ulimit -a'...
Hi all, I'm newb to dmalloc and have problems setting it up on Solaris (it works like a charm in linux). ... bash-2.03$ make gcc -I/usr/local/include -Wall...
Hi, My code(huge C code for linux) is crashiing inside malloc(). So I think its because heap/stack got corrupted. So even dmalloc is not useful. Can someone...
... I'd like to second this. Valgrind, unfortunately only for Linux completely ROCKS. I've been meaning to put a pointer on dmalloc.com for it. ... ...
... I wouldn't assume that dmalloc is not useful unless it is crashing inside of dmalloc's malloc. Dmalloc has a completely different heap organization than...
Some of us use other operating systems than Linux (*) and it would be nice to see valgrind operating on FreeBSD. I'm not sure what it would take to make that...
Hi All, Actually I am new user to dmalloc library. I am facing some meory leak problems in snmp ( which is derived from ucd-snmpd-4.1.2 ). For tracing I was...
Hello, I'm a new dmalloc user and I have an error that I don't understand. I am using dmalloc 4.8.2 with a Redhat Linux 8 system. I was able to use dmalloc to...
... Without more details, I don't see the problem but here are some ideas. The error pointer is trying to say that dmalloc does not know about that pointer. 1)...
Hello Gray, Thanks for the input. I am actually debugging a shared object. I deleted everything and started over. I now have dmalloc linked into just one of ...
dear dmalloc users, I'm working on a Linux app. that requires a lot of memory, which seems too much. To identify which modules require the most memory, I...