We have found your programs on the web, and after downloading it, the winzip could not work with the file. Because there is an error in the header. Then one...
Yuen Cheng
yuencheng@...
Feb 3, 2000 7:20 pm
119
To whom it may be useful. I noticed that when using C++ style allocation (new, new[]) file and line information is not being tracked. This is a little...
Stanislav Kutil
mammal@...
Feb 7, 2000 2:38 pm
120
I forgot, the definitions in dmalloc.h should look like this: #ifndef DMALLOC_NOOPS #define NEW new(__FILE__,__LINE__) extern void * operator new (size_t...
Stanislav Kutil
mammal@...
Feb 7, 2000 4:59 pm
121
Is there a way to run dmalloc with gdb in a emacs buffer? attempts using the gdb shell command fail because that (sub)shell has no influence on the current gdb...
Peter Beerli
beerli@...
Feb 10, 2000 9:46 pm
122
... In the *scratch* buffer, type this: (setenv "DMALLOC_OPTIONS" "debug=0x34282583") or whatever; then put the cursor after the close-paren, and type C-x C-e....
Randell Jesup
rjesup@...
Feb 14, 2000 3:45 pm
123
... Randell> In the *scratch* buffer, type this: Randell> (setenv "DMALLOC_OPTIONS" "debug=0x34282583") Also, gdb has a "set environment" command. You can...
Skip Montanaro
skip@...
Feb 14, 2000 4:02 pm
124
Hi, all My program compiled with dmalloc crashed with message: debug-malloc library: halting program, fatal error Error: malloc library has gone recursive (err...
Oleg N. Yakovlev
yashka@...
Feb 17, 2000 8:10 am
125
Oleg> debug-malloc library: halting program, fatal error Oleg> Error: malloc library has gone recursive (err 11) Oleg> Explain for me what is mean? And how...
Skip Montanaro
skip@...
Feb 17, 2000 3:12 pm
126
Hi, all ... Is this a threaded program? If so then you need to read the manual section entitled, of all things, "Using With Threads". If not then follow...
Gray Watson
gwatson@...
Feb 17, 2000 3:29 pm
127
If anyone out there has an example of dmalloc being used with their program via an autoconf configure.in macro, I'd love to see it. I'm using automake/conf...
Michael T. Babcock
mikebabcock@...
Mar 6, 2000 1:51 am
128
%% "Michael T. Babcock" <mikebabcock@...> writes: mtb> If anyone out there has an example of dmalloc being used with mtb> their program via an autoconf...
Paul D. Smith
pausmith@...
Mar 6, 2000 2:56 am
129
I found it very useful not to modify to code or link with dmalloc, build dmalloc as a shared library, link with shared libraries, then use LD_PRELOAD before...
Marty Leisner
leisner@...
Mar 6, 2000 2:01 pm
130
gray watson <gwatso-@...> wrote: original article:http://www.egroups.com/group/dmalloc/?start=126 ... Thanks all, I tried trace program that use async...
Oleg Yakovlev
yashka@...
Mar 14, 2000 6:30 am
131
Hi, recently, I got the same error message as Oleg (dmalloc library got recursive), and I managed to get rid of it quite easily by chance. Here are the...
Swen Osterkamp
sosterkamp@...
Mar 14, 2000 4:45 pm
132
... Yes: don't allocate memory within a signal handler. Signal handlers are inherently asynchronous; there's no guarantee that your code isn't currently...
Randell Jesup
rjesup@...
Mar 14, 2000 5:02 pm
133
I sent this to Gray Watson earlier, but had problems joining this list. In case other people have run into the same problem I had, I'm posting it here as well....
Thomas H. Ptacek
tqbf@...
Mar 16, 2000 2:11 pm
134
... This looks good Thomas thanks. Anyone want to start a discussion on how to do the auto-startup in a more sane manner? Right now dmalloc initialiazes...
Gray Watson
gwatson@...
Mar 16, 2000 5:49 pm
135
... From the SUN-Spots digest: Date: Sun, 1 Jul 90 00:32:14 EDT From: henry@... Subject: Re: Is malloc reentrant X-Refs: Original: v9n245 ...
Randell Jesup
rjesup@...
Mar 16, 2000 7:24 pm
136
Just figured something out. In malloc.c there is the following pthread initialization code: #if HAVE_PTHREAD_MUTEX_INIT && !defined(PTHREAD_MUTEX_INITIALIZER)...
Gray Watson
gwatson@...
Mar 20, 2000 10:21 pm
137
So I just posted a new dmalloc version to the web site. I've finally removed the stupid unions from chunk_loc.h. My apologies to all of the dmalloc debuggers...
Gray Watson
gray.egroups@...
Mar 21, 2000 9:50 pm
138
Good morning. I'm using dmalloc for the first time in a couple of years, and I have a reasonably recent version I think (4.3.0). I am trying to track down a...
Derrell Lipman
Derrell.Lipman@...
Mar 24, 2000 4:15 pm
139
... Sigh. No, this has never been in there but it's the most requested additional feature. I need to get it into dmalloc since a lot of people are debugging...
Gray Watson
gwatson@...
Mar 24, 2000 6:39 pm
140
So I just added in checkpointing into dmalloc. Now you can call dmalloc_mark() and record the unsigned long it gives back. Later you can call...
gray.egroups@...
Mar 24, 2000 10:20 pm
141
We are porting a program from Win32 to Linux. It runs fine under Win32 and passes tools like BoundsChecker and Purify. The program is about 200,000 lines of...
Brian Beuning
bbeuning@...
Mar 27, 2000 3:51 pm
142
... NSPR might be side-stepping dmalloc, especially if they have their own memory-allocator; I don't know. ... Corruption following an allocation that hasn't...
Randell Jesup
rjesup@...
Mar 27, 2000 4:58 pm
143
... Hmm. Tough question. If I knew the answer then I'd probably have plugged the gap. Let me know if you (or anyone else) figured out that dmalloc is not...
Gray Watson
gwatson@...
Mar 27, 2000 4:58 pm
144
... Apart from dmalloc, you can also try ElectricFence, which uses mprotect to immediately catch memory errors; you can find it at http://www.perens.com. It...
Thomas H. Ptacek
tqbf@...
Mar 27, 2000 10:09 pm
145
Brian> We are porting a program from Win32 to Linux. It runs fine under Brian> Win32 and passes tools like BoundsChecker and Purify. The Brian> program is...
Skip Montanaro
skip@...
Mar 28, 2000 2:50 pm
146
... None that I know of. Certainly I would think that we can find a problem or two that dmalloc might catch and Purify would miss but you'd have to work on...
Gray Watson
gwatson@...
Mar 28, 2000 3:38 pm
147
Purify does a good job (when it is working) of finding bugs. We assume there is something somewhere in our code that is not UNIX friendly, and since we don't...