Hi, I am a newbie to the tool and would like to get some help on using the tool for a multi-threaded process. I have gone through the documentation and...
Using the src.rpm bundle, I rebuilt the libraries and saw that --enable-threads was used. My code has a main program which uses pthreads and has quite a few ...
... Hmmm. If you are sure that you are linking with the threaded library then this message should not happen. What I have seen recently is that you should...
Thanks, though I'm still not out of the woods. I rebuilt my executable linking with dmallocth, and rebuilt my shared libs to be sure of not using dmallocth....
Hi, After installing dmalloc successfully, i compiled a sample program . But the log file is not generated. Why? I used the following commands. I have...
Hi Balaji, You have to link your application with the dmalloc library. For example, your compile line should be: "gcc -DDMALLOC -o matmul -I include/ matmul.c...
Thirumurugan G
gmurugan@...
Aug 6, 2002 9:02 am
407
Hello, I've seen several messages on this group from people who have had problems linking the dmalloc library into their c programs, but I haven't seen the...
I am on HP-UX 11.11 using dmalloc 4.8.2. I have successfully used dmalloc to trace an application for some time now, but when I added calls to libc function...
... I'm sure there is. Sounds like mallinfo is the malloc information routine for the systems malloc library. If you are using dmalloc, I doubt that mallinfo...
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...