Author Topic: Access violation. Press OK to ignore and risk data corruption......  (Read 179 times)


  • New member
  • *
  • Posts: 5
Hello everyone, I don't know if this is the right place to ask, but I know this problem is rather frequent and it is related to Free Pascal/Lazarus IDE, so I figure here is a good place to ask.

The thing is very simple. My Operating System is Windows 10 v1909 x64. I have downloaded Conscious Artificial Intelligence (project on, the files in it are 64-bit. I have extracted the files, ran ArtificialArt.exe, pressed start and nothing happens. I noticed a console window beside the gui window, and it told me it couldn't find a bin file, told me to download cifar, and provided me the address. Simple enough, I downloaded and extracted the files to the folder of CAI.

Then I pressed start again, this time and all times after, an error message window pop up and says: Access violation. Press OK to ignore and risk data corruptio. Press Abort to kill the program. This always happens after loading the .bin files, Creating Neural Networks... and immediately after Creating generative. If I press OK, nothing will happen. If I press Abort, program doesn't end, console says Sending STOP request, but the program doesn't stop, requiring me to close the console to kill the program.

The same problem applies to GradientAscent.exe, it happens immediately after I load a neural network.
I noticed their icons are of the programs developed by Lazarus IDE, I searched the problem online and found it rather frequent, but no solutions, so I figured I would ask here.

I have installed FreePascal IDE 3.0.4 (x86), Lazarus IDE 2.0.6 (x86_64), and placed the executable path of FPC in system path Env.Var., I have no problem using Lazarus IDE itself so far, any ideas on what caused this and how to solve it?


  • New member
  • *
  • Posts: 5
Update: I think I have found more relevant information about this one. I have run increaseresolutionapp.exe just now, pressed run!!! and an access violation error message windows poped up, except there is cancel instead of abort.
console information here:
Creating Neural Network...
TApplication.HandleException Access violation
  Stack trace:
And I have run XorAndOr.exe in cmd, error message here:
An unhandled exception occurred at $000000010003A653:
EAccessViolation: Access violation
Do them help?


  • Hero Member
  • *****
  • Posts: 2850
You should probably ask in the project's thread or, if it's set, in the project's own mailing list at sourceforge.
« Last Edit: May 22, 2020, 03:02:19 pm by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.8/FPC 3.0.4 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.


TinyPortal © 2005-2018