Hi, I have just started using mpatrol to debug some C++ code that uses the gcc and its native STL library on Red Hat Linux 7.2 and 6.x. The problems I'm having...
... Hi Paul, Other people have seen this before and I've meant to fix it before now, but not had time (assuming I know what's going on here ;-). The calls to ...
I'm having difficulty building a project that includes stl stuff. I have: #include <stdio.h> #include <stdlib.h> #include <string> #include <iostream> #include...
... You've got the libraries in the wrong place. That *might* just work if libmpatrol.so is used rather than libmpatrol.a, but that's more due to luck rather...
hi, i have built the mpatrol library by using the autoconf/automake type. My application uses pthread library. My program works fine without mpatrol linked to...
... There are two possibilities that I can think of. Either you're not linking with libmpatrolmt or your program really does corrupt free memory. When you say...
hi, first, Thank You very much for your immediate reply. It was very helpful. I was thinking that the mpatrol yahoo group is unattended for sometime. The...
Hi, I tried to compile mpatrol ver-1.4.8 on Solaris 8 64 bit using Sun compiler "CC". I modified following variables in the makefile CC = CC OFLAGS = -O +d ...
... That looks like bad style, if not illegal code. More correct might be typedef void (*sa_handler_t)(int); s.sa_handler = (sa_handler_t) memoryhandler; ...
found the problem, I should use C compiler "cc" and not C++ "CC". I had to use following options in Makefile CC = cc OFLAGS = -O # 'OFLAGS = -O +d' created...
... Your program will still not be OK if it runs fine without mpatrol but corrupts memory. If you take it to another machine/operating system/processor...
Hi, I am writing a program that uses Python as embedded script-language. I want to use mpatrol for tracking memory leaks in my own code. How can I make sure...
Peter Andreasen
pandr@...
May 28, 2002 9:15 pm
556
... I don't know if that's possible since the interpreter will use malloc/free for its own use and for the program it is running. If you can get the source...
Hello, Here is a log of a core dump inside mpatrol. Is there a known problem with global constructors in C++ ? (Needless to say, the program works when...
... Sometimes, yes. It depends what the constructor does. If it performs C++ formatted output then there can be some initialisation ordering problems, but...
... This isn't the way I meant you to do it. The --whole-archive method was for converting libiberty.a to libiberty.so. ... I'm not quite sure how the above...
... There's also a bug in gcc3.0.x that causes crashes in some constructors. See http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3145 There is a patch...
Hi, I'm still a bit overwhelmed by the extensive documentation for mpatrol, looks very impressive. The following is a bit long-winded, but I feel the need to...
... I didn't actually put together the Mandrake RPM, but it's a known problem with all Linux builds. There must be libiberty.so on the system to work - just...
While debugging an application it locks up hard on me on Solaris 2.7. Calling a free or malloc from a signal handler on Solaris causes this behavior, but I am...
Jesse Marlin
jlm@...
Jun 19, 2002 5:27 pm
565
I have been attempting to port mpatrol to PPC Linux and have observed some strange behavior in stack.c. When I run mpatrol without modification on a very...
... Looks like the signal handler is calling memcpy (which is also overridden in mpatrol) and it's getting into a recursive mess. ... The signal checking was...
I'm trying to run the test1.c (fail test) that comes with the project. I've compiled the windows version with the nmake (visual studio 6.0) But when I try to...
Hi, Guys I am very new in mpatrol. Could you tell me how to install/use mpatrol into sun unix machine. I am currently using Solaris Version 7. Thank you very...
... You need to link with libc.lib, not libcd.lib since mpatrol conflicts with the debugging heap defined there. You also need to link with imagehlp.lib (or...
... To do this on SPARC Solaris, all you need to do is: cd mpatrol/pkg/pkg ./build and then use pkgadd as root to install the package that was created. See ...
You don't have lint on your system so edit the build script to prevent these files from being built and remove any references to them in the pkg* files in the...