Connecting Tech Pros Worldwide Forums | Help | Site Map

Exception 13: General protection fault at o1A7...

Newbie
 
Join Date: Jun 2007
Posts: 1
#1: Dec 21 '07
I am programming a data compession program. It is used to compress a text file. After run program, i see this message:
Exception 13: General protection fault at o1A7..

The compiler is Turbo C++ 3.0.
Could you help me ?
Thanks !

Moderator
 
Join Date: Mar 2007
Location: North Bend Washington USA
Posts: 5,379
#2: Dec 21 '07

re: Exception 13: General protection fault at o1A7...


A GPF fault means that a) you are trying to write intro memory that is designated as read-only, b) are attempting to execute data bytes as thiugh they were instructions, c) trying to access instructions as thought they were data.

All of these are triggered by bad pointer addresses. Check the validity of the addresses in all of your pointers. Use asserts.
Reply