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 Posted / 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 |
Post New Answer View All Answers