Jump to content
Sign in to follow this  
benreeper

Access violation

Recommended Posts

What is a C0000005 ACCESS_VIOLATION?

This is in the .rpt after a crash.

Ben

Share this post


Link to post
Share on other sites

It means that not enough memory could be allocated to OFP - so it crashed.

Two soloutions;

1) Increase your swap file size

and/or

2) Buy more RAM (double it if you can)

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (benreeper @ June 16 2002,08:43)</td></tr><tr><td id="QUOTE">What is a C0000005 ACCESS_VIOLATION?

This is in the .rpt after a crash.<span id='postcolor'>

It can be almost anything. If you will send us Flashpoint.rpt and context.bin files (check Troubleshooting FAQ forum how to do this), we might be able to tell you more.

Share this post


Link to post
Share on other sites

I also get ACCESS_VIOLATION , everyday , %50 of the time my game crashes due to this , ive tried everything...... my rpt file is so big i have to use wordpad to open it !

is this my RAM , HD ? i have 512 mb ddr and GF4 all latest drivers , tried to alter my swap file it still crashes with ACCESS_VIOLATION !

This is ruining my ofp experience i play it everyday and it crashes when getting to the breifing with this in the rpt

file: intro

world: intro

campaign:

battle:

mission:

Exception code: C0000005 ACCESS_VIOLATION

Version 1.60

Fault address: 006FFD40 02wow.gif0031D40 C:\PROGRAM FILES\CODEMASTERS\OPERATIONFLASHPOINT\OFPMPTEST.EXE

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (jimz0rz @ June 16 2002,00:10)</td></tr><tr><td id="QUOTE">It means that not enough memory could be allocated to OFP - so it crashed.

Two soloutions;

1) Increase your swap file size

and/or

2) Buy more RAM (double it if you can)<span id='postcolor'>

Actually, strictly speaking, that is not what it means. An Access Violation exception is generated, for instance, when a program tries to write to a page of memory that is not marked as writeable, or when it tries to execute data.

Most often, this is caused by bugs in the code (stray or dangling pointers), or by missing error checking. As you noted, if a memory allocation fails because of a lack of memory, the allocation function could return a NULL pointer or invalid handle, and trying to access memory through that pointer or handle would generate an Access Violation.

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (ACCESS_VIOLATION @ June 16 2002,21:22)</td></tr><tr><td id="QUOTE">I also get ACCESS_VIOLATION , everyday , %50 of the time my game crashes due to this , ive tried everything......<span id='postcolor'>

You write you tried everything ... did you also try to send us crash files (see Troubleshooting FAQ forum for more information)?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×