Recent

Author Topic: Access Violation. On start  (Read 6115 times)

smet

  • Newbie
  • Posts: 2
Access Violation. On start
« on: February 10, 2004, 04:06:49 pm »
Hi

I have downloaded FPC and todays snatshot. Overwritten the original files with the files of the snapshot and installed it. Then I downloaded the zip file of Lazarus and used the GNU make file to compile it.

Now when starting Lazarus, I get: "Access Violation." in a ShowMessage box

If I click OK it states:

Note: environment config file not found - using defaults
NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
NOTE: codetools config file not found - using defaults

NOTE: FPC Source Directory not set! (see Environment Options)

NOTE: Could not create Define Template for Free Pascal Sources
[FORMS.PP] ExceptionOccurred
  Sender=EACCESSVIOLATION
  Exception=Access violation
TApplication.HandleException Access violation
TApplication.HideAllFormsWithStayOnTop :TSPLASHFORM
[FORMS.PP] ExceptionOccurred
  Sender=EXCEPTION
  Exception=Unknown Run-Time error : 217
TApplication.HandleException Unknown Run-Time error : 217
TApplication.HideAllFormsWithStayOnTop :TSPLASHFORM


...in the prompted box.
If I click Cancel it shuts the application down.

What might this be?

/morten

neli

  • Administrator
  • Jr. Member
  • *
  • Posts: 86
Access Violation. On start
« Reply #1 on: February 10, 2004, 05:07:35 pm »
Sorry but this is too little info. Please use gdb to run a backtrace, and mail results to the mailinglist.

c:\> gdb
file lazarus.exe
run
bt
<backtrace appears>

HTH,

Micha.

smet

  • Newbie
  • Posts: 2
Access Violation. On start
« Reply #2 on: February 11, 2004, 09:21:34 am »
Yes it was too little info... Sorry about that

I'm used to Linux, so the solution wasn't close at hand for me. I shut down the pc yesterday, started it today and weeeee! A reboot made it work

Sorry to have bothered you

/morten