I have two problems using dmalloc. The first is a simple compile error in my code (it shows up with "gcc -W -Wall -Werror" on Linux with glibc-2.x, and...
Michael Poole
poole@...
Mar 21, 2001 2:25 pm
282
Hello all, I recently started using dmalloc. I want to track a segmentation fault in a very large program, namely a modified ns-2 (network simulator) mostly...
Athanassios Boulis
boulis@...
Mar 28, 2001 10:50 pm
283
... Unfortunately I've not used the start feature in a while. In looking at the code it seems that it is doing something I'm sure you didn't anticipate. When...
Gray Watson
gray.eg@...
Mar 28, 2001 11:53 pm
284
Hello, I got this error when running my application on AIX 4.3. My options: DMALLOC_OPTIONS=debug=0x4f47d43,inter=100,log=/home/dmayi/aen33s/bin/s 5dmalloc.log...
mlev043045@...
Mar 29, 2001 12:13 am
285
Thank you very much for the quick reply! I have several more questions. ... I am not sure what you mean by "beginning" ... if I do 'dmalloc -s test1.c:0 -m...
Athanassios Boulis
boulis@...
Mar 29, 2001 12:44 am
286
... Basically, dmalloc does a lot of checking on a pointer-by-pointer basis. Most of this cannot be disabled. When you free(x) it always checks a number of...
Gray Watson
gray.eg@...
Mar 29, 2001 1:18 am
287
Just change the inetration interval dynamically! #ifdef DMALLOC extern unsigned long _dmalloc_check_interval; #endif main { #ifdef DMALLOC ...
James Hawtin
oolon@...
Mar 29, 2001 2:34 pm
288
Has anybody ever used dmalloc with vectors and run into problems? I don't know much about vectors or how they work, but people I work with have been having...
amanda.tolin@...
Apr 4, 2001 8:12 pm
289
I'm not sure I understand the question you're asking, but here's my interpretation: You're using C++ and STL vectors, right? C++'s new operator allocates the...
B. Scott Michel
scottm@...
Apr 4, 2001 9:01 pm
290
... Never heard of vectors! This in C or C++? This this vector stuff a library? Could we have an example of how a vector is created and how it is "deleted",...
James Hawtin
oolon@...
Apr 5, 2001 1:29 am
291
... Even without patch dmalloc should handle it, just if there is an error you do not know which line its on :-( (If give the pointer address) If it is STL...
James Hawtin
oolon@...
Apr 5, 2001 1:41 am
292
... To whom are you directing this question? Me? If so, I respectfully direct you to the mailing list archives, assuming that Yahoo has preserved them. ...
Scott Michel
scottm@...
Apr 5, 2001 2:30 am
293
Amanda, I would suggest that if you have not used STLport that you at least look at it as it contains a debug version of STL (www.stlport.org). Even if your ...
Damian Dixon
damian.dixon@...
Apr 5, 2001 10:51 am
294
RE: [dmalloc] vectorsFlooding the Mailing List with what? SPAM? :-) -scooter ... From: Cheng, Yuen To: 'Scott Michel' Cc: dmalloc@yahoogroups.com ;...
B. Scott Michel
scottm@...
Apr 5, 2001 4:56 pm
295
First I wanted to say thanks to everyone who sent advice about the vector problem. I forget who wrote me that the problem might be with the users vectors...
amanda.tolin@...
Apr 11, 2001 3:27 pm
296
... Hmmm. Dmalloc should be 64-bit clean. I use it regularly on DUX (OSF, True64, or ...) which is 64-bit. 64-bit rocks. Max unsigned long is...
Gray Watson
gray.eg@...
Apr 11, 2001 4:34 pm
297
I believe its Byte alignment not Bit alignment By default it believe the memory is 8 byte aligned ie 64 bit aligned. So it should already be doing it right for...
James Hawtin
oolon@...
Apr 11, 2001 5:06 pm
298
Hi, I am trying to use dmalloc to test a mall test program to see how it works I have successfully complied dmalloc on FreeBSD 4.2-RELEASE Kernel- 1.17 All...
alefiyahussain@...
May 3, 2001 5:51 pm
299
setenv DMALLOC_OPTIONS log-stats,log-non-free,log-trans,check-heap,inter=100,log=wibble.log; or setenv DMALLOC_OPTIONS debug=0x80b,inter=100,log=wibble.log; ...
James Hawtin
oolon@...
May 3, 2001 8:58 pm
300
Try this your program t.c and I am doing this in the same directory as dmalloc is compiled in #include <dmalloc.h> main() { int a; int i; char *string; ...
James Hawtin
oolon@...
May 3, 2001 9:14 pm
301
Hi, I am using dmalloc for the first time. Our team is using the GNU C++ compiler on an embedded PowerPC product. We use the AT&T Labs OmniORB CORBA libraries...
Gentry, Ken
ken.gentry@...
May 4, 2001 9:36 pm
302
Try modifing the header file to remove the macros then! I change it to MALLOC ALLOC REALLOC and FREE, then do search and replaces on my code. if I want to...
James Hawtin
oolon@...
May 5, 2001 10:36 am
303
Hi All, I'm using dmalloc on an embedded PowerPC Linux system. We do not have access to GDB. I got a clean build using the C++/multithreaded dmalloc library, ...
Gentry, Ken
ken.gentry@...
May 7, 2001 8:46 pm
304
Just wanted to share with the Dmalloc group... The asm instructions in return.h for PowerPC that provide return address of the caller who allocated memory,...
Gentry, Ken
ken.gentry@...
May 16, 2001 7:43 pm
305
Hello all, I'm trying to find a bug in LPRng-3.6.9 where a call to realloc core dumps. After compiling in dmalloc (at the advise of the author, Patrick...
bush@...
May 18, 2001 7:31 pm
306
Naveen Chandra
naveen@...
May 27, 2001 7:19 pm
307
You sure you have turned on fence post checking? [Oolon in the sunset] pwd /oolon4/home/oolon/dmalloc/dmalloc-4.8.2 [Oolon in the sunset] gcc -I. test.c -L....
James Hawtin
oolon@...
May 29, 2001 10:43 am
308
Thanks a lot. When I try to access memory beyond my data space program aborts with debug-malloc library: dumping program, fatal error Error: free space has...
Naveen Chandra
naveen@...
May 29, 2001 5:04 pm
309
Sorry , the program is not correct, malloc is wrong, it was supposed to be malloc(20) not malloc(sizeof(20)). It works perfectly. Thanks again James for the...
Naveen Chandra
naveen@...
May 29, 2001 5:56 pm
310
Also if I go beyond and access memory which was allocated statically, is there a way in dmalloc I can catch this? Thanks in advance. ... From: James Hawtin...