I'm getting a lot of UMR errors that I don't think my program is causing. We have to turn in a program that doesn't have any Purify errors. How do I get around these?
Answer / chaitanya
There are some bugs in the socket libraries which can cause an excessive number of UMR's to show up in your Purify output. You can consider these errors to be not your fault if
The error happens inside of a network system call (bind, accept, etc.)
The accessed memory was allocated from within a network system call.
You can tell Purify to ignore these errors by creating a .purify file in the same directory as your program. You add lines to .purify to supress individual messages. For example;
suppress UMR ...;res_search
suppress UMR ...;nss_search
These two lines tell Purify to ignore UMR's that occur underneath of the functions res_search and nss_search. These lines are a good start for your .purify.
A .purify file will be required by the submission program.
Is This Answer Correct ? | 0 Yes | 0 No |
I'm getting a lot of UMR errors that I don't think my program is causing. We have to turn in a program that doesn't have any Purify errors. How do I get around these?
I can't run Purify. Either when I compile or when I run my program, I get all sorts of unfriendly messages about not being able to write into a read-only file system. What's the problem?
I get a file descriptor in use error that comes from the socket libraries (/etc/.name_service_door). How do I supress it?
How to obtain a memory dump from an application that crashes?
When I run 'purify', I get a warning message saying "Could not locate gcc demangler 'c++filt'..." I also get warnings saying "Unhandled reloc type R_SPARC_DISP32..." Is this expected?
When I issue "make all.purify" for the echodemo example, I see a message that says "In order for Rational PurifyPlus to work properly, you must source the appropriate shell resource file in /usr/pubsw/etc/rational..." How do I fix this?
What is Debugging with Purify?
DEVOPS comes under which categories?
I got placed in a company called Achir Communications located in Bangalore, for the past 4 months company website is not funtioning and even i cant contact them over phone.can any one knews any detail about that company? please help........
How do I run Purify?
The assignment says I have to turn in a purify.output file, but the output goes to a window so I can't redirect it. How to I get the output to go to a file?
When I run my purify'ed executable, I get a cryptic message like "ld.so.1: ./server.purify: fatal: libsocket.so.1_pure_p3_c0_105022037_58_32_2171404S: open failed: No such file or directory." What's going on?