Recent

Author Topic: Access Violation  (Read 11120 times)

paulmovric

  • Newbie
  • Posts: 6
Access Violation
« on: December 23, 2008, 09:46:37 am »
Hi, I have installed Lazarus onto 2 on my Mac's and they both came up with the same error "Access Violation"

I have installed the latest version of Lazarus.

Any suggestions?

Thanks

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2583
Re: Access Violation
« Reply #1 on: December 23, 2008, 10:29:34 am »
What version of OSX ?
And what do you mean with latest version of Lazarus, SVN or 0.9.26 ?
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

paulmovric

  • Newbie
  • Posts: 6
Re: Access Violation
« Reply #2 on: December 23, 2008, 10:03:18 pm »
I have OS X.5.6 installed on one and X.5.5 on the other system.

I installed Lazarus 0.9.26.

Thanks

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2583
Re: Access Violation
« Reply #3 on: December 24, 2008, 12:07:00 am »
:( Then I don't know an easy solution. It should work.

To help finding the source of the crash, follow the following steps (project1 is in this case lazarus) and post the backtrace here:
http://wiki.lazarus.freepascal.org/Creating_a_Backtrace_with_GDB#Mac_OS_X:_Graphical_application
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

paulmovric

  • Newbie
  • Posts: 6
Re: Access Violation
« Reply #4 on: December 24, 2008, 01:49:47 am »
I don't know if this is what you want,

[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $95B6E5A4
  $006789F7
  $0067902F
  $0067B3E0
  $00678C94
  $00678D79
  $00678AAA
  $00679DA5
TApplication.HandleException Access violation
  Stack trace:
  $95B6E5A4
  $006789F7
  $0067902F
  $0067B3E0
  $00678C94
  $00678D79
  $00678AAA
  $00679DA5

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2583
Re: Access Violation
« Reply #5 on: December 24, 2008, 10:47:15 am »
No, this is a standard stacktrace. Did you run lazarus in gdb ?
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Access Violation
« Reply #6 on: December 24, 2008, 02:25:08 pm »
The Lazarus executable from the dmg is stripped, so does not contain debug information. I don't know if gdb can get a better stack trace in this situation.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2583
Re: Access Violation
« Reply #7 on: December 24, 2008, 02:50:04 pm »
There you have a point
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

windy

  • Full Member
  • ***
  • Posts: 186
Re: Access Violation
« Reply #8 on: January 08, 2009, 01:04:46 am »
I have seen this problem reported before....dang If i can remember the solution
it could be a permissions problem?

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: Access Violation
« Reply #9 on: January 08, 2009, 04:03:04 pm »

Hi,
I am using Mac OS X 10.5.6 and may be this short description helps you.

In your home directory run the following commands with using Terminal.app
1. svn checkout  http://svn.freepascal.org/svn/lazarus/trunk/ lazarus
2. cd lazarus/
3. make clean all
4. open lazarus.app/

these steps work for me.
Thanks.

paulmovric

  • Newbie
  • Posts: 6
Re: Access Violation
« Reply #10 on: January 11, 2009, 04:37:16 am »
Thanks you vary much, it now works.

 

TinyPortal © 2005-2018