Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Invalid Pointer Write/Read

807575Dec 13 2005 — edited Dec 13 2005
Hello,

our application run in Solaris 9 and the SUN Studio 8 C++ compiler.

Also I instrumented our application using purify (from Rational), and I got hundred of IPW/IPR (Invalid Pointer Write/Read).

Those errors occured when trying to write to an address that is outside any valid segment of the program.

After code inspection and some other tests I didn't find any problem.

I compiled the application with the option -xcheck, but the application run perfectly.

My questions are:
- Why using the -xcheck option didn't report for the same memory problem ?
- Is there any other tool in the SunStudio environment I can use to investigate deeper the problem ?

Thanks for any tips.

Yaakov Berkovitch
jaakovb@corrigent.com
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 10 2006
Added on Dec 13 2005
2 comments
328 views