Hello Everyone -
I posted this question in Fortran section few days ago, but got no
replies so far - so I post it again here:
I would appreciate if someone could suggest some momory debugging tools
for fortran 90 - analogous to Purify. Actually, Purify works to some
extent with fortran 90 executables, but apparently signals as errors all
memory allocations (as UMR - uninitialized memory read) and
deallocations (as ABR - array bounds read) -- so it is difficult to
isolate the real errors.
Another possibility I tried was Electric Fence, but that usually stops
right away at the first allocation.
I would appreciate any information on commercial or non-commercial tools
of that kind, or maybe some tricks to be played with Purify.
Thomas
--
Posted via http://dbforums.com 2 2711
tomekj <me*********@db forums.com> wrote in message news:<35******* *********@dbfor ums.com>... Hello Everyone -
I posted this question in Fortran section few days ago, but got no replies so far - so I post it again here:
I would appreciate if someone could suggest some momory debugging tools for fortran 90 - analogous to Purify. Actually, Purify works to some extent with fortran 90 executables, but apparently signals as errors all memory allocations (as UMR - uninitialized memory read) and deallocations (as ABR - array bounds read) -- so it is difficult to isolate the real errors.
The 'valgrind' x86 memory error detector is an ass-kicking tool,
it emulates an entire CPU and catches using uninitialized data,
mallocs, frees, etc. Much better than purify.
It will work as long as the executable has debugging information.
It only supports x86 executables and is known to work for the GNU/linux
system. It was developed for KDE. http://freshmeat.net/projects/valgrind/
Originally posted by Stelios Xanthakis tomekj <me*********@db forums.com> wrote in message news:<35******* *********@dbfor ums.com>...
Hello Everyone -
I posted this question in Fortran section few days ago, but got no
replies so far - so I post it again here:
I would appreciate if someone could suggest some momory debugging tools
for fortran 90 - analogous to Purify. Actually, Purify works to some
extent with fortran 90 executables, but apparently signals as errors all
memory allocations (as UMR - uninitialized memory read) and
deallocations (as ABR - array bounds read) -- so it is difficult to
isolate the real errors.
The 'valgrind' x86 memory error detector is an ass-kicking tool,
it emulates an entire CPU and catches using uninitialized data,
mallocs, frees, etc. Much better than purify.
It will work as long as the executable has debugging information.
It only supports x86 executables and is known to work for the GNU/linux
system. It was developed for KDE.
http://freshmeat.net/projects/valgrind/"]http://freshmeat.net/p- rojects/valgrind/[/url]
Thanks for the advice - I will try it (although I would like to have
something running on Unix, particularly Irix).
Regards,
Thomas
--
Posted via http://dbforums.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tomer Ben-David |
last post by:
Hi
I downloaded purify.
Im running a simple hello world through purify on windows2000 machine.
However whenever the purify runs it i get in the console window:
Error occurred during initialization of VM
Unable to load native library: Access is denied
|
by: Matthew |
last post by:
Hi,
I am using sun's CC (c++ compiler) to compile the follow code:
#define __REENTRANT
#include <stdio.h>
#include <pthread.h>
void *one(void *dummy);
|
by: Eric |
last post by:
I am sending a structure over a socket, and so the structure is copied
into a message buffer first. The structure has some spare fields in
order to align the fields properly. Since those spare fields are
never set, I expect Purify to report an Uninitialized Memory Read when
the structure is copied into the message buffer, but Purify actually
waits until the message buffer is read before reporting the error. So
Purify doesn't report an...
|
by: hcc |
last post by:
Hi,
Does anyone have experience with using Purify with db2 CLI
application? We're using Purify to diagnose some problem in our
multi-thread CLI application, and we're getting lots of the
"UMR: Uninitialized memory read" error reported by Purify. I wrote
a very short test CLI program that simply calls SQLAllocHandle,
SQLConnect, SQLDisconnect and SQLDisconnect; and Purify still
reports the same error. The following is one of them:
|
by: sangeetha_b |
last post by:
Hello,
I've writen one simple program to automate some manual process. I've
written that in c program. It works fine so far no problem reported on
this. Last week, i get chance to run my program on purify tool. I'm
very new to purify tool use.
Q1. Purify reports Uninitialized memory read in the following line A
and Line B
| |
by: eyh5 |
last post by:
Hi,
My C code (running on Soalris Unix) has some "segmentation fault"
that I wish to use purify to do it. I poked around the web, and found
some information about adding some lines in a Makefile file to use
purify. However, my code is a rather simple single-source C program,
and I didn't write a Makefile for it.
I'm wondering if anybody can tell me which commands are to be
entered at the Unix prompt to use purify. And, I don't know if...
|
by: saby |
last post by:
Can anybody knowing Rational Purify help me?
I am instrumenting an exe on solaris using Rational Purify.
While building the exe, known as "DPSRun", it does not give any problem.
But while I use Rational Purify, it gives a link error as given below.
Linking
Undefined first referenced
|
by: Teddy |
last post by:
Hey guyes I am getting problem with purify. I am using g++ compiler on
Solaris 5.10 and linking it with purify.
Whenever I compiled program with purify option I get CORE DUMP error
with message that terminate() was called recursively by
getprotobyname() function.
Without purify program compiles without error. Please help me to solve
problem.
|
by: sudheer786 |
last post by:
A purify error while doing build is setup
--------------------------------------------------------------------------------
Hi all,
I was facing a strange error while trying to run my labeled build once after the make depend and make all was sucessful in solaris.
When I tried to attach dbx and run the build on solaris 5.4 release , it shows a wrong a menory address which is cascaded. Neither of the memory is freed.
dbx: cannot...
|
by: sudheer786 |
last post by:
Hi all,
I was facing a strange error while trying to run my labeled build once after the make depend and make all was sucessful in solaris.
When I tried to attach dbx and run the build on solaris 5.4 release , it shows a wrong a menory address which is cascaded. Neither of the memory is freed.
dbx: cannot access address 0xffffffffffffffd4
When I tried to run with purify it shows
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |