I downloaded the precompiled binaries for mpatrol from mingw.org and, thanks to prior posts, I tried the following to link the simple program found in section...
Dear Kalzal Try the following linker option: -Wl,--allow-multiple-definition Works for me Kind regards, John Boers MAPPER Lithography Lorentzweg 1 2628 CJ...
Thank you for that, John! It compiles perfectly now. Another issue has come up. It is exactly the same one described in post #952 (i.e. where mpatrol aborts...
Hi I have compiled mpatrol on tru64 5.1 using bfd and libiberty from gdb. 1) While compilation I get, Unresolved symbol: __Argv 2) If I either dynamically link...
Hi All, I am trying mpatrol to debug memory leak for ur system. We are using FC5 as host to cross compile the target code which is powerpc processor. I...
Howard Wang - CTR
howardw@...
Aug 31, 2006 2:11 pm
1018
Hello Howard: Are you suspecting leak or other memory problems in 3rd party library or system-libraries of PPC, for which you don't have the source-code ?...
Hi bd, Thanks for the help. The native built passes and I got everything ok. The Xcompile also passes, the only issue is the linking: why it could not find: ...
Howard Wang - CTR
howardw@...
Aug 31, 2006 8:41 pm
1021
Hi, We try to debug an application with MPatrol, but this application is very memory consuming. It requires about 3 GB of memory on a Win2K platform. Is there...
Hello all, I'm new to using mpatrol and I'm trying to use it to figure out heap efficiency. Basically when the process mallocs memory, reserves it, and then...
Hi Tom, The short answer is that it doesn't free the memory back to the system, and neither do most other malloc libraries. And now for the long answer... For...
Hi Tom, Assuming you're wanting more low-level memory usage statistics, I can't really recommend one particular tool because it depends what system you're...
Hey Graeme, thanks again. I'm running on linux. I've used strace for some testing and small programs, but was hoping there was an existing tool to give me nice...
Hi, Can anyone out there help with this strange problem. The program in question is fairly complex (threads & forks) and part built from binary-only libraries....
On linux, try valgrind. http://www.valgrind.org/
On Tuesday 28 November 2006 17:51, andy_juniper wrote:
> Hi,
>
> Can anyone out there help with this strange...
Hi, I have tried valgrind and unfortunately it doesn't cut the mustard, because: a) I can't turn off memory checking like I can on mpatrol, and thus it runs...
Hi, I have tried valgrind and unfortunately it doesn't cut the mustard, because: a) I can't turn off memory checking like I can on mpatrol, and thus it runs...
You need to configure valgrind to show possible leaks, memory that is still referenced. Speed can be an issue though.
On Wednesday 29 November 2006 11:41,...
Hi, Yep, done that already (--show-reachable=yes --trace-children=yes --leak-check=yes). Still no signs of leaks despite the fact that the process size...
Looks like I'm getting somewhere with valgrind now, having had to change my code to manually call the leak check process (whereas mpatrol would have done that...
Hi, Having a little trouble getting mpatrol working using LD_PRELOAD on HP-UX 11.11 (PA-RISC). I've built a test program that included mpatrol.h, and that...
Hi Jim, I think what you're seeing is a result of memcpy() and family being overridden as well when you use LD_PRELOAD. Without LD_PRELOAD you get the...
I have been trying to get a copy of mpatrol that will work on a SuSe 9.0 PPC machine. I downloaded mpatrol_1.4.8.gz from www.icewalkers.com and managed to get...
Hello, perhaps someone can help me with this little problem. I have a quite simple piece of code that actually doesn't do anything, but produces two memory...
I have compiled mpatrol 1.4.8 on Solaris 11. I compile the test files like this gcc test1.c -o test1 -I/usr/local/include -lmpatrol -lelf It gets compiled....
I find I cannot comprehend the outputs of mprof vs mptrace for my program: The mptrace summary shows: allocated: 2335 (334988 bytes) freed: 2315 (323172...
It looks like you may have found an undocumented difference between profiling and tracing. As it is currently implemented, profiling records the actual memory ...
Hi, I'm having a bit of a hard time. The output was not exactly accurate. I've now got better variance between mprof and mptrace but its still unpredictable. ...