Recent

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

Alienigene

  • 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 Sourceforge.net), 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?

Alienigene

  • 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:
  $000000010018F5F7
  $000000010018FDBE
  $0000000100032722
  $0000000100032775
  $0000000100031D31
  $000000010002F96B
  $000000010002E79F
  $0000000100030F40
  $0000000100030FCF
  $00000001000312A3
  $000000010003139A
  $000000010002A222
  $0000000100135B78
  $000000010014F67A
  $000000010014FDAF
  $0000000100141E01
  $000000010014F545
And I have run XorAndOr.exe in cmd, error message here:
Computing...
An unhandled exception occurred at $000000010003A653:
EAccessViolation: Access violation
  $000000010003A653
  $000000010003B88E
  $0000000100041446
  $000000010003DAA4
  $000000010003F6A5
  $000000010000181D
  $0000000100001B75
  $0000000100001BD6
  $0000000100010863
  $0000000100011361
  $00007FFC060D7BD4
  $00007FFC07A4CE51
Do them help?

lucamar

  • 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