In item 4 of Section 2.2 (Getting Started with the Library) of the Dmalloc tutorial, it says to add in my .profile the following line, for a ksh shell: ...
... SCO's ksh is probably incompletely implemented. Try '\dmalloc' instead of "command dmalloc"? If you end up with infinite recursion, try: function...
The following solved the problem: function dmalloc { eval `/usr/local/bin/dmalloc -b $*`; } (My version of ksh doesn't support the "which" command you...
Hello, I am a little perplexed about this problem and am a little embarrased about not being able to figure this out alone. But, here is my problem. I'm using...
Here is a howto for dmalloc using AIX 5L and xlc For xlc compiler: 1. CC='xlc_r' ./configure --enable-threads 2. settings.h ifndef LOCK_THREADS #define...
Hi, I looked at the dmalloc documentation. Some of it suggests that it is nice to add #include dmalloc.h into the C/C++ files while some suggests it is...
It isn't absolutely necessary, but it's daggone helpful to get full advantage out of dmalloc. Without including the headers, you won't get full line number...
Agreed, And it's no pain to insert those includes. Just encapsulate them within an '#ifdef USE_DMALLOC' and you'll have to do it once and you can select during...
Martijn Schoemaker
martijn@...
Sep 17, 2002 7:21 am
419
I am trying to build dmalloc on a Solaris machine w/ the WorkShop Compilers 5.0. I found that the inclusion of stdlib.h is wreaking havoc on the build....
Hello, I've just started to use the dmalloc utility and I'm having issues with getting the utility to pickup the environment variables. I've set them and...
I forgot to mention that this is running under FreeBSD 4.5-Release ... it ... from 'http://dmalloc.com/' ... then ... linked ... library ... times. ... as...
... Hmm. This is strange and I don't understand it. Can you print the value of getenv("DMALLOC_OPTIONS") in your program? It should print out the above...
... Looks good. ... Ah yes. This is because for some STUPID reason, open (which is supposed to be a syscall) under FreeBSD does a malloc. Probably just in...
Hi, I've been trying to use libdmallocthcxx.so with my app and it keeps complaining that thread locking is not configured. It took some digging, but it turns...
Hi , I started working on dmalloc only today. Your trick of changing a.out to a.exe in the MakeFile did get me across the initial hurdle. But as cited in the...
Hi all, I am trying to find out some tools to test my application for memory leaks and other run time bugs. I am running an embedded application on Synergy's...
Hello all, I'm having a small problem I recently had my sys admin install dmalloc into the server so we could work on memory problems. Well I checked and made...
Dmallocers, I was expecting the small program below to output some fence post error messages but my logfile does not mention anything. What am I doing wrong ! ...
Hi i have a problem including the dmalloc header in my source-files. when i attempted to compile ( using cc on AIX ) the following error-msg appeared several...
Hi, I'm new to group. I configured and run dmalloc library for by program. Following is the log part of log I got: 1009912582: 2: dumping not-freed pointers...
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...